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
tpw_rules has joined #asahi
<tpw_rules>
hi hello. is the installer script available anywhere for some curl | sh action?
<jannau>
yes, but it's so annoying that you will soon just chainload your m1n1 current build
<tpw_rules>
ah
<tpw_rules>
seems there was a bit of a snag and it didn't correctly figure out the name of the new volume it created. it told me to run /Volumes/''/step2.sh . i found step2.sh in /Volumes/Linux\ 1/ and ran it and everything worked fine though.
<tpw_rules>
m1n1 is running and i see the uarts over usb. neat!
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi
bps has quit [Ping timeout: 480 seconds]
<tpw_rules>
is there a way to change the m1n1 framebuffer resolution? it's reporting 640x1136 which is really weird and i'm wondering if that's why i see nothing on the display. or maybe i am misunderstanding
<sorear>
that's the size of framebuffer the bootloader gives you if it doesn't detect a display at all. iphone 5 native resolution
<tpw_rules>
do i have a lame display? it's some acer 1080p hdmi monitor that works fine in macos
<tpw_rules>
i imagine if no display is detected then changing the resolution will not help me
<tpw_rules>
what monitors have people used that have worked? i tried a tv too which didn't help
slicey has joined #asahi
<tpw_rules>
can the bootloader even use an external display? or is this intended for like the internal display on the laptops?
DarkShadow44 has joined #asahi
slicey has quit [Quit: zzz]
slicey has joined #asahi
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
<tpw_rules>
so i've got u-boot running under the hypervisor but it seems to constantly read \x1b escape characters when i try to talk to it over /dev/ttyACM1
<tpw_rules>
oh
<tpw_rules>
i had a usb keyboard plugged in with something resting on the escape key. well good to know that usb keyboards are working
Hinata[m] has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
milesyucht has joined #asahi
milesyucht has quit []
sailorek1234 has joined #asahi
<jannau>
tpw_rules: the broken boot display is a bug in macos 12. Not fixed in 12.1 as of beta 4 so I'm not optimistic that it is fixed in 12.1
the_lanetly_052___ has joined #asahi
<jannau>
yes, not fixed in 12.1
catblepats has joined #asahi
slicey has quit [Quit: cya]
catblepats has quit [Quit: Leaving]
<marcan>
yeah, if you build your m1n1 partition off of macOS 11.4 (in the installer) it will work
<marcan>
I really need to do something about this... it's kind of a release blocker :/
KDDLB has quit [Quit: Ping timeout (120 seconds)]
KDDLB has joined #asahi
timokrgr has quit [Quit: User left the chat]
timokrgr has joined #asahi
legarts[m] has joined #asahi
<legarts[m]>
So just so I understand we need to use 11.4 as a base for m1n1? I have been playing with developer quickstart and so far I have no feedback on the screen during boot, only 1TR works after rebooting, no SuperSpeed cable to see what's wrong so far
<chadmed>
damn did we suffer a regression while i was gone? i thought everything was working pretty well with the 12.1 betas
sailorek1234 has quit []
<landscape15[m]>
chadmed: also with 12.0.1 works well.
<kettenis>
isn't the regression restricted to the mini and some monitor models?
<FireFox317>
only mini indeed, not sure about the monitor models
<_jannau_>
it's certainly restricted to the mac mini, built-in displays work as expected. some 12.0 beta release were not affected but I believe it affects all displays
sailorek1234 has joined #asahi
<NightRaven[m]>
I have a question why is this showing
<FireFox317>
NightRaven[m], what do you mean? everything in the picture seems fine
<NightRaven[m]>
It won't boot
<NightRaven[m]>
To Linux
<NightRaven[m]>
It just stays there
<j`ey>
NightRaven[m]: are you sure that sdc is the right root partition?
<NightRaven[m]>
Yes
<NightRaven[m]>
I have tried sda too
<NightRaven[m]>
I will try something else
<mps>
safer thing is to use PARTUUID
sailorek1234 has quit []
<mps>
NightRaven[m]: I'm not sure what you specified for 'root=' in cmdline
yuyichao has quit [Ping timeout: 480 seconds]
<NightRaven[m]>
I fixed it
<NightRaven[m]>
But do I have to install Mac os on the 80gb partion
<NightRaven[m]>
I thought we put our rootFS there
<j`ey>
if you use the asahi installer you dont need to install mac
<NightRaven[m]>
But the asahi installer only resizes the driver too 200gb
<NightRaven[m]>
And makes a partion with Linux 80gb
yuyichao has joined #asahi
<j`ey>
point is, the macOS thing was just a workaroun before theres a proper installer
<NightRaven[m]>
Hmm ok
<mini>
if I *do* want to get linux on a m1 mac mini (I only want it for headless uses, as long as the CPU and ethernet work I'm set), is the installer the way to go?
<marcan>
kettenis: mini and all HDMI output, not just some models
<FireFox317>
did someone already report the mini framebuffer issue to apple?
<marcan>
firefox317: yes
<FireFox317>
the apple logo is also gone right? I would guess apple wants that back xd
<FireFox317>
marcan, check
<j`ey>
NightRaven[m]: looks like your rootfs is borked
<j`ey>
mini: yes I think you should use the installer
<j`ey>
mini: better than installing macOS
<marcan>
the apple logo is gone if you boot e.g. 11.4 on 12.0.1 or later firmware, until DCP initializes
<marcan>
after DCP initializes the graphics stack redraws the logo
<marcan>
(on the mini)
<NightRaven[m]>
j`ey: What do you mean by borked ?
<marcan>
before DCP you get a progress bar and no logo, as the older 2nd stage iBoot2 initializes DCP but doesn't draw the logo :)
<j`ey>
NightRaven[m]: broken
<NightRaven[m]>
But how it is new
<j`ey>
NightRaven[m]: /sbin/init was not executable for some reason
<NightRaven[m]>
Hmm so is it the drive itself or the file
<NightRaven[m]>
s/file/files/
<FireFox317>
NightRaven[m], I also had this issue and it was indeed caused by not properly copying the rootfs to the file. Make sure to properly sync and unmount when writing the rootfs to drive, such that all the data gets written
<FireFox317>
s/file/drive
<NightRaven[m]>
firefox317: But how can I copy it I just do sudo cp -r * ../
<FireFox317>
NightRaven[m], a cp in linux will not necessarily mean that the data is also written to the usb stick (or whatever storage you are using). Linux namely caches the data. To make sure all the data is actually written to the disk, make sure you run, `sync` and correctly unmount the folder after you did the copy
<NightRaven[m]>
Oh ok thx
aleasto has joined #asahi
<tpw_rules>
marcan: so is this problem solvable by using 11.4 as a base?
<tpw_rules>
also, is there somewhere i should report that issue i found in the installer? it told me to look for step2.sh in the volume ''
<NightRaven[m]>
so question it is installing the mac os stub where do i put the rootFS
<NightRaven[m]>
because disk0s4 is ext4 and it has rootFS in it
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
<landscape15[m]>
NightRaven: I think the boatloader (m1n1.macho) must be contained in the stub macOS partition as well, and not in a separated FAT32 partition.
<NightRaven[m]>
hmm ok thanks i think i got it
___nick___ has joined #asahi
<landscape15[m]>
NightRaven: yeah maybe it’s due to boot security policy.
___nick___ has quit []
<NightRaven[m]>
true
___nick___ has joined #asahi
Dcow_ has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
<mps>
just for info, I tested mainline kernel on rk3399 gru-kevin chromebook and firefox works fine, also f2fs works without any problem. very strange these two doesn't work on m1
<mps>
I mean, kernel 5,16-rc4
___nick___ has quit [Ping timeout: 480 seconds]
josipknezovic[m] has joined #asahi
babagurrgurr has quit [Quit: Connection closed for inactivity]
<NightRaven[m]>
So I have a problem how can I put container disk 3 back to disk 4 macintosh hd
Dcow_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dcow_ has joined #asahi
Glanzmann has joined #asahi
<Glanzmann>
NightRaven[m]: In the diskutility, you click on partition and delete the s3 Partition. Important: DO NOT DELETE the last partition since it is 1tr. and click okay. Example: https://ab34.de/u/Screenshot_2021-12-14_at_23.05.41.png
<NightRaven[m]>
There is no minus button available is there any commands ?
<Glanzmann>
NightRaven[m]: There is, again open disk utility, click on partition on the top right, select the partition and click '-'. See my Screenshot.
<NightRaven[m]>
Ok wait I have tried something but I have this