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
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<marcan>
jn: I know :)
<marcan>
that patchset needs a cleanup pass
<jn>
alright :)
bgb_ has joined #asahi
c10l has quit [Ping timeout: 480 seconds]
<marcan>
I'll probably submit it next week (or the week after)
bgb_ has quit [Ping timeout: 480 seconds]
c10l has joined #asahi
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<chadmed>
does anyone want the 14" schematics btw? i can upload them like i did with the M1 macbook pro. i dont have a BVR for it, but there is a labelled pdf of a vector image of the board view
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
bgb_ has joined #asahi
chadmed has quit [Quit: Konversation terminated!]
bgb_ has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
<unrelentingtech>
or are they just.. still model 6?
robinp[m] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j_ey>
i suppose they are, since no-one has made changes and i believe it works
robinp[m] has joined #asahi
<j_ey>
or at least it works with the MB8, as a fallback
<j_ey>
nvm, I would have seen that message in boot
gabuscus has joined #asahi
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
<jannau>
charging via magsafe works without touching cd3217, it seems iboot initializes it sufficiently or it is handled by a coprocessor. the led is off during reboot, lights first orange and turns a moment later green with a fully charged battery
bgb_ has quit [Ping timeout: 480 seconds]
<sven>
I guess charging also works when the pd chip is in hibernation mode then. Usb device mode on the normal usb-c ports works there as well fwiw
<sven>
I guess it just needs to be woken up when the port has to act as a power source
<sven>
I think SMC is also somehow involved in the charging process but iboot already initializes that one
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
kajiryoji has quit [Ping timeout: 480 seconds]
frode_0xa has joined #asahi
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
aleasto has quit [Remote host closed the connection]
bgb_ has quit [Ping timeout: 480 seconds]
robinp[m] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bgb_ has joined #asahi
robinp[m] has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
rkt has left #asahi [#asahi]
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
andorinhariver[m] has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
<andorinhariver[m]>
Apparently there will be an EFI installer for Asahi Linux... does that mean the M1 supports EFI, or is that just for other platforms?
<j_ey>
andorinhariver[m]: U-boot supports EFI
<andorinhariver[m]>
Oh, that makes sense
<j_ey>
with DT (not ACPI)
<andorinhariver[m]>
Thank you for the information then, I was a bit confused on why there would be an uefi installer
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
kajiryoji has joined #asahi
frode_0xa has quit [Quit: leaving]
bgb_ has quit [Ping timeout: 480 seconds]
<marcan>
it's possible the magsafe cd3217 is set up to not require any init too
<marcan>
i.e. just bootstraps into charging capable from the firmware flash
<marcan>
andorinhariver[m]: there will not be a UEFI installer; the bootloader will let you use *other* UEFI installers.
<marcan>
(like random distro ISOs, once they have kernel support)
bgb_ has joined #asahi
<andorinhariver[m]>
Ohh
skipwich has joined #asahi
X-Scale` has joined #asahi
<mps>
marcan: this sounds very good for distros
<mps>
(it's time for me to find this serial console for m1)
bgb_ has quit [Ping timeout: 480 seconds]
X-Scale has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
nepeat has joined #asahi
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<roxfan>
isn't there still a legacy (non-UEFI) boot path?
<roxfan>
IIRC they do some tricks so MZ header starts with valid instructions
<j_ey>
yep
<j_ey>
ccmp x18, #0, #0xd, pl
jacoxon has joined #asahi
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<jannau>
j_ey: is there a reason why the merged pinctrl devicetree node misses "#interrupt-cells"?
<j_ey>
jannau: no, I actually noticed that myself too
<jannau>
it breaks probing of the cd3217 i2c clients since of_irq_find_parent() uses it to find the irq controller and then uses aic instead of pinctrl
<j_ey>
jannau: do you want to send a patch to lkml?
<sven>
yeah, my series that adds all those nodes has a commit to fix that
<sven>
but it kinda depends on that usb reset quirk
<sven>
or just send a one-off commit, that'll work as well
<jannau>
I don't think it's worth a one-off commit as long as there are no irq consumers
<mburge>
Is there any plan to expose the "neural engine" part of the M1 chip? Probably a complete integration with e.g. TensorFlow would be out-of-scope, but perhaps as a block device with a small library
<mps>
also, do I must use another M1 as serial console or any computer with usb-c will work
<j_ey>
mburge: I think thats probably out of scope
<j_ey>
I mean, maybe if someone is really interested, but there's lots of other 'normal' stuff that needs work :P
bgb_ has joined #asahi
<j_ey>
mps: you can use another computer
<jannau>
`make defconfig` should produce a bootable but large kernel after selecting CONFIG_ARM64_16K_PAGES. copying https://www.jannau.net/apple_m1_2021-11-07.defconfig to .config and running `make olddefconfig` should produce a smaller kernel
<mps>
j_ey: ah nice, thanks
<mps>
jannau: yes, defconfig makes big kernel
<mps>
jannau: downloaded your config and will try with it
<jannau>
mburge: the intention is to support all hardware but I don't think the neural engine is a priority for someone
<jannau>
mps: my config is for a different kernel which misses some of the patches. please check if they are slected
<mps>
jannau: ok. does keyboard work with your kernel
<j_ey>
that tree doesnt have the keyboard patches
<mps>
j_ey: oh
<jannau>
mps: it's not my kernel
<mps>
anyone knows from where I can download keyboard patch