mx6:boot: Combined bootloader (fngboot + U-Boot) for SECO NE i.MX6 devices
Hello Jonas.
Did not expect you to merge previous commit right away: !404 (merged)
You`ve also requested a recipe which will combine fngboot and u-boot binaries into one binary image.
Following commits will do that, if it is still needed.
fngboot-uboot-combo will create such image, create md5sum for it and archives both files. Archive will be used by installation script (fng-install-fngboot-uboot-combo).
Image is created in a following way: fngboot binary is padded to 0xffc00, and u-boot binary will be added after. So u-boot will be put with a 1MB offset on a boot device.
Some point to discuss:
- u-boot fng install script uses mmc commands, which are not available in old FNG Systems on MX6 boards. So I`ve added a check for this, and if mmc command is not available code from fng_boot_update.sh will be used.
- u-boot fng install script uses 2 mmc commands: bootpart enable and bootbus set dual. The latter is currently commented out, as there weren`t any commands for this in fng_boot_update.sh. Please confirm, that this is ok.
- All of this is also applicable for fng-install-fngboot.sh script.