-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Florin Sarbu <[email protected]>
- Loading branch information
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#@TYPE: Machine | ||
#@NAME: RaspberryPi 5 Development Board (64bit) | ||
#@DESCRIPTION: Machine configuration for the RaspberryPi 5 in 64 bits mode | ||
|
||
MACHINEOVERRIDES =. "raspberrypi5:" | ||
|
||
MACHINE_FEATURES += "pci" | ||
MACHINE_EXTRA_RRECOMMENDS += "\ | ||
linux-firmware-rpidistro-bcm43455 \ | ||
bluez-firmware-rpidistro-bcm4345c0-hcd \ | ||
linux-firmware-rpidistro-bcm43456 \ | ||
bluez-firmware-rpidistro-bcm4345c5-hcd \ | ||
" | ||
|
||
require conf/machine/include/arm/armv8-2a/tune-cortexa76.inc | ||
include conf/machine/include/rpi-base.inc | ||
|
||
RPI_KERNEL_DEVICETREE = " \ | ||
broadcom/bcm2712-rpi-5-b.dtb \ | ||
" | ||
|
||
SDIMG_KERNELIMAGE ?= "kernel8.img" | ||
SERIAL_CONSOLES ?= "115200;ttyS0" | ||
|
||
UBOOT_MACHINE = "rpi_arm64_config" | ||
|
||
VC4DTBO ?= "vc4-kms-v3d" | ||
|
||
# When u-boot is enabled we need to use the "Image" format and the "booti" | ||
# command to load the kernel | ||
KERNEL_IMAGETYPE_UBOOT ?= "Image" | ||
# "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet | ||
KERNEL_IMAGETYPE_DIRECT ?= "Image" | ||
KERNEL_BOOTCMD ?= "booti" | ||
|
||
ARMSTUB ?= "armstub8-gic.bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#@TYPE: Machine | ||
#@NAME: RaspberryPi 5 Development Board (32bit) | ||
#@DESCRIPTION: Machine configuration for the RaspberryPi 5 in 32 bit mode | ||
|
||
DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4" | ||
require conf/machine/include/arm/armv7a/tune-cortexa7.inc | ||
include conf/machine/include/rpi-base.inc | ||
|
||
MACHINE_FEATURES += "pci" | ||
MACHINE_EXTRA_RRECOMMENDS += "\ | ||
linux-firmware-rpidistro-bcm43455 \ | ||
bluez-firmware-rpidistro-bcm4345c0-hcd \ | ||
linux-firmware-rpidistro-bcm43456 \ | ||
bluez-firmware-rpidistro-bcm4345c5-hcd \ | ||
" | ||
|
||
# 'l' stands for LPAE | ||
SDIMG_KERNELIMAGE ?= "kernel7l.img" | ||
UBOOT_MACHINE = "rpi_4_32b_config" | ||
SERIAL_CONSOLES ?= "115200;ttyS0" | ||
|
||
VC4DTBO ?= "vc4-kms-v3d" | ||
ARMSTUB ?= "armstub7.bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters