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>
This commit is contained in:
Daniel Golle
2021-02-21 14:19:26 +00:00
parent e6aac8d98f
commit 330bd380e8
6 changed files with 100 additions and 6 deletions

View File

@@ -51,6 +51,9 @@ config USES_DEVICETREE
config USES_INITRAMFS
bool
config USES_SEPERATE_INITRAMFS
bool
config USES_SQUASHFS
bool