#
✕ nick:Shiz
#asahi-dev · 2021-01-19 18:09
Shiz!votesleep
#asahi-dev · 2021-01-19 18:09
Shizhahaha
#asahi-dev · 2021-01-19 18:08
Shizstash
#asahi-dev · 2021-01-19 18:08
Shizfor bed
#asahi-dev · 2021-01-19 18:08
Shizpetition to make a hammer irc trigger that bonks marcan :3
#asahi-dev · 2021-01-19 17:56
Shiznot particularly special, silicon errata exist everywhere
#asahi-dev · 2021-01-19 17:46
Shizaw shit, i missed the boot
#asahi-dev · 2021-01-19 15:57
Shizmarcan: did you actually recompile the DTS
#asahi-dev · 2021-01-19 12:39
Shiznot tinf_uncompress
#asahi-dev · 2021-01-19 12:39
Shizmarcan: you want to do tinf_gzip_uncompress
#asahi-dev · 2021-01-19 12:30
Shizmarcan: oy, just realised that lzo.c is noncompliant
#asahi-dev · 2021-01-19 12:04
Shizcan't be worse than gzip code
#asahi-dev · 2021-01-19 11:58
Shizthere's also https://github.com/jibsen/tinf/tree/master/src
#asahi-dev · 2021-01-19 11:50
Shizmarcan: just gonna casually link https://github.com/Shizmob/unimgc/blob/master/lzo.c here :)
#asahi-dev · 2021-01-19 10:00
Shiz(and nconfig is better :p)
#asahi-dev · 2021-01-19 10:00
Shizmarcan: this is x86 menuconfig
#asahi-dev · 2021-01-18 02:54
Shizwell, it's never to late to start learning :p
#asahi-dev · 2021-01-18 00:27
Shiznew tool in img4: nvram.py for working with raw nvram (proxy) dumps
#asahi-dev · 2021-01-17 22:53
Shiz compatible-app-variant = "MacFamily20,1";
#asahi-dev · 2021-01-17 22:53
Shiz graphics-featureset-class = "APPLE7";
#asahi-dev · 2021-01-17 22:53
Shizinteresting things from the devicetree
#asahi-dev · 2021-01-17 22:53
Shiz compatible-device-fallback = "iPad8,6";
#asahi-dev · 2021-01-17 22:53
Shiz allow-32bit-apps = <0x1>;
#asahi-dev · 2021-01-17 22:53
Shiz product-description = "Mac mini (M1, 2020)";
#asahi-dev · 2021-01-17 17:46
Shiznice!
#asahi-dev · 2021-01-17 06:37
Shizsee the `to-src` command :)
#asahi-dev · 2021-01-17 06:37
Shizit already supports dts output
#asahi-dev · 2021-01-17 06:37
Shizwell
#asahi-dev · 2021-01-17 06:35
Shizfeel free to ping me anytime about it
#asahi-dev · 2021-01-17 06:35
Shizto_fdt is rather annoying as a fair warning :) you might get wrapped up in the struct library, hehe
#asahi-dev · 2021-01-17 06:34
Shizah whoops, merged
#asahi-dev · 2021-01-17 06:26
Shizthere is one issue right now, which is the endian-ness of prop-encoded-array fields, whose parsing is nontrivial and as such not done automatically
#asahi-dev · 2021-01-17 06:24
Shizcontrast https://github.com/Shizmob/img4/blob/715c6d55935d50896dd1b9420ad2b6c776490cd0/dt.py#L53-L61 and https://github.com/Shizmob/img4/blob/715c6d55935d50896dd1b9420ad2b6c776490cd0/dt.py#L121-L129 :)
#asahi-dev · 2021-01-17 06:23
Shizas per the spec
#asahi-dev · 2021-01-17 06:23
ShizFlattened device trees (dtb/fdt) are big-endian
#asahi-dev · 2021-01-17 06:22
ShizApple device trees are little-endian
#asahi-dev · 2021-01-17 06:22
Shizclayfreeman: i do compensate for that
#asahi-dev · 2021-01-17 06:15
Shizmuch easier to cherry-pick than fdt
#asahi-dev · 2021-01-17 06:15
Shizmarcan: so dt.py can export to dts, i figure we could just use that in combination with git :)
#asahi-dev · 2021-01-17 06:11
Shizhave you seen the diff output? it's rather git-ish :p
#asahi-dev · 2021-01-17 06:11
Shizwhat i do internally right now is convert everything to ADT because it's simpler
#asahi-dev · 2021-01-17 06:11
Shizheh
#asahi-dev · 2021-01-17 06:08
Shizdt gained a few more useful functions (chief among 'show'), should be somewhat ready for actual usage now
#asahi-dev · 2021-01-17 01:32
Shizbut again, not needed for just dt.py
#asahi-dev · 2021-01-17 01:32
Shizit's also in requirements.txt :p
#asahi-dev · 2021-01-17 01:32
Shizyeah
#asahi-dev · 2021-01-17 01:31
Shizasn1crypto*
#asahi-dev · 2021-01-17 01:31
Shizimg4.py needs asn1parse
#asahi-dev · 2021-01-17 01:31
Shizgit clone --recursive is all you need for dt.py
#asahi-dev · 2021-01-17 01:30
Shizhttps://txt.shiz.me/ZmNiMjJlN2.txt

plus ›