#asahi-dev · 2026-05-06 17:35
jannauI don't think the HV change can ever be correct when RVBAR is locked. guest entry will differ by definition from rvbar#asahi-dev · 2026-05-06 17:31
jannauyuka: on which device did you test https://github.com/AsahiLinux/m1n1/pull/536 ?#asahi-dev · 2026-05-06 13:52
yukawe could try to detect it for unknown cpus, not sure if this is too hacky#asahi-dev · 2026-05-06 13:51
yuka* I guess negating [...]#asahi-dev · 2026-05-06 13:50
yukalocked or unlocked, I negating this or not implies the default (false)#asahi-dev · 2026-05-06 13:42
jannau"impl_locked"?#asahi-dev · 2026-05-06 13:39
yukainstead of cyc_ovrd#asahi-dev · 2026-05-06 13:39
yukajannau: what about "chickens_locked"?#asahi-dev · 2026-05-06 13:06
floklijannau: ty, will check and report back#asahi-dev · 2026-05-06 13:04
jannauflokli: m4 pro mac mini works here (using 26.5 RC), you might need to disable usb_init(), that was throwing exceptions#asahi-dev · 2026-05-06 13:02
jannauI got annoyed by kmutil configure-boot: https://github.com/AsahiLinux/m1n1/pull/573#asahi-dev · 2026-05-06 12:51
jannauI don't think we need another feature for this but should come up with a different name#asahi-dev · 2026-05-06 12:25
yukaThe question is: Based on which cpu feature I should decide whether to clear SYS_IMP_APL_L2C_ERR_STS? cyc_ovrd? or introduce a new one#asahi-dev · 2026-05-06 12:25
yukaI usually just comment out the respective lines, but I would like to fix this more properly.#asahi-dev · 2026-05-06 12:25
yukaSmall question: On M4 and A18 Pro, m1n1 can currently never recover since the exception handler itself throws another SError while clearing SYS_IMP_APL_L2C_ERR_STS.#asahi-dev · 2026-05-06 11:48
floklijannau: yeah, a few seconds. it's a bit hard to time, as I'm using some 'portable screen' that receives power and signal from the mac mini and that whole chain take a bit to wake up#asahi-dev · 2026-05-06 11:44
jannauI can try later#asahi-dev · 2026-05-06 11:44
jannauflokli: how quickly does it arrive at the macsetup? if it is within a few seconds it sounds more like there is an issue with the boot object#asahi-dev · 2026-05-06 11:39
flokliI will try with another rebased m1n1 tree plus https://github.com/AsahiLinux/m1n1/pull/568 on top. But probably not before tomorrow, lots of travels today#asahi-dev · 2026-05-06 11:37
arrynyeah seems different from my issue#asahi-dev · 2026-05-06 11:36
flokliarryn: 26.4.1, I hear the boot chime, then it shows the support.apple.com/macsetup slideshow#asahi-dev · 2026-05-06 11:35
arrynflokli: whats your issue with it exactly? yesterday I tried booting with 26.4.1 on M5 pro and I can't get it to work either. I even tried my own payload that is only vbar and an endless loop and it just keeps rebooting after the chime and then lava lands me in recovery after a few times#asahi-dev · 2026-05-06 11:08
floklimmh, anyone got some m1n1 booted so far on t6040? maybe it's another instance of iboot being broken or something.#asahi-dev · 2026-05-05 21:15
jannauM3 Pro is untested, M3 Max/Ultra should work#asahi-dev · 2026-05-05 21:15
jannauI pushed initial M3 Pro and M3 Max/Ultra device trees to asahi-wip. doesn't do much besides booting to serial console#asahi-dev · 2026-05-05 20:59
floklimmpf, same. will debug tomorrow :-D#asahi-dev · 2026-05-05 20:52
chaos_princessbputil -nckas#asahi-dev · 2026-05-05 20:51
flokliThen `csrutil disable`, cause it complained. ignored the 'need to reboot for changes to take effect'. ran again the kmutil command. /macsetup error screen, rebooted into 1tr again, and tried to run kmutil again. still same behaviour#asahi-dev · 2026-05-05 20:49
flokliI ran `kmutil configure-boot -c m1n1-bla.bin --raw --entry-point 2048 --lowest-virtual-address 0 -v /Volumes/m1n1`#asahi-dev · 2026-05-05 20:48
floklithe 'choose startup disk' window apparently also shows the version. both are listed as macOS 26.4.1#asahi-dev · 2026-05-05 20:48
jannaualso helpful for updating macos if it is macos 15.x#asahi-dev · 2026-05-05 20:47
jannauor just revert to the macos kernel with bputil -n#asahi-dev · 2026-05-05 20:47
chaos_princessboot into other macos, do "get info" in finder at the volume#asahi-dev · 2026-05-05 20:46
floklisven: how do I know which macOS version is running / was used to install into the second partition? mac mini m4 pro here, I get the boot chime, a progress bar, and then it drops me into a slideshow with support.apple.com/macsetup at the bottom, instead of running m1n1#asahi-dev · 2026-05-05 15:44
arrynis it time to conclude that apple broke something again? if the chime finishes and the macOS kernel boots, that means the firmware on my partition is fine too, right?#asahi-dev · 2026-05-05 15:43
arrynfor objdump of try the m1n1 elf I get LLVM ERROR: Invalid data was encountered while parsing the file. bur hexdump of m1n1 shows the vector table at 0 and start at 0x800#asahi-dev · 2026-05-05 15:39
arrynexception vectors at the start, b . instruction at 0x800#asahi-dev · 2026-05-05 15:38
arrynyup its what I expect#asahi-dev · 2026-05-05 15:35
arrynwill do. it should be, I used the same toolchain and program I developed on M1, just put a loop at the start to see if I can get it to rum#asahi-dev · 2026-05-05 15:34
jannauand compare it with m1n1.bin#asahi-dev · 2026-05-05 15:34
jannauor objdump it#asahi-dev · 2026-05-05 15:34
chaos_princesshexdump it#asahi-dev · 2026-05-05 15:34
chaos_princessok, but is myobj.o what you think it is#asahi-dev · 2026-05-05 15:33
arrynmy kmutil command is the one from the wiki: kmutil configure-boot -c myobj.o --raw --entry-point 2048 --lowest-virtual-address 0 -v /Volumes/macOS2/#asahi-dev · 2026-05-05 15:30
chaos_princessthis aligns so the next is at 2048 in file#asahi-dev · 2026-05-05 15:30
chaos_princesshttps://github.com/AsahiLinux/m1n1/blob/main/src/start.S#L20#asahi-dev · 2026-05-05 15:30
chaos_princessno, it jumps to 2048#asahi-dev · 2026-05-05 15:29
jannautry editing m1n1's start.S and put "b ." at the top of _start#asahi-dev · 2026-05-05 15:29
arrynstart vector table is at offset 0 in the binary?#asahi-dev · 2026-05-05 15:28
jannauI think the entry point is the start vector table and not a function