#asahi-dev · 2026-01-06 19:20
fl0_idok sorry#asahi-dev · 2026-01-06 19:08
fl0_idbtw this is for raspberry pi and seems a bit like written by AI, but assuming it's mostly accurate at least is useful to me re early boot https://www.linkedin.com/pulse/comprehensive-guide-early-boot-uart-configuration-tty-david-zhu-2qvec/#asahi-dev · 2026-01-06 16:08
fl0_idthx for all the hints#asahi-dev · 2026-01-06 16:08
fl0_idbut it had debug ingo#asahi-dev · 2026-01-06 16:06
fl0_idjannau oops yeah it was compiled as efi stub ... didn't even think about that#asahi-dev · 2026-01-06 16:05
fl0_idyeah the incremental upgrade part is why i compiled it in a linux vm on the m3, then copied to the x230...#asahi-dev · 2026-01-06 16:04
fl0_idgood things to keep in mind, thx#asahi-dev · 2026-01-06 16:03
fl0_idjannau tbh I don't remember, good to check. I think I just mostly used the config linked somewhere in the docs#asahi-dev · 2026-01-06 16:02
fl0_idputting uart prints seems like a good way, just need to think about compiling, as my x230 rly doesn't like that / takes forever#asahi-dev · 2026-01-06 16:00
fl0_idright. just to confirm - there should have been like actual symbol names, not just kernel_size_le_lo32 etc, and at that point it should already be past start_kernel, right?#asahi-dev · 2026-01-06 15:59
fl0_idhe suggested adding an address manually, which I will prob try next (like where m1n1 starts the kernel)#asahi-dev · 2026-01-06 15:58
fl0_idand the bp was accepted but it never stopped#asahi-dev · 2026-01-06 15:58
fl0_idjannau thx#asahi-dev · 2026-01-06 15:58
fl0_idright. sven that's what I was doing but I think symbols were not really loaded, as I told integralpilot, it just showed _kernel_size_le_lo32+someaddress or kimage_limit+address at the end#asahi-dev · 2026-01-06 15:33
fl0_idbtw, was there ever a thing where different memory configs behaved differently? Like if f.e. someone tested with 64 GB memory but 96 GB failed or sth#asahi-dev · 2026-01-06 03:08
fl0_idintegralpilot yeah, I can add adresses... with set_hw_bp I think? will check it tomorrow, gotta get some sleep now#asahi-dev · 2026-01-06 02:54
fl0_idit could very well be there's a better early break point#asahi-dev · 2026-01-06 02:47
fl0_idlike I don't know much about kernel early boot#asahi-dev · 2026-01-06 02:47
fl0_idintegralpilot well that would explain things. sry about my dumb questions, but you know more than me for sure#asahi-dev · 2026-01-06 02:43
fl0_idI think at some point someone posted about gpu differences in m3, but cannot remember where/who#asahi-dev · 2026-01-06 02:43
fl0_idintegralpilot sounds cool!#asahi-dev · 2026-01-06 02:42
fl0_idI also tried breaking manually and lookign at bt / stepping manually but that didn't yield anything. at the end bt was kimage_limit, before it was always _kernel_size_le_lo32 or maybe my system / symbols map is wrong/not loaded I guess?#asahi-dev · 2026-01-06 02:41
fl0_idis there another symbol to hook?#asahi-dev · 2026-01-06 02:41
fl0_idseems like stepping through works now. but the break point does not seem to work. I drop to shell with ctrl ^ c, set_sym_bp("start_kernel"), continue with ctrl^d, but this just runs to the "end".#asahi-dev · 2026-01-05 22:46
fl0_idthx#asahi-dev · 2026-01-04 21:18
fl0_idhttps://github.com/jannau/m1n1/commit/80381504ed905dadc4eaa5f8369410b0aad73b1a#asahi-dev · 2026-01-04 21:18
fl0_idjannau hey I found this chicken el1/el2 if statement on your github. prob have to do sth like that again. Do you remember if there was any reason why it was not used / not done this way? (just don't want to propose stuff that's already been discarded for some reason) Oh and I assume it should go in chickens_everest I assume#asahi-dev · 2026-01-04 17:35
fl0_idnickchan thx for the explanation. the weird thing to me is that these both of these work for m3 pro, and presumably someone (dberlin) tested them for m3 max. so maybe the reall issues is elsewhere. I'll try to look a bit more once I'm recovered somewhat#asahi-dev · 2026-01-04 00:14
fl0_idbut I'll try again to be sure#asahi-dev · 2026-01-04 00:14
fl0_idintegralpilot i think I tried only rootwait or no args already#asahi-dev · 2026-01-03 23:54
fl0_id*know#asahi-dev · 2026-01-03 23:54
fl0_idif they kno#asahi-dev · 2026-01-03 23:54
fl0_idcan we ask dberlin what those two first chickens for t6031 were for?#asahi-dev · 2026-01-03 23:53
fl0_idI'll make a video to be sure...#asahi-dev · 2026-01-03 23:53
fl0_idmmh EL1 m1n1... I think so?#asahi-dev · 2026-01-03 23:52
fl0_idthe chainloaded m1n1 loaded for sure.#asahi-dev · 2026-01-03 23:51
fl0_idI could do a video just to be sure#asahi-dev · 2026-01-03 23:51
fl0_idwhen experimenting sometimes I got the rainbow apple logo#asahi-dev · 2026-01-03 23:51
fl0_idI think first I see the asahi log with some logs. then m1n1 restarts#asahi-dev · 2026-01-03 23:50
fl0_idright. thanks about clarifying.#asahi-dev · 2026-01-03 14:48
fl0_idwell that too (bth I didn't think about what it was patching)#asahi-dev · 2026-01-03 14:44
fl0_idthis is also without binary patching, as it was said this was only necessary for macos HV iirc#asahi-dev · 2026-01-03 14:44
fl0_idin case you were talking to me...#asahi-dev · 2026-01-03 14:43
fl0_idchaos_princess this should be 14.8.3, the one recommended by integralpilot. (as I couldn't get 14.7.7, before it was 14.6.x or so)#asahi-dev · 2026-01-03 14:31
fl0_id(or actually I think I checked an old branch, so the current next register may be different...will check properly later)#asahi-dev · 2026-01-03 14:26
fl0_idgonna look into that more later today#asahi-dev · 2026-01-03 14:26
fl0_idassuming the HID14 is reg_set(SYS_IMP_APL_HID14, HID14_ENABLE_NEX_POWER_GATING); then I assume one of the chickens fails, msr(s3_1_c15_c1_5, 0x3uL); would probably be next#asahi-dev · 2026-01-03 14:16
fl0_idjannau right that makes sense. wasn't sure about the numbering#asahi-dev · 2026-01-03 13:20
fl0_id(I don'T mean the uarterror at the bottom)#asahi-dev · 2026-01-03 13:20
fl0_idabout booting m3 max - is it normal that if a device tree only has cpu0, that an exception can still occur on cpu4? or could it very likely also be a HV error? (https://www.pastery.net/erjhwn/)