-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathrt-kernel
More file actions
63 lines (27 loc) · 1.58 KB
/
Copy pathrt-kernel
File metadata and controls
63 lines (27 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
https://www.raspberrypi.com/documentation/computers/linux_kernel.html#kernel
git clone --depth=1 https://github.com/raspberrypi/linu2
cat 0001-drm-v3d-create-a-dedicated-lock-for-dma-fence.patch | patch -p1
make bcm2712_defconfig
make menuconfig
make -j6 Image.gz modules dtbs
sudo make -j6 modules_install
sudo cp arch/arm64/boot/Image.gz /boot/firmware/kernel_2712.img
sudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/firmware/
sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/firmware/overlays/
sudo cp arch/arm64/boot/dts/overlays/README /boot/firmware/overlays/
git clone --depth=1 https://github.com/raspberrypi/linu
cat 0001-drm-v3d-create-a-dedicated-lock-for-dma-fence.patch | patch -p1
make bcm2711_defconfig
make menuconfig
make -j6 Image.gz modules dtbs
sudo make -j6 modules_install
cp /boot/config-6.12.25+rpt-rpi-v8 /home/spook/linux-6.12.25/.config
sudo cp arch/arm64/boot/Image.gz /boot/firmware/kernel8.img
sudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/firmware/
sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/firmware/overlays/
sudo cp arch/arm64/boot/dts/overlays/README /boot/firmware/overlays/
reboot and uname -a
######################
sudo ./build-kernel -b default -c 7 -j 6 -u -d -z rt.patch
sudo ./build-kernel -b default --branch rpi-6.12.y -c 7 -j 6 -u -d rpi 5
sudo ./build-kernel -b default --branch rpi-6.18.y -c 6 -j 6 -u -d rpi 4