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
aleasto has quit [Quit: Konversation terminated!]
le0n_ has joined #asahi
le0n has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
<ciggi> @Glanzmann, Sorry for pinging but just like you video I endup at grub but my keyboard doesn't work but on u-boot screen ctrl+c working
<ciggi> your*
lascccs^ has joined #asahi
yuyichao_ has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
jmr2 has joined #asahi
<jmr2> Followup to the Jan. 17 discussion on the "no kernel modules found" error running the initrd version of the debian installer: not sure if this has been posted already, but the d-i daily builds work fine.
<jmr2> Daily initrd for Testing (bookworm): https://d-i.debian.org/daily-images/arm64/20220125-02:20/netboot/debian-installer/arm64/ I only used it for install, not for partitionning or anything related to grub.
<jmr2> Also, but for people installing over wifi (I didn't) and needing firmwares, it seems that multiple initrd can be just concatenated: https://wiki.debian.org/DebianInstaller/NetbootFirmware
jbowen has quit [Ping timeout: 480 seconds]
jx0 has quit [Remote host closed the connection]
jx0 has joined #asahi
yuyichao_ has joined #asahi
tomtastic has joined #asahi
jmr2 has quit [Quit: Page closed]
tomtastic_ has quit [Ping timeout: 480 seconds]
axboe has joined #asahi
axboe has quit []
PhilippvK has joined #asahi
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
lascccs^ has quit [Remote host closed the connection]
nuh^ has joined #asahi
jmr2 has joined #asahi
pavan has joined #asahi
<jmr2> Yup, concatenating the initrd works, and the d-i one contains wpa-supplicant. So using the d-i image to install over wireless works. Cool.
jmr2 has quit [Quit: Page closed]
<chadmed> does m1n1 have issues with loading clang compiled kernels? im able to send my kernel and dtb to the macbook but as soon as it tries to jump to the kernel it throws an exception and i lose the serial device
ihaveamac has quit [Quit: fail]
ihaveamac has joined #asahi
ChristianOndaatje[m] has joined #asahi
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi
espo has joined #asahi
eroux has joined #asahi
espo has quit [Quit: Leaving]
espo has joined #asahi
chadmed has quit [Read error: No route to host]
chadmed has joined #asahi
<Glanzmann> ciggi: Try a different keyboard. I have the same problem. I have thinkpad keyboard which works in u-boot and grub.
<Glanzmann> ciggi: And I have a K1 Keychron mechanical keyboard which does not work.
<Glanzmann> jmr2: Thank you for the heads up. Where does the firmware come from when you install using d-i?
pavan has quit []
<Glanzmann> jannau: Thank you for the dcp. HDMI hotplug worked after I turned off the monitor for the night as well. I think the graphics performance is worse than than with the simpledrm so for now I stay on the laptop with simpledrm.
le0n has joined #asahi
le0n_ has quit [Ping timeout: 480 seconds]
<Glanzmann> jmr2: Never mind, just saw the firmware wifi concat thing.
jbowen has joined #asahi
jmr2 has joined #asahi
jmr2 has quit [Quit: Page closed]
jmr2 has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
le0n has quit [Quit: see you later, alligator]
le0n has joined #asahi
jmr2 has quit [Quit: Page closed]
<jannau> Glanzmann: I wouldn't have noticed as run it with tracing. that's certainly not smooth, especially w.r.t. mouse movement
<jannau> I noticed that sddm sitting idle uses a bit over 10% CPU, kwin/plasma doesn't use CPU with an idle desktop
<Glanzmann> jannau: I see.
<jannau> I don't think the dcp driver has seen much effort beyond "it works"
<espo> i love the m1 :D all cores are at 100% and its silence :D. The laptop behind ( my working laptop is doing nothing beside irc/putty to the m1 ) and the fan is loud as f*** :))
<Glanzmann> jannau: Alyssa worked for a long time with it. And I also worked with it for one week (several months ago).
<Glanzmann> espo: I have Intel NUC on my desk and the fans blow like crazy for any shit. mini and air are just silent.
<Glanzmann> Now that jmr2 gave me the hints for the Debian installer I'll probably do another video tonight with the debian installer.
<espo> yeah its insane :) the dell laptop is incredible loud :/
<espo> but need to stay because there the vpn is running on for work stuff :), and i cant share the connection from the device so i can move it to the basement :(
<Glanzmann> espo: I know the problem ...
<Glanzmann> jmr2: So I modified the initrd of the debian installer above and it boots, it detects the wlan0 device. But the debian installer thinks the wlan0 is an ethernertcard and does not ask me for credentials. However there is a wpa_supplicant installed so maybe if I handcraft the config, it will work. I'll try more later tonight and do another video with the debian installer.
<Glanzmann> I think the partitioning should work, because apple just uses a gpt and if the partitions are not in order, macos does not care. But if you do any operation with diskutility it will reassign different numbers to the partitions (in order) but it still does not care.
<sven> macOS exclusively uses the GUID to identify the partitions afaik
<Glanzmann> That makes sense.
Major_Biscuit has joined #asahi
jmr2 has joined #asahi
<jmr2> Glanzmann: same here. Just switch to a different terminal, create the ~5 lines conf file (see the first example in man wpa_supplicant.conf), start wpa_supplicant, and continue with the install.
jmr2 has quit [Quit: Page closed]
Major_Biscuit has quit [Ping timeout: 480 seconds]
<Glanzmann> jmr2: Thank you.
Latrina has quit [Ping timeout: 480 seconds]
IbrahimMAkrab[m] has joined #asahi
klaus has joined #asahi
Major_Biscuit has joined #asahi
<j`ey> chadmed: did you compile m1n1 with clang too?
jbowen has joined #asahi
MajorBiscuit has joined #asahi
<mps> sven: GUID means UUID (filesystem) or PARTUUID?
Major_Biscuit has quit [Ping timeout: 480 seconds]
<sven> the UUID that identifies the partition inside the APFS container + maybe also the GPT partition uuid to find the partition that contains that APFS container
<mps> aha, makes sense
jbowen has quit [Ping timeout: 480 seconds]
jx0 has quit [Quit: poof!]
ibrahim has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
<chadmed> j`ey: nah but clang wasnt the problem, tried with a gcc kernel and it still just throws me out of the serial device and dumps me to an asahi logo just after jumping to a kernel. tried with Glanzmann's .config too, no dice
<chadmed> i can guarantee its something stupid im doing though
<j`ey> chadmed: whats the command youre using to boot? *.py <what args here>
gabuscus has joined #asahi
<chadmed> linux.py -b 'earlycon debug console=tty0 root=/dev/sda1 rootfstype=btrfs' Image.gz t6000-j314s.dtb
<chadmed> running in the hv shows a bunch of dangerous writes to some registers on cpu1 and then it just halts
<j`ey> the 'throwing out of the serial device' is normal for linux.py, so are the dangerous writes
<j`ey> chadmed: where is that dtb from?
<j`ey> from the kernel right?
<chadmed> freshly cloned linux-asahi
<chadmed> yeah
aleasto has joined #asahi
<_jannau_> do you see anything on the secondary acm tty when running under the hypervisor?
<j`ey> using picocom ^
<chadmed> checking now
<chadmed> nope the link just dies
<j`ey> chadmed: with run_guest.py ?
<chadmed> oh yeah there we go so turns out i am indeed just really really really stupid
<chadmed> didnt build usb mass storage into the kernel so its panicking looking for /dev/sda1
<j`ey> :-)
<j`ey> weird that it doesnt get the framebuffer and print the panic there..
<chadmed> yeah thats what had me tripping
<chadmed> oh wait no i know why
<chadmed> built simpledrm as a module
<chadmed> just got back from a slightly less than relaxing holiday and my brain is all over the place :D
<Glanzmann> chadmed: I see. So maybe I should write a script which sets all the config options for m1 as hardcoded with one expection, wifi so that you can reload it once, you put the firmware inplace.
<chadmed> all the options in your config are Y afaik
<chadmed> actually let me check with the kernel i built from your config
<Glanzmann> But now that jmr2 showed me the initird concat trick maybe we don't even need that anymore.
roxfan has quit [Remote host closed the connection]
<Glanzmann> So I'm back on wpa_supplicant after I need it for the debian installer, and it is definately slower than iwd, but integrates better with Debian, I think. And I found an error in the wpa_supplicant.conf manpage. In the example they say group=wheel which does exist, as result wpa_supplicant won't start. So I'm going to file a bug report to fix that to root.
<chadmed> wheel doesnt exist by default on debian?
<Glanzmann> chadmed: I checked now three system, no it does not.
roxfan has joined #asahi
<chadmed> thats crazy, ive never seen a system without wheel as a group
<Glanzmann> Install Debian today.
<mps> Glanzmann: that is why I always have to fix wpa_s config locally when install it
<mps> something like this `wpa_supplicant_args="-Gnetdev -Dwext -iwlan0 -u"`
<mps> though alpine have wheel group
<chadmed> sync
<chadmed> hm so the kernel just cannot see any usb or sd card i feed it
<Glanzmann> mps: I see, it works for me with debian out of the box. That is my config in addition to the list of networks I have which is way to big.
<j`ey> chadmed: likely more missing configs..
<Glanzmann> jmr2: Do you start the debian installer in expert mode? I just tried it with wpa, and I get it running but it is hassle to get to a shell and job control does not work.
<chadmed> hm so the kernel just cannot see any usb or sd card i feed it
<chadmed> oops
<mps> chadmed: 'rootwait' in kernel cmdline
<chadmed> yeah tried that
espo_ has joined #asahi
espo__ has joined #asahi
espo has quit [Ping timeout: 480 seconds]
espo_ has quit [Ping timeout: 480 seconds]
<chadmed> looks like it doesnt like my hubs. with one the link to the ssd dies as soon as m1n1 starts and the other doesnt even try to connect
* povik decided to register on github sponsors: https://github.com/sponsors/povik
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi
espo_ has joined #asahi
espo has joined #asahi
jmr2 has joined #asahi
espo__ has quit [Ping timeout: 480 seconds]
<jmr2> Glanzmann: that "wheel" group thing: you're in the "example" section of the man page. Are you going to report that 'ssid="home"' is wrong too? ;-)
<jmr2> More seriously, that "ctrl_interface" line wasn't needed for me.
<jmr2> only the network={} block, with ssid, key_mgmt and psk keys inside. Not 100% sure for scan_ssid.
<jmr2> And given that I don't plan to use wpa_supplicant after install, I didn't bother to list more than the network I used for the test. If I wanted too, I'd redo it with better tools once the install was complete.
<chadmed> the ctrl interface stuff is mostly to prevent unwanted users from making changes to wpa_supplicant directly
<jmr2> chadmed: ... which you don't care about while you're running the installer.
<chadmed> yeah exactly
<chadmed> sane people remove wpa_supplicant immediately after first boot and replace it with iwd
espo_ has quit [Ping timeout: 480 seconds]
<jmr2> That's... politics :-D You won't get me there.
<jmr2> Glanzmann: to answer your question, I don't know how to start the initrd installer in expert mode, so no. No issue switching terminals (ok, yes, the key sequence is cumbersome - fn-ctrl-option-fX), I didn't have a need for job control, just used more terminals as needed, but basically, it's two commands - nano, then wpa_supplicant.
<mps> only problem is iwd doesn't work with drivers which use wext interface
<Glanzmann> jmr2: I see. At the point the network came up, I had only one terminal, that's why I asked. But I found out how to start it in expert modus. You add the 'expert' kernel command line maybe then I have two terminals.
<Glanzmann> jmr2: I'll report it, because it is wrong. And I like about Debian that examples just work, example configurations as well, try that with other Linux distributions ... Debian often fixes manpages or writes manpages where non exist.
<Glanzmann> jmr2: Anyway thank you for telling me this, because we will have now a solution to use the Debian installer with m1, which is much easier than what I documented yesterday evening.
<jmr2> Glanzmann: strange... For me, the fn-ctrl-option- thing works from the very start - I switched even before answering the "language" question. And I know there's at least three. The number might depend on the kernel config.
<Glanzmann> jmr2: I tried, and I also pressed the fn button no luck. I used the initrd from the link you posted me this morning.
<Glanzmann> But I did not use the grub.cfg and I guess in the grub.cfg it enables expert mode, and I used my own and that's why it did not work for me.
<Glanzmann> Will try right away.
<jmr2> I'm... not sure why you're talking about grub.cfg. Do you have grub in the boot sequence for the installer ?
<Glanzmann> jmr2: Getting the grub configuration right, was cumbersome for u-boot that is why I used my own that works.
<Glanzmann> And I just verified when you boot with expert you have virtual terminals from the beginning and it just works.
<Glanzmann> jmr2: Yes, I have. My goal is to get where marcan wants to go.
<Glanzmann> User runs asahi installer. User inserts distro installer and installs asahi and it just works (tm).
<Glanzmann> jmr2: With your hint I can do that now.
<jmr2> OK. Can't help you there. In my eyes, you run d-i way before grub is in the equation. I'd only install uboot & grub in a second tethered boot, using the rootfs created by d-i.
<Glanzmann> jmr2: The grub is on the usb drive.
<Glanzmann> So I have m1n1+dtb+u-boot.
<Glanzmann> I untar a directory tree on a msdos usb stick
<Glanzmann> Insert it and it boots from it.
<Glanzmann> Than the debian installer, installs grub on the internal nvme.
<Glanzmann> jmr2: I'll do another recording tonight with the Debian installer.
<jmr2> That seems like a lot of trouble...
<j`ey> Glanzmann: I would suggest making the font a little bit bigger
<Glanzmann> j`ey: I'll do that while I'm on macos, on Linux, no chance ... ;-)
<j`ey> Glanzmann: macos is where you do most of the important setup commands :P
<Glanzmann> jmr2: For endusers it will be easier.
<Glanzmann> j`ey: With jmr2 Debian installer I won't do much on macos.
<jmr2> It already is easy. If you start fresh with the installer, you don't need a USB key. Just a tethered boot, with a custom kernel with no modules, and the initrd. I don't even have a bootargs in that case.
<j`ey> jmr2: the end goal is to avoid tethered boot
<jmr2> Ah. OK.
<Glanzmann> jmr2: Here is the content of my usb stick with the debian installer: https://pbot.rmdir.de/pHoHpizFAH_VoL-JzG1IuA
<Glanzmann> I'll write a script that creates that. This is including wifi firmware (which I won't redistribute).
espo has quit [Quit: Leaving]
<ciggi> @Glanzmann Thanks, Yes I am using keyboard mouse combo and i didn't work, other worked like a charm. I failed in grub I didn't understand how to install to boot automatically (grub) :(
jmr2 has quit [Quit: Page closed]
chadmed has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
<Glanzmann> ciggi: So yesterday, what it resolved it to me is the following: https://tg.st/u/fixgrub.txt
<Glanzmann> Afterwards it should look like that: https://pbot.rmdir.de/l12KP6s21DpGIP4pniWtug
* mps thinking to switch to openBSD, all linux distros are unneserily complicated
<Glanzmann> kettenis: The OpenBSD m1 installer is ready for long time, isn't it?
le0n has quit [Quit: see you later, alligator]
le0n has joined #asahi
<kettenis> yes, although it may need some tweaking yet to pick up the wifi firmware
jbowen has joined #asahi
yuyichao_ has quit [Ping timeout: 480 seconds]
nuh^ has quit [Remote host closed the connection]
<simjnd[m]> got my M1 Pro MacBook today (10C/16G) with a 700€ discount, now I can't wait to be able to run Linux on this thing 🥰
yuyichao_ has joined #asahi
<MajorBiscuit> simjnd[m]: just curious, how did you get the €700 discount? Education discount is unfortunately only 10%
<opticron> I also need to know
<opticron> that'd have me buying it right this second
<simjnd[m]> I got it from a second-hand website (the craigslist's equivalent in France). It's pretty easy to find Apple products still sealed / never used that people get for really cheap through their company and then resell with a little margin
<opticron> ah, yeah, I've been keeping an eye out for that kind of thing
ciggi has quit [Ping timeout: 480 seconds]
Latrina has joined #asahi
Latrina has quit [Read error: No route to host]
willemml has joined #asahi
willemml has quit [Remote host closed the connection]
ciggi has joined #asahi
willemml has joined #asahi
<ciggi> @Glanzmann Thanks Fixgrub.txt works
willemml has quit []
willemml has joined #asahi
Gaspare has joined #asahi
Latrina has joined #asahi
espo has joined #asahi
<espo> hey short question :) i added a u-boot to my main os partition ( can i remove it there somehow? ) so i´m able to boot back to osx :)
<mps> espo: I think it is 'bputil -n' in 1TR
<mps> last time I did this was year ago and I'm not sure I remember correct syntax
<espo> :) thx
<espo> will give it a try
espo has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi
Gaspare has quit [Read error: Connection reset by peer]
the_lanetly_052 has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
espo has joined #asahi
<Glanzmann> marcan updated the asahi installer.
<Glanzmann> Now 12.1 is available as stub partition.
* Glanzmann is beta testing with the debian installer.
<Glanzmann> espo: Did you restore the amcos kernel, successfully?
<espo> yeah :) got it back. Now i can boot osx and linux
<Glanzmann> Perfect.
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MajorBiscuit has quit [Ping timeout: 480 seconds]
<Glanzmann> kettenis: With the 12.1 stub kmutil refuses to install the u-boot.macho. It worked before.
<Glanzmann> kettenis: Do you have instructions for me how to install u-boot using the new raw format?
<VinDuv> oh wait you’re talking about uboot, sorry
<Glanzmann> Yep.
<VinDuv> concatenating payloads to m1n1.raw should work I think
<Glanzmann> I thought the same after reading my wiki article. ;-) I'll try that and report back.
<newchima[m]> Is there a way to "upgrade" an existing stub partition? or just reinstall?
<Glanzmann> newchima[m]: I always delete the alt stub partition. Best is to delete it on Linux using parted, becasue than you don't have to do the resize dance.
<Glanzmann> And than reinstall.
<Glanzmann> VinDuv: It works, I update the wiki.
<newchima[m]> Glanzmann: will try it. My reinstall routine is typically do a "factory refresh" of the whole mini and start 100% clean. deleting the partition in linux would make that piece non-required :)
<Glanzmann> newchima[m]: In the old days I deleted using disk utility, now I do it using parted on Linux.
<Glanzmann> jannau: Got it, thank you for the explanation.
willemml has quit [Quit: willemml]
willemml has joined #asahi
<newchima[m]> Glanzmann: when i would try with the disk utility and then resize it back down, the installer would error out when trying to find partition info
<Glanzmann> newchima[m]: Yeah, I had that sometimes again, I rebooted or resized again and at some point it worked again. But when you delete under linux, it is not an issue.
<Glanzmann> So I'm now in the debian installer and when I try to create the efi system partition, I get mkfs.fat: Not enough or to many clusters for fileystem - try less or more sectors per cluster ...
<Glanzmann> This was with 512MB Partition and 1 GB Partition. With a 256MB Partition it works, interesting.
<newchima[m]> Glanzmann: maybe its formatting as fat16?
<espo> did mkfs.vfat -F 32 works on a bigger one?
<Glanzmann> I'm currently installing using the debian installer from a usb stick over wifi to the macbook air of my wife. If it works, I'll kill my mini again and do a Video how to use the Debian installer.
<espo> of mkfs.fat -F 32 not sure if the parameter is present with mkfs.fat
<Glanzmann> espo: When I do it manually, I never had issues, but I try to use the installer to improve the enduser experience.
<espo> ah okay makes sense :)
<Glanzmann> espo: But honestly everything I was doing was mkfs.msdos /dev/...
<espo> thats odd
<Glanzmann> I don't mind it I mean we have in the efi partition like ... 4.9 MB so the 256MB is plenty.
<newchima[m]> Glanzmann: blinking orange "SOS" on the mini now
___nick___ has joined #asahi
<Glanzmann> newchima[m]: Did you delete the 2.5 GB stub partition?
<newchima[m]> yup
<Glanzmann> For me it just gave me the boot picker
<newchima[m]> in linux
<Glanzmann> I select Macos and that's it.
___nick___ has quit []
<newchima[m]> Glanzmann: I think it gets along with me just fine ;-) I don't like MacOS and it doesn't like me
willemml has quit [Quit: willemml]
<Glanzmann> newchima[m]: No but for real, if it I deleted the current partition, it just gives me a popup at boot with two options, one of them is select new startup device, I select it, that's it.
___nick___ has joined #asahi
<Glanzmann> I'll do it later and record it and send you the video.
<Glanzmann> So the Debian installer errored out on grub installation.
<newchima[m]> Glanzmann: don't worry about it. I've gotten pretty good with idevicerecovery
<Glanzmann> newchima[m]: If you don't mind, could you write me a little howto, because I wanted to do it a few times, and I did not find a quickstart howto.
<ciggi> my idevicerestore not worked, after initial reboot USB never shows up :(
<newchima[m]> Glanzmann: will work on it
<newchima[m]> Glanzmann: It will be based on Debian x86-64
<Glanzmann> newchima[m]: That would be really nice. Than we put in the wiki
<newchima[m]> ciggi: I did have that issue, was related to the version of usbmuxd (or similar named file)
<mps> new iwd 1.22 is buggy with brcmfmac driver, for few hours participated in #iwd channel by building/testing/pathing with upstream devs, soon will be 1.23 released which I tested already
<mps> for anyone in a hurry to upgrade, wait for 1.23 release
willemml has joined #asahi
<Glanzmann> So I installed Debian successfully on my wifes macbook air using wifi. Manual steps were u-boot, wifi, grub and kernel installation. Other than that it is straight forward. I'll now record it on the mini from scratch.
<Glanzmann> Maybe the Debian guys can give me some hints how to improve it.
<newchima[m]> Glanzmann: will wait for your guide and then follow for redoing my mini
<newchima[m]> Glanzmann: I'm in no rush right now
<Glanzmann> jannau: Just as a note, if you plug a monitor with the a new resolution, hdmi hotplug does not work.
<Glanzmann> newchima[m]: Will finish it probably in an hour or so.
<newchima[m]> Glanzmann: what are you using for the hdmi capture?
<jannau> Glanzmann: worked for me, does dcp crash?
<Glanzmann> jannau: Affirmative. https://pbot.rmdir.de/PANpuHYs9B98EfWqBov-lQ
<Glanzmann> jannau: Probably I should use alyssa patch?
<Glanzmann> newchima[m]: This is what I did. https://pbot.rmdir.de/6HphN-hACU5k5gCANCsIwA I'll now reboot and record for you my video
<jannau> I've already pushed alyssa's patch to github, your crash is different though
<Glanzmann> jannau: I see.
<Glanzmann> newchima[m]: This happened after I rebooted, I'm not making it up ... https://tg.st/u/stubosdeleted.mp4
willemml has quit [Quit: willemml]
espo has quit [Quit: Leaving]
willemml has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
DragoonAethis has quit [Quit: hej-hej!]
<newchima[m]> Glanzmann: I fully believed you that it worked for you, it just didn't want to work like that for me
DragoonAethis has joined #asahi
willemml has quit [Quit: willemml]
<jannau> Glanzmann: please try if https://gist.github.com/jannau/1f401adf372ccec6f305764785637b0b fixes it
<jannau> no, that's not it
Latrina has quit [Quit: Powered by AlpineLinux under the supervision of Docker.]
Latrina has joined #asahi
ciggi has quit [Remote host closed the connection]
<Glanzmann> Install Debian on m1 using u-boot and a usb-stick: https://tg.st/u/m1-d-i.mp4
<Glanzmann> Next time I record the screen, it can't be worse than that font ...
<Glanzmann> And here is the usb stick: https://tg.st/u/m1-d-i.tar.gz
<Glanzmann> I have not yet autmated the build process but will do that now and push the code.
jx0 has joined #asahi
<newchima[m]> Glanzmann: I had a thought - I am not as familiar with parted and I instead used gparted... I wonder if gparted changed something else that the system didn't like
<newchima[m]> Glanzmann: will try deleting using parted after installing as a test
<Glanzmann> newchima[m]: Do that and let me know if works.
<Glanzmann> But gparted should also do the same thing. Important thing is that you do not touch the first two and the last partition.
<jannau> fix the crash, I doubt hotplug will work
<Glanzmann> jannau: Thank you. I need to rebuild the kernel and bless a new boot obejct and than I can try.
<j`ey> Glanzmann: the hdmi grabber went wild today
<Glanzmann> j`ey: The problem is that I use them often 8 hours per day week after week and they get hot and they die. This is my third hdmi grabber in the last 12 months.
<Glanzmann> So I used my backup one which does have no passthrough.
<Glanzmann> I pushed the script to build d-i-stick https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian
yamii has quit [Quit: WeeChat 3.3]
<j`ey> Glanzmann: what does it show up as on the host? what program do you use to view it?
<Glanzmann> j`ey: For the recording I just used obs.
<Glanzmann> Previously I used a perl script which runs ffmpeg.
<Glanzmann> If you just want to 'see' it, I use mpv /dev/video0
<j`ey> i dont really have a use for one, but they look cool
<Glanzmann> j`ey: This is how it looks for me: https://tg.st/u/screenshot-air-2022-01-26-23_09_10.png
<j`ey> cool
<Glanzmann> j`ey: I do a lot of online trainings, so I bought a used tandberg camera with a 12x optical zoom 1080p resolution. It can also turn, focus and do a lot of other stuff. CAn be controled with a remote or serial port. And I need to get that into my laptop/system I use for the training, that is what I use the hdmi grabber mainly for.
<j`ey> fancy. I dont even have a webcam on my work machine :D
<Glanzmann> here is the camera: https://www.ebay.de/itm/353854488919?epid=1924612273&hash=item52635f0157:g:HAkAAOSwCQxh3zrL
<Glanzmann> j`ey: The problem with corona for me was at some point I really got sick of my headset.
<Glanzmann> My ears hurt. So I bought a forte tesira echo cancler and a shure microphone. A friend of mine already had the setup, I only needed to replicate it ... and that is what I now use when I do trainings and I'm not on the road ...
<sven> first world problems - Corona edition ;-P
<Glanzmann> If I'm on the road I use the m1 under macos or my thinkpad under windows.
<Glanzmann> sven: hrhr. Exactly. :-)
<Glanzmann> I hit bed now, will write the wiki page for the Debian installation tomorrow, now we have three different ways: d-i, live, dd
enid[m] has joined #asahi
<j`ey> Glanzmann: still a few manual steps, but not such a bad install now
<Glanzmann> I'll probably continue to use live, it is the fastest especially if you write the commands in a script and cut & paste them.
<Glanzmann> j`ey: I agree. Maybe I should show that to the debian people and ask them what they could do better or what I could do better ...
<Glanzmann> j`ey: Btw. You can also extract the initrd and put the wifi firmware in before you boot. Than the wlan interface comes up on first try.
<j`ey> that might be simpler, dunno
<Glanzmann> j`ey: Depends on if you feel comfortable extracting an intird tinker with it and put it back together, if you're than that is much better than doing this manual steps.
enid[m] has left #asahi [#asahi]
<Glanzmann> j`ey: And to be honest, just buy a ethernet dongle and use that.
<j`ey> heh
<Glanzmann> This was the first time I installed Debian over wifi.
<Glanzmann> n8
timokrgr has quit [Quit: User left the chat]
ciggi has joined #asahi
ciggi has quit []
chadmed has joined #asahi
timokrgr has joined #asahi
ciggi has joined #asahi
ciggi has quit []
ciggi has joined #asahi
chadmed has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi
MrHunk[m] has joined #asahi
MajorBiscuit has joined #asahi
willemml has joined #asahi
klaus has quit [Quit: Lost terminal]
aleasto has quit [Quit: Konversation terminated!]
willemml has quit [Quit: willemml]
willemml has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
<chadmed> i need alyssa's dcp driver to get a framebuffer on the j314s built in screen, right?
<j`ey> chadmed: no
<chadmed> yeah i didnt think so but ive tried simpledrm and simplefb and no dice (at least i can boot a roofs now, the wonders of a bit of sleep)
<j`ey> chadmed: can you paste dmesg?
<j`ey> chadmed: and i assume youre seein that the rootfs is booting via the serial port?
<chadmed> yeah i can see that it boots via the second serial port and i can interact with the debian installer initramfs if i cat that into the guest payload, but i cant login to my normal root from that tty
<j`ey> oh, so you can see the debian installer on the screen?
<j`ey> or via the serial
<chadmed> no i see it in picocom on ACM1
<chadmed> on my host machine
<chadmed> very peculiar behaviour