-
Notifications
You must be signed in to change notification settings - Fork 2
special ramdisk img arrangement
Developemnt is sticking with LOS 19 recovery img [4] with the resulting mainline kernel image.gz-dtb by fastboot.
The idea is to unpack the recovery initrd img and fastboot with the compiled zImage.gz-dtb as result. In addition, The vendor bootloader capability of concat gz/tar img and also kernel gunzip handling will simplify the androidboot img as below, and boot script is provided later as named boot_joyeuse.sh by the time. The restriction is all postpending img must have same format, best is to united as cpio+gz format, if other format like los20 recovery img, best is to repack it as cpio+gz format for better compatibility.
Generally speaking fastboot will combine all each those files "[]" by cmd "boot".
[ANDROID!][zImaage.gz-dtb][LOS recovery initrd.img.gz + firmware-mbn-tree.gz + bootconfig]
Execute bootconfig cmd binary from kernel build src will attach a bootconfig in the end of ramdisks.
[LOS recovery initrd.img.gz][firmware-mbn-tree.gz][bootconfig]