#
✕ nick:j_ey
#asahi · 2021-08-07 16:12
j_ey'Under the hypervisor you can get the console output from linux via the 2nd ttyACM1 device generated by the m1n1 HV' from https://github.com/AsahiLinux/docs/wiki/SW%3ALinux
#asahi · 2021-08-07 16:11
j_eynope
#asahi · 2021-08-07 16:10
j_eyok no worries, maybe when amw is around again theycan help
#asahi · 2021-08-07 16:10
j_eyanyway i confirmed that Linux is actually running by putting a `hvc` somewhere
#asahi · 2021-08-07 16:10
j_eygot an example?
#asahi · 2021-08-07 16:08
j_eypass it to what?
#asahi · 2021-08-07 15:57
j_eyI dont think the kernel actually runs, at least it never writes to the framebuffer
#asahi · 2021-08-07 15:56
j_eyIm confused then, I can't use a single USB cable to load linux, and then have access to the Linux serial output?
#asahi · 2021-08-07 15:47
j_eyOh
#asahi · 2021-08-07 15:39
j_eytrying to boot gives me https://paste.gg/p/anonymous/22c5bc397c4349cfafd0da1d4b6656ce it looks like it's using some serial lib from the distro, not the one from pip?
#asahi · 2021-08-07 15:31
j_eyturns out I needed pyserial, not serial, fixed the wiki
#asahi · 2021-08-07 15:17
j_eyif I execute it from the top level m1n1 directory, now I get: ModuleNotFoundError: No module named 'serial.tools', even though I ran: python3.9 -m pip install serial construct serial.tool
#asahi · 2021-08-07 15:15
j_eyI get "ImportError: attempted relative import with no known parent package"
#asahi · 2021-08-07 15:15
j_eywhat folder do you have to be in, to execute shell.py for example?
#asahi · 2021-08-07 15:01
j_eywoot, booted into m1n1!
#asahi · 2021-08-07 14:56
j_eyi just typed 192.68 instead of 192.168 :)
#asahi · 2021-08-07 14:54
j_eywould help if you typed the address correctly...
#asahi · 2021-08-07 14:54
j_eyit just never recievs any data
#asahi · 2021-08-07 14:53
j_eyalthough I can't seem to get curl to work :/
#asahi · 2021-08-07 14:52
j_eycool, seems like it can be anywhere then!
#asahi · 2021-08-07 14:45
j_eyit seems like m1n1.macho doesnt have to be at a particular location when you use kmutil configure-boot?
#asahi · 2021-08-07 14:44
j_eydoes kmutil copy m1n1.macho somewhere?
#asahi · 2021-08-07 14:02
j_eypipcet[m]: are you planning on working to upstream yoru code?
#asahi · 2021-08-07 12:29
j_eyoh, I didn't remember hearing that, but ok!
#asahi · 2021-08-07 12:23
j_eylooking at https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart
#asahi · 2021-08-07 12:23
j_eyare the LB and LR partitions needed currently?
#asahi · 2021-08-06 17:37
j_ey:)
#asahi · 2021-08-06 17:30
j_eypipcet[m]: why did you have to register a restart handler? looks like the core wdt code already deos that
#asahi · 2021-08-06 11:14
j_eyfollows sven on tweeter
#asahi · 2021-08-06 09:56
j_eymarcan: did you see sven's latest iommu pagesize mismatch code?
#asahi · 2021-08-06 07:51
j_eydgc[m]: its a hv for tracing MMIO accesses mostly
#asahi · 2021-08-05 17:47
j_eysorry yeah, that's what I understood.
#asahi · 2021-08-05 17:46
j_eysven: the scatter gather bit is an optimisation right?
#asahi · 2021-08-05 17:39
j_eythat's a good thing!
#asahi · 2021-08-05 17:37
j_eynot as funny now :P
#asahi · 2021-08-05 17:36
j_ey__ffs, I have no idea what this does, but it's amusing
#asahi · 2021-08-05 16:45
j_eysven: git push, I wanna see!
#asahi · 2021-08-05 16:45
j_ey>_<
#asahi · 2021-08-05 14:54
j_eyrobinp: not 100% sure, but markan said on stream that each boot partition is now paired with a recovery partition
#asahi · 2021-08-05 10:04
j_eyblazra[m]: thanks!
#asahi · 2021-08-05 09:56
j_eymarcan: is there the full slides somewhere for stan's talk?
#asahi · 2021-08-04 12:39
j_eygreat
#asahi · 2021-08-04 12:39
j_eymarcan: missed the last few mins, you got Linux 2 working, with m1n1?
#asahi · 2021-08-03 23:23
j_eyamw: yeah, that's what I meant. I haven't done any of that with my m1 yet!
#asahi · 2021-08-03 23:00
j_eyamw: dont you need to repartition it to install m1n1 at all?
#asahi · 2021-08-03 22:54
j_eyno worries, just thinking about finally re-partitioning my m1 :P
#asahi · 2021-08-03 22:53
j_eyhm wonder what's with all the spaces
#asahi · 2021-08-03 21:09
j_eyamw: do you get earlycon serial over USB?
#asahi · 2021-08-03 20:53
j_eyIs this still right? "You need at least 70GB for the stub partition, because the macOS install/update process is very inefficient. " I feel like someone said it might be even bigger now
#asahi · 2021-08-03 18:17
j_eyeven less used than the pro! :P

plus ›