#
✕ nick:Shiz
#asahi-dev · 2021-01-14 16:14
Shizsleep well
#asahi-dev · 2021-01-14 16:06
Shizthe q is how that indexes
#asahi-dev · 2021-01-14 16:06
Shizlooks like it's wdt.regs[0] | arm-io.ranges[1]
#asahi-dev · 2021-01-14 16:01
Shiz[arm-io]
#asahi-dev · 2021-01-14 16:01
Shizmarcan: the ranges from the parent device
#asahi-dev · 2021-01-14 15:21
Shizmarcan: should be *(u32*)p btw
#asahi-dev · 2021-01-14 15:21
Shiz:)
#asahi-dev · 2021-01-14 15:14
Shizfor posterity here too
#asahi-dev · 2021-01-14 15:14
Shizhttps://txt.shiz.me/OWU4MjFkZj.txt
#asahi-dev · 2021-01-14 14:33
Shizyep
#asahi-dev · 2021-01-14 14:33
Shizbut you def wanna mask it off or the length is very wrong
#asahi-dev · 2021-01-14 14:33
Shizmarcan: (icymi) as for the high bit, it only seems to be set for .syscfg/* string values
#asahi-dev · 2021-01-14 13:30
Shiz(good at this)
#asahi-dev · 2021-01-14 13:30
Shiz/w/w 26
#asahi-dev · 2021-01-14 13:21
Shizyeah, just that
#asahi-dev · 2021-01-14 13:12
Shizmac devicetrees are just k/v trees
#asahi-dev · 2021-01-14 13:12
Shizmarcan: (anyway linux devicetrees are very different, way more complex)
#asahi-dev · 2021-01-14 13:07
Shizmarcan: https://github.com/Shizmob/img4/blob/master/dt.py
#asahi-dev · 2021-01-14 08:57
Shizit looks like it may be the same hw
#asahi-dev · 2021-01-14 08:57
Shizthis is code to disable the iphone watchdog
#asahi-dev · 2021-01-14 08:57
Shizmarcan: https://github.com/googleprojectzero/ktrw/blob/4296481f94848e9a02ae89363ffd928e60a83366/ktrw_gdb_stub/source/watchdog.c
#asahi-dev · 2021-01-12 12:44
Shiz(also writing parsers and fixing my library is fun)
#asahi-dev · 2021-01-12 12:41
Shizi started this a while ago and looked at it again yesterday after the fileset stuff
#asahi-dev · 2021-01-12 12:41
Shizmarcan: here's a second one :p
#asahi-dev · 2021-01-12 11:52
Shizpushed a simple mach-o parser to https://github.com/Shizmob/img4
#asahi-dev · 2021-01-12 11:35
Shizoh no
#asahi-dev · 2021-01-10 06:33
Shizlgtm
#asahi-dev · 2021-01-10 04:01
Shizhttps://github.com/Shizmob/img4 some img4 & apple devicetree dump tools
#asahi-dev · 2021-01-10 04:01
Shizoh yeah, figured I should also post it here for the relevant folks then
#asahi-dev · 2021-01-09 23:47
Shizposted in -re
#asahi-dev · 2021-01-09 23:45
Shiznevermind, only with -v -- it does some highly dodgy buffer stuff :p
#asahi-dev · 2021-01-09 23:39
Shizdtdump seems to partially work until it runs into something and segfaults 20 props in
#asahi-dev · 2021-01-09 23:35
Shizthere's some info up at https://www.theiphonewiki.com/wiki/DeviceTree, fwiw
#asahi-dev · 2021-01-09 23:03
Shizj`ey: they aren't identical
#asahi-dev · 2021-01-09 23:02
Shizit's expected to release with 11.2 afaik, but i'm nots ure where that expectation is sourced from
#asahi-dev · 2021-01-09 23:02
Shizthe fundamentals (and docs?) are there, but the toolings don't seem to be completely done yet
#asahi-dev · 2021-01-09 23:02
ShizCamdenB[m]: right, but there's no tooling right now allowing it to run secondary bootloaders :)
#asahi-dev · 2021-01-09 23:00
Shiz(in how devices are laid out, I believe?)
#asahi-dev · 2021-01-09 22:59
ShizI'm not familiar enough with apple dtb vs linux dtb, but marcan indicated he didn't feel like it was worth converting them because of fundamental differences
#asahi-dev · 2021-01-09 22:58
Shiz(and hi!)
#asahi-dev · 2021-01-09 22:58
ShizCamdenB[m]: https://github.com/AsahiLinux/docs/wiki/Tasks has a list of all current tasks, we're waiting for the 11.2 release to have the final tools needed to boot custom OSes
#asahi-dev · 2021-01-09 22:57
Shizhttps://github.com/Shizmob/img4
#asahi-dev · 2021-01-09 22:57
Shizsince there's no effort like duplicate effort, I wrote a hopefully easier hackable img4 parser in Python
#asahi-dev · 2021-01-08 19:11
Shizgood :)
#asahi-dev · 2021-01-08 19:10
ShizI presume we already have the (macOS) devicetree? since it's p much in plain sight
#asahi-dev · 2021-01-07 17:37
Shizsleeping schedule strikes again
#asahi-dev · 2021-01-06 00:54
Shizyeah I just grepped, any osx && arm64 stuff seems very tangential
#asahi-dev · 2021-01-06 00:42
Shizbig sur xnu dropped
#asahi-dev · 2021-01-06 00:42
Shizhttps://opensource.apple.com/source/xnu/xnu-7195.50.7.100.1/