#
✕ nick:Shiz
#asahi-dev · 2021-01-17 01:27
Shizwith new useful subcommands
#asahi-dev · 2021-01-17 01:27
Shiz0x23d2b0000 16384
#asahi-dev · 2021-01-17 01:27
Shiz~/d/m/img4 ❯❯❯ ./dt.py regs devtree_after_iboot.bin /arm-io/wdt
#asahi-dev · 2021-01-17 01:27
Shiz/arm-io/wdt
#asahi-dev · 2021-01-17 01:27
Shiz~/d/m/img4 ❯❯❯ ./dt.py find devtree_after_iboot.bin name=wdt
#asahi-dev · 2021-01-17 01:07
Shizafter a bunch of silly bit twiddle debugging, to-adt now works and roundtrips successfully :)
#asahi-dev · 2021-01-16 20:35
Shizthis is not a tech support channel, don't think people can help you with that here
#asahi-dev · 2021-01-16 20:27
Shizwhat do you mean by ethernet dev
#asahi-dev · 2021-01-16 18:52
Shiznote: there seems to be a bug in restruct preventing to-adt from working rn, will look at it after these messages
#asahi-dev · 2021-01-16 18:44
Shizjn__: pushed, sankyu
#asahi-dev · 2021-01-16 18:43
Shizyea
#asahi-dev · 2021-01-16 18:41
Shizthe diff output format is suboptimal right now but the functionality is there
#asahi-dev · 2021-01-16 18:41
Shizthanks, I just pushed diff support
#asahi-dev · 2021-01-16 18:41
Shizah yes, you can tell i've never actually written devicetrees :D
#asahi-dev · 2021-01-16 17:54
Shizyou can now use `dump`, `to-adt`, `to-src` and `regs` to visualize FDTs and ADTs, convert to ADT, convert to DTS, and show calculated memory ranges for a node respectively
#asahi-dev · 2021-01-16 17:52
Shizpushed https://github.com/Shizmob/img4/
#asahi-dev · 2021-01-16 17:46
Shizjust realised i probably wanna substitute `device-tree` in the root node for `/` there :D
#asahi-dev · 2021-01-16 17:45
Shizit's by no means perfect yet (prop-encoded-array types aren't decoded and the what-value-is-this heuristics are still a bit off), but it's a good start :)
#asahi-dev · 2021-01-16 17:44
Shizthere we go
#asahi-dev · 2021-01-16 17:44
Shizhttps://txt.shiz.me/NTRjNTlkNm.txt
#asahi-dev · 2021-01-16 17:11
Shizdid some more work on the devicetree stuff, currently writing the .dts output :)
#asahi-dev · 2021-01-16 00:38
Shizhmm, i last poked lld in like 2016 so that makes sense
#asahi-dev · 2021-01-16 00:37
Shizhow new is that?
#asahi-dev · 2021-01-16 00:37
Shizoh nice https://lld.llvm.org/ELF/linker_script.html
#asahi-dev · 2021-01-16 00:37
Shizoh?
#asahi-dev · 2021-01-15 21:46
Shizapparently you can use --export-png, which will work in new *and* old
#asahi-dev · 2021-01-15 21:46
Shizhttps://gitlab.com/inkscape/inkscape/-/blob/master/src/inkscape-main.cpp#L123
#asahi-dev · 2021-01-15 21:44
Shizisn't compatibility grand
#asahi-dev · 2021-01-15 21:44
Shizthe old manpage lists -e, but not -o: https://linux.die.net/man/1/inkscape
#asahi-dev · 2021-01-15 21:44
Shizthe new inkscape manpage lists -o, but not -e: https://inkscape.org/doc/inkscape-man.html
#asahi-dev · 2021-01-15 21:43
Shizthe problem is that
#asahi-dev · 2021-01-15 21:43
Shizprobably better to just make it work with more versions rather than forcing tool versions
#asahi-dev · 2021-01-15 21:41
Shizoh yeah, gotta sign it off
#asahi-dev · 2021-01-15 21:40
Shizhttps://github.com/AsahiLinux/m1n1/pull/8
#asahi-dev · 2021-01-15 21:38
Shizyyay
#asahi-dev · 2021-01-15 21:37
Shizi think it doesn't make much sense to compile this as aarch64-linux-gnu, i'd expect it to be aarch64-none-elf
#asahi-dev · 2021-01-15 21:36
Shizah
#asahi-dev · 2021-01-15 21:36
Shizwondering if they just added inferring this behavior
#asahi-dev · 2021-01-15 21:36
Shizsven: what's your objcopy version?
#asahi-dev · 2021-01-15 21:34
Shizcan you add -B aarch64 to line 60 in the makefile, rm build/bootlogo_128.o and rebuild?
#asahi-dev · 2021-01-15 21:34
Shizwe probably just wanna set this
#asahi-dev · 2021-01-15 21:33
Shiz -B --binary-architecture <arch> Set output arch, when input is arch-less
#asahi-dev · 2021-01-15 21:33
Shizi guess you wanna set the machine explicitly
#asahi-dev · 2021-01-15 21:33
Shizsince it does @$(OBJCOPY) -I binary -O elf64-littleaarch64 $< $@
#asahi-dev · 2021-01-15 21:33
Shizthat's interesting
#asahi-dev · 2021-01-15 21:30
Shiz`file build/bootlogo_128.o`
#asahi-dev · 2021-01-15 15:13
Shizdiffing, converting, maybe calculating addresses for us
#asahi-dev · 2021-01-15 15:12
Shizmarcan: to prevent duplicate fforts, I was thinking of expanding my dt parser to be useful for the kind of things we'd want to do outside of mini wrt dt management
#asahi-dev · 2021-01-14 16:22
Shizcursed
#asahi-dev · 2021-01-14 16:15
Shizinteresting

plus ›