#
✕ nick:yuka
#asahi-dev · 2026-07-24 16:05
yukanoted in the same gist
#asahi-dev · 2026-07-24 16:05
yukainstead what I needed to change was cmd.cdw12 1 -> 0
#asahi-dev · 2026-07-24 16:05
yukahowever, I just skipped the unknown_ctrl and linear_sq_ctrl writes completely
#asahi-dev · 2026-07-24 16:04
yukait works
#asahi-dev · 2026-07-24 16:04
yukathanks for reminding me that this gist on the ans3 changes exists
#asahi-dev · 2026-07-24 16:04
yukab'EFI PART...'
#asahi-dev · 2026-07-24 16:01
yukathe old addresses contain sensible values, and the trace I am working with also has the old ones
#asahi-dev · 2026-07-24 16:00
yukaI am not convinced this is the case here
#asahi-dev · 2026-07-24 15:58
yukayou mean that APPLE_ANS_UNKNOWN_CTRL moved?
#asahi-dev · 2026-07-24 15:57
yukaI think I'm close, but this is not a particularly helpful error message: "assert failed: [13075]:undefined error. interrupt status 0x0, status valid 0x0"
#asahi-dev · 2026-07-24 15:57
yukaHas anyone gotten M4+ nvme to work? a few weeks back someone with the nick starcatmeow posted something on it but haven't seen them around
#asahi-dev · 2026-07-24 13:19
yukaOr if "UNK" will fly with upstream
#asahi-dev · 2026-07-24 13:18
yukaQuestion is still what it does exactly
#asahi-dev · 2026-07-24 08:59
yukawell it should just return AdtError::NotFound as c_int
#asahi-dev · 2026-07-24 08:58
yukachadmed: adt_first_child_offset panicked on a node without children
#asahi-dev · 2026-07-24 08:57
yukaforeach-hpm works on t6000, after I fixed another panic in the adt code
#asahi-dev · 2026-07-24 08:39
yukabut only t8140 fails spectacularly if it is cleared
#asahi-dev · 2026-07-24 08:38
yukaon boot
#asahi-dev · 2026-07-24 08:38
yukare samsung uart: the 1<<10 bit in UCON is set on all my devices: t6000/t6034/t8132/t8140/t6050
#asahi-dev · 2026-07-24 08:13
yukathis is what's confusing me
#asahi-dev · 2026-07-24 08:08
yukayes, and on t6040 the adt _does_ list power states for non-existing HW
#asahi-dev · 2026-07-24 08:04
yukaI also checked the t6020 vs t6021 _adt_ and they differ significantly
#asahi-dev · 2026-07-24 07:58
yukaAlso the fpwm* nodes have always-on which is odd
#asahi-dev · 2026-07-24 07:21
yukaeven though it should somehow be marked as disabled in j614s
#asahi-dev · 2026-07-24 07:21
yukaDISPEXT3_SYS has all the same flags and unk* values in j614s vs j614c
#asahi-dev · 2026-07-24 07:21
yukathere is literally no difference in the adt
#asahi-dev · 2026-07-24 07:19
yukabecause: with the current interpretation of adt2dt, a t6040 adt (j614s) has all the memory channels and dispexts of t6041 still present and active (!no_ps)
#asahi-dev · 2026-07-24 07:18
yukathat marks these devices as active/inactive
#asahi-dev · 2026-07-24 07:18
yukaI think I'm missing something in the new pmgr adt encoding
#asahi-dev · 2026-07-24 07:17
yukaless memory channels, less dispexts
#asahi-dev · 2026-07-24 07:17
yukayes, indeed it's a big diff between t6020 and t6021
#asahi-dev · 2026-07-24 07:15
yukafrom what I can tell, on t6000 vs t6002 and t6020 vs t6022 they actually had different pmgr devices in the adt
#asahi-dev · 2026-07-24 07:15
yukaI'm slightly unsure about the t6040/t6041 pwrstate nodes
#asahi-dev · 2026-07-23 22:35
yukaBut I usually reinstall or even dfu dev devices for each beta
#asahi-dev · 2026-07-23 22:35
yukaand then do a normal update an install m1n1 again
#asahi-dev · 2026-07-23 22:35
yukayou can also do "bputil -n" in 1TR which will revert the boot object back to xnu
#asahi-dev · 2026-07-23 22:13
yukaYes, but maybe also solvable
#asahi-dev · 2026-07-23 22:12
yukadebug_putc will be slightly less useful if one does not have a second mac or central scrutinizer, because the self-enter debugusb happens rather late, but it's still useful for debugging secondaries startup and chainloading things :)
#asahi-dev · 2026-07-23 22:11
yukabasically bring dockchannel uart support on par with the samsung uart
#asahi-dev · 2026-07-23 22:11
yuka3. if both a samsung uart and dcuart are in the fdt, rewrite stdout-path / earlycon to use the dcuart ifdef USE_DEBUG_USB
#asahi-dev · 2026-07-23 22:10
yuka2. use it in debug_putc ifdef USE_DEBUG_USB
#asahi-dev · 2026-07-23 22:10
yuka1. define EARLY_DCUART_BASE for each board
#asahi-dev · 2026-07-23 22:10
yukaIt would be nice if m1n1 had some extra features for debugusb:
#asahi-dev · 2026-07-23 22:08
yukaso samsung serial will be default earlycon on the newer devices too
#asahi-dev · 2026-07-23 22:08
yukaI will soon re-do my dcuart / device-tree branches without the assumption that the samsung serial is broken
#asahi-dev · 2026-07-23 22:07
yukaadded typedefs for the function pointer signatures
#asahi-dev · 2026-07-23 22:02
yukamaybe it's possible with macros, I wouldn't know how
#asahi-dev · 2026-07-23 22:01
yukaThe problem with a macro is stuff still needs to happen after the user-specified code (shutdown the tps, shutdown the bus)
#asahi-dev · 2026-07-23 22:01
yukare typedefs of course
#asahi-dev · 2026-07-23 21:59
yukayay for net -50 loc

plus ›