Espressobin u boot fit image (#3766)

* add the image tree source for building FIT images for ebin

* add FIT image generation to BSP files

* Change to using FIT image to boot

* make fit-image script executable

* add the ability to choose board dtb in armbianEnv.txt
This commit is contained in:
Derek
2022-05-07 09:50:53 -04:00
committed by GitHub
parent 94d3212536
commit 3b38be8a9c
12 changed files with 178 additions and 5 deletions

View File

@@ -8,10 +8,8 @@ env import -t ${scriptaddr} ${filesize}
setenv bootargs "$console root=${rootdev} rootfstype=${rootfstype} rootwait loglevel=${verbosity} usb-storage.quirks=${usbstoragequirks} ${extraargs}"
load $devtype ${devnum}:${distro_bootpart} $kernel_addr_r ${prefix}Image
load $devtype ${devnum}:${distro_bootpart} $ramdisk_addr_r ${prefix}uInitrd
load $devtype ${devnum}:${distro_bootpart} $fdt_addr_r ${prefix}dtb/$fdtfile
load $devtype ${devnum}:${distro_bootpart} $ramdisk_addr_r ${prefix}espressobin.itb
booti $kernel_addr_r $ramdisk_addr_r $fdt_addr_r
bootm ${ramdisk_addr_r}#$board_version
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr.uimg