1
0
Files
MSE-CSEL/README.md

69 lines
1.0 KiB
Markdown

# Workspace for CSEL
> :warning: **Open this project in a Docker Container**
## Cheat Sheet for developers
Configure with the default settings:
```
cd /buildroot
make csel_defconfig
```
Make changes if you want:
```
make menuconfig
```
Build:
```
make
```
If you change the configuration and want to keep it in the workspace, do the following:
```
make savedefconfig
cp /buildroot/configs/csel_defconfig /workspace/config/configs/
```
When the build is done, copy the images from buildroot to the workspace
```
sync-images.sh
```
You can now "burn" the Compact Flash using [BalenaEtcher](https://www.balena.io/etcher/)
## Changing boot env
### CIFS
In the bootloader:
```bash
setenv boot_scripts boot.cifs
saveenv
boot
```
If the workspace isn't mount control if there is the line in `/etc/fstab`:
```text
//192.168.53.4/workspace /workspace cifs vers=1.0,username=root,password=toor,port=1445,noserverino
```
If the line isn't there, add it and mount:
```bash
mount -a
```
### NET
In the bootloader:
```bash
setenv boot_scripts boot.net
saveenv
boot
```