Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Build/Installer | Add support for RPi with new kernel/firmware #6892

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jan 29, 2024

  • DietPi-Build/Installer | Start adding support for building RPi images with new firmware packages
  • DietPi-Image/FS_partition_resize | Add support for DietPi config files and firstboot scripts on new RPi boot/firmware partition. Since the new RPi firmware packages require the boot FAT partition to be mounted at /boot/firmware, RPi firstboot automation does not work anymore. It is hence now handled similar to the trailing setup FAT partition used on other SBCs: With a related flag, the DietPi-Imager copies related files from /boot (rootfs) to the boot FAT partition, expected to be partition 1. The DietPi-FS_partition_resize script mounts this partition and copies all files over to /boot, replacing the ones there, if older.

First RPi 5 build test: https://github.com/MichaIng/DietPi/actions/runs/7702912169

@MichaIng MichaIng added Feature request 🏭 Raspberry Pi Installer 💠 Issues related to DietPi-Installer and/or pre-image used Raspberry Pi 5 labels Jan 29, 2024
@MichaIng MichaIng added this to the v9.1 milestone Jan 29, 2024
@MichaIng MichaIng linked an issue Jan 29, 2024 that may be closed by this pull request
@MichaIng MichaIng force-pushed the rpi-new branch 12 times, most recently from a724c85 to 51d2917 Compare February 4, 2024 21:21
- DietPi-Build/Installer | Start adding support for building RPi images with new firmware packages
- DietPi-Image/FS_partition_resize | Add support for DietPi config files and firstboot scripts on new RPi boot/firmware partition. Since the new RPi firmware packages require the boot FAT partition to be mounted at /boot/firmware, RPi firstboot automation does not work anymore. It is hence now handled similar to the trailing setup FAT partition used on other SBCs: With a related flag, the DietPi-Imager copies related files from /boot (rootfs) to the boot FAT partition, expected to be partition 1. The DietPi-FS_partition_resize script mounts this partition and copies all files over to /boot, replacing the ones there, if older.
@MichaIng MichaIng merged commit 6a7a63b into dev Feb 4, 2024
10 checks passed
@MichaIng MichaIng deleted the rpi-new branch February 4, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request 🏭 Installer 💠 Issues related to DietPi-Installer and/or pre-image used Raspberry Pi Raspberry Pi 5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image | Raspberry Pi 5: Testing and firmware migration script
1 participant