2021-12-11
00:54kgarrington has joined #asahi
00:54kgarrington has quit [Remote host closed the connection]
01:01aleasto has quit [Quit: Konversation terminated!]
01:22aidenfoxivey has quit [Quit: aidenfoxivey]
01:22aidenfoxivey has joined #asahi
01:25darkapex1 has joined #asahi
01:30darkapex has quit [Ping timeout: 480 seconds]
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi
02:25Techcable has quit [Ping timeout: 480 seconds]
02:28aidenfoxivey has quit [Ping timeout: 480 seconds]
03:11PhilippvK has joined #asahi
03:15phiologe has quit [Ping timeout: 480 seconds]
03:23aidenfoxivey has joined #asahi
04:26Techcable has joined #asahi
04:29slicey has quit [Quit: zzz]
04:29marvin24 has joined #asahi
04:33marvin24_ has quit [Ping timeout: 480 seconds]
04:35malvo has quit [Read error: Connection reset by peer]
04:35malvo has joined #asahi
04:38dsrt^ has joined #asahi
05:53boardwalk has quit [Quit: Ping timeout (120 seconds)]
05:54boardwalk has joined #asahi
06:15dsrt^ has quit [Remote host closed the connection]
06:19Jamie[m]1 has joined #asahi
06:19BlitzWorks has quit [Server closed connection]
06:27slicey has joined #asahi
06:28hexchain has quit [Server closed connection]
06:29hexchain has joined #asahi
06:40amw has quit [Server closed connection]
06:40amw has joined #asahi
06:54slicey has quit [Quit: zzz]
06:57Namidairo has quit [Quit: ZNC - https://znc.in]
06:57Namidairo has joined #asahi
07:19hendry1 has quit [Server closed connection]
07:19hendry1 has joined #asahi
08:03dsrt^ has joined #asahi
09:00slicey has joined #asahi
09:10riker77 has quit [Quit: Quitting IRC - gone for good...]
09:17NightRaven[m]any idea why this is showing when compiling linux ```*** Default configuration is based on 'defconfig'... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/BshmyJTAeBRHnqyharxnbPzR)
09:19NightRaven[m]oh ok
09:21NightRaven[m]j`ey: how do you install a cross compiler
09:21NightRaven[m]* cross compiler on mac
09:22NightRaven[m]j`ey: i am going to compile the kernel on my rpi then transfer the Image.gz to my m1
09:22NightRaven[m]and do the cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') nk.gz nk-t8103-j293.dtb > ../nk.macho
09:24NightRaven[m]mps: that is fine
09:26NightRaven[m]but i am not sure how i can install a cross compiler on rpi
09:27NightRaven[m]yea i do have it and i get that error
09:28NightRaven[m]j`ey: i do
09:31NightRaven[m]j`ey: ok i removed it
09:48NightRaven[m]it still building
10:09hendry1 has quit []
10:09hendry has joined #asahi
10:11Jamie[m]1on that note, has anyone else had kernel panics when trying to run VMs from macos, or is that just a me problem? :P
10:14Jamie[m]1(M1 pro on 12.0.1, UTM from App Store with default settings and a nixos aarch64 sd card image)
10:14NightRaven[m]<zimsneexh> "Wont it take forever to build..." <- i am not sure
10:15NightRaven[m]it is at this part ```CC crypto/rsa.o
10:15NightRaven[m] CC crypto/rsa_helper.o```
10:17NightRaven[m]it just an sd card
10:20aleasto has joined #asahi
10:29riker77 has joined #asahi
10:53mpskettenis: this is how I creare it: cat m1n1.macho u-boot/arch/arm/dts/t8103-j293.dtb u-boot/u-boot-nodtb.bin > u-boot.macho
10:56marcanlinux.py *should* be roughly equivalent to the cat method, but I can't say there aren't any bugs
10:56marcanwe did have that breaking change about requiring a compatible DT, but that shouldn't be the problem here
10:56sveni've been using linux.py up until ~two weeks ago or so when i updated my macbook air monterey. back then it still worked
10:58kettenisalso, I'm exclusively using "my" t8103-j293.dtb, not the one from the asihi Linux branch
10:59BlitzWorks has joined #asahi
11:03darkapex2 has joined #asahi
11:07darkapex1 has quit [Ping timeout: 480 seconds]
11:09darkapex3 has joined #asahi
11:11riker77 has quit [Quit: Quitting IRC - gone for good...]
11:11NightRaven[m]CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/timer/gk20a.o i am at this part
11:12NightRaven[m]how much left
11:12NightRaven[m]is there a prebuilt image.gz i can get
11:14darkapex2 has quit [Ping timeout: 480 seconds]
11:14NightRaven[m]thank you
11:17NightRaven[m]does any one have "nk-t8103-j293.dtb "
11:20NightRaven[m]oh ok
11:22NightRaven[m]mps: it says ../nk.machos not found what do i change that too
11:22NightRaven[m]```cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') .gz nk-t8103-j293.dtb > ../nk.macho```
11:22riker77 has joined #asahi
11:23NightRaven[m]s/```cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') .gz nk-t8103-j293.dtb > ../nk.macho```/`cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') Image.gz t8103-j293.dtb > ../nk.machoo`/
11:23NightRaven[m]ok i did that
11:23NightRaven[m]`cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') Image.gz t8103-j293.dtb > m1n1.macho`
11:24NightRaven[m]`warning: An error occurred while redirecting file 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait'
11:24NightRaven[m]open: No such file or directory`
11:24NightRaven[m]but it show's this
11:24NightRaven[m]can i remove that
11:24NightRaven[m]Image.gz
11:24NightRaven[m]do i remove `echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait'`
11:25NightRaven[m]so the shell if fish but the machine is my rpi running manjaro
11:26NightRaven[m]ok done
11:27NightRaven[m]but i changed .dtb to .dts
11:27NightRaven[m]since there was no .dtb
11:27NightRaven[m]but there is not .dtb in the root directorty
11:28j`eyNightRaven[m]: you need to run that make command in the linux dir and put 'dtbs' at the end, then it should just build the dtbs
11:28NightRaven[m]s/directorty/directory/
11:28NightRaven[m]ohhh ok
11:36NightRaven[m]ok so i tried booting and the kernel failed it said
11:37NightRaven[m]it booted me back to recovery mode any idea ?
11:37slicey has quit [Quit: zzz]
11:39NightRaven[m]then how can i show how it failed it just kept glitching and then it said kernel failed to laid and it gave me an option to restart or go back to recovery mode
11:43darkapex4 has joined #asahi
11:48darkapex3 has quit [Ping timeout: 480 seconds]
11:51* NightRaven[m]uploaded an image: (79KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ETMSMxKzYfFXfExYYhOTTAau/PXL_20211211_115059572.jpg >
11:51* NightRaven[m]uploaded a video: (8123KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LRPeotUqugRddwrMTUfvkjOZ/PXL_20211211_115013257.mp4 >
11:52NightRaven[m]My camera is quite bad but I sent a pic for what it says
11:56j`eyI would just try get the m1n1.macho and nothing else working again, just to ge tbac to that working step
11:56NightRaven[m]Ok I will only try to boot m1n1 now
12:05NightRaven[m]I mean I have the file builded so now I wil try to get to the proxy part
12:09* NightRaven[m]uploaded an image: (124KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/uWTDMisFHLuTOeywUfPDswuH/PXL_20211211_120908002.jpg >
12:09NightRaven[m]Good news
12:10NightRaven[m]But when I combine image.gz and the keyboard thing then it breaka
12:10NightRaven[m]s/breaka/breaks/
12:13mpskettenis: marcan: I found what is my problem with u-boot, and why it stopped to work. it doesn't find proper partition with grub and it stops. so no problem with m1n1
12:20NightRaven[m]so when i run `make ARCH=arm64 -j8 Image dtbs` i get this `make: *** [Makefile:1477: dtbs] Error 2`
12:22NightRaven[m]installing
12:22NightRaven[m]still same error
12:23NightRaven[m]ok changed to that now
12:24NightRaven[m]`Makefile:656: arch/aarch64/Makefile: No such file or directory... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/yFTjmNXtGHUHyPLtSGFFhZaH)
12:25NightRaven[m]no arm64
12:27NightRaven[m]oh ok wait let me find it
12:27NightRaven[m]` SYNC include/generated/autoconf.h... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/NRpAFrqsshrgQhDNVXWLMlEh)
12:27NightRaven[m]this is all the output
12:28NightRaven[m]yea asahi/linux
12:30NightRaven[m]`On branch asahi
12:30NightRaven[m]Your branch is up to date with 'origin/asahi'.`
12:32NightRaven[m]<NightRaven[m]> "PXL_20211211_115013257.mp4" <- i am trying to fix this
12:32NightRaven[m]`On branch asahi... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/WiaPUBpCJkABhnKwTSydAUUH)
12:32NightRaven[m]s/`/``/, s/`/``/
12:32NightRaven[m]yea i moved it
12:32NightRaven[m]to my home directory on my rpi
12:33j`eysorry but, if you see this error: "make[2]: *** No rule to make target 'arch/arm64/boot/dts/apple/t8103-j293.dtb', needed by '__build'. Stop.
12:33NightRaven[m]so i can do ```cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') nk.gz nk-t8103-j293.dtb > ../nk.macho```
12:34NightRaven[m]oops sorry i did not read it probably i thought the bulid will generate it
12:35NightRaven[m]oh ok sorry
12:36NightRaven[m]the image.gz is right but what if i don't put ```echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait``` this in
12:37NightRaven[m]hmm ok i will only put the image.gz in and the .dtb
12:39riker77 has quit [Quit: Quitting IRC - gone for good...]
12:50riker77 has joined #asahi
13:00NightRaven[m]i am going to build linux again on ubuntu
13:02* NightRaven[m]uploaded an image: (1357KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/vUgEMWkDUnlrpITtwcrRVkCU/Screenshot%202021-12-11%20at%2013.02.15.png >
13:02NightRaven[m]hope this would be faster
13:02NightRaven[m]* i hope this
13:46NightRaven[m]hmm ok
14:10aleasto has quit [Remote host closed the connection]
14:39NightRaven[m]so i have a question if i run this ```make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig
14:39NightRaven[m]./scripts/config --set-val CONFIG_FB_SIMPLE y``` and it shows Default configuration is based on ''defconfig
14:39* NightRaven[m]uploaded an image: (304KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/fHXCQaWsVpyDqouNmFYRdWUb/Screenshot%202021-12-11%20at%2014.39.38.png >
14:47NightRaven[m]<j`ey> "open .config to verify CONFIG_FB..." <- it is
14:48NightRaven[m]but like it is supposed to build it it worked on my raspberry pi
14:48NightRaven[m]but on my ubuntu vm it is not
14:49steevneither of those commands builds the kernel, one creates the .config, one modifies it. you attempt to "cd .config" but .config is a file, not a directory
14:50NightRaven[m]i thought ```make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig``` build its
14:52NightRaven[m]ohh ok
14:54NightRaven[m]ok so when i do make i get an openssl error but i have openssl installed
14:54* NightRaven[m]uploaded an image: (304KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/nouLJybDTRfCmHifsxmQcHUg/Screenshot%202021-12-11%20at%2014.39.38.png >
14:54* NightRaven[m]uploaded an image: (209KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/cGFvLemaeUjgvhjKWOraycSs/Screenshot%202021-12-11%20at%2014.54.32.png >
14:58NightRaven[m]it is libssl-dev
14:59NightRaven[m]but ubuntu has to have that
15:24NightRaven[m]```"cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') nk.gz nk-t8103-j293.dtb > ../nk.macho``` instead of this can i use this ```$ cat build/m1n1.macho Image.gz build/dtb/apple-j274.dtb initramfs.cpio.gz > m1n1-payload.macho``` and how can i get initramfs.cpio.gz i already have the .dtb file and Image.gz file
15:39NightRaven[m]```cat m1n1.macho cImage.gz.gz t8103-j293.dtb > m1n1-payload
15:39NightRaven[m]``` is this fine
15:39NightRaven[m] * `cat m1n1.macho cImage.gz.gz t8103-j293.dtb > m1n1-payload.macho` is this fine
15:40NightRaven[m] * `cat m1n1.macho Image.gz t8103-j293.dtb > m1n1-payload.macho` is this fine
15:48NightRaven[m]for now i am fine i will try too boot it
15:55* NightRaven[m]uploaded an image: (85KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/kaTHJPdHeYrTZHXOKzflAoaG/PXL_20211211_155426605.jpg >
15:55NightRaven[m]It's stuck on this
15:55NightRaven[m]But it booted
15:55NightRaven[m]But why would it Panic
15:59NightRaven[m]Ok but how can I get rootFS working on a usb and what kernel args
16:18NightRaven[m]Glanzmann: so to create a rootFS USB do I have to format the drive to ext and copy everything in / and put it into the USB
16:25NightRaven[m]<zimsneexh> "you download the rootfs tar..." <- Ok sorry I am a noob at linux but how do you get rootFS.tar and then put it in kernel params
16:27NightRaven[m]I can't find it i went up and I only see the mkfs.ext4
16:31zimsneexhThat's the rootfs I used: https://rootfs.debian.net/bookworm-arm64-networking-20210914.tar.gz
16:32NightRaven[m]Oh ok I will extract that to my USB
16:33NightRaven[m]Just sudo
16:33NightRaven[m]For root
18:01NightRaven[m]i have a question when i extract the rootfs can the FAT
18:02NightRaven[m]or does it have to be ext4
18:05NightRaven[m]hmm ok
18:06NightRaven[m]if i want to move all the files from tmpdir so i do sudo mv * /mnt/DRIVENAME or do i just leave tmpdir as a folder and move it to DRIVENAME
18:13jmr2 has joined #asahi
18:13dsrt^ has quit [Remote host closed the connection]
18:16jmr2I haven't had the time to fully watch it yet, but I thought that all SPI tests would happen with the keyboard, given the extra risks with the nor flash.
18:18jmr2Anyway, thanks. I should spend more time watching the streams and less asking questions :-D
18:26NightRaven[m]so i have a question i have the tempdir folder do i just move the tempdir folder to the usb that has ext4 or do i move everything in the folder to the usb and if i have to move everything in tempdir then how do i do it since i have tried to do sudo mv * /mnt/DIskname since it won't move dev
18:28linearcannon has quit [Read error: Connection reset by peer]
18:33jmr2 has quit [Quit: Page closed]
18:51* NightRaven[m]uploaded an image: (43KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dsCGjeuRUvViGMAiXgteFuqT/Screenshot%202021-12-11%20at%2018.51.49.png >
18:52NightRaven[m]so i have all the files in there
18:52NightRaven[m]but how can i set root password ?
18:53NightRaven[m]zimsneexh: how can i check again ?
18:53zimsneexhj`ey: Hm, haven't had much luck getting sway to run on this at all, but i'll give it another shot
18:54NightRaven[m]zimsneexh: i am
18:54* NightRaven[m]sent a Architecture code block: https://matrix.org/_matrix/media/r0/download/matrix.org/GHsXWrZReRLLIJzOkvXdwHrN
18:56NightRaven[m]zimsneexh: when i do chroot /bin/bash in the directory i get ```nightraven@manjaro ~> chroot /mnt/debain/bin/bash
18:56NightRaven[m]nightraven@manjaro ~ [125]> ```
18:56NightRaven[m]chroot: cannot change root directory to '/mnt/debain/bin/bash': Not a directory
18:56NightRaven[m]bash is a file
18:57NightRaven[m]i am in
18:57* NightRaven[m]sent a nightraven code block: https://matrix.org/_matrix/media/r0/download/matrix.org/irPPZMKKsVAQevMdhrUxebvv
18:57NightRaven[m]is this right tho
18:57NightRaven[m]* right tho ?
18:57NightRaven[m]i did ```nightraven@manjaro ~ [125]> sudo chroot /mnt/debain/```
18:58NightRaven[m]it is
19:00NightRaven[m]but i cannot do these ```# chainload m1n1... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/dGpstMquCIqdJVAeXHPyiekR)
19:00NightRaven[m] * but i cannot do these ```# chainload m1n1... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/AqHNvmaBfquAbGnYhuovxJVw)
19:00NightRaven[m]s/macho/machoboot/, s/# boot//
19:00NightRaven[m]s/```#/`#/, s/#//, s/```/`/
19:05NightRaven[m]i already have a macho file with kernel and the .dtb file
19:05NightRaven[m]zimsneexh: and it panics since there is not rootfs
19:06NightRaven[m]so if i plug in the and run the .macho file again will it work or do i have to add some params to do it ?
19:10GlanzmannNightRaven[m]: If you create a new macho file, you have to boot in 1tr again by holding the power button key long and bless it using kmutil configure-boot -c m1n1.macho -C -v /Volumes/Linux
19:10GlanzmannNightRaven[m]: So what did you manage so far? Are you able to boot to the usb stick already?
19:11NightRaven[m]Glanzmann: "/Volumes/MyUSB"
19:11NightRaven[m]right ?
19:11NightRaven[m]but there is nothing in /Volumes/Linux
19:12GlanzmannBut in order to prepare the usb stick you have to do the following from a __linux__ machine:
19:12NightRaven[m]Glanzmann: which i do have
19:13NightRaven[m]Glanzmann: but /Volumes/Linux has nothing right ?
19:13NightRaven[m]* has nothing in it right ?
19:13NightRaven[m]Glanzmann: yes
19:13NightRaven[m]and i made a macho file with the kernel in it and the .dtb file
19:14NightRaven[m]Glanzmann: No
19:14NightRaven[m]not with the usb stick
19:14NightRaven[m]that is what i am stuck on
19:15nabaiste^ has joined #asahi
19:16NightRaven[m]i have not made the /Volumes/Linux Yet
19:17NightRaven[m]Glanzmann: does there have to be anything in /Volumes/Linux
19:18NightRaven[m]ohh no internet driver right ?
19:18NightRaven[m]j`ey: for now that is fine
19:18NightRaven[m]i just want arch working
19:20NightRaven[m]<NightRaven[m]> "PXL_20211211_155426605.jpg" <- as i have said i have gotten it working but it is not permanently installed and it panics since no rootfs
19:20NightRaven[m]Glanzmann: but my question is how can i get rootfs working with m1n1.macho
19:21NightRaven[m]the macho has the kernel and the .dtb
19:21GlanzmannOkay good. Now you have to build another one and specify as kernel command line: net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4
19:23GlanzmannNightRaven[m]: You did not put a partition table on the usb stick, right? And you did a tar -xf of the rootfs on the usb stick and you can see the usual directories like etc lib usr etc on the usb stick?
19:24NightRaven[m]so this ```cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') > m1n12.macho``` m1n1.macho is the one with the kernel and the .dtb file
19:24NightRaven[m]Glanzmann: yep
19:24NightRaven[m]NightRaven[m]: is this right
19:25NightRaven[m]can you show it please
19:27NightRaven[m]i already did that
19:27NightRaven[m]Glanzmann: i already set the root password
19:27NightRaven[m]so that is gone
19:28NightRaven[m]but what is the correct sysntax for this ```cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') > m1n12.macho```
19:28NightRaven[m]oh ko
19:28NightRaven[m] * oh ok
19:30Glanzmanncat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz model.dtb > nr.macho
19:30NightRaven[m]oh ok thanks i will try that now
19:30GlanzmannThat is the right syntax. m1n1.macho is the m1n1, Image.gz is the kernel model.dtb is the dtb for your notebook.
19:31GlanzmannThan you have to boot in 1tr (one true recovery) on your macbook and run: kmutil configure-boot -c nr.macho -C -v /Volumes/Linux
19:32NightRaven[m]Glanzmann: but i do not have /Volumes/Linux
19:32NightRaven[m]Glanzmann: i have that
19:32NightRaven[m]do not worry
19:32GlanzmannNightRaven[m]: The /Volumes/Linux or however you called it is just a stub partition that is necessary to kick off the bootloader (m1n1 which than loads the kernel, sets the kernel command line and boots).
19:33NightRaven[m]Glanzmann: but i do /Volumes/Macintosh HD
19:33GlanzmannNightRaven[m]: Than you're done. You have installed Linux. However. If you want to boot linux without the usb stick.
19:33NightRaven[m]Glanzmann: yea
19:34NightRaven[m]Glanzmann: nope not yet
19:34GlanzmannNightRaven[m]: I'll probably record all the steps from scratch in a video and talk a little bit while I'm doing it so that it is easier for others to follow the steps.
19:35NightRaven[m]hmm ok just give me a ping when you do it : )
19:35GlanzmannNightRaven[m]: You should do that as well while you're in macos so that once you managed to boot from the the usb stick that you can copy the files over.
19:36NightRaven[m]for now i will boot into the usb too see if it works
19:36NightRaven[m]then i will do it
19:37NightRaven[m]ok i will create one
19:37GlanzmannYou just need to create the partition, format it with ext4, copy the content over without screwing up the permissions and change the kernel command line again.
19:37NightRaven[m]hmm ok
19:38GlanzmannThan, since you're on a laptop you also need to do the wifi firmware dance, or us a usb network adapter. for the start use a usb network adapter.
19:38NightRaven[m]Glanzmann: might try to get the wifi firmware
19:38NightRaven[m]i have no usb adapter
19:38NightRaven[m]hmm ok
19:39NightRaven[m]any good ones on amazon you can recommend
19:40svenfwiw, this will all be done automatically in the installer once we are actually ready for a end user release
19:40GlanzmannI bought this one: https://www.amazon.de/-/en/gp/product/B0871ZL9TG/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 works like a charm.
19:41NightRaven[m]yea ok i will get it thanks i am going to restart now to see if it works
19:46* NightRaven[m]uploaded an image: (131KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/encitDgAeTCJfKnJGDZwzxMG/PXL_20211211_194633226.jpg >
19:46NightRaven[m]Now I get running proxy
19:47GlanzmannYou need to run: cat m1n1.macho <(echo 'net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz model.dtb > nr.macho
19:47NightRaven[m]I did
19:48NightRaven[m]I did
19:48NightRaven[m]Instead of Linux I did macintosh hd
19:48NightRaven[m]Since I do not have Linux
19:48GlanzmannThan you did something wrong. Maybe you m1n1.macho was the thing that you build before or so.
19:49NightRaven[m]Ok I will try again
19:50NightRaven[m]Ok I will do that now
19:52NightRaven[m]this is my ```cat m1n1.macho <(echo 'boot-rgs=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz t8103-j293.dtb.dtb > nr.mach```
19:52NightRaven[m]command
19:53NightRaven[m]s/```/`/, s/.dtb//, s/```/`/
19:53NightRaven[m]my bad
19:54NightRaven[m]ok will try again nwo
19:58* NightRaven[m]uploaded an image: (73KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TJrmSSeXwqZVeRJHNDieFUjK/20211211_195814_2969098457000992087.jpg >
19:58GlanzmannNightRaven[m]: This picture could mean, that you have booted the kernel but do not have framebuffer in the kernel config.
19:58* NightRaven[m]uploaded an image: (70KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/woalWRzGFKVQmlZNbREbKbdK/20211211_195831_5286240296849974169.jpg >
19:59NightRaven[m]Still stuck at the logo
19:59NightRaven[m]zimsneexh: I did
19:59GlanzmannNightRaven[m]: Maybe I will build you a kernel using the latest thing from jannau. Give me one second.
19:59NightRaven[m]The 2nd pic is the rootFS system
19:59NightRaven[m]Glanzmann: Ok
20:00NightRaven[m]Glanzmann: Just give me a ping when you have image.gz
20:00kgarrington has joined #asahi
20:01kgarrington has quit [Remote host closed the connection]
20:03zimsneexhjannau: I managed to get dmesg of the touchpad dying on MBA (j313). Would that still be helpful?
20:07Glanzmannjannau: When you watch youtube videos, do you have tiering? I was able to watch videos with xorg, wayland but have always tiering.
20:09zimsneexhjannau: In case it is, although I'm not sure which branch this kernel build is from.. Here: https://zimsneexh.eu/x/applespi-touchpad-not-working.txt
20:10Glanzmannzimsneexh: I'll install Linux on my macbook air later tonight and will work for a few days with it. Let you know how it goes for me.
20:11zimsneexhGlanzmann: I've been messing with it today and yesterday and with sway it's quite usable actually
20:11zimsneexhapart from the wifi not working and my only usb-wifi dongles driver not building on aarch64
20:12kettenisGlanzmann: u-boot can't load m1n1; it's the other way around (you use u-boot as a payload for m1n1)
20:13sproede[m] has joined #asahi
20:14jannauzimsneexh: kind of known although I think I say corrupted packet messages (ignore the first). dmesg might have at the top a git hash
20:16mpsGlanzmann: tested with usb stick, kernel boots fine but have to use usb keyboard because internal one doesn't work
20:17kettenisthen you can load your kernel from any device supported by u-boot (and any filesystem supported by grub)
20:19aidenfoxivey has quit [Quit: aidenfoxivey]
20:19aidenfoxivey has joined #asahi
20:21NightRaven[m]ok i am going to try with the new Image.gz again and the .dtb
20:22mpscould I somehow tell u-boot to first try external usb disk and if it is not found to try to find uefi on nvme
20:22nico_32 has quit [Ping timeout: 480 seconds]
20:26GlanzmannHas marcan already agreed on a method to pass the wifi firmware from macos to Linux? Because we could already dd a ext4 on the linux parition, would make installation less cumbersome and would not require a second system.
20:27* NightRaven[m]uploaded an image: (76KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KzVNttgPBEFueLfGKKYqPnOH/20211211_202654_4035574917120016196.jpg >
20:27NightRaven[m]But how can I fix that
20:29NightRaven[m]But why doesn't it not work
20:30NightRaven[m]Oooh ok I will give it time
20:30GlanzmannThere might be some hickups that need to be figured out, or I made a mistake when I build the kernel.
20:31jannauI have j314c, let me check if there's a problem with the keyboard node in j293 (macbook pro 13") but not in j131 (macbook air)
20:31juergen has joined #asahi
20:31juergen has quit [Quit: Leaving]
20:33NightRaven[m]But my question is where can I get the arch rootFS
20:33NightRaven[m]Glanzmann: Why
20:34jmr2 has joined #asahi
20:34GlanzmannNightRaven[m]: Because I screwed up building your kernel. That is probably why the keyboard was not working.
20:34NightRaven[m]Glanzmann: Oh ok I will try again
20:34GlanzmannNightRaven[m]: So you need to do the nr.macho dance again (download, concat, and so on)
20:35NightRaven[m]Oh ok will do that
20:35jmr2jannau: understood. Sorry if I sounded accusatory, that wasn't the intent - i was just very surprised.
20:38nico_32 has joined #asahi
20:43jmr2 has quit [Quit: Page closed]
20:47NightRaven[m]<Glanzmann> "NightRaven: So you need to do..." <- i will reboot now too see if keyboard works
20:52NightRaven[m]It says running proxy now
20:54NightRaven[m]It actually a HDD and it's /dev/sda
20:54NightRaven[m]Glanzmann: Sure
20:54NightRaven[m]Do it
20:55NightRaven[m]Give me a ping when you have the file
20:57NightRaven[m]Thanks
20:57GlanzmannI used the following command line: cat ./m1n1/build/m1n1.macho <(echo 'boot-args=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') ./linux-2.6/arch/arm64/boot/Image.gz ./linux-2.6/arch/arm64/boot/dts/apple/t8103-j293.dtb > nr.macho
20:58inffy[m] has joined #asahi
21:01NightRaven[m]Oh ok thx
21:02as400 has joined #asahi
21:02aidenfoxivey has quit [Read error: Connection reset by peer]
21:03zimsneexh has quit [Read error: Connection reset by peer]
21:03NightRaven[m]<Glanzmann> "NightRaven: ping https://ab34.de..." <- When I curl that it does not work
21:04NightRaven[m]It says 301 moved permanently
21:04NightRaven[m]I got it now
21:07zimsneexh has joined #asahi
21:09Graypup_ has quit [Quit: meow]
21:11Graypup_ has joined #asahi
21:16NightRaven[m]OMG the keyboard works thanks so much I appreciate your help
21:16GlanzmannNightRaven[m]: Next step is to do crate a dos fat partition under macos, reboot into linux and put your archlinux on it.
21:17NightRaven[m]Ok so help me here I make one partion
21:17NightRaven[m]Sure can I see
21:18NightRaven[m]Sure you can record it if you want
21:19NightRaven[m]But do I only make one partion
21:19NightRaven[m]And make it dos
21:19NightRaven[m]And put arch rootFS there
21:20jannauas400: no, there is no cpufreq driver in the tree. m1n1 changes the P cores cpu clock to 2 GHz though, the E cores are already running at their max
21:24NightRaven[m]Glanzmann: So then format the one partion to ext4 and put rootFS there
21:24NightRaven[m]Wait this is confusing
21:25NightRaven[m]3 partions
21:25GlanzmannNightRaven[m]: The asahi installer created one 2.5 GB partition. This is the one you're using to boot from right now.
21:25jannauas400: look at proxyclient/experiments/cpu_pstates.py or src/cpufreq.c to change the frequency
21:26NightRaven[m] Ok I will make a 100gb partion for rootFS
21:26NightRaven[m]3gb for m1n1 so the macho file
21:27GlanzmannNightRaven[m]: yeah, but the 3gb partition is already there, you do not need to create it.
21:27GlanzmannI forgot how to create a msdos parition on macos. Once I figure it out, I'll record it.
21:27NightRaven[m]Ok do you have the rootfs for arch
21:27GlanzmannI should actually record the whole process once, because I'm always struggeling with the same steps.
21:28NightRaven[m]Hmm ok
21:28NightRaven[m]Tell me when you finish the recording give me a ping
21:28NightRaven[m]Glanzmann: Jannau
21:28NightRaven[m]Hmm ok will try to find
21:28NightRaven[m]Glanzmann: Thanks so much
21:29NightRaven[m]Glanzmann: oh ok thanks so much
21:30NightRaven[m]well i have to go now but good luck on the partion c ya tomorrow : )
21:34tertu2 has joined #asahi
21:36tertu has quit [Ping timeout: 480 seconds]
22:02as400 has quit [Quit: Page closed]
22:04landscape15[m]Is it possible to run my custom rootFS from an external USB, without connecting with an other pc?
22:05Glanzmannjannau: Thank you for your tree. I have X running on my macbook air with keyboard and touchpad.
22:05landscape15[m]Glanzmann: yeah I have the stub macOS partition set up (with m1n1 installed), but I don’t know what to do next.
22:08Glanzmannlandscape15[m]: Than you build a chain with m1n1, linux commandline, linux kernel and optional ramdisk copy it in 1tr and run the kmutil to bless it that's it.
22:10Bicet[m] has joined #asahi
22:10landscape15[m]Glanzmann: ok, so I only need to change the boot object in 1TR. I read this https://ab34.de/u/asahi.txt
22:11Glanzmanncat m1n1.macho <(echo 'boot-args=net.ifnames=0 rw root=/dev/sda rootwait rootfstype=ext4') Image.gz t8103-j293.dtb.dtb > nr.macho
22:13Glanzmanncan someone tell me how do I use the middle and right mouse key with macbook air under Linux (I can't paste stuff anylonger)
22:14GlanzmannThe macbook air under Linux feels nice. And no distrcations without video playback and audio.
22:15landscape15[m]Glanzmann: ok, I put the new macho in my Linux partition, and then set it in 1TR right?
22:16Glanzmannjannau: Thank you again for providing the patchset, I can finally get some work done on my macbook air.
22:16bps2 has joined #asahi
22:19NightRaven[m]Glanzmann: i literally cannot sleep
22:19NightRaven[m]Glanzmann: nicd
22:19NightRaven[m]> <@_oftc_Glanzmann:matrix.org> NightRaven: I did the partitioning under Linux, under macos it is to cumbersome.
22:19NightRaven[m] * nice
22:20NightRaven[m]but one question is there a way to fully delete mac os like clean ssd and install arch on it
22:20NightRaven[m]Glanzmann: why like once wifi driver is supported and audio
22:21NightRaven[m]Glanzmann: but like in future maybe you can do it on linux
22:21NightRaven[m]or something
22:21GlanzmannNightRaven[m]: wifi already works, trying it right now myself for the first time. Audio is work in progress. The mini is pretty usable.
22:21NightRaven[m]Glanzmann: the wifi
22:22NightRaven[m]is there a git or a boot argument for the macho
22:22NightRaven[m]for the wifi
22:23GlanzmannSomeone, forgot who, told me to do this: https://pbot.rmdir.de/mIkzgFqXarmEKSe3Sg9vyQ Trying right now.
22:24NightRaven[m]Glanzmann: cool give me an update if it works
22:24NightRaven[m]might work
22:25NightRaven[m]zimsneexh: how about a wifi dongle
22:26* landscape15[m]is Ubuntu good to compile the boot object?
22:26NightRaven[m]> * <@landscape15:matrix.org> is Ubuntu good to compile the boot object?
22:27NightRaven[m]> * <@landscape15:matrix.org> is Ubuntu good to compile the boot object?
22:27NightRaven[m]i used it to compile the boot object
22:42landscape15[m]NightRaven: thanks, so I don’t need to set M1N1DEVICE, considering that I’m doing everything on my machine.
22:44GlanzmannSo on the wifi front, I think I'm almost there: https://pbot.rmdir.de/VN0-8CKrR4TkEpxxAAK4iA
22:45GlanzmannBut I think I copied the wrong files from macos, becasue there should be a clmb but I have a txcb.
22:49Techcable has quit [Ping timeout: 480 seconds]
22:53zimsneexhAlso not quite sure what I'm looking for. Can't see anything about wifi in the kernel log
23:03landscape15[m]NightRaven: Do I only need to run kmutil to set the new boot object?
23:16bps2 has quit [Ping timeout: 480 seconds]
23:25Glanzmannzimsneexh: Yes, might be. And you're right, alyssa only exposed the j274 (mini) in the device tree.
23:28Glanzmannzimsneexh: I just checked the devie tree and the wifi node including register and mac address is in there.
23:35jmr2 has joined #asahi
23:37jmr2While it's possible to get the corellium wifi driver to work, marcan has explicitly asked us to stop doing so (see the log from Dec. 2).
23:37jmr2We need to keep in mind that any time one of us ask for support from one of the dev, we slow the project down.
23:50Glanzmann has quit [Quit: EOF]
23:55marcanthe way that driver does things is completely crazy and will never fly upstream; therefore trying to use it is largely a waste of time since it needs a complete rewrite
23:57marcansame with the keyboard driver btw; the patches to that aren't crazy, and it can be made to work (I spent some time the past few days poking around the corellium patches to that to validate the SPI driver I wrote), but it turns out the *original* driver in Linux there was written with the wrong understanding and we're going to be writing a new driver from scratch that does things properly
23:57marcanideally that would also be ported to Intel macbooks and end up replacing the old driver altogether at some point in the future
23:58marcan(to clarify: the wifi *patches* need a rewrite, the existing driver is fine; the keyboard *driver* needs a rewrite because the existing driver is doing entirely the wrong thing)
23:58riker77 has quit [Quit: Quitting IRC - gone for good...]