This adds support for loading the initrd at a specific offset in memory, from a hardcoded file path.
If the path is not present, nothing is done.
Adding support for amending the FDT structure in-memory to affect /chosen/bootargs and /chosen/linux,initrd* would be the correct way to add proper support for initrd. But a quick grep at Linux shows that some platforms do exactly the same, and hardcode the values in the dts files.
This adds support for loading the initrd at a specific offset in memory, from a hardcoded file path.
If the path is not present, nothing is done.
Adding support for amending the FDT structure in-memory to affect
/chosen/bootargs
and/chosen/linux,initrd*
would be the correct way to add proper support for initrd. But a quickgrep
at Linux shows that some platforms do exactly the same, and hardcode the values in the dts files.As such, this relies on https://github.com/linux-3ds/linux/pull/61