Skip to content

Commit fd84530

Browse files
committed
Update kernel version example in README
1 parent a074124 commit fd84530

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ and identify the name of the branch or tag that you want to build.
3737

3838
Examples:
3939

40-
- The branch `rpi-4.19.y`
40+
- The branch `rpi-5.4.y`
4141
- The tag `raspberrypi-kernel_1.20200527-1`
4242

4343
### Identify the default configuration to use
@@ -56,16 +56,16 @@ Check the above documentation to make sure that these examples are up-to-date.
5656

5757
### Cross-compile the kernel
5858

59-
The command below builds the branch `rpi-4.19.y` for the Raspberry Pi 4
59+
The command below builds the branch `rpi-5.4.y` for the Raspberry Pi 4
6060
(`bcm2711_defconfig`). Because this branch is in progress, we include today's
61-
date to the value of `--kernel-localversion` (`4.19.y-20200614-hardened`). You
61+
date to the value of `--kernel-localversion` (`5.4.y-20200804-hardened`). You
6262
can set the value of `--kernel-localversion` to anything you want.
6363

6464
Once installed, the full kernel name will be:
6565

6666
```console
6767
$ uname -a
68-
Linux raspberrypi 4.19.127-4.19.y-20200614-hardened+ #1 SMP Sun Jun 14 15:06:51 UTC 2020 armv7l GNU/Linux
68+
Linux raspberrypi 5.4.51-5.4.y-20200804-hardened+ #1 SMP Sun Jun 14 15:06:51 UTC 2020 armv7l GNU/Linux
6969
```
7070

7171
This command builds kernel:
@@ -75,9 +75,9 @@ $ docker run \
7575
--rm \
7676
-v $PWD/output:/output \
7777
tschaffter/raspberry-pi-kernel-hardened \
78-
--kernel-branch rpi-4.19.y \
78+
--kernel-branch rpi-5.4.y \
7979
--kernel-defconfig bcm2711_defconfig \
80-
--kernel-localversion 4.19.y-20200614-hardened
80+
--kernel-localversion 5.4.y-20200804-hardened
8181
Cloning into '/home/builder/tools'...
8282
Installing cross compiler toolchain
8383
Checking out files: 100% (19059/19059), done.
@@ -89,8 +89,8 @@ Moving .deb packages to /output
8989
SUCCESS The kernel has been successfully packaged.
9090

9191
INSTALL
92-
sudo dpkg -i linux-*-4.19.y-20200614-hardened*.deb
93-
sudo sh -c "echo 'kernel=vmlinuz-4.19.127-4.19.y-20200614-hardened+' >> /boot/config.txt"
92+
sudo dpkg -i linux-*-5.4.y-20200804-hardened*.deb
93+
sudo sh -c "echo 'kernel=vmlinuz-5.4.51-5.4.y-20200804-hardened+' >> /boot/config.txt"
9494
sudo reboot
9595

9696
ENABLE SELinux
@@ -129,9 +129,9 @@ $ docker run \
129129
-v $PWD/tools:/home/builder/tools \
130130
-v $PWD/linux:/home/builder/linux \
131131
tschaffter/raspberry-pi-kernel-hardened \
132-
--kernel-branch rpi-4.19.y \
132+
--kernel-branch rpi-5.4.y \
133133
--kernel-defconfig bcm2711_defconfig \
134-
--kernel-localversion 4.19.y-20200614-hardened
134+
--kernel-localversion 5.4.y-20200804-hardened
135135
```
136136

137137
## Contributing change

0 commit comments

Comments
 (0)