Discussion thread for linux-rpi testing kernel

Development on core packages and the distribution goes on in here.

Re: Discussion thread for linux-rpi testing kernel

Postby solskogen » Fri Dec 16, 2022 9:30 am

Somewhat, but distcc gets the same job done.
solskogen
 
Posts: 161
Joined: Mon Nov 18, 2013 10:41 am

Re: Discussion thread for linux-rpi testing kernel

Postby graysky » Fri Dec 16, 2022 11:11 am

For my hardware it's much faster but distcc is the gold standard.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Discussion thread for linux-rpi testing kernel

Postby quark » Fri Dec 16, 2022 3:02 pm

Got a PKGBUILD file for x86_64? So it gets packaged as well. Indeed it's fast (2600x all cores).
quark
 
Posts: 59
Joined: Thu Nov 25, 2021 8:26 am

Re: Discussion thread for linux-rpi testing kernel

Postby graysky » Fri Dec 16, 2022 3:26 pm

You just cross compile the linux-rpi like this, no need to modify PKGBUILD.
$this->bbcode_second_pass_code('', 'CARCH=aarch64 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- makepkg -sCAfd --noconfirm')
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Discussion thread for linux-rpi testing kernel

Postby quark » Fri Dec 16, 2022 4:46 pm

ye that works fine.
I was using $this->bbcode_second_pass_code('', 'make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image modules dtbs') with the stock rpi kernel source.
Also extracting the source files on the rpi took forever. Now I extract in my PC's RAM which takes few seconds.
Thanks!
quark
 
Posts: 59
Joined: Thu Nov 25, 2021 8:26 am

Re: Discussion thread for linux-rpi testing kernel

Postby graysky » Fri Dec 16, 2022 9:15 pm

$this->bbcode_second_pass_quote('solskogen', 'A')ny hope that this will become the default kernel? :)


https://forums.raspberrypi.com/viewtopic.php?t=344246
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Discussion thread for linux-rpi testing kernel

Postby spudgunner » Wed Feb 08, 2023 8:32 pm

Not much of a contribution, but for what it's worth I've been following this development via git for about a month now, building most new kernels as they are available on github (natively on a RPi4, clocked up to 2.1Ghz I think it takes about an hour and a half) and I haven't had issues. Also of note, I only use my RPi is a basic PC (web browsing, document editing, watching movies/listening to music)
spudgunner
 
Posts: 8
Joined: Thu May 02, 2013 1:18 am

Re: Discussion thread for linux-rpi testing kernel

Postby corrobor » Wed Mar 22, 2023 8:23 pm

today i got this problem:

sudo pacman -Syu
...
Pacchetti (1) linux-rpi-6.2.7-1

:: Vuoi procedere con l'installazione? [S/n] s
(1/1) verifica delle chiavi presenti nel portachiavi [#############################################] 100%
(1/1) verifica dell'integrità dei pacchetti [#############################################] 100%
(1/1) caricamento dei file dei pacchetti [#############################################] 100%
(1/1) controllo dei conflitti in corso [#############################################] 100%
(1/1) controllo dello spazio disponibile sul disco [#############################################] 100%
:: Elaborazione delle modifiche al pacchetto...
(1/1) aggiornamento in corso di linux-rpi [#############################################] 100%
:: Esecuzione degli hook di post-transazione...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux-rpi module dependencies...
(4/4) Updating linux-rpi initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi.preset: 'default'
-> -k 6.2.7-1-rpi-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
od: '/boot/*Image*': File o directory non esistente
od: '/boot/*Image*': File o directory non esistente
od: '/boot/*Image*': File o directory non esistente
od: '/boot/*Image*': File o directory non esistente
od: '/boot/*Image*': File o directory non esistente
od: '/boot/*Image*': File o directory non esistente
cat: '/boot/*Image*': File o directory non esistente
gzip: /boot/*Image*.gz: No such file or directory
od: '/boot/vmlinuz-*': File o directory non esistente
od: '/boot/vmlinuz-*': File o directory non esistente
od: '/boot/vmlinuz-*': File o directory non esistente
od: '/boot/vmlinuz-*': File o directory non esistente
od: '/boot/vmlinuz-*': File o directory non esistente
od: '/boot/vmlinuz-*': File o directory non esistente
cat: '/boot/vmlinuz-*': File o directory non esistente
gzip: /boot/vmlinuz-*.gz: No such file or directory
==> WARNING: Could not find kernel image for version 6.2.7-1-rpi-ARCH
==> Starting build: '6.2.7-1-rpi-ARCH'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-linux.img'
==> Image generation successful


EDIT
Solved by DOWNGRADING mkinitcpio from 35 to 34-2
corrobor
 
Posts: 23
Joined: Wed Mar 03, 2021 9:43 am

Re: Discussion thread for linux-rpi testing kernel

Postby graysky » Wed Mar 22, 2023 8:48 pm

I think that is an active bug, see: https://bbs.archlinux.org/viewtopic.php?id=284485

Also, if you are using linux-rpi, you do not need the images generated by mkinitcpio at all. I have been blocking their generation on my systems for years now. See: https://aur.archlinux.org/packages/rasp ... -initramfs
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Discussion thread for linux-rpi testing kernel

Postby corrobor » Thu Mar 23, 2023 6:41 am

Thank you very much!
Solved by installing your raspberrypi-stop-initramfs
corrobor
 
Posts: 23
Joined: Wed Mar 03, 2021 9:43 am

PreviousNext

Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 6 guests