marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
bps2 has joined #asahi
tomtastic has quit [Read error: Connection reset by peer]
<kettenis>
but I believe those are broken now because they use Device_GRE mappings which isn't supported any more in Linux partly because we needed Device_nGnRE for the M1 systems ;)
<_alice>
not sure if they’d work on other platforms though
bps2 has quit [Ping timeout: 480 seconds]
tomtastic has quit [Read error: Connection reset by peer]
tomtastic has joined #asahi
hendry has quit [Remote host closed the connection]
hendry has joined #asahi
hir0pro has joined #asahi
<sven>
hrm, so monterey somehow made the cu.debug-console disappear? has anyone looked into that yet? i don't want to update my air and then no longer be able to use the serial console :D
<VinDuv>
I don’t think it has been investigated yet… Maybe the driver was removed?
<sven>
does the node in /dev just not exist anymore?
<VinDuv>
(It’s possible to reinstall Big Sur on another partition even after upgrading to Monterey — put it on a USB stick and select the installer in the boot picker)
<VinDuv>
yes
<sven>
sure, but at that point i might just not update at all
<sven>
is there any other node in /dev that has debug-console in its name?
<sven>
hrm, i guess i could update my mac mini but ugh. i'll have to find a screen, mouse and keyboard then :D
<VinDuv>
on the mini I did a diff of /dev/ between macOS 11 and 12 and didn’t find anything relevant (other than cu.debug-console disappearing)
<sven>
does the node still exist in the device tree?
<VinDuv>
Interestingly com.apple.driver.AppleOnboardSerial and com.apple.driver.AppleSamsungSerial are listed by kextstat
<VinDuv>
on both 11 and 12
<VinDuv>
let me check ioreg on 12
<sven>
*sigh*
<sven>
guess it's time to find a mouse and a keyboard
<sven>
oh wait. i can just connected my dock. thunderbolt does work on macos after all :D
<sven>
hm.. strange. that thing still has the debug-console node in there
<sven>
i wonder if there's a boot argument to just disable that AppleSerialShim
<VinDuv>
Looking at the Info.plist of both extensions, it looks like AppleSerialShim matches on "uart0" and (or?) property "boot-console" while AppleSamsungSerial matches on "uart-1,samsung" which is in the compatible of uart0 in the adt. I guess that’s how the shim takes precedence
<kettenis>
yay, first apple M1 support bits made it into u-boot/master
<sven>
kettenis: nice!
<j_ey>
kettenis: awesome
<sven>
hrm, i don't see any boot arguments to disable that AppleSerialShim
<sven>
i guess we could build a custom kextcache without that one but that's annoying :(
<sven>
there's also kextunload. wonder if that would work
<sven>
nope, doesn't look like that'll work
<sven>
this is gonna be annoying. i wonder why they removed the debug-console :/
astrorion26[m] has joined #asahi
<VinDuv>
my only guess is that programs that use serial ports (like the Arduino IDE for instance) were detecting it and that was confusing
X-Scale has joined #asahi
X-Scale` has quit [Ping timeout: 480 seconds]
aleasto has quit [Quit: Konversation terminated!]
user982492 has joined #asahi
nsklaus_ has joined #asahi
nsklaus has quit [Ping timeout: 480 seconds]
goldsoultheory has joined #asahi
hir0pro has quit [Quit: hir0pro]
jacoxon has quit []
jacoxon has joined #asahi
<kode54>
jannau: 12.0.1 has some horrible resource leaks here
<kode54>
they seem to have vanished with 12.1?
jacoxon has quit []
jacoxon has joined #asahi
<Dementor[m]>
<kettenis> "yay, first apple M1 support bits..." <- What landed?
<Dementor[m]>
Is there a link?
<kettenis>
enough to boot from usb
<kettenis>
pcie and nvme still missing
jacoxon has quit []
jacoxon has joined #asahi
jacoxon has quit []
bps2 has joined #asahi
jmr2 has joined #asahi
<jmr2>
kettenis: congrats! Here's how u-boot/master looks on an Air: https://postimg.cc/bDTwNwVn I used the Pro DT and a version of m1n1 from a week ago, to skip the DT compatibility check.
<jmr2>
External USB keyboard works, so let me know if there's anything you want me to test.