Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4475

General discussion • I can`t install modules in rpi4 8gb after build and install Mainline Kernel

$
0
0
Hi,

https://stackoverflow.com/questions/787 ... 12-64-bits

I stay using Uboot 2024.04 with Debian 12 in rpi4 8gb
mkdir mnt
mkdir mnt/fat32
mkdir mnt/ext4
sudo mount /dev/sdb1 mnt/fat32
sudo mount /dev/sdb2 mnt/ext4

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

make -j4 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- mrproper
make -j4 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcm2711_defconfig
make -j4 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image modules dtbs
sudo make INSTALL_MOD_PATH=/mnt/ext4 modules_install
neuberfran@raspberrypi:/lib$ cd modules
neuberfran@raspberrypi:/lib/modules$ ls
6.6.31+rpt-rpi-2712 6.6.31+rpt-rpi-v8
neuberfran@raspberrypi:/lib/modules$ uname -a
Linux raspberrypi 6.6.39-v8+ #3 SMP PREEMPT Wed Jul 31 15:26:15 -03 2024 aarch64 GNU/Linux
neuberfran@raspberrypi:/lib/modules$ pwd
/lib/modules
neuberfran@raspberrypi:/lib/modules$ lsmod
Module Size Used by
neuberfran@raspberrypi:/lib/modules$ sudo modprobe i2c-dev
modprobe: FATAL: Module i2c-dev not found in directory /lib/modules/6.6.39-v8+
neuberfran@raspberrypi:/lib/modules$ lsb_release -a
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux 12 (bookworm)
Release:12
Codename:bookworm
neuberfran@raspberrypi:/lib/modules$
You can see that I have the new kernel but the result of my lsmod is nothing.

How can I solve it (Pls)

Statistics: Posted by neuberfran — Sat Aug 03, 2024 1:04 am — Replies 0 — Views 31



Viewing all articles
Browse latest Browse all 4475

Trending Articles