#
✕ nick:Emantor
#asahi · 2021-05-28 08:35
Emantormarcan: I assume its something on the Linux USB side, I also got dmesg errors this time. Switching from C-to-C to C-to-A also moves to a different port with basically no other device on the port.
#asahi · 2021-05-28 08:17
Emantormarcan: magratgarlick.emantor.de/usbc_m1n1_setup_failure.pcapng
#asahi · 2021-05-28 08:05
Emantorhas watched enough streams that the ha sounds exaclty like marcan in his head.
#asahi · 2021-05-28 08:04
EmantorWith USB-C I get "usb-dwc3@382280000: unsupported SETUP packet".
#asahi · 2021-05-28 08:03
Emantorneeds to really disable the chime
#asahi · 2021-05-28 07:52
Emantoryep, high speed.
#asahi · 2021-05-28 07:18
Emantoryes, UART receive timed out, devices stayed available.
#asahi · 2021-05-28 07:17
Emantornothing on the dmesg side, no debug prints on the fb, don't know about the debug uart, since I don't have the necessary hardware to use it yet.
#asahi · 2021-05-28 07:15
Emantorand target mac is a mini
#asahi · 2021-05-28 07:15
EmantorSecond port is the USB-C port on an Asus X370 Pro Ryzen motherboard.
#asahi · 2021-05-28 05:53
EmantorFYI, my USB serial connection was dropping out with a 3.2 Gen 2 (10GBit/s) C-to-C cable, switching to a USB A to C with an older USB 2.0 hub fixed that.
#asahi · 2021-05-27 20:16
EmantorIf you want to speed this up you can probably create a container which includes the cross-compiler and have github spin this up instead.
#asahi · 2021-05-27 20:16
Emantor17 seconds to install the cross compiler sounds fine to me.
#asahi · 2021-05-27 20:13
EmantorI am wrong, python2 also serves an error page…
#asahi · 2021-05-27 20:11
Emantorpython3 -m http.server seems to serve nice 404 error pages, I don't remember python2 -m SimpleHTTPServer doing that.
#asahi · 2021-05-27 20:09
EmantorNo, I am just too tired. curl <host>:8000/m1n1.macho > m1n1.macho will happily put the 404 into m1n1.macho, and kmutil does not even check whether the file your setting up for boot is a valid macho. Turns out a 404 error can't boot.
#asahi · 2021-05-27 19:41
EmantorYe, I found that too. Unfortunately it now refuses to boot m1n1 with a failure to boot and reverts to macOS recovery D:
#asahi · 2021-05-27 18:08
Emantorbfe8c94c adds the include but not the file itself :-)
#asahi · 2021-05-27 18:07
Emantormarcan: src/hv_wdt.c:5:10: fatal error: cpu_dbg_regs.h: No such file or directory
#asahi · 2021-05-27 17:59
EmantorOne could probably hack HID support into m1n1 and use the framebuffer…
#asahi · 2021-05-27 17:59
EmantorYou'll need a second computer to run the shell/m1n1 proxy.
#asahi · 2021-05-27 17:57
EmantorNote that this is only interesting if you want to do driver development/hardware investigation/testing for Asahi Linux. Not really useful for general purpose computing yet.
#asahi · 2021-05-27 17:56
EmantorI'll update you when the second mac os installation is finished and m1n1 is running.
#asahi · 2021-05-27 17:55
Emantorpugguu: pretty sure you can, setting it up at the moment.
#asahi · 2021-05-21 13:32
EmantorThere is a pretty big difference between "we hacked something up that works" and "changes are now in the upstream kernel"
#asahi · 2021-05-21 13:31
EmantorWithout specialized hardware you won't even see are kernel prompt, since AFAIK cdc-acm is not working for linux yet.
#asahi · 2021-05-21 13:30
EmantorAsahi is not at this stage yet.
#asahi · 2021-05-21 13:18
EmantorBut given how much time apple has invested into securing their iPhones, you'll need to search for some time.
#asahi · 2021-05-21 13:17
Emantorthinks a bootrom exploit is more likely.
#asahi · 2021-05-08 14:49
Emantorhttps://lore.kernel.org/linux-arm-kernel/20210508142000.85116-1-kettenis@openbsd.org/T/#t
#asahi · 2021-05-08 14:49
Emantorye, the MLs don't care much about the spoofing.
#asahi · 2021-05-08 14:47
Emantorkettenis: I'd wait for comments/Acks first. As long as the patches are fine I wouldn't bother to send again.
#asahi · 2021-05-06 09:08
Emantorsven: nice writeup, thanks :)
#asahi · 2021-02-23 18:53
EmantorOTOH https://www.youtube.com/watch?v=i6DayghhA8Q is probably relevant here.
#asahi · 2021-02-02 19:56
EmantorI like the disclaimer.
#asahi · 2021-01-16 10:11
Emantorfondly remembers gregkh calling vendor kernels linux-like, but not linux.
#asahi · 2021-01-16 10:09
EmantorSweet. Reading this as an embedded developer you are obviously doing the right thing. Random kernel code dumps haven't gotten us anywhere with upstream, just look at the android vendor kernels.