From: Thomas Glanzmann Date: Wed, 16 Mar 2022 19:40:35 +0000 (+0100) Subject: insight from jannau X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/7f82212ff6c112055927086f5f734ebea39ffb24 insight from jannau --- diff --git a/doc/notes.txt b/doc/notes.txt index ccddce8..dbbdaa3 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -403,3 +403,10 @@ diskutil info curl -sLo tg.st/u/m1n1-rust.bin cat m1n1-rust.bin <(echo 'chainload=;m1n1/boot.bin') > object.bin kmutil configure-boot -c object.bin --raw --entry-point 2048 --lowest-virtual-address 0 -v /Volumes/Linux + +20:29 < Glanzmann> One question though what is difference between chosen.asahi,efi-system-partition=EFI-PARTITION-PARTUUID and chainload=EFI-PARTITION-PARTUUID;m1n1/boot.bin? +20:30 < jannau> chainload tell's the 1st stage m1n1 from where to load the second stage +20:31 < jannau> chosen.asahi,efi-system-partition is added to the dt mostly to allow u-boot to boot from the correct ESP +20:32 < Glanzmann> I see. Thank you for the elaboration. +20:32 < jannau> chosen.asahi,efi-system-partition is passed from the 1st stage forward to the second stage +20:33 < Glanzmann> I see, so the first stage informs the second stage about the uuid of the esp partition which is than passed using dt to u-boot which can than select the right esp to select the efi binary.