Several improvements for RPi builds (#3391)

* Several improvements for RPi builds

- attach to RPi kernels
- current (ubuntu) -> legacy
- current -> 5.10.y, edge, 5.15.y

* Move current Rpi to 5.15.y and edge to 5.16.y
This commit is contained in:
Igor Pečovnik 2022-01-11 15:25:58 +01:00 committed by GitHub
parent 41a761281d
commit 4ffef325ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11409 additions and 4366 deletions

View File

@ -1,7 +1,7 @@
# Broadcom BCM2711 quad core 1-8Gb RAM SoC USB3 GBE USB-C WiFi/BT
export BOARD_NAME="Raspberry Pi 4"
export BOARDFAMILY="bcm2711"
export KERNEL_TARGET="current,edge"
export KERNEL_TARGET="legacy,current,edge"
export FK__MACHINE_MODEL="Raspberry Pi 4 Model B" # flash kernel (FK) configuration
# configure stuff at the appropriate time in flash-kernel

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -7,16 +7,27 @@ export KERNELDIR='linux-rpi' # Avoid sharing a source tree with o
export FK__PUBLISHED_KERNEL_VERSION="raspi" # flash kernel (FK) configuration
export FK__KERNEL_PACKAGES=""
export RASPI_ROOT_FS_LABEL="armbian"
export CPUMIN=500000
export CPUMAX=2000000
export GOVERNOR=ondemand
case "${BRANCH}" in
current)
legacy)
export RASPI_DISTRO_KERNEL=yes # This will cause board to include distro's prebuilt kernel, not from source
;;
current)
export RASPI_DISTRO_KERNEL=no
export KERNELSOURCE='https://github.com/raspberrypi/linux'
export KERNELBRANCH="branch:rpi-5.15.y"
export KERNELPATCHDIR="${LINUXFAMILY}-${BRANCH}"
export LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}"
;;
edge)
export RASPI_DISTRO_KERNEL=no
export KERNELBRANCH="branch:linux-5.15.y"
export KERNELSOURCE='https://github.com/raspberrypi/linux'
export KERNELBRANCH="branch:rpi-5.16.y"
export KERNELPATCHDIR="${LINUXFAMILY}-${BRANCH}"
export LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}"
;;

View File

@ -0,0 +1 @@
archive/bcm2711-5.16

1
patch/kernel/bcm2711-edge Symbolic link
View File

@ -0,0 +1 @@
archive/bcm2711-5.16