2022-02-12
00:36sirn has quit [Server closed connection]
00:37sirn has joined #asahi
00:45yuyichao has quit [Ping timeout: 480 seconds]
00:49Techcable has quit [Ping timeout: 480 seconds]
00:53user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:59user982492 has joined #asahi
00:59user982492 has quit []
01:13AndrewLee[m] has quit [Server closed connection]
01:13AndrewLee[m] has joined #asahi
01:13PeterB[m] has quit [Server closed connection]
01:14PeterB[m] has joined #asahi
01:14Dcow[m] has quit [Server closed connection]
01:14Dcow[m]1 has joined #asahi
01:14ianlienfa[m] has quit [Server closed connection]
01:14ianlienfa[m] has joined #asahi
01:15jeh[m] has quit [Server closed connection]
01:15jeh[m] has joined #asahi
01:15Krumble[m] has quit [Server closed connection]
01:15Krumble[m] has joined #asahi
01:15ll3macorn[m] has quit [Server closed connection]
01:15ll3macorn[m] has joined #asahi
01:15PeterHilgenfeld[m] has quit [Server closed connection]
01:15PeterHilgenfeld[m] has joined #asahi
01:16PixelyIon[m] has quit [Server closed connection]
01:16PixelyIon[m] has joined #asahi
01:16robotrIP[m] has quit [Server closed connection]
01:16robotrIP[m] has joined #asahi
01:17SamAdams[m] has quit [Server closed connection]
01:17SamAdams[m] has joined #asahi
01:18SocioProphet[m] has quit [Server closed connection]
01:18SocioProphet[m] has joined #asahi
01:20toroto008[m] has quit [Server closed connection]
01:20toroto008[m] has joined #asahi
01:40Techcable has joined #asahi
01:43ciggi has joined #asahi
01:48yuyichao has joined #asahi
01:48ciggi_ has quit [Ping timeout: 480 seconds]
01:52user982492 has joined #asahi
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi
02:28ah-[m]looks like ring = dma_alloc_coherent(&devinfo->pdev->dev, size, dma_handle, GFP_KERNEL); fails in brcmf_pcie_init_dmabuffer_for_device
02:28ah-[m]it seems like size is divisible by 16, so maybe something else broken? I'm not quite sure how to debug that further
03:32ah-[m]oh I see, that patch series was never merged so 16k dart with 4k page sizes just doesn't work atm?
03:35phiologe has joined #asahi
03:38PhilippvK has quit [Ping timeout: 480 seconds]
03:48threerik[m] has quit [Server closed connection]
03:48threerik[m] has joined #asahi
03:51drwhax[m]1 has quit [Server closed connection]
03:51drwhax[m]1 has joined #asahi
03:53l3k[m] has quit [Server closed connection]
03:53l3k[m] has joined #asahi
03:57RianSouzaSantos[m] has quit [Server closed connection]
03:57RianSouzaSantos[m] has joined #asahi
04:02kov has quit [Quit: Coyote finally caught me]
04:02kov has joined #asahi
04:03jelly has quit [Server closed connection]
04:04mini has quit [Server closed connection]
04:04mini has joined #asahi
04:06bradfier has quit [Server closed connection]
04:06bradfier has joined #asahi
04:07jelly has joined #asahi
04:28BlazinWeed[m] has quit [Server closed connection]
04:28BlazinWeed[m] has joined #asahi
04:31josipknezovic[m] has quit [Server closed connection]
04:31josipknezovic[m] has joined #asahi
04:46NotHere[m] has quit [Server closed connection]
04:46NotHere[m] has joined #asahi
04:47lemonsus[m] has quit [Server closed connection]
04:47lemonsus[m] has joined #asahi
04:48rethematrix[m] has quit [Server closed connection]
04:48rethematrix[m] has joined #asahi
04:49fionera[m] has quit [Server closed connection]
04:50fionera[m] has joined #asahi
04:50dek[m] has quit [Server closed connection]
04:50dek[m] has joined #asahi
04:50Rhys[m]12 has quit [Server closed connection]
04:50Rhys[m]12 has joined #asahi
04:57marvin24_ has joined #asahi
05:00marvin24 has quit [Ping timeout: 480 seconds]
05:07blasty has quit [Server closed connection]
05:07blasty has joined #asahi
05:16chengsun_ has quit [Server closed connection]
05:16chengsun has joined #asahi
05:23kit_ty_kate has quit [Server closed connection]
05:23kit_ty_kate has joined #asahi
05:33Raito_Bezarius has quit [Server closed connection]
05:34Raito_Bezarius has joined #asahi
05:36akemin_dayo has quit [Server closed connection]
05:36akemin_dayo has joined #asahi
05:42M0x8FF[m] has quit [Server closed connection]
05:42M0x8FF[m] has joined #asahi
05:44ciggi has quit [Ping timeout: 480 seconds]
05:56yuukirafflesia[m] has quit [Server closed connection]
05:56yuukirafflesia[m] has joined #asahi
05:57DarkShadow44 has quit [Server closed connection]
05:57DarkShadow44 has joined #asahi
05:58krirogn[m] has quit [Server closed connection]
05:58krirogn[m] has joined #asahi
06:02ChristianOndaatje[m] has quit [Server closed connection]
06:02ChristianOndaatje[m] has joined #asahi
06:05pent1ckel has quit [Server closed connection]
06:05pent1ckel has joined #asahi
06:08NightsOnly[m] has quit [Server closed connection]
06:08NightsOnly[m] has joined #asahi
06:25GlanzmannBut it might not have 5 GHZ support on 4k pages, at least I noticed that when I had the 4k page kernel it never connected to 5 GHZ.
06:45eta has quit [Server closed connection]
06:45eta has joined #asahi
06:50kenzie35 has quit []
06:56vup has quit [Server closed connection]
06:56c10l3 has quit [Server closed connection]
06:56c10l3 has joined #asahi
07:05kenzie35 has joined #asahi
07:08user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:34joske has joined #asahi
07:53dhewg has quit [Server closed connection]
07:53dhewg has joined #asahi
08:13milek7 has quit [Server closed connection]
08:13milek7_ has joined #asahi
08:20mpsI detected this bug on m1 and reported upstream, got patch from upstream and tested, and iwd 1.23 is released next day
08:27bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:50ninja[m] has quit [Server closed connection]
08:50ninja[m] has joined #asahi
09:16the_lanetly_052 has quit [Ping timeout: 480 seconds]
09:25joske has quit [Quit: Quit]
09:52neven has joined #asahi
10:06perigoso[m] has quit [Server closed connection]
10:06perigoso[m] has joined #asahi
10:08nsklaus_ has quit [Quit: Textual IRC Client: www.textualapp.com]
10:23NightRaven[m]When I try to boot into the HDD it says waiting for /dev/sda and it already has the rootFS and everything any idea ?
10:24NightRaven[m]It's an external HDD
10:25chadmedcheck your kernel config. if youre not using an initrd you need to have usb, scsi support, usb mass storage and usb attached scsi set to y not m
10:26chadmedyou also need to specify which minor on /dev/sda has the root partition. i would always use the partitions UUID instead of its name in /dev/ since the uuid never changes
10:28NightRaven[m]Oh ok I will try to get the partions uuid but then how would I put that into the .bin file ?
10:28NightRaven[m]Like using the cat command
10:29chadmedif youre building a payload for an untethered boot you will need to build the kernel with the arguments built in. the "official" way will be to only chainload m1n1 and u-boot and then use GRUB to pick a kernel and pass its boot arguments to it
10:31NightRaven[m]I already have the kernel and the files
10:33neven has quit []
10:33NightRaven[m]Like this cat m1n1.bin <(echo 'boot-args=net.ifnames=0 rw root=/dev/"nvme partition" rootdelay=5 rootfstype=ext4') Image.gz *.dtb > linux.bin
10:33NightRaven[m] But I am not sure where to put the uuid
10:33chadmedoh right so to use a uuid as your root you change root=/dev/sdX to root=UUID=[uuid of the partition]
10:34NightRaven[m]I think yea I did
10:34NightRaven[m]chadmed: thanks
10:41NightRaven[m]so something like this ```cat m1n1.bin <(echo 'boot-args=net.ifnames=0 rw root=UUID=1154e9a7-9daf-4cd9-950d-99ea6b312e4b rootwait rootfstype=ext4') linux/Image.gz linux/arch/arm64/boot/dts/apple/*.dtb > untethered.bin
10:42NightRaven[m]sorry something like this cat m1n1.bin <(echo 'boot-args=net.ifnames=0 rw root=UUID=1154e9a7-9daf-4cd9-950d-99ea6b312e4b rootwait rootfstype=ext4') linux/Image.gz linux/arch/arm64/boot/dts/apple/*.dtb > untethered.bin
10:42NightRaven[m]yea ok
10:42NightRaven[m]i will reboot now thanks
10:43NightRaven[m]what do you think i should do ?
10:43NightRaven[m]for the command is there something wrong with it ?
10:43NightRaven[m]for the kernel building
10:45NightRaven[m]i will try PARTUUID after the reboot
10:45ChaosPrincessrootfs is on external hdd?
10:47NightRaven[m]oh ok then i will wait till it's user friendly then
10:48ChaosPrincessNightRaven[m]: maybe try building an initrd
11:00EdwardAnd[m] has quit [Server closed connection]
11:00EdwardAnd[m] has joined #asahi
11:00NightRaven[m]Oh ok
11:00ChrisHembree[m] has quit [Server closed connection]
11:00ChrisHembree[m] has joined #asahi
11:00DanielHuisman[m] has quit [Server closed connection]
11:00DanielHuisman[m] has joined #asahi
11:00davidrysk[m] has quit [Server closed connection]
11:00davidrysk[m] has joined #asahi
11:01Liam[m] has quit [Server closed connection]
11:01Liam[m] has joined #asahi
11:01Ferluci[m] has quit [Server closed connection]
11:01Ferluci[m] has joined #asahi
11:01patience[m] has quit [Server closed connection]
11:01patience[m] has joined #asahi
11:01marcan[m] has quit [Server closed connection]
11:02marcan[m] has joined #asahi
11:02nemanjan00[m] has quit [Server closed connection]
11:02nemanjan00[m] has joined #asahi
11:02DanStrong[m] has quit [Server closed connection]
11:02DanStrong[m] has joined #asahi
11:02pulpy_orange2[m] has quit [Server closed connection]
11:02pulpy_orange2[m] has joined #asahi
11:03retonlage[m] has quit [Server closed connection]
11:03retonlage[m] has joined #asahi
11:03rob-3[m] has quit [Server closed connection]
11:03rob-3[m] has joined #asahi
11:03Davis[m] has quit [Server closed connection]
11:03Davis[m] has joined #asahi
11:03Spectrejan[m] has quit [Server closed connection]
11:03Spectrejan[m] has joined #asahi
11:04stttcccccccccccc[m] has quit [Server closed connection]
11:04stttcccccccccccc[m] has joined #asahi
11:04YichaoYu[m] has quit [Server closed connection]
11:04YichaoYu[m] has joined #asahi
11:19martinstewart has joined #asahi
11:23jannaubuilding the package with a 16k page size kernel is ~9% faster than building it on a 4k kernel using the original package with jemalloc
11:37landscape15[m]NightRaven: For me now usb works oob. I built a monolithic kernel and set verbose usb in the config. Also when you boot, the kernel shows you all partitions, you should find the right one
11:39landscape15[m]However, I don’t know how to show up full USB information while verbose booting. It only shows “Attached USB storage” or something like that. Anyone knows?
11:42martinstewart has quit [Remote host closed the connection]
11:47mtjzh has joined #asahi
12:29CDFH has quit [Server closed connection]
12:48mtjzh has quit [Remote host closed the connection]
13:05tomtastic has quit [Server closed connection]
13:05mtjzh has joined #asahi
13:05tomtastic has joined #asahi
13:13mtjzh has quit [Ping timeout: 480 seconds]
13:39mtjzh has joined #asahi
13:46ChaosPrincess has quit [Quit: WeeChat 3.4]
13:47ChaosPrincess has joined #asahi
13:47mtjzh has quit [Ping timeout: 480 seconds]
13:47vup has joined #asahi
13:58mtjzh has joined #asahi
14:06mtjzh has quit [Ping timeout: 480 seconds]
14:31mtjzh has joined #asahi
14:39mtjzh has quit [Ping timeout: 480 seconds]
14:58mtjzh has joined #asahi
15:02eroux has quit [Ping timeout: 480 seconds]
15:06mtjzh has quit [Ping timeout: 480 seconds]
15:14eroux has joined #asahi
15:15mtjzh has joined #asahi
15:15mpsjannau: I tried with your fork but didn't got it because I don't know what addresses to change and which values to set
15:19j`eyhttps://github.com/jannau/u-boot/commit/03bc368e4be92d9d1e1b6e42b326209e19f13e69#diff-2b6b21cb7a908d9cd79a3fbd9693215bd22e646c81a7ff2f9d45f619552f3a61R288
15:39jannauI think loadaddr is the fallback then there is no more appropiate variable, otherwise it seems mostly arbitrary to me
16:14arthat's one of the fastest kernel reads in uboot I've ever seen > 9542381 bytes read in 5 ms (1.8 GiB/s)
16:17landscape15[m]jannau: what’s the difference in terms of performance?
16:17landscape15[m]I’m also using compressed kernel
16:22mtjzh has quit [Ping timeout: 480 seconds]
16:30mtjzh has joined #asahi
16:34landscape15[m]jannau: thanks
16:35mpsand I looked at this part you posted but didn't understood it, my knowledge about u-boot 'inner working' is nearly zero
16:39mtjzh has quit [Ping timeout: 480 seconds]
17:00bisko has joined #asahi
17:03mtjzh has joined #asahi
17:04landscape15[m]mps: yeah also considering there is no USB3 support
17:06caleb010[m]Is disk partitioning safe in Linux? I want to reduce the running partition to make EFI
17:08ChaosPrincessyou can't shrink a running ext4 fs
17:14landscape15[m]caleb010: You can only if you are running Linux from an external USB, otherwise no
17:57Glanzmannand use gparted to shrink the partition or move it or whatever you want and add an efi partition.
18:00user982492 has joined #asahi
18:11mtjzh has quit [Ping timeout: 480 seconds]
18:17bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:17myon98 has quit [Ping timeout: 480 seconds]
18:21mtjzh has joined #asahi
18:28user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:29user982492 has joined #asahi
18:29mtjzh has quit [Ping timeout: 480 seconds]
18:30user982492 has quit []
18:30user982492 has joined #asahi
18:33user982492 has quit []
18:34as400[m]Finally got uboot working on my t6000. But I need to stop autoboot issue "nvme scan" then "boot". Otherwise the kernel doesn't see root partition.
18:35user982492 has joined #asahi
18:35user982492 has quit []
18:49eragon has joined #asahi
18:53mtjzh has joined #asahi
19:05* as400[m]uploaded an image: (218KiB) < https://matrix.org/_matrix/media/r0/download/smail.net.pl/fyqrkkDpHRIpAKeimCCnZZeR/img_20220212_200234_thumbnail_1200.jpg >
19:11Glanzmannas400[m]: This is how my partitioning looks like: https://pbot.rmdir.de/DmScCL5drnKlEq7tVxFMeQ
19:18tertu has quit [Quit: so long...]
19:32mtjzh has quit [Remote host closed the connection]
19:32mtjzh has joined #asahi
19:44mtjzh has quit [Remote host closed the connection]
19:46mtjzh has joined #asahi
19:58axboe has joined #asahi
20:03user982492 has joined #asahi
20:04mtjzh has quit [Remote host closed the connection]
20:14tertu has joined #asahi
20:15sventhere’s a bug in the current nvme driver where I don’t disable the controller before setting it up
20:20mtjzh has joined #asahi
20:25as400[m]sven: thx for the info. There is a workaround for now "nvme scan" in uboot console almost always helps.
20:28as400[m]it is. I have to do this and wait few seconds. If I do "nvme scan" and "boot" immediately after that uboot freezes on "loading kernel"
20:28mtjzh has quit [Ping timeout: 480 seconds]
20:34as400[m]"NVMMU TCB invalidation failed" - this is what I get from kernel. U-boot sometimes freezes when loading kernel.
20:37as400[m]2. When it loads kernel and I didn't issued "nvme scan" on uboot console, kernel does not find root partition.
20:43svenhttps://f.svpe.de/d84fbf3c773f139de03b75b85de13dd69c9e8c943b002ee6f6629ae40a81dfca_0001-fixup-WIP-nvme-apple-add-initial-Apple-SoC-NVMe-driv.patch
20:48josip[m] has joined #asahi
20:51eroux_ has joined #asahi
20:52eroux has quit [Ping timeout: 480 seconds]
21:06kovGlanzmann, I'm doing a tethered boot of debian bullseye using the config / patches from your guide and I have a weird problem with the trackpad: the buttons work, but no movement of the cursor, have you seen that before?
21:10bpye4 has joined #asahi
21:16bpye has quit [Ping timeout: 480 seconds]
21:16bpye4 is now known as bpye
21:19GlanzmannBut I know that people are in here that run bullseye with a working touchpad, but I did not understand what they did.
21:22GlanzmannOne thing that made me use testing was that the libinput in bullseye is a little bit to old of what I think jannau recommended on using.
21:31mtjzh has joined #asahi
21:31amw has quit [Ping timeout: 480 seconds]
21:33axboe has quit [Quit: rebooting]
21:33axboe has joined #asahi
21:35user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:37axboe has quit []
21:38amw has joined #asahi
21:39mtjzh has quit [Ping timeout: 480 seconds]
21:47mtjzh has joined #asahi
21:48user982492 has joined #asahi
21:55mtjzh has quit [Ping timeout: 480 seconds]
22:11eroux_ has quit [Ping timeout: 480 seconds]
22:12mtjzh has joined #asahi
22:20mtjzh has quit [Ping timeout: 480 seconds]
22:29kenzie35 has quit []
22:31kenzie35 has joined #asahi
22:35eroux has joined #asahi
22:45mtjzh has joined #asahi
22:53mtjzh has quit [Ping timeout: 480 seconds]
22:59grgy has joined #asahi
23:04mtjzh has joined #asahi
23:06grgy has quit [Quit: ZNC 1.8.2 - https://znc.in]
23:07grgy has joined #asahi
23:25eroux has quit [Ping timeout: 480 seconds]
23:29user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:50eroux has joined #asahi
23:55myon98 has joined #asahi
23:58eroux has quit [Ping timeout: 480 seconds]