Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions AlmaLinux-8-RaspberryPi-console.aarch64.ks
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,17 @@ users:
EOF

cat > /boot/config.txt << EOF
# AlmaLinux doesn't use any default config options to work,
# this file is provided as a placeholder for user options
# This file is provided as a placeholder for user options
# AlmaLinux - few default config options

[all]
# enable serial console
enable_uart=1
EOF

# Specific cmdline.txt files needed for raspberrypi2/3
# Kernel command line string
cat > /boot/cmdline.txt << EOF
console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
EOF

# Create and initialize swapfile
Expand Down
6 changes: 4 additions & 2 deletions AlmaLinux-8-RaspberryPi-gnome.aarch64.ks
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ disable_overscan=1
dtoverlay=vc4-kms-v3d
camera_auto_detect=0
gpu_mem=128
# enable serial console
enable_uart=1

## AlmaLinux - can enable this for Pi 4
#[pi4]
Expand All @@ -136,9 +138,9 @@ gpu_mem=128
[all]
EOF

# Specific cmdline.txt files needed for raspberrypi2/3
# Kernel command line string
cat > /boot/cmdline.txt << EOF
console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
EOF

# Create and initialize swapfile
Expand Down
11 changes: 7 additions & 4 deletions AlmaLinux-9-RaspberryPi-console.aarch64.ks
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ raspberrypi-userland
raspberrypi2-firmware
raspberrypi2-kernel4
nano
libgpiod-utils
%end

%post
Expand Down Expand Up @@ -98,15 +99,17 @@ users:
EOF

cat > /boot/config.txt << EOF
# AlmaLinux doesn't use any default config options to work,
# this file is provided as a placeholder for user options
# This file is provided as a placeholder for user options
# AlmaLinux - few default config options

[all]
# enable serial console
enable_uart=1
EOF

# Specific cmdline.txt files needed for raspberrypi2/3
# Kernel command line string
cat > /boot/cmdline.txt << EOF
console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
EOF

# Create and initialize swapfile
Expand Down
7 changes: 5 additions & 2 deletions AlmaLinux-9-RaspberryPi-gnome.aarch64.ks
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ raspberrypi-userland
raspberrypi2-firmware
raspberrypi2-kernel4
nano
libgpiod-utils
%end

%post
Expand Down Expand Up @@ -112,6 +113,8 @@ disable_overscan=1
dtoverlay=vc4-kms-v3d
camera_auto_detect=0
gpu_mem=128
# enable serial console
enable_uart=1

## AlmaLinux - can enable this for Pi 4
#[pi4]
Expand All @@ -120,9 +123,9 @@ gpu_mem=128
[all]
EOF

# Specific cmdline.txt files needed for raspberrypi2/3
# Kernel command line string
cat > /boot/cmdline.txt << EOF
console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
EOF

# Create and initialize swapfile
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Full guide for AlmaLinux on Raspberry Pi is available here: https://wiki.almalin

## Changelog

## 2024-06-14
- Enable serial console [#47](https://github.com/AlmaLinux/raspberry-pi/pull/47)
- Install utilities for GPIO by default (AL9)

### 2024-06-05
- Update for AlmaLinux 8.10 and 9.4
- Support Raspberry Pi 5
Expand Down