2021-12-28
00:43DarkShadow44 has quit [Quit: ZNC - https://znc.in]
00:43DarkShadow44 has joined #asahi
01:09balrog has quit [Quit: Bye]
01:14balrog has joined #asahi
01:36Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:38marcanj`ey: there is some APFS compression thing in use, but I don't know how to turn it on when copying the file out in the installer
01:43Dcow has joined #asahi
01:47marcanI conflated these two in the past since 11.x always used the global one, and now everyone is confused :<
02:16yuyichao has quit [Ping timeout: 480 seconds]
02:27riker77_ has joined #asahi
02:32snek has joined #asahi
02:32riker77 has quit [Ping timeout: 480 seconds]
02:32riker77_ is now known as riker77
02:38Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:39Dcow has joined #asahi
03:06yuyichao has joined #asahi
03:22amwBooted wifi/take5 on my MBA - everything working including wifi - but I get a USB WARN msg when I unplug the USB cable I boot the mba over - see https://paste.debian.net/1224994/
03:23chadmed has joined #asahi
03:24amwI think it is do with the kernel trying to use the USB cable as a gadget for a serial or something?
03:25amwIt seems harmless so I'm happy with my set up on the MBA - just waiting for the battery + u-boot NVME booting now
03:30Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:33Dcow has joined #asahi
03:34tpw_rulesit is worth noting that u-boot does not have drivers for the built in keyboard yet. and you might wish to apply this patch i made: https://github.com/tpwrules/nixos-m1/blob/main/nix/u-boot/0001-fix-slow-boot.patch to stop having to wait 60 seconds to load the kernel unless you press a key
03:36tpw_rulesyou might also have to futz with device trees. not sure if u-boot has the necessary stuff for the wifi, or can use linux's versions
03:42Dcow has quit [Ping timeout: 480 seconds]
03:43amwMyh expeience with u-boot was that you can use it to load the dtb and kernel image into memory from the disk - so hopefully I just need to put it in the right spot (/boot) on the nvme and all should be good - what could go wrong :-)
03:50phiologe has joined #asahi
03:53PhilippvK has quit [Ping timeout: 480 seconds]
04:00Dcow has joined #asahi
04:02caef^ has quit [Remote host closed the connection]
04:08Dcow has quit [Ping timeout: 480 seconds]
04:17yrwm^ has joined #asahi
04:18marvin24_ has joined #asahi
04:21marvin24 has quit [Ping timeout: 480 seconds]
04:50squags_ has joined #asahi
04:56squags has quit [Ping timeout: 480 seconds]
05:10Dcow has joined #asahi
05:18Dcow has quit [Ping timeout: 480 seconds]
06:00Dcow has joined #asahi
06:06nobodynada has quit [Ping timeout: 480 seconds]
06:08Dcow has quit [Ping timeout: 480 seconds]
06:37squags_ has quit [Ping timeout: 480 seconds]
06:40sailorek1234 has joined #asahi
06:47squags has joined #asahi
06:55squags has quit [Ping timeout: 480 seconds]
07:04squags has joined #asahi
07:12squags has quit [Ping timeout: 480 seconds]
07:18bpye has quit [Quit: The Lounge - https://thelounge.chat]
07:21squags has joined #asahi
07:24bpye has joined #asahi
07:29squags has quit [Ping timeout: 480 seconds]
07:38squags has joined #asahi
07:47squags has quit [Ping timeout: 480 seconds]
07:56squags has joined #asahi
07:58the_lanetly_052 has joined #asahi
08:12Dcow has joined #asahi
08:19babilen has joined #asahi
08:21Dcow has quit [Ping timeout: 480 seconds]
08:22squags has quit [Ping timeout: 480 seconds]
08:30squags has joined #asahi
08:38darkapex4 has joined #asahi
08:43darkapex3 has quit [Ping timeout: 480 seconds]
08:47Dcow has joined #asahi
08:55the_lanetly_052 has quit [Ping timeout: 480 seconds]
09:02the_lanetly_052 has joined #asahi
09:07the_lanetly_052__ has joined #asahi
09:08Dcow has quit [Ping timeout: 480 seconds]
09:11the_lanetly_052 has quit [Ping timeout: 480 seconds]
09:23the_lanetly_052__ has quit [Ping timeout: 480 seconds]
09:29darkapex has joined #asahi
09:35darkapex4 has quit [Ping timeout: 480 seconds]
09:38squags has quit [Ping timeout: 480 seconds]
09:46squags has joined #asahi
09:55squags has quit [Ping timeout: 480 seconds]
10:03squags has joined #asahi
10:34Dcow has joined #asahi
10:42Dcow has quit [Ping timeout: 480 seconds]
10:53marcanamw: I think there's something dodgy about gadget mode, yeah; I wouldn't worry too much about it for now
10:59mps has quit [Ping timeout: 480 seconds]
11:11squags has quit [Ping timeout: 480 seconds]
11:19squags has joined #asahi
11:21darkapex1 has joined #asahi
11:22mps has joined #asahi
11:25darkapex has quit [Ping timeout: 480 seconds]
11:27squags has quit [Ping timeout: 480 seconds]
11:37squags has joined #asahi
11:41malvo has quit [Ping timeout: 480 seconds]
11:44amwIs it possible to use the python to pre-process the .dtb so that it can be saved in the NVME partition and uboot can pick it up as normal?
11:46squags has quit [Ping timeout: 480 seconds]
11:53malvo has joined #asahi
11:54squags has joined #asahi
12:01marcanand the framebuffer address can change depending on what monitor you have plugged in, or could until apple broke it on the mini entirely
12:01marcanI really need to start making a pile of "don't do that" patches for linux/u-boot/etc - something that gives you big "don't do that" warnings every time someone tries to do something that won't work, like load a dtb :p
12:02squags has quit [Ping timeout: 480 seconds]
12:03marcanthis is distro-level stuff; I don't mind maintaining some trivial downstream patches like that just to save us headaches when people come here for support
12:07chadmed has quit [Quit: Konversation terminated!]
12:10squags has joined #asahi
12:18squags has quit [Ping timeout: 480 seconds]
12:21Dcow has joined #asahi
12:27squags has joined #asahi
12:50Dcow_ has joined #asahi
12:50Dcow has quit [Remote host closed the connection]
12:55Dcow_ has quit []
13:06Dcow has joined #asahi
13:14boardwalk has quit [Quit: Ping timeout (120 seconds)]
13:14boardwalk has joined #asahi
13:15jeffmiw has joined #asahi
13:20jeffmiwamw: if you want to boot directly to linux, you can just use the m1n1 direct payload method : just cat m1n1 with dtb and kernel image (and initrd if needed) and install this with kmutil (See wiki/developer-quickstart=> Direct payload booting)
13:26Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:28landscape15[m]is it safe to use fdisk to initialize a FAT partition created on macOS? I will install Linux on it then.
13:30kgarrington has joined #asahi
13:31kgarrington has quit [Remote host closed the connection]
13:31Dcow has joined #asahi
13:31Dcow has quit []
13:35squags has quit [Ping timeout: 480 seconds]
13:37aleasto has joined #asahi
13:38aleasto has quit [Remote host closed the connection]
13:40aleasto has joined #asahi
13:40aleasto has quit [Remote host closed the connection]
13:41aleasto has joined #asahi
13:43squags has joined #asahi
13:52squags has quit [Ping timeout: 480 seconds]
13:59squags has joined #asahi
14:23joske has joined #asahi
14:25mpsjoske: https://tpaste.us/kxg9 this is my POC script to install alpine on usb, look at 'cat ....' part
14:26DarkShadow44 has quit [Quit: ZNC - https://znc.in]
14:26DarkShadow44 has joined #asahi
14:39yuyichao has quit [Ping timeout: 480 seconds]
14:40mpsjoske: no, this script is intended to catenate m1n1, kernel and dtb in one file which must be installed with kmutil
14:43mpson top of script I defined 'model' variable and put value for my machine `model='j293'` but it intended be changed for users who install to set their model there
14:43joskemps: yes I understand, but I didn't run your script, I just used the cat line to create the macho binary from my m1n1 + kernel etc
14:48kettenismarcan: maybe you should look into what happens with the Linux device tree; I think we want to prevent it from being installed and/or shipped by distros as part of their device tree package
14:48jeffmiwjoske: can you paste the output of m1n1 somewhere ? the code checking the payload is here: https://github.com/AsahiLinux/m1n1/blob/23c3617cf2b0b22fe5e22d07c3f757ba19092b25/src/payload.c#L204
14:53joske has quit [Quit: Leaving]
14:54joske has joined #asahi
14:54joske has left #asahi [#asahi]
14:55joske has joined #asahi
15:03yuyichao has joined #asahi
15:06MajorBiscuit has joined #asahi
15:08squags has quit [Ping timeout: 480 seconds]
15:11sailorek1234 has quit [Quit: sailorek1234]
15:16squags has joined #asahi
15:24squags has quit [Ping timeout: 480 seconds]
15:29Dcow has joined #asahi
15:30hollister has joined #asahi
15:32squags has joined #asahi
15:38Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:41squags has quit [Ping timeout: 480 seconds]
15:48squags has joined #asahi
16:08c10l has quit [Quit: The Lounge - https://thelounge.chat]
16:08c10l has joined #asahi
16:09c10l has quit []
16:09c10l has joined #asahi
16:14malvo has quit [Ping timeout: 480 seconds]
16:15darkapex2 has joined #asahi
16:16yrwm^ has quit [Remote host closed the connection]
16:16Dcow has joined #asahi
16:20darkapex1 has quit [Ping timeout: 480 seconds]
16:32joske has quit [Ping timeout: 480 seconds]
16:33hollister has quit [Ping timeout: 480 seconds]
16:34joske has joined #asahi
16:46joske has quit [Remote host closed the connection]
16:46malvo has joined #asahi
16:46joske has joined #asahi
16:57squags has quit [Ping timeout: 480 seconds]
17:06squags has joined #asahi
17:14squags has quit [Ping timeout: 480 seconds]
17:21malvo has quit [Read error: Connection reset by peer]
17:21malvo has joined #asahi
17:23squags has joined #asahi
17:31squags has quit [Ping timeout: 480 seconds]
17:39squags has joined #asahi
18:13rose_ has joined #asahi
18:20rose_hey im back with more problems - im trying to get some output from u-boot to prove it works since upgrading to 12.1 (turns out i shouldn't have done that so eagerly lol) and i've heard that since 12.1, iboot no longer inits the framebuffer, which is why u-boot isn't displaying anything. apparently, there are people here who know the incantations
18:23tpw_rulesuse run_guest.py or whatever and then open /dev/ttyACM1 (before you start run_guest) and it should come up on console
18:24rose_yeah long term we're trying to boot netbsd, i dont really understand which scripts do what so we've mostly been using wrangled versions of linux.py
18:24tpw_rulesif you do cat m1n1.bin u-boot.dtb u-boot-nodtb.bin > blah.bin then run_guest that it should work
18:25rose_btw, where do people tend to build u-boot from? from the logs earlier it seems there are a few forks, but idk which ones the most likely to work
18:26rose_ has quit [Quit: Connection closed]
18:26j`eykettenis' is the defacto standard https://github.com/kettenis/u-boot/commits/apple-m1-m1n1-nvme
18:47squags has quit [Ping timeout: 480 seconds]
18:55squags has joined #asahi
19:03squags has quit [Ping timeout: 480 seconds]
19:13squags has joined #asahi
19:25yuyichao_ has joined #asahi
19:28yuyichao has quit [Ping timeout: 480 seconds]
20:09artemist has quit [Ping timeout: 480 seconds]
20:32thickrocks has quit [Read error: Connection reset by peer]
20:32tdmm has quit [Read error: Connection reset by peer]
20:32thickrocks has joined #asahi
20:32tdmm has joined #asahi
20:35joske has quit [Quit: Quit]
20:35joske has joined #asahi
20:37joskej`ey: that way indeed it boots straight to linux. However, as the pcie_enable script didn't run, no wifi. Any way to solve that?
20:38artemist0 has joined #asahi
20:57yuyichao has joined #asahi
21:01yuyichao_ has quit [Ping timeout: 480 seconds]
21:05monn has joined #asahi
21:19joske has quit [Remote host closed the connection]
21:48monn has quit [Quit: Quit]
22:12MajorBiscuit has quit [Quit: WeeChat 3.3]
23:21artemist0 has quit [Remote host closed the connection]
23:26artemist0 has joined #asahi
23:40artemist0 has quit [Ping timeout: 480 seconds]