New Raspberry Pi Kernels & Related Packages

Thanks a lot! :slight_smile:

serpent-xts is now there, unfortunately with very bad performance :sweat_smile:

$ cryptsetup benchmark
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1       400831 iterations per second for 256-bit key
PBKDF2-sha256     643298 iterations per second for 256-bit key
PBKDF2-sha512     512000 iterations per second for 256-bit key
PBKDF2-ripemd160  328090 iterations per second for 256-bit key
PBKDF2-whirlpool  124593 iterations per second for 256-bit key
argon2i       4 iterations, 294184 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
argon2id      4 iterations, 225465 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
#     Algorithm |       Key |      Encryption |      Decryption
        aes-cbc        128b        76.0 MiB/s        80.2 MiB/s
    serpent-cbc        128b        35.2 MiB/s        36.3 MiB/s
    twofish-cbc        128b        57.6 MiB/s        57.3 MiB/s
        aes-cbc        256b        61.5 MiB/s        63.3 MiB/s
    serpent-cbc        256b        35.5 MiB/s        36.6 MiB/s
    twofish-cbc        256b        57.6 MiB/s        57.3 MiB/s
        aes-xts        256b        88.0 MiB/s        89.3 MiB/s
    serpent-xts        256b        37.9 MiB/s        38.3 MiB/s
    twofish-xts        256b        63.6 MiB/s        61.5 MiB/s
        aes-xts        512b        68.4 MiB/s        69.2 MiB/s
    serpent-xts        512b        37.9 MiB/s        38.3 MiB/s
    twofish-xts        512b        63.6 MiB/s        61.6 MiB/s

but it’s very good that at least I can use my disks…

I do not notice an issue, other than the error message itself.

kernel 5.12.1-1

$ dmesg | grep -i error

[    0.652815] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd

Guessing that it comes from this patch

That patch looks to be @ a year old. Although I do not see that error here I do see it in a lot of dmesg’s posted when people have other various issues and it shows up so I do not know what to think about it. Wonder if it is just running a check of sorts when something else get enabled.

dmesg

I get the same error with RPi OS turned Debian Bullseye with their raspberrypi-kernel 5.10.17-v8+

So at least it is consistent.

Edit: It only occurs when booting with UEFI, issue opened.

The latest rpi kernels/headers and raspberrypi-bootloader packages has been pushed to the unstable branch when the mirrors sync.

linux-rpi4 5.10.36-1
linux-rpi4-headers 5.10.36-1
linux-rpi4-mainline 5.12.3-1
linux-rpi4-mainline-headers 5.12.3-1
raspberrypi-bootloader 20210513-1
raspberrypi-bootloader-x 20210513-1

anyone try pipewire or howto?

it’s already there on my install of sway.

Plasma depends on pulseaudio and gstreamer, so I have not tried. I expect that once all the parts are there and working, the Plasma packages will switch… so I wait.

Hi @Darksky,

I finally remembered to remove /boot/{cmdline,config}.txt prior to updating linux-rpi-mainline today, so I got a copy of the latest iterations of the defaults. However, I noted while watching the update that only config.txt was mentioned in the upgrade messages:

( 8/18) upgrading linux-rpi4-mainline                                 [#######################################] 100%
===> Installing default config.txt to /boot/...

Might pay to add another line to the output saying:

===> Installing default cmdline.txt to /boot/...

Thanks. The ===> Installing default config.txt to /boot/... FYI line added to next kernel build.

1 Like

The latest pi4 kernels/kernel headers has been pushed to the unstable branch when the mirrors sync.

Both kernels now have LXD modules enabled as per request on irc.

Arch LXD WIKI

Nothing new with the raspberrypi-bootloader packages as of this post.

linux-rpi4 5.10.38-1
linux-rpi4-headers 5.10.38-1
linux-rpi4-mainline 5.12.5-1
linux-rpi4-mainline-headers 5.12.5-1
1 Like

The latest pi4 kernels/kernel headers and raspberrypi-bootloader packages has been pushed to the unstable branch when the mirrors sync.

linux-rpi4 5.10.39-1
linux-rpi4-headers 5.10.39-1
linux-rpi4-mainline 5.12.6-1
linux-rpi4-mainline-headers 5.12.6-1
raspberrypi-bootloader 20210525-1
raspberrypi-bootloader-x 20210525-1

Concerning the rpi-eeprom updates, I think they are overwriting /etc/default/rpi-eeprom-update. I just changed the file from critical to stable, pretty sure I have set that several times in the past… but I am old, I have slept, and have too many installs to be positive. :slight_smile:

And to get the most current version, we want it set to “stable”, correct?

$ rpi-eeprom-update -a

BOOTLOADER: up to date
   CURRENT: Thu Apr 29 04:11:25 PM UTC 2021 (1619712685)
    LATEST: Thu Apr 29 04:11:25 PM UTC 2021 (1619712685)
   RELEASE: stable (/lib/firmware/raspberrypi/bootloader/stable)
            Use raspi-config to change the release.

  VL805_FW: Using bootloader EEPROM
     VL805: up to date
   CURRENT: 000138a1
    LATEST: 000138a1

The package updated but no newer version downloaded… odd.

To get their current what they consider stable yes. Eventually they will move a version from stable → critical at some point. The current critical version will be used if one has to reflash using a recovery image if something goes haywire so the critical version is their go to version to weed out possible issues with the other newer versions as I understand it.

I noticed today some where in time I had accidently pushed an older rpi-eeprom package to core instead of community so I removed it today to not have 2 versions in the repo; so probably a result of that.

I am unable to load the sha2_ce module:

$ sudo modprobe sha2_ce
modprobe: ERROR: could not insert 'sha2_ce': No such device

I have tried booting with both UEFI and firmware, same error. If you can not load it either, would you consider changing sha2_ce=m to sha2_ce is not set in the new rc kernel?
ARM64 Accelerated Cryptographic Algorithms → SHA-224/SHA-256 digest algorithm

I do not think it is implemented in the RPi4 and may be the cause of my issue with booster.

I have no clue when the 5.13.y tree will hit the RPi repo but would you consider making the changes in the current linux-mainline kernel and recompiling the packages and test if it works. The module CONFIG you want to disable is:

# CONFIG_CRYPTO_SHA2_ARM64_CE is not set

I do not see SHA-224 anywhere in the config. Maybe activate it via make menuconfig it it exists.

git clone https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-rpi4-mainline.git
cd linux-rpi4-mainline
export MAKEFLAGS="-j4"
#make changes in the config file and generate new cheksums and build with:
makepkg -g >> PKGBUILD
makepkg -si

Thanks for the easy steps, I have it running now.

And the SHA-224 was part of the menu description, if you use menuconfig. Sorry, I should have been more descriptive.

firefox-89 cause broken picture color on youtube.

The kernel rebuild removed the sha2_ce module and now the boot process does not abort, it simply hangs. I think it is waiting for something that is not occurring, the RPi4 does respond to ctrl-alt-del at that point, so progress.

Edit: I have now been successful booting with booster.

Yes, I see this issue too, when playing a video. Plasma on X11.