We are developing an ELF-based kernel for ARM processor and would like
to use the flag "—initrd". An initial ramdisk simplifies the boot
process, but as far as I know, it is currently not support by Qemu for
ARM processors. The flag is only available for pure Linux kernels.
This patch enables the flags for ELF kernels and creates a device tree
entry, which helps the kernel to find the address of the initial ramdisk.
Stefan Lankes (1):
add support of `--initrd` for ELF-ARM kernels
hw/arm/boot.c | 106 +++++++++++++++++++++++++++++---------------------
1 file changed, 62 insertions(+), 44 deletions(-)
--
2.39.2 (Apple Git-143)