marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | 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
<chadmed>
matthewayers[m]: thanks, i like to inject a bit of joviality into what i do. keeps it engaging for everyone
<chadmed>
marcan: my old macbook also defaulted to katakana for some reason under linux. i found the only sane way to use it was just use romaji and mozc, but if you have a hiragana keyboard thats not really going to fly. it should Just Work(tm)
yuyichao has quit [Ping timeout: 480 seconds]
<marcan>
chadmed: nobody actually uses the hiragana in a hiragana keyboard though
<marcan>
it's mostly for show
<marcan>
and those who do want it will set it up in their IME
<marcan>
kana mode raw input is useless
yuyichao has joined #asahi
PaterTemporalis has quit [Ping timeout: 480 seconds]
<Glanzmann>
So if you don't understand what they do, don't try it. I'll record a video later and test the instructions and will modify if I forgot something.
<Glanzmann>
dan[m]123: And if the debian installer is giving you issues, can you send an error message or picture and tell what the issues are so that I can address them?
<Glanzmann>
dan[m]123: I forgot to install the kernel in the instructions, updated.
<Glanzmann>
marcan: tg.st/u/0001-Entry-for-Debian-bookworm.patch updated patch to reflect that this is not from asahi but by an individual.
mps has quit [Ping timeout: 480 seconds]
timokrgr has quit [Quit: User left the chat]
mps has joined #asahi
timokrgr has joined #asahi
the_lanetly_052 has joined #asahi
sheepgoose_ has quit [Ping timeout: 480 seconds]
<marcan>
Dcow[m]1: I'm getting rid of that firstboot thing already, I ran into the same problem with arch
<marcan>
I don't like it anyway
<marcan>
I'm disabling the prompts entirely
<bluetail[m]>
Will network over thunderbolt be a thing? (Thunderbolt bridge) in debian
<marcan>
bluetail[m]: once thunderbolt is supported, sure
<bluetail[m]>
Ok that was fast. I see. SO today I am going to test that. I actually bought a tb4 hub to connect my mac mini to my windows laptop in a second network
<marcan>
thunderbolt is not supported
<marcan>
*once* thunderbolt is supported, sure
<bluetail[m]>
So I hope I can reach the network it with 10gbps, leaving the other DAS drives be at their usb 3.1 gen 2 limit... Currently 460mb/s single drive and around 600 multi drives
<bluetail[m]>
I know sounds weird
<bluetail[m]>
but my DAS enclosure is topping out
<marcan>
oh you mean testing on macos?
<bluetail[m]>
yea, I do that today. macOS <-> Windows
<marcan>
sure
<bluetail[m]>
I report back and tell you guys if its reliable. I never used a tb bridge and my lenovo t490 did reject a straight cable through cause its also its charging + data port, so I bought a hub
<marcan>
straight through cables should work... if they don't then something is not complying with the standard
<bluetail[m]>
As I said, my lenovo laptop charges through a single usb c type connector
<bluetail[m]>
the mac mini doesnt provide enough power
<bluetail[m]>
and it is looping through not enough power instead of providing a tb bridge
<bluetail[m]>
also I would my laptop always charged
<bluetail[m]>
so a hub is more likely to what I want
<Glanzmann>
bluetail[m]: I had once as well.
<Glanzmann>
bluetail[m]: I plugged in the charger first and than put an additional cable.
MajorBiscuit has joined #asahi
MajorBiscuit has quit []
MajorBiscuit has joined #asahi
ChaosPrincess has joined #asahi
ciggi_ has quit [Ping timeout: 480 seconds]
<mps>
marcan: do you have somewhere kernel config for latest asahi branch with which display works
<j`ey>
mps: are you using the same config as previously?
<mps>
j`ey: yes, I copied config which works and rebuild latest branch
<mps>
but display is blank
<j`ey>
can you rebuild the old branch?
<mps>
probably
<mps>
would that somehow help?
<j`ey>
well that would show if it really was just due to the new kernel
<mps>
aha, yes
<j`ey>
the old branch has hash a90a4472ece3167409168aab7c5010fe0eba8bb9
<mps>
j`ey: thanks
ciggi has joined #asahi
<Glanzmann>
mps: tg.st/u/config-2022-03-15-4k
kameks has joined #asahi
<mps>
Glanzmann: thank you
<Glanzmann>
mps: This kernel config works for me and others with the new branch.
<mps>
I see only CONFIG_FB_EFI=y difference, related to graphic
<Glanzmann>
mps: One or two weeks ago, I also fought with that.
<Glanzmann>
j`ey: Send us your =m options as well, or are you still run monolithic?
<j`ey>
mono
<Glanzmann>
marcan: Btw, will the installer always have the fixed partition size of '5 GB' or will you let the user change it to occupy all free disk space for root?
<Glanzmann>
j`ey: About the CONFIG_FB_CFB_* and CONFIG_FB_SYS_* will that speed up things?
<j`ey>
Glanzmann: those werent selected manually, must have been a dependency
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j`ey>
then I still suggest trying the old kernel. it at least gives a data point
chengsun_ has joined #asahi
chengsun has quit [Ping timeout: 480 seconds]
ciggi_ has joined #asahi
<mps>
j`ey: display doesn't work also with a90a4472ece3167409168aab7c5010fe0eba8bb9 commit
<j`ey>
hm, even if something panics the screen should come up early enough
ciggi has quit [Ping timeout: 480 seconds]
darkapex has quit [Ping timeout: 480 seconds]
darkapex has joined #asahi
eroux has joined #asahi
<mps>
something is changed in 5.17-rc7 which I can't find
<mps>
5.17-rc6 based asahi works
<j`ey>
do you know which hash?
<j`ey>
as in, can you rebuild that and verify?
<mps>
trying to find it
<mps>
will try on archive on external disk
PaterTemporalis has joined #asahi
hizon has quit [Read error: Connection reset by peer]
<bluetail[m]>
<Glanzmann> "bluetail: I plugged in the..." <- But with only 1 tb port to charge and no other port at all to charge, tb won’t suddenly work on a non tab port
<bluetail[m]>
thats the reason I need the hub
ChaosPrincess has quit [Remote host closed the connection]
apg has joined #asahi
<Glanzmann>
bluetail[m]: I thought you have at least two tb ports and both can be used for charging. At least it appears to be the same on my macbook air.
<joske>
Glanzmann: thx, but the question was about the stub partition
<Glanzmann>
This needs to be installes in 1tr using: kmutil configure-boot -c m1n1-rust.bin --raw --entry-point 2048 --lowest-virtual-address 0 -v /Volumes/Linux
<Glanzmann>
joske: This is about the stub partition.
<Glanzmann>
joske: Are you already on a 12.1 stub or older?
<Glanzmann>
If you're on an older, you need to delete and recreate it using the asahi installer.
<Glanzmann>
if you're already on 12.1 it is booting to 1tr update m1n1 stage 1
<joske>
Glanzmann: that's exactly what I mean, the stub is very old, december
hizon has quit [Ping timeout: 480 seconds]
<Glanzmann>
And than put a m1n1 stage2 (m1n1 + dtbs+ u-boot) and a kernel that matches the dtb.
<joske>
probably 12.0.1
<joske>
I think the EFI partition is ok, and the m1m1.bin is in place
<Glanzmann>
joske: Do you have debian?
<joske>
Glanzmann: no, Manjaro
<Glanzmann>
joske: I would delete the stub parition on linux, run the asahi installer and select the last option.
<Glanzmann>
Than put the to be chainloaded m1n1 to m1n1/boot.bin on the esp partition.
<Glanzmann>
That should be it.
<joske>
and the installer will put the chainloading m1n1 as boot object?
<joske>
or should I do that manually? (haven't ran the installer since December ;-))
<Glanzmann>
joske: To be honest, I have no idea. I assume it puts the chainloading, but if not you have to put it manually.
joske has quit [Remote host closed the connection]
<Glanzmann>
joske: I only tested the Debian installation with the most recent installer.
ciggi has joined #asahi
ciggi_ has quit [Read error: Connection reset by peer]
ChaosPrincess has quit [Remote host closed the connection]
joske has joined #asahi
<joske>
What's the URL for the asahi installer again?
<mps>
anyone have this `UEFI Runtime regions are not aligned to 64 KB -- buggy firmware?` in dmesg out on latest asahi kernel
<Glanzmann>
One question though what is difference between chosen.asahi,efi-system-partition=EFI-PARTITION-PARTUUID and chainload=EFI-PARTITION-PARTUUID;m1n1/boot.bin?
<jannau>
chainload tell's the 1st stage m1n1 from where to load the second stage
<jannau>
chosen.asahi,efi-system-partition is added to the dt mostly to allow u-boot to boot from the correct ESP
<Glanzmann>
I see. Thank you for the elaboration.
<jannau>
chosen.asahi,efi-system-partition is passed from the 1st stage forward to the second stage
<Glanzmann>
I see, so the first stage informs the second stage about the uuid of the esp partition which is than passed using dt to u-boot which can than select the right esp to select the efi binary.
creechy has quit [Ping timeout: 480 seconds]
creechy has joined #asahi
stimunation_ has quit [Remote host closed the connection]
stimunation has joined #asahi
stimunation has quit [Remote host closed the connection]
<joske>
Glanzmann: thx, I already have the stub restored and can boot again
<Glanzmann>
Perfect.
<Glanzmann>
joske: Out of curiosity, how did you do it?
<joske>
Shrunk the apfs container
<joske>
Then ran the installer
<joske>
From then on manually as I chose EFI services only
<Glanzmann>
joske: Okay, but then you have two esp partitions.
<joske>
It helped that I had a working USB live drive
<joske>
Already cleaned that up 😉
<Glanzmann>
Ah, perfect.
<Glanzmann>
joske: But than your m1n1 is fine.
<jannau>
no need to reinstall the 1st stage m1n1 then
<joske>
And resized the root filesystem from the live drive
<Glanzmann>
I see.
<joske>
So all is well
<joske>
Thx for the info/help all!
<Glanzmann>
No issue, I learned a lot and understand the boot chain now much better because of it. Especially thanks to jannau and j'ey for bearing with me. :-)
award has quit [Remote host closed the connection]
stimunation has joined #asahi
stimunation has quit [Remote host closed the connection]
stimunation has joined #asahi
stimunation has quit [Read error: Connection reset by peer]
<nametable[m]>
Just bought a slightly damaged M1 Macbook air (https://www.ebay.com/itm/284703353139), so now I can try to help with the project when it comes :)
<nametable[m]>
I'm excited to dig deeper/learn more in Linux and work on drivers/low level firmware.
le0n_ has joined #asahi
m6wiq has quit []
le0n has quit [Ping timeout: 480 seconds]
le0n has joined #asahi
ciggi has quit [Remote host closed the connection]
ciggi has joined #asahi
kgarrington has joined #asahi
kgarrington has quit [Remote host closed the connection]
le0n_ has quit [Ping timeout: 480 seconds]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joske_ has joined #asahi
joske has quit [Quit: Quit]
joske_ has quit []
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<brentr123[m]>
now we need a way to disable ssv on ios 😉
SamRamos[m] has joined #asahi
mps_ has joined #asahi
mps has quit [Ping timeout: 480 seconds]
ChaosPrincess has quit [Remote host closed the connection]