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:
parent
41a761281d
commit
4ffef325ba
@ -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
|
||||
|
||||
8560
config/kernel/linux-bcm2711-current.config
Normal file
8560
config/kernel/linux-bcm2711-current.config
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -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}"
|
||||
;;
|
||||
|
||||
1
patch/kernel/bcm2711-current
Symbolic link
1
patch/kernel/bcm2711-current
Symbolic link
@ -0,0 +1 @@
|
||||
archive/bcm2711-5.16
|
||||
1
patch/kernel/bcm2711-edge
Symbolic link
1
patch/kernel/bcm2711-edge
Symbolic link
@ -0,0 +1 @@
|
||||
archive/bcm2711-5.16
|
||||
Loading…
Reference in New Issue
Block a user