uuu-scripts: rework wic install scripts to support a new unified image
This is a second MR for [YT-159] FNG System: Create optional wic image containing FNG System and Yocto.
During work on YT-159, it became clear that existing uuu scripts are not capable of handling the resulted unified images with FNG-System and Yocto inside. For example:
- a name of WIC filename should be changed inside
flash-mx6-wic.sh
- a following line in
uuu-mx6-install-wic.lst
should not be applied:FB: flash -scanterm -scanlimited 0x800000 bootloader _mx6boot
.
So, this MR contains improvements in uuu scripts to make them work not only for clea-os
WIC images.
The mx6-boot
image (combined FNGBoot and U-Boot) is required by CleaOS and will be installed during the deployment WIC with the CleaOS image.
To install mx6-boot
for SECO-NE Yocto BSP, run the following command:
uuu -b uuu-flash-mx6-boot.lst u-boot.imx
Update 09.08.24:
- to get rid of hard coding names of board dtb files (see meta-seconorth-distro!804), decided to switch to board-specific scripts to flash WIC image to on-board storage (eMMC);
- each such script generates a required linuximage (combined image: kernel+dtb) for particular board and deploys this linuximage to the board using a new uuu script —
uuu-flash-linuximage.lst
.
Edited by Dmitry Petrov