Skip to content

Commit d97caef

Browse files
Merge pull request #58 from metalefty/serial
Address the issue that serial console and bluetooth is not working concurrently on Pi 5
2 parents ea1da39 + 8f45b01 commit d97caef

5 files changed

+13
-4
lines changed

AlmaLinux-8-RaspberryPi-console.aarch64.ks

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ part / --asprimary --fstype=ext4 --size=2700 --label=rootfs --ondisk=sda
5959
-iwl7260-firmware
6060
NetworkManager-wifi
6161
almalinux-release-raspberrypi
62+
binutils
6263
bluez
6364
chrony
6465
cloud-init
@@ -67,6 +68,7 @@ e2fsprogs
6768
net-tools
6869
linux-firmware-raspberrypi
6970
raspberrypi-userland
71+
raspberrypi-sys-mods
7072
raspberrypi2-firmware
7173
raspberrypi2-kernel4
7274
raspberrypi2-kernel4-tools
@@ -128,7 +130,7 @@ EOF
128130
129131
# Kernel command line string
130132
cat > /boot/cmdline.txt << EOF
131-
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
133+
console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
132134
EOF
133135
134136
# Create and initialize swapfile

AlmaLinux-8-RaspberryPi-gnome.aarch64.ks

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,14 @@ abattis-cantarell-fonts
6767
NetworkManager-wifi
6868
almalinux-release-raspberrypi
6969
bluez
70+
binutils
7071
chrony
7172
cloud-init
7273
cloud-utils-growpart
7374
e2fsprogs
7475
net-tools
7576
linux-firmware-raspberrypi
77+
raspberrypi-sys-mods
7678
raspberrypi-userland
7779
raspberrypi2-firmware
7880
raspberrypi2-kernel4
@@ -143,7 +145,7 @@ EOF
143145
144146
# Kernel command line string
145147
cat > /boot/cmdline.txt << EOF
146-
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
148+
console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
147149
EOF
148150
149151
# Create and initialize swapfile

AlmaLinux-9-RaspberryPi-console.aarch64.ks

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ cloud-utils-growpart
5050
e2fsprogs
5151
net-tools
5252
linux-firmware-raspberrypi
53+
raspberrypi-sys-mods
5354
raspberrypi-userland
5455
raspberrypi2-firmware
5556
raspberrypi2-kernel4
@@ -114,7 +115,7 @@ EOF
114115
115116
# Kernel command line string
116117
cat > /boot/cmdline.txt << EOF
117-
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
118+
console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
118119
EOF
119120
120121
# Create and initialize swapfile

AlmaLinux-9-RaspberryPi-gnome.aarch64.ks

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ cloud-utils-growpart
5757
e2fsprogs
5858
net-tools
5959
linux-firmware-raspberrypi
60+
raspberrypi-sys-mods
6061
raspberrypi-userland
6162
raspberrypi2-firmware
6263
raspberrypi2-kernel4
@@ -128,7 +129,7 @@ EOF
128129
129130
# Kernel command line string
130131
cat > /boot/cmdline.txt << EOF
131-
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
132+
console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
132133
EOF
133134
134135
# Create and initialize swapfile

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ Full guide for AlmaLinux on Raspberry Pi is available here: https://wiki.almalin
3232

3333
## Changelog
3434

35+
### 2024-07-24
36+
- Adjust udev rules to enable serial console and bluetooth concurrently on Pi 5
37+
3538
### 2024-06-27
3639
- V3D graphic driver is now working on AL8 [#32](https://github.com/AlmaLinux/raspberry-pi/issues/32)
3740

0 commit comments

Comments
 (0)