#
✕ nick:marcan
#asahi · 2021-08-18 18:09
marcanthe goal of the current script was to prototype the bootstrap installation process to get rid of the horrible developer guide mess with installing a whole copy of macos, but niceties like guided resizing and installing a rootfs will come later
#asahi · 2021-08-18 18:09
marcanlandscape15[m]: yes, and there will be an easier "do the typical install for me" mode too
#asahi · 2021-08-18 18:08
marcanthere's a dumb default for the shortener that just sends you to marcan.st
#asahi · 2021-08-18 18:08
marcanj_ey: ahh yeah :)
#asahi · 2021-08-18 18:07
marcanso -L isn't necessary
#asahi · 2021-08-18 18:07
marcanon alx.sh I'll have some user agent shenanigans so curl gets served a direct (no redirects) bootstrap for the installer
#asahi · 2021-08-18 18:06
marcan(glad I got that one)
#asahi · 2021-08-18 18:06
marcanalx.sh is an even cooler shortener though, one character shorter!
#asahi · 2021-08-18 18:06
marcanmrcn.st is a shortener, marcan.st isn't
#asahi · 2021-08-18 18:06
marcandifferent places :)
#asahi · 2021-08-18 18:05
marcanj_ey: mrcn.st, not marcan.st
#asahi · 2021-08-18 18:05
marcanthat was a design constraint from the start
#asahi · 2021-08-18 18:05
marcaneverything is bundled, it even runs from recovery mode
#asahi · 2021-08-18 18:00
marcanyou can already curl -L https://mrcn.st/alxsh|sh for the test version, though only use it if you know what you're doing
#asahi · 2021-08-18 18:00
marcanlandscape15[m]: it's not a binary mac app, it's a shellscript you curl|sh
#asahi · 2021-08-18 15:32
marcanwe'll probably be a ready to go distro with bleeding edge stuff ~forever since there will always be newer hardware to support though
#asahi · 2021-08-18 15:31
marcanpretty much
#asahi · 2021-08-18 02:07
marcanit'sjust they use fat libs instead of a separate root
#asahi · 2021-08-18 02:07
marcanmacos is the same
#asahi · 2021-08-18 02:07
marcanthere's no way around needing an x86 environment, modulo thunked stuff, to run x86 apps
#asahi · 2021-08-18 02:07
marcanchadmed: qemu-user also needs a chroot
#asahi · 2021-08-18 01:00
marcanthere's https://github.com/FEX-Emu/FEX which is basically like Rosetta, for software that cannot
#asahi · 2021-08-17 10:42
marcanthe hv scripts are all in hv/
#asahi · 2021-08-17 10:42
marcanhv/trace_gpio.py, not m1n1/trace/gpio.py
#asahi · 2021-08-17 10:42
marcanoh wait
#asahi · 2021-08-17 10:42
marcanwhere?
#asahi · 2021-08-17 10:41
marcanuhm
#asahi · 2021-08-17 10:41
marcansounds like it should work
#asahi · 2021-08-17 10:40
marcanno mirrors
#asahi · 2021-08-17 10:40
marcanwe should try to be more consistent than them and declare only the real ranges
#asahi · 2021-08-17 10:40
marcanthe ADT is written by humans
#asahi · 2021-08-17 10:40
marcanit's not consistent
#asahi · 2021-08-16 11:15
marcansounds good, I'll set it up before the next stream :)
#asahi · 2021-08-16 10:47
marcanyeah, that might be a good idea
#asahi · 2021-08-16 10:46
marcanalso if you're saying something to me here, ping me by name, since it's not a channel dedicated to the stream
#asahi · 2021-08-16 10:45
marcanI generally have both open
#asahi · 2021-08-16 10:37
marcanit just takes some time
#asahi · 2021-08-16 10:37
marcanthat is the goal :)
#asahi · 2021-08-16 10:35
marcananyway, just to reiterate: I know a bunch of the corellium code is bad, and y'all are taking those drivers as-is under your own responsibility. I'm going to take a good look at getting this kernel mess on track starting this week, just let me wrap up some unrelated stuff today ;)
#asahi · 2021-08-16 10:31
marcanthis is why I spent weeks bikeshedding this to find a solution acceptable to mainline ;)
#asahi · 2021-08-16 10:30
marcanyou need to go through the appropriate abstraction layers or use ioremap_np
#asahi · 2021-08-16 10:30
marcanalso corellium did the ioremap stuff in a completely different way, so if you're grafting their drivers onto mainline, that won't work if they use ioremap directly
#asahi · 2021-08-16 10:29
marcanso I can only assume they have semi broken drivers that trigger errors but still (kind of?) work and that's why they do that
#asahi · 2021-08-16 10:28
marcanI do know you can get serrors for other reasons, e.g. byte writes to the UART, but those *do* work even though you get a serror
#asahi · 2021-08-16 10:28
marcanI don't know why they disable the serrors
#asahi · 2021-08-16 10:28
marcanM1-specific drivers that need to do bare ioremaps on non-PCI space and cannot just rely on the existing abstraction layers for openfirmware/etc should use ioremap_np
#asahi · 2021-08-16 10:27
marcan(if you're not corellium and don't disable it :p)
#asahi · 2021-08-16 10:27
marcanit's not a race. if you use the wrong mode you get SErrors on writes, period, always
#asahi · 2021-08-16 10:27
marcanpipcet[m]: the initial patchset introduced ioremap_np into the relevant abstraction layers
#asahi · 2021-08-16 06:50
marcanI'll look at it tomorrow, wrapping up some other stuff today

plus ›