#asahi-re · 2026-05-02 08:18
chewyeclaire[m]hihi I have RTKit coms between AP and PMP on j700/A18 Pro w/ PMP kind of working (see logs) but I am curious if I'm shaving a yak someone has already shaved on newer hardware. If anyone's done any research on this (outside of my current reference of rtkit.c in linux) I can read already I'd appreciate any tips :)#asahi-re · 2026-05-01 15:33
jannauthanks, merged#asahi-re · 2026-05-01 15:24
chewyeclaire[m]jannau: Hi, you can credit @miyakoyakota on GitHub ty #asahi-re · 2026-05-01 10:04
jannauchewyeclaire[m]: how do you want to be credited? I have "Discovered-by: chewyeclaire" in https://github.com/AsahiLinux/m1n1/pull/564#asahi-re · 2026-05-01 09:30
jannauunsure why it would be scaled by factor 10 of the expected clock of 24 MHz#asahi-re · 2026-05-01 09:30
jannauit's possible that wdt_base + 0x8018 contains the alarm value: 0x11451012 / 2,400,000 = 120.7#asahi-re · 2026-05-01 09:22
jannaunot sure what's at 0x802c but its reset value is already 0x0#asahi-re · 2026-05-01 09:21
Shiz/w/w 25#asahi-re · 2026-05-01 09:20
jannausetting wdt_base + 0x8008 to zero disables the watchdog (on M4)#asahi-re · 2026-05-01 09:16
jannausigh, I had regmon on the wdt offsets at 0x80XX but this doesn't look like another wdt copy#asahi-re · 2026-05-01 08:21
aquaratah okay :/ well, decode would be nice 😆, I'll see how it goes. I can only put a small amount of time into this each day anyway.#asahi-re · 2026-05-01 08:16
chaos_princess*the first printf#asahi-re · 2026-05-01 08:16
chaos_princessalso ave firmware has a bug where it can only send the printf to the debug log, and then it gets stuck and goes completely silent#asahi-re · 2026-05-01 08:14
aquarat😆 👍 better than nothing 😜#asahi-re · 2026-05-01 08:12
JamesCalligeros[m]If you squint really really really hard it kinda looks like smasnug’s codecs#asahi-re · 2026-05-01 08:10
chaos_princessencode and decode are separate ip blocks, that thing only covers decode, for encode - there is basically nothing out there aside from "it kinda uses the same ring buffer protocol as isp does"#asahi-re · 2026-05-01 08:08
aquaratoh wow, thanks 🔥#asahi-re · 2026-05-01 08:07
chaos_princessit works with the hardware: https://github.com/eiln/m1n1/commit/075dd4099a51936389055abea25a833239ec83f0#asahi-re · 2026-05-01 08:07
aquaratI'd love to try and get accelerated video decode and encode working for H.264 and HEVC on M1 machines. There appears to only be one public resource around this, namely github.com/eiln/avd, which critically doesn't seem to work with the hardware; it uses an emulator. Does anyone know if anyone else has done work on this? Especially around changes needed to the DTB overley?#asahi-re · 2026-05-01 08:07
aquaratHi#asahi-re · 2026-05-01 07:27
yukahow did you figure it out? looking at mac os binaries?#asahi-re · 2026-05-01 07:27
yukachewyeclaire: very cool! don't have access to my M4 device currently but will try this next week then#asahi-re · 2026-05-01 05:42
chewyeclaire[m]uploaded an image: FB Works (: (527KiB) < https://matrix.org/oftc/media/v1/media/download/AbCafIKKMKnZe-SMzzazq6TCYwJ8Ns5Tu1fT4qVp3izOM7xMJ6Xw-jhr73B2Ueu1Oh2yzfDthuUWXAyhosQXP0RCeeKihcOQAG1hdHJpeC5vcmcvbGlOR0hPdUd0V3NlRmRHQk1mR2VEZWxq >#asahi-re · 2026-05-01 04:38
chewyeclaire[m]* Figured out how to disable the new 120s WDT on A18 pro (and probably m4 too) [@_oftc_yuka:matrix.org](https://matrix.to/#/@_oftc_yuka:matrix.org) [@_oftc_jannau:matrix.org](https://matrix.to/#/@_oftc_jannau:matrix.org)... (full message at <https://matrix.org/oftc/media/v1/media/download/AZwwMYNYHBKYft8HaRIuXY7JUbg6JZvXRLrKYGpYVMECMLR7IzPN0EcLmvrJVEFi3kE80Xl3BQJLKw2TbqRtBoJCeeKe2XdgAG1hdHJpeC5vcmcvTlppSEVrTUd3SHpWbFd2cExZU1R3a2Vj>)#asahi-re · 2026-05-01 04:37
chewyeclaire[m]* Figured out how to disable the new 120s WDT on A18 pro (and probably m4 too) [@_oftc_yuka:matrix.org](https://matrix.to/#/@_oftc_yuka:matrix.org) [@_oftc_jannau:matrix.org](https://matrix.to/#/@_oftc_jannau:matrix.org)... (full message at <https://matrix.org/oftc/media/v1/media/download/AZfZu6U8vVL8JBkBPUB9Mv54XT0eGC6y2zeMSalhQ0WSbBtOhtXUOSJ_HMMJAnK-JMm_lTTtnnkqebgt66eW_ulCeeKeynMAAG1hdHJpeC5vcmcvcGVtSlB3SXJQZ25Zb29EWEZkZGNqT3FS>)#asahi-re · 2026-05-01 04:37
chewyeclaire[m]* Figured out how to disable the new 120s WDT on A18 pro (and probably m4 too) [@_oftc_yuka:matrix.org](https://matrix.to/#/@_oftc_yuka:matrix.org) [@_oftc_jannau:matrix.org](https://matrix.to/#/@_oftc_jannau:matrix.org)... (full message at <https://matrix.org/oftc/media/v1/media/download/AQ4sceO8_IZ3kmww7Ibai_s_MzWnQUlRGyZ5IcYf0pIAPmjOQx5DOERpaqJgyi7s2mvo48gzvtSklzotgQ9yy5pCeeKexywQAG1hdHJpeC5vcmcvV21LU2J1b0NRbFdHRWdTS2x4bFRudmtv>)#asahi-re · 2026-05-01 04:35
chewyeclaire[m]Figured out how to disable the new 120s WDT on A18 pro (and probably m4 too) [yuka](https://matrix.to/#/@_oftc_yuka:matrix.org) [jannau](https://matrix.to/#/@_oftc_jannau:matrix.org)... (full message at <https://matrix.org/oftc/media/v1/media/download/ATl9SAmRZKLg5RsRAhJFY_tJyXSIRf0Yu5yD9ZE1L4ww_OCxzAY2Zd38czeycT3MfpXDQBSzQj1CUAa4h1w4UVlCeeKer5rQAG1hdHJpeC5vcmcvU2Zjc3JLdlhNV0hLam9XY2dHRVJCeUd1>)#asahi-re · 2026-04-30 13:26
chadmedwe have enough sacrificial machines between us to build a fort out of macs i think#asahi-re · 2026-04-30 13:25
tryhard[m]if you need testing for sep you can let me know#asahi-re · 2026-04-30 13:25
chaos_princessand i still need a m1 box for other reasons anyway#asahi-re · 2026-04-30 13:25
chaos_princessyea, i know#asahi-re · 2026-04-30 13:25
JPeisach1chadmed: thanks. after exams and the school year wraps up, I might look at it.#asahi-re · 2026-04-30 13:24
jannauthere is a magic keyboard with fingerprint sensor, obviously working differently wrt the transport#asahi-re · 2026-04-30 13:23
chaos_princesswhatever, will do sep on that, and fp on my other laptop#asahi-re · 2026-04-30 13:23
chaos_princessi've got a m1 mini with the intent to use as a "sep machine" in the future, but, uh, minis don't have a fp sensor#asahi-re · 2026-04-30 13:23
chadmedchaos_princess: thats my line#asahi-re · 2026-04-30 13:22
chadmedvideo decoder or encoder still doesnt work and a lot of the hard work is done for some codecs if you wanted to take a look at those instead#asahi-re · 2026-04-30 13:22
chaos_princess... so, turns out, i am an idiot#asahi-re · 2026-04-30 13:21
tryhard[m]just buy the cheapest one that still works somehow#asahi-re · 2026-04-30 13:21
JPeisach1s/unused/used (because it would be cheaper)#asahi-re · 2026-04-30 13:21
JPeisach1Tbh my only idea was fingerprint stuff, because it's not implemented. yet and it would be an area of work#asahi-re · 2026-04-30 13:20
chaos_princesswhy do you care about unused?#asahi-re · 2026-04-30 13:20
chaos_princesswe may have pointers#asahi-re · 2026-04-30 13:20
JPeisach1(unless someone puts upan unused mbp on ebay or something.)#asahi-re · 2026-04-30 13:20
chaos_princessbefore you go, tell us what you want to work on#asahi-re · 2026-04-30 13:20
JPeisach1I guess I'll be leaving that alone then, if I RE other things that aren't SEP related I will let you know#asahi-re · 2026-04-30 13:19
chaos_princess(i do have backups)#asahi-re · 2026-04-30 13:19
chaos_princessviolates that rule all the time for non-sep-related activities#asahi-re · 2026-04-30 13:19
chadmedif you fuck up xart/keybag everything stops working. again, these machines are effectively unbrickable save for cosmic rays hitting the ROM with the first stage bootloader so you can always recover, but do _not_ keep any important data on the device under test#asahi-re · 2026-04-30 13:18
JPeisach1ok now I see why there is high risk involved