Findfdt didn't work.

bootd:

Fail to load '/'
Loading Boot0000 'nvme 0:6' failed
EFI boot manager: Cannot load any image
Found EFI removable media binary efi;boot/bootaa64.efi
233644 bytes read in 2ms
Booting /efi\boot\bootaa64.efi
Disks: sd0* sd1 sd2
>> OpenBSD/arm64 BOOTAA64 1.20
boot>
Cannot open esp0a:/etc/random.seed: No such file or directory
Booting es0a:/bsd: open esp0a:/bsd No such file or directory
 failed2), will try /bsd
boot>
Then it repeats.

I noticed there is efi\openbsd\bootaa64.efi
but haven't figured how to run it.

I've run OpenBSD in the past and it was reasonably easy to setup.
This is unexpectedly difficult. 🙁


  *
Jay


________________________________
From: Jay K <jayk...@hotmail.com>
Sent: Saturday, April 5, 2025 1:48 AM
To: arm@openbsd.org <arm@openbsd.org>
Subject: Re: booting Mac?

I figured out some stuff... the reason the USB drive no longer boots is because 
u-boot is configured to boot in a certain order, and the Linux install is 
earlier.

You can do things like:

ls usb 0:1 /

and then the key is efi or eficonfig and move usb earlier than nvme.

That let's the USB drive boot.

I still haven't figured out how to boot the OpenBSD install.

Perhaps it is this:
>       => run findfdt
>       => load mmc 0:1 ${fdt_addr_r} ${fdtfile}
>       => load mmc 0:1 ${kernel_addr_r} efi/boot/bootaa64.efi
>       => bootefi ${kernel_addr_r} ${fdt_addr_r}
>The bootloader will then run and try to load sd0a:/bsd off an FFS

This is outide of the Mac area of the documentation.

Jay



________________________________________
From: Jay K <jayk...@hotmail.com>
Sent: Friday, April 4, 2025 4:35 AM
To: arm@openbsd.org <arm@openbsd.org>
Subject: booting Mac?

Hi. I have M1Max MacBookPro. I installed the Asahi Linux EFI environment,
then booted install76.img from USB, went through the install seemingly
successfully, installed all sets, relinked kernel, and then the system
won't boot. I mean, I can get to the boot menu and back to MacOS, and
even since instaleed Asahi Linux completely.
But if I boot the EFI option, it doesn't get past the early UBoot.
Nor does the original flash still boot. I even re-dd'ed it in Linux.
It doesn't find its files.
I cannot boot OpenBSD is what I mean.

Any ideas?

Btw, the install is a little unfriendly/unclear. When it says "whole disk"
I'm not sure it is talking about the disk or a partition.
I wasn't sure if I'd learn MacOS,but I managed to get through it.


Thank you,
Jay

Reply via email to