Skip to content
Draft
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
21 changes: 20 additions & 1 deletion .github/actions/shared-steps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ runs:
cd /tmp && \
curl -L -O https://github.com/worproject/rpi5-uefi/releases/download/v0.3/RPi5_UEFI_Release_v0.3.zip && \
sudo /bin/bash -c "cd mnt && unzip ../RPi5_UEFI_Release_v0.3.zip" && \
sudo mkdir /tmp/mnt/overlays && \
sudo podman run \
--rm \
-i \
Expand All @@ -188,7 +189,7 @@ runs:
-v /tmp/mnt:/tmp \
--entrypoint /bin/bash \
localhost/${{ env.IMAGE_NAME }}:${{ inputs.VERSION_MAJOR }}${{ env.VERSION_MINOR }}-${{ inputs.DATE_STAMP }}-${{ env.CLEAN_ARCH }} \
-c "cp -a --no-preserve=links /usr/share/raspberrypi2-kernel*/*/boot/*.dtb /tmp/ && cp -a --no-preserve=links /usr/lib/ostree-boot/* /tmp/" && \
-c "cp -a --no-preserve=links /usr/share/raspberrypi2-kernel*/*/boot/*.dtb /tmp/ && cp -a --no-preserve=links /usr/lib/ostree-boot/* /tmp/ && cp -a /usr/share/raspberrypi2-kernel*/*/boot/overlays/* /tmp/overlays/" && \
curl -o uboot.tar.bz2 https://ftp.denx.de/pub/u-boot/u-boot-2025.07.tar.bz2 && \
tar -jxf uboot.tar.bz2 && \
cd u-boot-2025.07/ && \
Expand All @@ -197,6 +198,24 @@ runs:
make && \
ls -l && \
sudo cp u-boot-nodtb.bin /tmp/mnt/kernel8.img && \
curl -L -o uboot.tar.gz https://github.com/talos-rpi5/u-boot/archive/refs/tags/v2025.04-rpi5-3.tar.gz && \
tar -zxf uboot.tar.gz && \
cd u-boot-*/ && \
cp arch/arm/dts/bcm2711-rpi-4-b.dts arch/arm/dts/bcm2712-rpi-5-b.dtb && \
echo CONFIG_USB_XHCI_DWC3=y >> configs/rpi_5_defconfig && \
echo CONFIG_USB_DWC3=y >> configs/rpi_5_defconfig && \
echo CONFIG_USB_DWC3_GENERIC=y >> configs/rpi_5_defconfig && \
echo CONFIG_BOOTDELAY=1 >> configs/rpi_5_defconfig && \
echo CONFIG_AUTOBOOT_KEYED=y >> configs/rpi_5_defconfig && \
echo 'CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"' >> configs/rpi_5_defconfig && \
echo 'CONFIG_AUTOBOOT_DELAY_STR="d"' >> configs/rpi_5_defconfig && \
echo 'CONFIG_AUTOBOOT_STOP_STR=" "' >> configs/rpi_5_defconfig && \
echo 'CONFIG_BOOTCOMMAND="bootflow scan;"' >> configs/rpi_5_defconfig && \
sed -i 's/CONFIG_PREBOOT=.*/CONFIG_PREBOOT="pci enum; nvme scan; usb start;"/' configs/rpi_5_defconfig && \
make rpi_5_defconfig && \
make && \
ls -l && \
sudo cp u-boot-nodtb.bin /tmp/mnt/kernel8-rpi5.img && \
sudo umount /tmp/mnt && \
sudo /usr/sbin/sgdisk --typecode="1:0700" $LOOP && \
sudo cp /tmp/image-${{ env.IMAGE_NAME }}4-${{ inputs.VERSION_MAJOR }}${{ env.VERSION_MINOR }}-${{ inputs.DATE_STAMP }}-${{ env.CLEAN_ARCH }}.raw /tmp/image-${{ env.IMAGE_NAME }}3-${{ inputs.VERSION_MAJOR }}${{ env.VERSION_MINOR }}-${{ inputs.DATE_STAMP }}-${{ env.CLEAN_ARCH }}.raw && \
Expand Down
1 change: 1 addition & 0 deletions 10-kitten-rpi/almalinux-10-kitten-rpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ postprocess:
cat > /usr/lib/bootc/install/20-rhel.toml << EOF
[install]
root-fs-type = "xfs"
kargs = ["console=tty0", "console=ttyS0", "console=ttyAMA10"]
EOF
- |
#!/usr/bin/env bash
Expand Down
1 change: 1 addition & 0 deletions 10-rpi/almalinux-10-rpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ postprocess:
cat > /usr/lib/bootc/install/20-rhel.toml << EOF
[install]
root-fs-type = "xfs"
kargs = ["console=tty0", "console=ttyS0", "console=ttyAMA10"]
EOF
- |
#!/usr/bin/env bash
Expand Down
1 change: 1 addition & 0 deletions 9-rpi/almalinux-9-rpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ postprocess:
cat > /usr/lib/bootc/install/20-rhel.toml << EOF
[install]
root-fs-type = "xfs"
kargs = ["console=tty0", "console=ttyS0", "console=ttyAMA10"]
EOF
- |
#!/usr/bin/env bash
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,4 @@ Join the discussion and get involved with the relevant AlmaLinux Special Interes
* **Cloud SIG:** Focused on cloud images and deployments.
* [Wiki](https://wiki.almalinux.org/sigs/Cloud.html)
* Chat: [Mattermost](https://chat.almalinux.org/almalinux/channels/sigcloud) | [Matrix](https://matrix.to/#/#sig-cloud:almalinux.im)

4 changes: 4 additions & 0 deletions config.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# This file is provided as a placeholder for user options
# AlmaLinux - few default config options

[pi5]
kernel=kernel8-rpi5.img
framebuffer_depth=16

[pi3]
arm_64bit=1

Expand Down