#
✕ nick:marcan
#asahi · 2021-08-24 03:21
marcanmg4tool -e Firmware/all_flash/DeviceTree.j313ap.im4p -o Firmware/all_flash/DeviceTree.j313ap.adt
#asahi · 2021-08-24 03:21
marcanpython asahi-installer/src/urlcache.py https://updates.cdn-apple.com/2021SummerSeed/fullrestores/071-80097/9F639C04-F128-4EC9-93D3-2AAE04F8A314/UniversalMac_12.0_21A5304g_Restore.ipsw Firmware/all_flash/DeviceTree.j313ap.im4p
#asahi · 2021-08-24 03:17
marcane.g. including ISP which you didn't count
#asahi · 2021-08-24 03:17
marcanalso I'm pretty sure there are at least 12 coprocessors
#asahi · 2021-08-24 03:16
marcanremember there are like 8 UARTs
#asahi · 2021-08-24 03:16
marcanonly the blocks which are actually used in any given device
#asahi · 2021-08-24 03:16
marcanthe ADT does not describe all the hardware that actually exists, not even close
#asahi · 2021-08-24 03:15
marcantry looking at one of the macbooks
#asahi · 2021-08-24 03:15
marcan:p
#asahi · 2021-08-24 03:15
marcanwell no shit, it doesn't have a camera
#asahi · 2021-08-24 03:15
marcanyou're looking at the Mac Mini, right?
#asahi · 2021-08-24 03:15
marcanit isn't
#asahi · 2021-08-24 03:13
marcanfair
#asahi · 2021-08-24 03:12
marcanyou don't usually hardcode that in devicetrees
#asahi · 2021-08-24 03:12
marcanI mean that's pretty common for silicon revs
#asahi · 2021-08-24 03:11
marcanyeah but it could query the hardware
#asahi · 2021-08-24 03:10
marcanis it even in there? :p
#asahi · 2021-08-24 03:09
marcanalyssa: where is the gpu rev in the adt?
#asahi · 2021-08-24 02:59
marcanmakes sense
#asahi · 2021-08-24 02:56
marcansure
#asahi · 2021-08-24 02:51
marcanand we can just drive the hardware directly instead
#asahi · 2021-08-24 02:51
marcansupporting all those blocks, including UART0
#asahi · 2021-08-24 02:50
marcanthat's why I think it's completely optional, because it seems to be totally generic
#asahi · 2021-08-24 02:49
marcanit lists all the SPI and UART controllers in the firmware, and more
#asahi · 2021-08-24 02:49
marcanand I do get the feeling that's what SIO is doing, driving the UART/SPI controllers and such and DMAing the results back...
#asahi · 2021-08-24 02:49
marcansven: do you have your aes test code somewhere? I'm pretty sure I can figure out how DAPF works
#asahi · 2021-08-23 23:49
marcanmaz: ha
#asahi · 2021-08-23 23:48
marcanj_ey: because they get ORed with the sw IRQs and you wouldn't want to IRQ flood the guest
#asahi · 2021-08-23 15:29
marcanmight keep me on top of things
#asahi · 2021-08-23 15:29
marcanbut it might make more sense to do it manually, maybe I should just make it a weekly thing or something
#asahi · 2021-08-23 15:29
marcanI mean you'll still want to rebase as you work, the main thing is we have a weirdo dependency chain in some places and this would let us point people at one place instead
#asahi · 2021-08-23 15:22
marcanthe merge branch would also be rewritten, so respins would just get reapplied
#asahi · 2021-08-23 15:21
marcanwe're working through common code (clocks, mailbox)
#asahi · 2021-08-23 15:21
marcanthings will settle down a bit soon enough though
#asahi · 2021-08-23 15:21
marcanespecially at *this* stage
#asahi · 2021-08-23 15:20
marcanconflicts aren't resolved; largely we should be touching different subsystems, the only pain point I foresee is the devicetree
#asahi · 2021-08-23 15:18
marcanpeople push to feature branches and they get automatically merged into a branch, a la linux-next
#asahi · 2021-08-23 15:14
marcanheh
#asahi · 2021-08-23 15:13
marcanack
#asahi · 2021-08-23 15:13
marcansven: is the smc bring-up required for nvme to work properly?
#asahi · 2021-08-23 15:12
marcanso you probably want to go off of that (and anything upstreamed should end up there first)
#asahi · 2021-08-23 15:11
marcanalyssa: I'm still going to do that devel branch thing, might spend some time on that tomorrow before i2c
#asahi · 2021-08-23 15:11
marcanyeah :p
#asahi · 2021-08-23 15:10
marcandidn't bother CCing anyone other than the get_maintainers stuff for that ioremap thing since it's beyond trivial
#asahi · 2021-08-23 15:10
marcanfeel free
#asahi · 2021-08-23 15:09
marcanah, sure
#asahi · 2021-08-23 14:31
marcanarnd: apparently you're the maintainer, so you've got mail :)
#asahi · 2021-08-23 14:27
marcancool
#asahi · 2021-08-23 14:22
marcanI want to fire that one off asap
#asahi · 2021-08-23 14:22
marcansven: can you check that the of_iomap thing fixes your ioremap issue?

plus ›