From d89ee4aa5c9e1e398d64a8ff2c0bbbee7ebd7ecc Mon Sep 17 00:00:00 2001 From: Daniel BORNAZ Date: Mon, 16 Sep 2019 17:46:36 +0200 Subject: Added PREEMPT_RT machine defs for RPi Added recipe append file and machine configuration for RPi3 platform. Change-Id: Ie2f36eb1993c7c48614a78d8c04e4a9057a9ab51 --- conf/machine/raspberrypi3-64-rt.conf | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 conf/machine/raspberrypi3-64-rt.conf (limited to 'conf/machine/raspberrypi3-64-rt.conf') diff --git a/conf/machine/raspberrypi3-64-rt.conf b/conf/machine/raspberrypi3-64-rt.conf new file mode 100644 index 0000000..8f59155 --- /dev/null +++ b/conf/machine/raspberrypi3-64-rt.conf @@ -0,0 +1,37 @@ +#@TYPE: Machine +#@NAME: RaspberryPi 3 Development Board +#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode + +MACHINEOVERRIDES = "raspberrypi3:${MACHINE}" + +MACHINE_EXTRA_RRECOMMENDS += "\ + linux-firmware-rpidistro-bcm43430 \ + linux-firmware-rpidistro-bcm43455 \ + bluez-firmware-rpidistro-bcm43430a1-hcd \ + bluez-firmware-rpidistro-bcm4345c0-hcd \ +" + +require conf/machine/include/tune-cortexa53.inc +include conf/machine/include/rpi-base.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi-rt" + +RPI_KERNEL_DEVICETREE = " \ + broadcom/bcm2710-rpi-3-b.dtb \ + broadcom/bcm2710-rpi-3-b-plus.dtb \ + broadcom/bcm2837-rpi-3-b.dtb \ + " + +SERIAL_CONSOLES ?= "115200;ttyS0" + +UBOOT_MACHINE = "rpi_3_config" +MACHINE_FEATURES_append = " vc4graphics" + +# 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.bin" -- cgit v1.2.3-54-g00ecf