-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bookworm] Add linux-image-rpi-v8 to armhf repo #356
Comments
Ah, and the same generally applies for |
I don't know whether Debian's kernel packaging supports that and it's not something I can investigate any time soon, so this is likely a wontfix. Unless, you know where to look and can point me to it.
That kernel has 16k pages, so it's not able to run 32-bit applications at all. It's not required for the pi5, since the v8 kernel works. |
Ah I see, so compared to the classic
So |
- dietpi-rpi-firmware-migration | Install 2712 on 64-bit userland only, as it does not support 32-bit: RPi-Distro/repo#356
Correct. The 16K pagesize has some performance benefits (e.g. 7% improvement with jetstream benchmark). |
Thanks for clarification! I found a way to create an
So doing one additional build with this environment variable set to |
Another related issue: On 32-bit RPi OS (Raspbian), headers for the 64-bit kernel cannot be installed, because they depend on I am actually wondering how this every worked before. Is cross-compiling of 64-bit kernel modules possible with a 32-bit compiler? EDIT: I just got pointed to: raspberrypi/linux#5408 (comment) |
Debian's kernel packaging doesn't allow you to cross-compile modules like that. It works going from amd64 to i386 architectures, but if you run stock Debian armhf with an arm64 kernel, you run into all the same problems. |
And hacking this inside is probably too much hassle/not worth it. And at least, since the same was already a problem with the old packaging, it is not a regression. There is anyway not much point to run the 32-bit OS with a 64-bit capable RPi, now that software support is mostly there (and even much better for 3rd party software). I wonder why the 64-bit RPi OS is still listed as second choice on the website. To me it would make sense to promote it as first/recommended RPi OS version for all RPi models which support it, and the 32-bit variant as inferior fallback, for BCM2708/BCM2709 models only. But this is a different topic. However, doing a |
Closing because as you say, it's not worth the hassle. Maybe one day if I run out of other things to do, I can revisit it. |
"Not worth the hassle" for me was the attempt to get 64-bit headers into the 32-bit repo. Generating however a 64-bit kernel package with |
I think I've mentioned somewhere already that the .deb build scripts that come from the upstream kernel source tree are not a part of Debian's packaging. KBUILD_DEBARCH won't have any impact. |
I am trying to upgrade my Raspberry Pi 3 from Debian 11 to Debian 12, and the tutorial I looked at says that I need this change:
Since linux-image-rpi-v8 it not available on armhf, I have now updated to Debian 12 without running these two commands, so I am still using the |
There are linux-image-rpi-v7l, linux-image-rpi-v7 and linux-image-rpi-v6 packages depending on what pi you have. For pi3 I think it should be v7l. Have you adjusted your mount points? Just changing the packages won't work. |
@XECDesign Thank you for the fast reply. Ok, I will try out v7l later. |
Yup, I think so. |
Currently, the 32-bit/armhf package list of
archive.raspberrypi.org
lacks thelinux-image-rpi-v8
and hence the 6-bit kernel packages. This can be an issue for 32-bit userland/OS RPi 4 systems which have the 64-bit kernel enabled by default since a while, and for any other systems which manually switched to the 64-bit kernel.The official RPi OS Bookworm 32-bit image ships with arm64 as foreign architecture, which of course works, but produces an unnecessary overhead, especially when using Debian instead of Raspbian, with all package lists for arm64 downloaded, cached etc, while most of the packages cannot be installed and might even cause conflicts.
For flexibility and since it just does not hurt, it would be great if the 64-bit kernel (and headers) packages could be added to the 32-bit/armhf repository as well.
The text was updated successfully, but these errors were encountered: