AsahiLinux / m1n1

A bootloader and experimentation playground for Apple Silicon
MIT License
3.53k stars 204 forks source link

proxyclient: Modify FreeBSD loader to use standard U-Boot bootefi cmd #407

Open ayrtonm opened 6 days ago

ayrtonm commented 6 days ago

The FreeBSD script added in #185 required patching u-boot since it specified the loader base/size in a non-standard way. This changes the way arguments are passed to the bootefi command so it works with the asahi u-boot fork which I've been using. I also changed the case where the loader isn't specified to have u-boot boot from the nvme since I have that driver functional enough to have it mount the root fs now.