#
…

2021-06-18

01:21richbridger has quit [Remote host closed the connection]
01:22richbridger has joined #asahi-dev
02:58phiologe has joined #asahi-dev
03:01PhilippvK has quit [Ping timeout: 480 seconds]
03:42yuyichao has joined #asahi-dev
05:30VinDuv has joined #asahi-dev
05:31zarvox has quit [Ping timeout: 480 seconds]
06:02thunfisch has quit [Quit: UAAARRR!]
06:21VinDuv has quit [Quit: Leaving.]
06:38thunfisch has joined #asahi-dev
06:49aleasto has joined #asahi-dev
08:16bytefire_ has joined #asahi-dev
08:35aleasto has quit [Quit: Konversation terminated!]
10:57EER has joined #asahi-dev
12:31c1truz[m] has joined #asahi-dev
12:37c1truz[m]hey all, i would like to play around with the KVM patch by Marc Zyngier. i got the kernel itself compiled but I assume I need some userspace to boot from? is this already possible with asahi e.g. via usb?
12:37c1truz[m]i am pretty new to this, so any input is appreciated :)
12:40_jannau_c1truz[m]: you need more patches for working usb-c in linux. https://github.com/AsahiLinux/linux/tree/dart/dev supports the USB-C ports for devices already connected during boot
12:42_jannau_(re)connecting usb devices works with an usb hub
12:43c1truz[m]_jannau_: thx! will see how far I get
12:44sventhere's also a branch somewhere for pcie (which gives you usb-a ports and ethernet)
12:49aleasto has joined #asahi-dev
13:05yuyichao has quit [Ping timeout: 480 seconds]
13:50bytefire_ has quit [Ping timeout: 480 seconds]
15:20c1truz[m]_jannau_: do you have a corresponding kernel .config by chance? I am getting a SError panic in apple_dart_probe and think it might be related to a wrong config
15:26jannauc1truz[m]: https://gist.github.com/jannau/0af6697bb8b08a847ecc32a8a3d3a4f2 defconfig which should produce a booting kernel
15:27kettenistypically this means a clock hans't been enabled
15:28kettenisright now, the kernel may rely on u-boot enabling some of the clocks
15:29svenhm, so usb should work without u-boot i think
15:29kettenisand u-boot may rely on on m1n1 enabling some of the clocks
15:29ketteniswe realy need "approved" clock bindings such that we can iron this out properly
15:30svenyeah.. haven't had the time to implement what tony suggested yet :/
15:30_jannau_usb-c works with current m1n1 without u-boot
15:32svenc1truz[m]: did you load the kernel over usb?
15:32kettenisnot clear to me if tony's voice carries any weight in that discussion though
15:32sveni'm not sure if the usb clocks get enabled when concatenating it to m1n1
15:32c1truz[m]sven: yes via linux.py
15:32svenweird. then all clock gates should be enabled
15:33c1truz[m]aaalthough the m1n1 I currently have may not be the latest
15:33c1truz[m]should I chainload and then load linux?
15:33sventhat certainly can't hurt
15:33svenbut even older ones should work
15:34_jannau_but not older than june 10th
15:35svenwhat was fixed on june 10th? i think the clocks should've been enabled long before that
15:35c1truz[m]aaah yes that was it
15:35svenweird, but glad it works now :-)
15:37_jannau_https://github.com/AsahiLinux/m1n1/pull/65 was only merged on the 9th. 1 day off
15:37c1truz[m]so I could theoretically now attach a USB stick via the usb c port? (unfortunately I don't have an adapter at hand right now, otherwise I would just try it)
15:37sven_jannau_: true. but that shouldn't cause an SError in the dart probe.
15:38svenc1truz[m]: so the problem is that the usb c controller has a very strange quirk when it comes to replugging anything. having the usb stick connected before booting linux definitely works
15:38svenconnecting the usb stick after linux has booted only works if the port hasn't been used before that
15:39svenlet me know if you have any other issues though. i'm not even sure how many people have tested that dart code yet :)
16:15EER has quit [Remote host closed the connection]
16:24bytefire_ has joined #asahi-dev
16:36VinDuv has joined #asahi-dev
16:58aleasto has quit [Ping timeout: 480 seconds]
17:10aleasto has joined #asahi-dev
19:00VinDuv has quit [Quit: Leaving.]
19:07aleasto has quit [Remote host closed the connection]
20:55bytefire_ has quit [Quit: leaving]
20:57skipwich has quit [Ping timeout: 480 seconds]
20:59skipwich has joined #asahi-dev
21:21skipwich has quit [Ping timeout: 480 seconds]
21:26skipwich has joined #asahi-dev
21:34skipwich has quit [Read error: Connection reset by peer]
21:34skipwich has joined #asahi-dev
21:53skipwich has quit [Ping timeout: 480 seconds]
23:01skipwich has joined #asahi-dev
23:27c1truz[m]hmm I flashed a usb stick with the ubuntu raspberry image and it is being recognized as sda but I still get "No filesystem could mount root, tried: ext3, ext2, ext4, vfat, msdos". what am I missing?
23:36c1truz[m]oh wait, even when I boot without the stick it says there is a "sda". so that cannot be the stick
23:43c1truz[m]it was sdb2 and "rootwait" solved the issue
23:57skipwich has quit [Quit: DISCONNECT]
23:57skipwich has joined #asahi-dev
…