Skip to content

Kernel version mismatch #5307

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

Open
spynetcamera opened this issue Jan 6, 2023 · 3 comments
Open

Kernel version mismatch #5307

spynetcamera opened this issue Jan 6, 2023 · 3 comments

Comments

@spynetcamera
Copy link

Describe the bug

My Raspberry Pi 1 B+, after apt update/full-upgrade, is still 5.15.76+, while the official sources are now 5.15.84+.
I downloaded and bult according to the documentation in https://www.raspberrypi.com/documentation/computers/linux_kernel.html.

Steps to reproduce the behaviour

git clone --depth=1 https://github.com/raspberrypi/linux

cd linux
KERNEL=kernel
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs

Device (s)

Raspberry Pi 1 Mod. B+

System

Raspberry Pi reference 2022-09-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 8a42abcd1dbd8c9c1fdfca4e0c3778255b2f9cc4, stage2

Oct 26 2022 11:10:35
Copyright (c) 2012 Broadcom
version c72ad6b26ff40c91ef776b847436094ee63fabee (clean) (release) (start)

Linux raspberrypi 5.15.76+ #1597 Fri Nov 4 12:11:43 GMT 2022 armv6l GNU/Linux

Logs

No response

Additional context

No response

@pelwell
Copy link
Contributor

pelwell commented Jan 6, 2023

You are reporting that the apt kernel package, built from the stable branch of the rpi-firmware repo, doesn't include the very latest kernel commits? That's a feature, not a bug.

@pelwell
Copy link
Contributor

pelwell commented Jan 6, 2023

If instead you are saying that you built the latest sources but they don't appear to be running, then did you actually install the built kernel?

sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/kernel.img

@6by9
Copy link
Contributor

6by9 commented Jan 6, 2023

And don't forget to reboot after installing all the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants