#asahi · 2021-08-02 10:35
amwok - so we don't need those pesky dart/ASC thingies - Yeah!#asahi · 2021-08-02 10:23
amwThe USB drive to run the M1 off is compact but the keyboard is annoyingly large#asahi · 2021-08-02 10:22
amwmarcan: Do you know what's required to get the keyboard going?#asahi · 2021-08-01 13:38
amwalyssa: Inspired by your tom's hardware article added some details on booting arm64 rootfs to https://github.com/AsahiLinux/docs/wiki/SW:Linux#root-as-usb-drive#asahi · 2021-07-31 01:39
amw sven : More interested to test the exciting new nvme branch :-)#asahi · 2021-07-30 05:24
amwI've added a note to the Wiki : https://github.com/AsahiLinux/docs/wiki/SW:Linux - just a to avoid others tripping up#asahi · 2021-07-30 05:23
amwJust a note to others hablerentand[m] finally got his USB keyboard working - it turns out the m1n1 .dtb won't work with the dev/dart branch of Asahi linux#asahi · 2021-07-29 08:14
amwAre all these modules asc, dcp purely tracing functions at the moment?#asahi · 2021-07-28 04:17
amwhablerentand[m]: I just uploaded a photo of my console kernel messages with the USB keyboard plugged in through a USB Type-C=>A 4 port hub https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/USB-keyboard-boot.png#asahi · 2021-07-26 13:31
amwBTW - Thanks for the quick responses#asahi · 2021-07-26 13:31
amwJust updated the Glossary with very tentative notes for these terms - just wanted to understand what current focus is on#asahi · 2021-07-26 13:26
amwI never tried a using a USB key or drive for an initrd but did manage to mount them from the /bin/sh of the debian initrd via the USB#asahi · 2021-07-26 13:25
amwalyssa: I updated the SW:Linux Wiki to refer to a *much* better config file https://github.com/AsahiLinux/docs/wiki/SW:Linux#linux-usb-keyboard#asahi · 2021-07-26 13:23
amwCan some one explain what ANS / ASC means? It's not in the Glossary :-)#asahi · 2021-07-06 10:58
amwjannau: Your config is the only one that defines what udev wants so it will create devices for my USB key - so I might be able to run multi-user Linux on an external drive - perhaps another day - thanks#asahi · 2021-07-06 08:44
amwI think I'm still missing a kernel config for udev / debian's initrd as I get a complaint about a socket type / creation failed#asahi · 2021-07-06 07:41
amwYep CONFIG_PATA_LEGACY is the one - disabling that and it's ok - still needs to be plugged to probe my USB Key, I note it was marked "EXPERIMENTAL" ...#asahi · 2021-07-06 06:11
amwsven: Not sure where to go next, perhaps trace down the exact piece of code - it also happens when I boot under the HV - but I don't know how to trace the access other than via clobbering it with printks#asahi · 2021-07-06 03:53
amwFor anyone interested it appears to be CONFIG_BLOCK=y also USB devices only detected if plugged in *before* boot...#asahi · 2021-07-06 00:53
amwIt booted ok with less stuff enabled - if I could identify the problem area it would be faster to disable the not working config option - this config worked - https://github.com/amworsley/asahi-wiki/blob/main/images/config-M1-dwc3#asahi · 2021-07-06 00:51
amwGot an oops on 0xffff_feff_fe80_01f2 (mmio?) see https://github.com/amworsley/asahi-wiki/blob/main/images/crash-M1-dwc3-bad.png with config at https://github.com/amworsley/asahi-wiki/blob/main/images/config-M1-dwc3-bad#asahi · 2021-07-04 12:36
amwThis will sound dumb - but I *never* realised it had a smart card reader till you mentioned it! I just thought it was an old keyboard ....#asahi · 2021-07-04 12:19
amwI added a photo to the Wiki - https://github.com/AsahiLinux/docs/wiki/SW:Linux#linux-usb-keyboard - thanks again!#asahi · 2021-07-04 11:39
amwsven: YES! - I have plugged in a USB keyboard and happily typing in there.... - Thanks you SO MUCH !!!!#asahi · 2021-07-04 11:27
amwsven: Thanks - I've just been threshing around in the config => / search is *really* helpful - once I figured out how to navigate it :-)#asahi · 2021-07-04 11:05
amwUgh it's going to take me a while to find all those options in menuconfig - tomorrow!#asahi · 2021-07-04 10:47
amwHmm - non of them set .... :-D#asahi · 2021-07-04 10:46
amwCONFIG_USB_DWC3_HOST DWC3_HAS_XHCI CONFIG_USB_XHCI_HCD #asahi · 2021-07-04 10:44
amwHmm - what CONFIG's are those?#asahi · 2021-07-04 10:43
amwNo. - See the few messages I get here: https://paste.debian.net/1203360/#asahi · 2021-07-04 10:42
amw*I've#asahi · 2021-07-04 10:42
amwNothing at all - so I'm probably screwed up something :-(#asahi · 2021-07-04 10:40
amwI used a Type-C=>Type-A adapter and also a Type-C => 4 port Type A Hub#asahi · 2021-07-04 10:39
amwsven: Using the dev/dart kernel haven't been able to get any USB detected / working with linux.py or under HV run_guest.py with a disabled dwc3-0 #asahi · 2021-07-04 06:22
amwmarcan: Tracing vuart() shows it happily writing in FIFO mode and then the writes stop but nothing has reported TxFull, but if I hack the s5l_serial_drv_data to fifosize = 160 (versus 16) it doesn't hang/block...#asahi · 2021-07-04 04:18
amwI'm slowly understanding the HV, samsung-uart driver. I can add debug to the Linux, m1n1 so I will slowly get to the bottom of the stuck vuart#asahi · 2021-07-04 02:28
amwkfischer: Are you going to try Linux? I believe the vuart under HV while remaining hangs on long lines so beware#asahi · 2021-07-03 13:51
amwHmm ok will look at it tomorrow - plenty of things to play with...#asahi · 2021-07-03 13:16
amwNow it hangs - looks like when the output hits 16 characters output - possibly bug in vuart?#asahi · 2021-07-03 13:14
amwsven: ok - got initrd working - was building using screwy cpio -o -c instructions - only this works : cpio -o -H newc#asahi · 2021-07-03 11:48
amwsven: Not sure if you can help on this - but I'm getting a panic 'Attempted to kill init!' line 796 kernel/exit.c and this on the console - https://paste.debian.net/?show=1203231;lines=0#asahi · 2021-07-03 11:08
amwok - was just going to add status = "disabled";#asahi · 2021-07-03 11:03
amwI am guessing linux/arch/arm64/boot/dts/apple/t8103.dtsi#asahi · 2021-07-03 11:00
amwok - thanks#asahi · 2021-07-03 11:00
amwAlso marcan suggested you need to disable a USB entry if you run the kernel under the HV (run_guest.py) to avoid a clash. Does it matter which one? I guess I can nut it out by trial and error#asahi · 2021-07-03 10:59
amwsven: Do you have a device tree for the dart/dev branch?#asahi · 2021-07-03 02:49
amwI don't think there are any posted / official binaries only dev trees in various states...#asahi · 2021-07-03 02:48
amwIt sounded like some people were getting something via m1n1 -> uboot -> linux#asahi · 2021-07-03 02:41
amwThere is also a built in command line kernel CONFIG_CMDLINE="...." you can build into the kernel...