Closed LukeLR closed 9 months ago
maybe old kernel 6.1.47-v8+ deleted ?
Remove media_build/v4l/.version
or change SRCDIR
path to new kernel in that file. And don't forget to remove Your .config
.
I completely wiped and reinstalled raspbian on the Pi 4, the error about the missing .config appears again, but this time, I copied the config over from a Pi 3 which apparently has such a config in /lib/modules/6.1.21-v7+/build/
. However, now it's failing with
make[2]: Entering directory '/usr/lib/modules/6.1.21-v8+/build'
make[2]: *** No rule to make target 'modules'. Stop.
So while I'm not sure if the loadable modules problem is fixed, or if it's just a new error that's occurring first. However, it still doesn't build. Any ideas?
It appears as if You don't have any linux-headers installed?
Thanks for the suggeetion. however, raspberry-kernel-headers is installed and up-to-Date, so that's probably not the cause. Any other ideas?
On 10. Sep 2023, at 13:56, tmn505 @.***> wrote:
It appears as if You don't have any linux-headers installed?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Without whole console output at which this occurs it's hard to guess.
Anyway, clone media_build to new dir and run ./build
(You'll probably have to install packages it asks).
E-Mail replies don't support markdown, see output below.
Same error message when running ./build from a fresh media_build clone. See the full output attached:
Solved it! The issue was that the 32 bit Raspberry Pi OS does not supply kernel headers for the ARMv8 architecture used by Raspberry Pi 4, although being the default option. Switching to 64 bit Raspberry Pi OS fixed the issue, as now the /lib/modules/$(uname -r)/build
folder exists. Filed an upstream issue on that: raspberrypi/linux#5601 Thanks for all your help!
Hi everyone,
after a kernel update, my TBS5580 stopped showing up, so I tried building the modules again. Both updating my old build environment with
git pull
as well as following the installation steps in the wiki,make allyesconfig
fails with:So I copy my
media_build/v4l/.config
there, then it fails withAny ideas what "loadable modules turned off" means? I'm running the stock Raspbian updated to the latest version, so I don't understand where this is coming from. Am I missing something? Thanks!