Default snapshot install works with the intial UEFI/u-boot from macOS/Asahi.

After manual fw_update(8) via urndis(4) tethering to install apple-boot-1.2
and cold reboot, it still boots the initial UEFI/u-boot and works.

Once I run sysupgrade(8), after the upgrade the boot firmware is switched to
our apple-boot (visible via tobhe's OpenBSD logo) which gets stuck before
reaching our bootloader.

First time using Apple silicon, so I don't have a clue yet what's going on.

Loose transcription, picture attached.

          Chip-ID: 0x6020

        OS FW version: 13.5 (iBoot-8422.141.2)
        System FW version: unknown (iBoot 10151.101.3)
        [...]
        Initialization complete.
        Cechking for payloads...
        Devicetree compatible value: apple,j416s
        Found a gzip compressed payload at 0x100041dc200
        Uncompressing... 272386 bytes uncompressed to 562704 bytes
        Found a kernel at 0x10006a00000
        Found a variable at 0x1000421ea02: chosen.asahi,efi-system-partition=...
        No more payloads at 0x1000421ea19
        ERROR: Kernel found but not devicetree for apple,j416s available.
        No valid payload found
        dart: dart /arm-io/dart-usb0 at 0x... is a t8110
        USB0: initialized at 0x...
        [same for USB1/2]
        Runnig proxy...


Below dmesg is from a previous install (with root on softraid).

OpenBSD 7.5-current (GENERIC.MP) #139: Sat Mar 30 11:13:12 MDT 2024
    dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 33464909824 (31914MB)
avail mem = 32294658048 (30798MB)
random: good seed from bootblocks
mainbus0 at root: Apple MacBook Pro (16-inch, M2 Pro, 2023)
efi0 at mainbus0: UEFI 2.10
efi0: Das U-Boot rev 0x20230700
cpu0 at mainbus0 mpidr 0: Apple Blizzard Pro r1p0
cpu0: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache
cpu0: 4096KB 128b/line 16-way L2 cache
cpu0: 
TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,SPECRES,SB,FRINTTS,GPI,LRCPC+LDAPUR,FCMA,JSCVT,API+PAC,DPB,SpecSEI,PAN+ATS1E1,LO,HPDS,VH,CSV3,CSV2,DIT,BT,SSBS+MSR
cpu1 at mainbus0 mpidr 1: Apple Blizzard Pro r1p0
cpu1: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache
cpu1: 4096KB 128b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 2: Apple Blizzard Pro r1p0
cpu2: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache
cpu2: 4096KB 128b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 3: Apple Blizzard Pro r1p0
cpu3: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache
cpu3: 4096KB 128b/line 16-way L2 cache
cpu4 at mainbus0 mpidr 10100: Apple Avalanche Pro r1p0
cpu4: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu4: 16384KB 128b/line 16-way L2 cache
cpu5 at mainbus0 mpidr 10101: Apple Avalanche Pro r1p0
cpu5: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu5: 16384KB 128b/line 16-way L2 cache
cpu6 at mainbus0 mpidr 10102: Apple Avalanche Pro r1p0
cpu6: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu6: 16384KB 128b/line 16-way L2 cache
cpu7 at mainbus0 mpidr 10103: Apple Avalanche Pro r1p0
cpu7: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu7: 16384KB 128b/line 16-way L2 cache
cpu8 at mainbus0 mpidr 10200: Apple Avalanche Pro r1p0
cpu8: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu8: 16384KB 128b/line 16-way L2 cache
cpu9 at mainbus0 mpidr 10201: Apple Avalanche Pro r1p0
cpu9: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu9: 16384KB 128b/line 16-way L2 cache
cpu10 at mainbus0 mpidr 10202: Apple Avalanche Pro r1p0
cpu10: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu10: 16384KB 128b/line 16-way L2 cache
cpu11 at mainbus0 mpidr 10203: Apple Avalanche Pro r1p0
cpu11: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache
cpu11: 16384KB 128b/line 16-way L2 cache
"asc-firmware" at mainbus0 not configured
"asc-firmware" at mainbus0 not configured
"framebuffer" at mainbus0 not configured
"asc-firmware" at mainbus0 not configured
"asc-firmware" at mainbus0 not configured
"region157" at mainbus0 not configured
"region95" at mainbus0 not configured
"region94" at mainbus0 not configured
"region57" at mainbus0 not configured
"dcp_data" at mainbus0 not configured
"asc-firmware" at mainbus0 not configured
"uat-handoff" at mainbus0 not configured
"uat-pagetables" at mainbus0 not configured
"uat-ttbs" at mainbus0 not configured
"isp-heap" at mainbus0 not configured
apm0 at mainbus0
"opp-table-0" at mainbus0 not configured
"opp-table-1" at mainbus0 not configured
"opp-table-gpu" at mainbus0 not configured
"opp-table-gpu-cs" at mainbus0 not configured
"opp-table-gpu-afr" at mainbus0 not configured
"pmu-e" at mainbus0 not configured
"pmu-p" at mainbus0 not configured
agtimer0 at mainbus0: 24000 kHz
"clock-ref" at mainbus0 not configured
"clock-200m" at mainbus0 not configured
"clock-disp0" at mainbus0 not configured
"clock-dispext0" at mainbus0 not configured
"clock-dispext0_die1" at mainbus0 not configured
"clock-dispext1" at mainbus0 not configured
"clock-dispext1_die1" at mainbus0 not configured
"clock-ref-nco" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
aplpmgr0 at simplebus0
aplpmgr1 at simplebus0
aplpmgr2 at simplebus0
aplpmgr3 at simplebus0
aplintc0 at simplebus0 nirq 1961 ndie 1
apldog0 at simplebus0
aplmbox0 at simplebus0
aplpinctrl0 at simplebus0
aplmbox1 at simplebus0
apldart0 at simplebus0 rev 2.0: 42 bits, bypass
apldart1 at simplebus0 rev 2.0: 42 bits, bypass
apldart2 at simplebus0 rev 2.0: 42 bits, bypass
apldart3 at simplebus0 rev 2.0: 42 bits, bypass
apldart4 at simplebus0 rev 2.0: 42 bits, locked
apldart5 at simplebus0 rev 2.0: 42 bits, locked
aplmbox2 at simplebus0
apldart6 at simplebus0 rev 2.0: 42 bits, bypass
aplmbox3 at simplebus0
apldart7 at simplebus0 rev 2.0: 42 bits, bypass
apldart8 at simplebus0 rev 2.0: 42 bits, bypass
apldart9 at simplebus0 rev 2.0: 42 bits, locked
apldart10 at simplebus0 rev 2.0: 42 bits, locked
aplmbox4 at simplebus0
aplpinctrl1 at simplebus0
aplefuse0 at simplebus0
aplpinctrl2 at simplebus0
aplpinctrl3 at simplebus0
apldart11 at simplebus0 rev 2.0: 42 bits, bypass
apldart12 at simplebus0 rev 2.0: 42 bits, bypass
apldart13 at simplebus0 rev 2.0: 42 bits, bypass
apldart14 at simplebus0 rev 2.0: 42 bits, bypass
apldart15 at simplebus0 rev 2.0: 42 bits, bypass
apldart16 at simplebus0 rev 2.0: 42 bits, bypass
aplmbox5 at simplebus0
aplnco0 at simplebus0
"power-management" at simplebus0 not configured
aplspmi0 at simplebus0
aplpmu0 at aplspmi0 sid 0xb
aplsmc0 at simplebus0
aplrtk0 at simplebus0
apldc0 at simplebus0: "fifo"
apldchidev0 at apldc0
apldckbd0 at apldchidev0: 8 variable keys, 6 key codes
wskbd0 at apldckbd0: console keyboard
"isp" at simplebus0 not configured
apldcp0 at simplebus0
apldrm0 at simplebus0
drm0 at apldrm0
aplpwm0 at simplebus0
apliic0 at simplebus0
iic0 at apliic0
tipd0 at iic0 addr 0x38
tipd1 at iic0 addr 0x3f
tipd2 at iic0 addr 0x3b
tipd3 at iic0 addr 0x3a
apliic1 at simplebus0
iic1 at apliic1
sncodec0 at iic1 addr 0x3a
sncodec1 at iic1 addr 0x38
sncodec2 at iic1 addr 0x39
apliic2 at simplebus0
iic2 at apliic2
"cirrus,cs42l84" at iic2 addr 0x4b not configured
apliic3 at simplebus0
iic3 at apliic3
sncodec3 at iic3 addr 0x3d
sncodec4 at iic3 addr 0x3b
sncodec5 at iic3 addr 0x3c
aplspi0 at simplebus0
exuart0 at simplebus0
apldma0 at simplebus0
aplmca0 at simplebus0
"gpu" at simplebus0 not configured
aplpcie0 at simplebus0
pci0 at aplpcie0
ppb0 at pci0 dev 0 function 0 "Apple M1 PCIe" rev 0x01
pci1 at ppb0 bus 1
"Broadcom BCM4388" rev 0x04 at pci1 dev 0 function 0 not configured
vendor "Broadcom", unknown product 0x5f72 (class network subclass 
miscellaneous, rev 0x04) at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 1 function 0 "Apple M1 PCIe" rev 0x01
pci2 at ppb1 bus 2
"Genesys Logic GL9755" rev 0x01 at pci2 dev 0 function 0 not configured
aplcpu0 at simplebus0
aplcpu1 at simplebus0
aplcpu2 at simplebus0
apldcp1 at simplebus0
xhci0 at simplebus0, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
"phy" at simplebus0 not configured
xhci1 at simplebus0, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
"phy" at simplebus0 not configured
xhci2 at simplebus0, xHCI 1.10
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
"phy" at simplebus0 not configured
"phy" at simplebus0 not configured
"mux" at simplebus0 not configured
aplsart0 at simplebus0
aplns0 at simplebus0
nvme0 at aplns0: NVMe 1.1
nvme0: APPLE SSD AP1024Z, firmware 373.100., serial 0ba01eb324942810
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, APPLE SSD AP1024, 373.>
sd0: 954204MB, 4096 bytes/sector, 244276265 sectors
pwmleds0 at mainbus0
"fixed-regulator-sn012776-sdz" at mainbus0 not configured
aplaudio0 at mainbus0
audio0 at aplaudio0
umass0 at uhub2 port 1 configuration 1 interface 0 " Mini Mobile Line" rev 
2.00/1.10 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <, Mini Mobile Line, PMAP> removable 
serial.13fe42007315672EDB14
sd1: 7386MB, 512 bytes/sector, 15126528 sectors
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd2: 468884MB, 4096 bytes/sector, 120034477 sectors
root on sd2a (3f3a125f630b313e.a) swap on sd2b dump on sd2b
apldchidev0: unhandled iface 1
apldchidev0: unhandled iface 1
apldcms0 at apldchidev0
wsmouse0 at apldcms0 mux 0
drm:pid0:iomfb_poweron_v13_3 *ERROR* dcp_poweron() starting
apldrm0: 3456x2160, 32bpp
wsdisplay0 at apldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"framebuffer" at mainbus0 not configured

Reply via email to