mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-14 19:27:06 +00:00
0ba2027e5e
The differences are documented in the script itself, but the main odd bit is that we pass the provided kernel as an initramfs. Our modified loader will probe for the initramfs start/end props in FDT and put up a memdisk that we load the kernel from. This choice was made for two reasons: 1.) Avoid ad-hoc interpretations of a memory region in m1n1, it doesn't care if we actually passed it an initramfs or not anyways. 2.) We already had some code on hand to do this in our loader, so I suspect we've done similar shenanigans elsewhere anyways. This also requires a U-Boot change to allow bootefi of an arbitrary location, as long the size is provided. The alignment constraints for loader/kernel were kept arbitrarily. The kernel will be bounced anyways by loader. I don't recall what alignment requirements UEFI payloads have, but 2M seems reasonable. Signed-off-by: Kyle Evans <kevans@FreeBSD.org> |
||
---|---|---|
.. | ||
chainload.py | ||
dump_pmgr.py | ||
freebsd.py | ||
linux.py | ||
pmgr_adt2dt.py | ||
reboot.py | ||
run_guest.py | ||
shell.py | ||
smccli.py |