mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
mkimage will generate an FIT image containing a signature of the rootfs, where the data is kept out of the DTB data structure, i.e.: .---------. | DTB | :---------: | Padding | :---------: | | | | | rootfs | | | | | '---------' This is the on-disk format of Infix. At boot, we extract kernel and device trees from the rootfs, and then use Linux's device mapper to create a virtual block device that exposes the rootfs (squash).
8 lines
210 B
Plaintext
8 lines
210 B
Plaintext
blkmap get boot dev devnum
|
|
load blkmap ${devnum} ${kernel_addr_r} /boot/Image
|
|
#TODO: LOAD FDT
|
|
|
|
setenv bootargs "${bootargs_root} ${bootargs_rauc} ${bootargs_log}"
|
|
|
|
booti ${kernel_addr_r} ${ramdisk} ${fdt_addr}
|