#
✕ nick:marcan
#asahi · 2021-11-19 17:57
marcanas a bonus, for people who want to run macOS verbose but don't want to break u-boot, if boot-args restriction is *not* disabled in bputil for the m1n1 BP, that all gets ignored anyway
#asahi · 2021-11-19 17:56
marcanthat's easy to toggle from 1TR, just nvram boot-args=-v or boot-args=
#asahi · 2021-11-19 17:56
marcanbut if you set -v it boots verbose and skips the payload and goes straight into proxy
#asahi · 2021-11-19 17:55
marcanfor the "regular" installs, it would boot u-boot (probably in silent mode at that point, no fb console for m1n1)
#asahi · 2021-11-19 17:55
marcanwe could use that as a proxy flag
#asahi · 2021-11-19 17:55
marcanI just had a little idea. 1TR lets you set at least -v serial=<int> in boot-args, and they get passed to m1n1 is boot-args restriction is disabled in bputil (which we can do)
#asahi · 2021-11-19 17:48
marcanbut none of that makes any sense until the kernel settles down :) (we're getting there)
#asahi · 2021-11-19 17:47
marcanwe're going to be shipping disk images with ALARM + custom repo with bleeding edge kernels and integration packages + some scaffolding to resize the filesystem on first boot, along with simpler modes for the installer so people can just say "please resize macos and make this much space for linux" and it does the rest
#asahi · 2021-11-19 17:46
marcanthat will be part of the asahi installer once it's intended for end users
#asahi · 2021-11-19 17:44
marcanand yeah
#asahi · 2021-11-19 17:44
marcankettenis: you poor you :p
#asahi · 2021-11-19 17:40
marcan*alternative
#asahi · 2021-11-19 17:40
marcanI guarantee no kernel developer likes doing self-hosted dev and rebooting their machine and dev environment every time, especially not when the alternaive is a 10 second test cycle
#asahi · 2021-11-19 17:40
marcanit would also be pretty slow
#asahi · 2021-11-19 17:39
marcanthere isn't much to test other than kernels at this point
#asahi · 2021-11-19 17:39
marcankit_ty_kate: test something like... a new kernel? :)
#asahi · 2021-11-19 17:35
marcanthe real story will be u-boot as j_ey says, but I still need to look into coming up with some canonical config for that to recommend
#asahi · 2021-11-19 17:34
marcanyou *can* burn in a kernel into m1n1 but I would not recommend anyone do that since it's terrible for updating kernels
#asahi · 2021-11-19 17:34
marcanwe only really support tethered boot right now since we expect developers to be testing kernels frequently at this point
#asahi · 2021-11-19 17:28
marcan(I'm absent-minded about these things sometimes :p)
#asahi · 2021-11-19 17:27
marcan(repeatedly, if I don't do anything about them)
#asahi · 2021-11-19 17:27
marcanplease do point out pain points like this
#asahi · 2021-11-19 17:27
marcanand it shouldn't happen
#asahi · 2021-11-19 17:27
marcanpovik: it is possible in the sense that m1n1 is very particular about gzips not having trailing garbage and `gzip` isn't, but it would at least warn as far as I know
#asahi · 2021-11-19 17:26
marcanj_ey: fixed
#asahi · 2021-11-19 17:18
marcanI should add something about that
#asahi · 2021-11-19 17:18
marcanyeah, it just goes into proxy mode
#asahi · 2021-11-19 17:18
marcan(hence why I cat all DTs in there, but we just don't have the others yet, I need to merge jannau's series for that)
#asahi · 2021-11-19 17:17
marcan(it'll reject the DT if it mismatches)
#asahi · 2021-11-19 17:17
marcanlinux.py won't care, but the hypervisor method above will
#asahi · 2021-11-19 17:17
marcanso do what j_ey said
#asahi · 2021-11-19 17:17
marcanbut also yeah, if this is a j313 you need a DT that we don't have yet
#asahi · 2021-11-19 17:17
marcanj_ey: does having the extra pcie ports actually break it?
#asahi · 2021-11-19 17:16
marcanI need to get rid of the ones from m1n1 and move it to another repo or something that we keep properly up to date
#asahi · 2021-11-19 17:15
marcanno, the one from linux is newer
#asahi · 2021-11-19 17:12
marcanthen on another, cat ../build/m1n1.macho <(echo 'boot-args=earlycon console=ttySAC0,1500000 console=tty0 debug') ../../linux/arch/arm64/boot/dts/apple/*.dtb ../../linux/arch/arm64/boot/Image.gz >| /tmp/m1n1-linux.macho && python tools/run_guest.py /tmp/m1n1-linux.macho
#asahi · 2021-11-19 17:12
marcanpicocom --omap crlf --imap lfcrlf /dev/ttyACM1 on one terminal
#asahi · 2021-11-19 17:11
marcanRealityVoid: this is where using the hypervisor with virtual-uart is useful
#asahi · 2021-11-19 17:09
marcanit might not be
#asahi · 2021-11-19 17:08
marcanah but I'm not sure if that one is required
#asahi · 2021-11-19 17:08
marcanRealityVoid: # CONFIG_SYSFB_SIMPLEFB is not set
#asahi · 2021-11-19 16:15
marcan*it'd
#asahi · 2021-11-19 16:15
marcaninstaller updated
#asahi · 2021-11-19 16:13
marcanwell if SMC was trying to access it at the same time for some reason it's be a DDoS :)
#asahi · 2021-11-19 16:13
marcanyeah
#asahi · 2021-11-19 16:13
marcan(maybe, this is USB, it's probably still cursed)
#asahi · 2021-11-19 16:13
marcanlet me do that now...
#asahi · 2021-11-19 16:13
marcannow that we finally solved that annoying problem
#asahi · 2021-11-19 16:12
marcanspeaking of, I guess I should update the installer with the post-usb-fix m1n1
#asahi · 2021-11-19 16:12
marcanRealityVoid: I'm not saying you are, just thought I'd *hint hint* a bit :)

plus ›