m1n1/proxyclient/tools
Kyle Evans 0ba2027e5e proxyclient: tools: add a FreeBSD loader
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>
2022-04-16 19:22:55 +09:00
..
chainload.py chainload.py: Pad image to terminate payloads 2022-03-27 18:34:53 +09:00
dump_pmgr.py tools/dump_pmgr.py: Show calculated NCO rate 2021-11-26 17:49:39 +09:00
freebsd.py proxyclient: tools: add a FreeBSD loader 2022-04-16 19:22:55 +09:00
linux.py proxyclient: tools: fix linux U-Boot support 2022-04-16 19:18:06 +09:00
pmgr_adt2dt.py Make scripts executable 2022-04-16 19:17:33 +09:00
reboot.py Set missing execute bits in proxyclient/{experiments|tools}/*.py 2021-11-23 01:23:11 +09:00
run_guest.py tools/run_guest.py: Support restricting CPU list available to guest 2022-03-14 21:08:23 +09:00
shell.py proxyclient: Big cleanup/move to module 2021-06-10 19:40:48 +09:00
smccli.py tools/smccli.py: Shut down cleanly, increase verbosity 2022-01-19 03:22:33 +09:00