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
slicey has joined #asahi
linearcannon has quit [Remote host closed the connection]
nsr_ has quit [Ping timeout: 480 seconds]
nsr has joined #asahi
darkapex2 has joined #asahi
darkapex1 has quit [Ping timeout: 480 seconds]
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
leah has quit [Quit: WeeChat 3.3]
leah has joined #asahi
sailorek1234 has joined #asahi
the_lanetly_052___ has joined #asahi
thunfisch has quit [Ping timeout: 480 seconds]
<Jamie[m]1>
it took me an embarrassingly long time to figure out what the ADMAC peripheral is short for
<Jamie[m]1>
i can't avoid parsing it as AD(MAC)
<Jamie[m]1>
whereas it's actually A(DMA)C
thunfisch has joined #asahi
sailorek1234 has quit []
sailorek1234 has joined #asahi
<landscape15[m]>
NightRaven: I managed to run Linux providing a initrd directly
<NightRaven[m]>
Ohhh ol that's good
<NightRaven[m]>
Does you keyboard work
<landscape15[m]>
NightRaven: yeah it works quite good, but i see a little delay
<landscape15[m]>
I’m using asahi branch
<NightRaven[m]>
I am using asahi branch
<NightRaven[m]>
But it could be the USB is slow
<mps>
landscape15[m]: you mean internal keyboard or usb attached one?
nsr_ has joined #asahi
nsr has quit [Ping timeout: 480 seconds]
<j`ey>
Jamie[m]1: didnt you learn te alphabet at school? A DMA C E F G
slicey has quit [Quit: zzz]
yuyichao has quit [Ping timeout: 480 seconds]
linearcannon has joined #asahi
aleasto has joined #asahi
<landscape15[m]>
mps: I mean the internal one. But it seems to have the same problem with my external Logitech
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi
<mps>
landscape15[m]: do you have keyboard patches for asahi kernel?
<landscape15[m]>
mps: I think no. Should I merge them?
<j`ey>
landscape15[m]: if the internal one works at all, you have the kb patches
<landscape15[m]>
j`ey: I’m using the asahi branch, so I suppose yes.
<j`ey>
I cant wait until mainline has everything so there is no confusion of branches :D
<landscape15[m]>
j`ey: yeah me too :)
<landscape15[m]>
What is the difference between rootFS and initrd?
<j`ey>
rootfs is the actual disk
<j`ey>
initrd.. is now actually called 'initramfs', which makes it clearer that it's just in RAM!
<landscape15[m]>
j`ey: ok thanks
<mps>
small note, rootfs also can be in ram, but not usually used
<j`ey>
ok yeah, you could do that too. lets rephrase: the initramfs is just a small filesystem that usually contains the kernel modules needed
<j`ey>
and some executables to load everything, and then it mounts the rootfs and switches to that
<mps>
to add more confusion to novices, also linux can boot without initramfs and start directly from rootfs
<mps>
I prefer it this way
<landscape15[m]>
mps: yes, but I thought the first thing to be loaded by the kernel is the RAM disk (if rootFS device is not specified).
<mps>
landscape15[m]: both must be specified somewhere, in boot loaders (u-boot, grub ...). I think m1n1 also does this by automacically reading payload
<landscape15[m]>
mps: but I was able to run Linux without an external rootFS, giving kernel > dts > initrd
<mps>
landscape15[m]: right, initramfs is actually root FS
<mps>
usually used as first stage root fs to initialieze basic things on machine and then switch to root fs on disk
yuyichao has joined #asahi
arnd_ has quit []
arnd has joined #asahi
bps has joined #asahi
al3xtjames has quit [Quit: Ping timeout (120 seconds)]
al3xtjames has joined #asahi
Gaspare has joined #asahi
darkapex3 has joined #asahi
darkapex2 has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
riker77 has quit [Quit: Quitting IRC - gone for good...]
riker77 has joined #asahi
<NightRaven[m]>
Any news on the WiFi driver
<j`ey>
NightRaven[m]: no
<NightRaven[m]>
Oh ok
Gaspare has joined #asahi
sailorek1234 has quit []
nabaiste^ has quit [Remote host closed the connection]
<marcan>
NightRaven[m]: this week
<NightRaven[m]>
marcan: oh ok thanks : )
<opticron>
ooh, that's exciting!
<opticron>
and means I should probably go ahead and order the laptop I want
<mps>
firefox317: no, it is stuck whatever I tried
<mps>
only can open window with --allow-downgrade
<unrelentingtech>
anyway, magic trackpad 2 acquired :) looking at the packets now, touches actually are made of 1-byte fields rather than 2-byte like on internal trackpads. it is a different format for real. I still have no idea how hid-magicmouse could possibly work on an internal trackpad. unless.. unless...
<unrelentingtech>
I mean it's not that outlandish I guess if they just… if they reuse the bcm controller everywhere and then the external usb/bt interface on the magic2 just CHOPS OFF the big format part that's meant for laptops o_0
<unrelentingtech>
oops should've posted all that in the dev channel
aleasto has quit [Ping timeout: 480 seconds]
aleasto has joined #asahi
tertu2 is now known as tertu
<Dcow_>
yey! Just got my mbp with M1 Max delivered
<Glanzmann>
mps: For me firefox works with the fbdev xorg driver, did you try that? curl https://ab34.de/u/device.conf > /etc/X11/xorg.conf.d/device.conf
<mps>
Glanzmann: for me xorg segfaults with fbdev driver
<Glanzmann>
Interesting.
<Glanzmann>
mps: You're using arch, right? I'm on Debian testing with all updates applied.
<mps>
Glanzmann: no, I use alpine linux
<Glanzmann>
I see.
<NightRaven[m]>
How can I format my ssd to ext4 on Mac and access it ?
<NightRaven[m]>
<mps>
this could be related to some diffs in glibc with musl, I'll ask in a few days on #musl or #alpine-devel channels
<mps>
NightRaven[m]: you need to buy ext4 driver for macos iirc
<NightRaven[m]>
Buy ???
<mps>
I didn't found any free ext4 driver for macos
<NightRaven[m]>
Macos iirc
<NightRaven[m]>
mps: Hmm can't you install mkfs
<mps>
NightRaven[m]: driver for filesystem is needed
<NightRaven[m]>
Hmm
<NightRaven[m]>
Can't you use a VM
<NightRaven[m]>
Access the partion and format it
<mps>
with some trickery maybe, and at the use 'dd' to 'copy' VM image to macos partition
<mps>
tbh I don't know how to use macos partition as VM image for qemu
<mps>
with linux this is easy
<NightRaven[m]>
I use utm Ubuntu
<NightRaven[m]>
* use utm with Ubuntu
<mps>
idk, maybe this is possible with UTM, though UTM is actually qemu iirc
<NightRaven[m]>
Might be possible
<NightRaven[m]>
Or
<NightRaven[m]>
You can boot rootFS with a usb/external HDD and then format the partion from there and you can get what ever os rootFS
<mps>
NightRaven[m]: right, I did this when I installed rootfs on internal nvme
<Glanzmann>
NightRaven[m]: you already managed to boot using usb, why not partition and format the drive using linux?
Glanzmann has quit [Quit: leaving]
<NightRaven[m]>
I might but I am scared if i mess something up
<mps>
all these will be easier when u-boot start to recognize nvme when it is booted from usb
<mps>
when it boots kernel from usb, I mean
<NightRaven[m]>
Btw there should be an option to boot to Mac os or Linux when starting your device
<NightRaven[m]>
Not doing kmutil every time
<j`ey>
thats the recovery menu
<j`ey>
press and hold the power button
<NightRaven[m]>
Yea but it does not show their
<j`ey>
it will once you set it up right
<NightRaven[m]>
It says options and macintosh HD If I click macintosh hd it boots the Linux
<NightRaven[m]>
If I do kmutil
<j`ey>
because you kmutil'd on the macos partition
<NightRaven[m]>
So you are telling me that if I kmutil the Linux drive it will show ?
<mps>
this reminds me of something when I tested corellium about year ago on my son machine and reverted back to macos with kmutil, but I forgot how I did this. anyone knows for link with guides how to do this
<mps>
would be easier to have two kernels to boot, one from 'Macintosh HD' and one from 'Linux' volume
<mps>
'year ago' is time when correlium is released
<NightRaven[m]>
but how do you make it so instead of holding down the power button to see the options it automatically shows what do you want
<NightRaven[m]>
kind of like grub
<j`ey>
NightRaven[m]: the power button will be the only way to go to macOS
<NightRaven[m]>
j`ey: hmm ok
<NightRaven[m]>
i have a question
<NightRaven[m]>
do you know how if i want to make a partion for linux only i just format it and put rootFS on it an i make another partion and it will be ms-dos so FAT and then i put the macho file in the FAT partion and i put the rootFS in the ext4