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]
chadmed has joined #asahi
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
dsrt^ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
phiologe has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
PhilippvK 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]
marvin24 has joined #asahi
bgb_ has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
nepeat has quit [Quit: ZNC 1.8.2 - https://znc.in]
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
nafod has quit [Remote host closed the connection]
rohin2 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
Kallek has joined #asahi
rohin2 has quit [Ping timeout: 480 seconds]
Kallek has left #asahi [#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
nafod 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
darkapex1 has joined #asahi
kajiryoji_ has joined #asahi
darkapex has quit [Ping timeout: 480 seconds]
kajiryoji has quit [Ping timeout: 480 seconds]
bgb_ has quit [Ping timeout: 480 seconds]
jacoxon has quit []
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
darkapex2 has joined #asahi
darkapex1 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]
rkt is now known as Guest5228
rkt has joined #asahi
bgb_ has joined #asahi
Guest5228 has quit [Ping timeout: 480 seconds]
m42uko_ has joined #asahi
m42uko has quit [Ping timeout: 480 seconds]
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
aleasto has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
robinp[m] has joined #asahi
<robinp[m]> anyone here running a macOS public beta - just wondering what value you get for 'uname -r'
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
m42uko_ has quit [Read error: No route to host]
m42uko 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]
darkapex2 is now known as darkapex
kajiryoji_ has quit [Read error: Connection reset by peer]
bgb_ has joined #asahi
kajiryoji has joined #asahi
gladiac has quit [Read error: No route to host]
gladiac has joined #asahi
gladiac is now known as Guest5239
gladiac has joined #asahi
Guest5239 has quit [Read error: No route to host]
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<unrelentingtech> hi, has anyone figured out touchpad model/dimensions i.e. https://github.com/torvalds/linux/blob/fe91c4725aeed35023ba4f7a1e1adfebb6878c23/drivers/input/keyboard/applespi.c#L509-L523 on the arm macs? haven't seen changes for this anywhere, not even in corellium etc.
<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
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
jacoxon has quit []
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
egavinc 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]
phiologe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
phiologe 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
aleasto has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
jacoxon 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]
Mira has joined #asahi
Mira is now known as Guest5267
jacoxon has quit []
bgb_ has joined #asahi
Guest5267 is now known as mburge
bgb_ has quit [Ping timeout: 480 seconds]
<mps> just built m1n1 and now want to build kernel for M1, do anyone have config? would help me to not search around for needed drivers and options
<mps> and url of patches would of the great help
Eric[m] has left #asahi [#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]
aleasto has quit [Remote host closed the connection]
bgb_ has joined #asahi
<jannau> for M1 or M1 Pro/Max?
<mps> jannau: M1, old ones
bgb_ has quit [Ping timeout: 480 seconds]
<jannau> https://github.com/mu-one/linux/tree/20211022 should have most of the patches
<mps> aha, I looked at it but was not sure
<mps> thanks
<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
<mps> jannau: ah, sorry
bgb_ has quit [Ping timeout: 480 seconds]
<j_ey> mps: I can push a branch, but it doesnt have the rest of the stuff from https://github.com/mu-one/linux/tree/20211022
<mps> j_ey: don't understand, where you can push branch, or better question is where is keyboard patch
<j_ey> you probably need to edit the dtb to be j.. whatever the type for the macbookpro is, j313 is the air
<mps> j_ey: thanks, I have macbook pro
bgb_ has joined #asahi
<j_ey> and you need to make sure KEYBOARD_APPLESPI and CONFIG_SPI_APPLE_MC and CONFIG_PINCTRL_APPLE_GPIO are set
<jannau> j293 is the 13" macbook pro, https://github.com/AsahiLinux/docs/wiki/Devices
<mps> jannau: thanks
bgb_ has quit [Ping timeout: 480 seconds]
<j_ey> mps: dunno if you already pulled, but Im about to force push some changes
<mps> j_ey: no, not yet
<mps> just reading about all this new 'things' for me
<mps> and I'm not in a hurry, to make all this I will need few days
<mps> (tomorrow is work day)
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<kode54> robinp[m]: does it matter if I'm running the dev beta?
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
<robinp[m]> kode54; nah, I just want to check that its format is still #.#.# for a Makefile script (i.e. just numbers and no words)
bgb_ has quit [Ping timeout: 480 seconds]
<kode54> it's 21.2.0
<kode54> so still #.#.#
<kode54> no words
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf 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
c10l has quit [Quit: The Lounge - https://thelounge.chat]
c10l has joined #asahi
c10l has quit []
c10l has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi