#
✕ nick:marcan
#asahi · 2021-02-04 21:02
marcanI don't have high hopes for their community interactions at this point; I hope they change their approach though, because some of their drivers are useful
#asahi · 2021-02-04 21:02
marcanin particular, I've yet to see a single (non-empty) email from a corellium employee
#asahi · 2021-02-04 21:00
marcanI don't know what they're doing or planning, but I got tired of waiting :)
#asahi · 2021-02-04 21:00
marcanthe corellium patchset sent 2 weeks ago had many large issues; most of those patches would have to be thrown away entirely
#asahi · 2021-02-04 21:00
marcanyes
#asahi · 2021-02-04 20:59
marcanit's a completely independent patch series
#asahi · 2021-02-04 20:58
marcandefine collide
#asahi · 2021-02-04 20:57
marcanand this is the documentation I'd been promising to write: https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart
#asahi · 2021-02-04 20:57
marcanturns out it does... almost by accident
#asahi · 2021-02-04 20:57
marcanyeah, I was like... is this going to work?
#asahi · 2021-02-04 20:49
marcanI mean I left it for an hour :p
#asahi · 2021-02-04 20:49
marcanand I was testing stuff then :p
#asahi · 2021-02-04 20:49
marcanthe crng startup thing was because typing on serial triggers IRQs which eventually seeds the RNG
#asahi · 2021-02-04 20:49
marcanit was actually like an hour until I did that :p
#asahi · 2021-02-04 20:49
marcanash </dev/tty0 >/dev/tty0 2>/dev/tty0
#asahi · 2021-02-04 20:48
marcanthen I triggered it on fb from there just for the screenshot
#asahi · 2021-02-04 20:48
marcanno, I have it on serial
#asahi · 2021-02-04 20:48
marcanit's using the standard linux spin-table, no patches related to SMP other than the irqchip driver for AIC
#asahi · 2021-02-04 20:47
marcanpenguins https://mrcn.st/t/Screenshot_20210205_054730.png :)
#asahi · 2021-02-04 20:46
marcanthis includes SMP support now, m1n1 patches pushed too
#asahi · 2021-02-04 20:45
marcancover letter: https://gist.github.com/marcan/5ad327287bfb49ead48fd6daa0a852c2
#asahi · 2021-02-04 20:44
marcantree is here: https://github.com/AsahiLinux/linux/tree/upstream-bringup
#asahi · 2021-02-04 20:44
marcanjust sent off a patch series to maintainers for initial Linux bringup on M1
#asahi · 2021-02-03 17:29
marcanIIRC
#asahi · 2021-02-03 17:29
marcandavidrysk[m]: yes
#asahi · 2021-02-03 16:08
marcanthe command is literally "DBMa"
#asahi · 2021-02-03 16:08
marcanotherwise it doesn't work
#asahi · 2021-02-03 16:08
marcandavidrysk[m]: I'm not entirely sure, but it's some kind of alternate operation mode where some features don't work but it lets you send VDMs with the right SOP'DEBUG mode
#asahi · 2021-02-03 03:47
marcanI haven't found that yet for the M1 ones, found some firmware but not that section
#asahi · 2021-02-03 03:47
marcanon Intel machines you can find the firmware in their update files and the unlock code should be in the app customization section, it's the first record
#asahi · 2021-02-03 03:46
marcanApple uses customized firmware but the core is the same
#asahi · 2021-02-03 03:46
marcanvafanlignarde: yes, this is all (mostly) documented, just not the actual commands
#asahi · 2021-02-03 03:45
marcanDBMa is further required for the debug VDMs to work
#asahi · 2021-02-03 03:45
marcan(and the command that lets you put the local machine into serial mode too)
#asahi · 2021-02-03 03:45
marcanall of that is required to unlock the command that lets you talk to the M1 using Apple debug VDMs
#asahi · 2021-02-03 03:45
marcanall the unlock/Gaid/etc stuff is about the local machine
#asahi · 2021-02-03 03:44
marcanthe mode isn't the M1, it's the local machine
#asahi · 2021-02-03 03:44
marcantry 'CST1' on older ones
#asahi · 2021-02-03 03:44
marcanit's the machine ID on newer ones
#asahi · 2021-02-03 03:43
marcandavidrysk[m]: the unlock code is different on Ace1 machines
#asahi · 2021-02-02 20:02
marcan(I suspect that will have to change pretty soon...)
#asahi · 2021-02-02 20:02
marcanI am barely a macos user (as of late) and *definitely* not a macos programmer
#asahi · 2021-02-02 19:51
marcanglad I could deliver then :)
#asahi · 2021-02-02 19:50
marcanha :D
#asahi · 2021-02-02 19:43
marcanI figured enough people would have two of them for this to be useful :)
#asahi · 2021-02-02 19:42
marcan(the regular reboot that is, I wasn't using DFU)
#asahi · 2021-02-02 19:42
marcanit's the same as that `areboot` thing I've been doing on my streams with the arduino/USB-PD rig
#asahi · 2021-02-02 19:42
marcanthere is also a command to go into DFU mode
#asahi · 2021-02-02 19:41
marcanno need to hold down the power button for ages
#asahi · 2021-02-02 19:41
marcanjust one command chain to reboot, chainload a new m1n1 and/or kernel, etc

plus ›