image: allow building FIT and uImage with ramdisk
authorDaniel Golle <daniel@makrotopia.org>
Sun, 21 Feb 2021 14:19:26 +0000 (14:19 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 24 Feb 2021 01:35:20 +0000 (01:35 +0000)
commit330bd380e8b691833c8dcc9b579b51851cbd4b0f
treea6e6859d1888644af99fe332eef67eead435aa9c
parente6aac8d98f5663be99163f9e61dad23ad657b7ed
image: allow building FIT and uImage with ramdisk

Instead of embedding the initrd cpio archive into the kernel, allow
for having an external ramdisk added to the FIT or uImage.
This is useful to overcome kernel size limitations present in many
stock bootloaders, as the ramdisk is then loaded seperately and doesn't
add to the kernel size. Hence we can have larger ramdisks to host ie.
installers with all binaries to flash included (or a web-based
firmware selector).
In terms of performance and total size the differences are neglectible.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
config/Config-images.in
include/image-commands.mk
include/kernel-defaults.mk
scripts/mkits.sh
scripts/target-metadata.pl
target/Config.in