Bump Rpi EDGE kernel to 6.0.y (#4338)

* Bump rpi to 6.0.y

* Add Kinetic
This commit is contained in:
Igor Pečovnik
2022-10-25 17:53:55 +02:00
committed by GitHub
parent a6c02f5e05
commit 32a1b1409f
6 changed files with 361 additions and 85 deletions

View File

@@ -26,7 +26,7 @@ case "${BRANCH}" in
edge)
export RASPI_DISTRO_KERNEL=no
export KERNELSOURCE='https://github.com/raspberrypi/linux'
export KERNELBRANCH="branch:rpi-5.19.y"
export KERNELBRANCH="branch:rpi-6.0.y"
export KERNELPATCHDIR="${LINUXFAMILY}-${BRANCH}"
export LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}"
;;
@@ -68,12 +68,12 @@ extension_prepare_config__prepare_rpi_flash_kernel() {
display_alert "Preparing bcm2711" "${RELEASE}, distro kernel?: ${RASPI_DISTRO_KERNEL}" "info"
export RASPI_DISTRO_KERNEL="${RASPI_DISTRO_KERNEL:-no}" # Include a distro-built kernel?
export SERIALCON="${RASPI_SERIALCON:-tty1}" # HDMI etc, not serial. most people don't have UART on rpi
local usable_releases="focal|hirsute|impish|jammy"
local usable_releases="focal|hirsute|impish|jammy|kinetic"
if [[ "$RELEASE" =~ ^(${usable_releases})$ ]]; then
export FK__EXTRA_PACKAGES="rpi-eeprom linux-firmware linux-firmware-raspi2 libraspberrypi-bin cloud-initramfs-growroot"
if [[ "$RELEASE" =~ ^(jammy|kinetic)$ ]]; then # Add raspi-config for those releases that have it; it might be useful.
if [[ "$RELEASE" =~ ^(hirsute|impish|jammy|kinetic)$ ]]; then # Add raspi-config for those releases that have it; it might be useful.
export FK__EXTRA_PACKAGES="${FK__EXTRA_PACKAGES} raspi-config"
fi
@@ -81,7 +81,7 @@ extension_prepare_config__prepare_rpi_flash_kernel() {
unset KERNELSOURCE # Make sure Armbian will not try to compile from source.
export FK__KERNEL_PACKAGES="${FK__KERNEL_PACKAGES} linux-tools-raspi linux-raspi linux-image-raspi "
# Ubuntu Impish+ split the kernel modules, add the extra ones too.
if [[ "$RELEASE" =~ ^(impish|jammy)$ ]]; then
if [[ "$RELEASE" =~ ^(impish|jammy|kinetic)$ ]]; then
export FK__KERNEL_PACKAGES="${FK__KERNEL_PACKAGES} linux-modules-extra-raspi"
fi
fi