Skip to content

Kernel version mismatch #5307

Open
Open

Description

@spynetcamera

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

Activity

  1. pelwell commented on Jan 6, 2023

    @pelwell
    Contributor

    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.

  2. pelwell commented on Jan 6, 2023

    @pelwell
    Contributor

    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
    
  3. 6by9 commented on Jan 6, 2023

    @6by9
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions