I want to enable Docker on my Digi CC6UL SBC Express. From what I can see, I need to add layer meta-virtualization, and it has a few pre-requisites (like meta-filesystems). So I downloaded the meta-virtualization layer (and checked out the rocko branch),
added this line to local.conf:
DISTRO_FEATURES_append = " virtualization"
and added these two lines in bblayers.conf:
/usr/local/dey-2.4/sources/meta-openembedded/meta-filesystems
/usr/local/dey-2.4/sources/meta-virtualization \
The build is successful, but when I try to flash the NAND it fails with:
[RECOVERY] Starting recovery…
Warning: Bad CRC, using default environment
MTD erase error on /dev/mtd1: Invalid argument
Error: can’t write fw_env to flash
Warning: Bad CRC, using default environment
MTD erase error on /dev/mtd1: Invalid argument
Error: can’t write fw_env to flash
[RECOVERY] [ERROR] No command found
[RECOVERY] The system will now reboot in 10 seconds
reboot: Restarting system
Entire log: https://pastebin.com/0ENXkDzY
If I ONLY add this line
/usr/local/dey-2.4/sources/meta-openembedded/meta-filesystems
in the bblayers.conf then the flash is successful. If I then add the next line in bblayers.conf the flash fails.
Anyone knows how to troubleshoot or what might be wrong?
The way I flashed: After building I copied these 5 files and put them on the SD card:
core-image-base-ccimx6ulstarter.boot.ubifs
core-image-base-ccimx6ulstarter.recovery.ubifs
core-image-base-ccimx6ulstarter.ubifs
install_linux_fw_sd
u-boot-ccimx6ulstarter.imx
Then i inserted the SD card into the CC6UL and pressed reset. After that I pressed a key on the keyboard to halt the boot and issued this command:
> run install_linux_fw_sd