marcan changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
richbridger has quit [Remote host closed the connection]
richbridger has joined #asahi-dev
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
VinDuv has joined #asahi-dev
zarvox has quit [Ping timeout: 480 seconds]
thunfisch has quit [Quit: UAAARRR!]
VinDuv has quit [Quit: Leaving.]
thunfisch has joined #asahi-dev
aleasto has joined #asahi-dev
bytefire_ has joined #asahi-dev
aleasto has quit [Quit: Konversation terminated!]
EER has joined #asahi-dev
c1truz[m] has joined #asahi-dev
<c1truz[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?
<c1truz[m]> i am pretty new to this, so any input is appreciated :)
<_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
<_jannau_> (re)connecting usb devices works with an usb hub
<c1truz[m]> _jannau_: thx! will see how far I get
<sven> there's also a branch somewhere for pcie (which gives you usb-a ports and ethernet)
aleasto has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
bytefire_ has quit [Ping timeout: 480 seconds]
<c1truz[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
<jannau> c1truz[m]: https://gist.github.com/jannau/0af6697bb8b08a847ecc32a8a3d3a4f2 defconfig which should produce a booting kernel
<kettenis> typically this means a clock hans't been enabled
<kettenis> right now, the kernel may rely on u-boot enabling some of the clocks
<sven> hm, so usb should work without u-boot i think
<kettenis> and u-boot may rely on on m1n1 enabling some of the clocks
<kettenis> we realy need "approved" clock bindings such that we can iron this out properly
<sven> yeah.. haven't had the time to implement what tony suggested yet :/
<_jannau_> usb-c works with current m1n1 without u-boot
<sven> c1truz[m]: did you load the kernel over usb?
<kettenis> not clear to me if tony's voice carries any weight in that discussion though
<sven> i'm not sure if the usb clocks get enabled when concatenating it to m1n1
<c1truz[m]> sven: yes via linux.py
<sven> weird. then all clock gates should be enabled
<c1truz[m]> aaalthough the m1n1 I currently have may not be the latest
<c1truz[m]> should I chainload and then load linux?
<sven> that certainly can't hurt
<sven> but even older ones should work
<_jannau_> but not older than june 10th
<sven> what was fixed on june 10th? i think the clocks should've been enabled long before that
<c1truz[m]> aaah yes that was it
<sven> weird, but glad it works now :-)
<_jannau_> https://github.com/AsahiLinux/m1n1/pull/65 was only merged on the 9th. 1 day off
<c1truz[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)
<sven> _jannau_: true. but that shouldn't cause an SError in the dart probe.
<sven> c1truz[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
<sven> connecting the usb stick after linux has booted only works if the port hasn't been used before that
<sven> let me know if you have any other issues though. i'm not even sure how many people have tested that dart code yet :)
EER has quit [Remote host closed the connection]
bytefire_ has joined #asahi-dev
VinDuv has joined #asahi-dev
aleasto has quit [Ping timeout: 480 seconds]
aleasto has joined #asahi-dev
VinDuv has quit [Quit: Leaving.]
aleasto has quit [Remote host closed the connection]
bytefire_ has quit [Quit: leaving]
skipwich has quit [Ping timeout: 480 seconds]
skipwich has joined #asahi-dev
skipwich has quit [Ping timeout: 480 seconds]
skipwich has joined #asahi-dev
skipwich has quit [Read error: Connection reset by peer]
skipwich has joined #asahi-dev
skipwich has quit [Ping timeout: 480 seconds]
skipwich has joined #asahi-dev
<c1truz[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?
<c1truz[m]> oh wait, even when I boot without the stick it says there is a "sda". so that cannot be the stick
<c1truz[m]> it was sdb2 and "rootwait" solved the issue
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi-dev