Brad Bishop | 3a5fbf5 | 2017-12-04 02:17:07 -0500 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: RaspberryPi 3 Development Board |
| 3 | #@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode |
| 4 | |
| 5 | MACHINEOVERRIDES = "raspberrypi3:${MACHINE}" |
| 6 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 7 | MACHINE_EXTRA_RRECOMMENDS += "\ |
| 8 | linux-firmware-bcm43430 \ |
| 9 | linux-firmware-bcm43455 \ |
| 10 | linux-firmware-bcm43430a1-hcd \ |
| 11 | linux-firmware-bcm4345c0-hcd \ |
| 12 | " |
Brad Bishop | 3a5fbf5 | 2017-12-04 02:17:07 -0500 | [diff] [blame] | 13 | |
Brad Bishop | 3a5fbf5 | 2017-12-04 02:17:07 -0500 | [diff] [blame] | 14 | require conf/machine/include/arm/arch-armv8.inc |
| 15 | include conf/machine/include/rpi-base.inc |
| 16 | |
Brad Bishop | f27bdd5 | 2018-05-07 15:42:31 +0200 | [diff] [blame] | 17 | RPI_KERNEL_DEVICETREE = " \ |
Brad Bishop | 3a5fbf5 | 2017-12-04 02:17:07 -0500 | [diff] [blame] | 18 | broadcom/bcm2710-rpi-3-b.dtb \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | broadcom/bcm2710-rpi-3-b-plus.dtb \ |
Brad Bishop | 3a5fbf5 | 2017-12-04 02:17:07 -0500 | [diff] [blame] | 20 | broadcom/bcm2837-rpi-3-b.dtb \ |
Brad Bishop | 3a5fbf5 | 2017-12-04 02:17:07 -0500 | [diff] [blame] | 21 | " |
| 22 | |
| 23 | SERIAL_CONSOLE ?= "115200 ttyS0" |
| 24 | VC4_CMA_SIZE ?= "cma-256" |
| 25 | |
| 26 | UBOOT_MACHINE = "rpi_3_config" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 27 | MACHINE_FEATURES_append = " vc4graphics" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 28 | |
| 29 | # When u-boot is enabled we need to use the "Image" format and the "booti" |
| 30 | # command to load the kernel |
| 31 | KERNEL_IMAGETYPE_UBOOT ?= "Image" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 32 | # "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet |
| 33 | KERNEL_IMAGETYPE_DIRECT ?= "Image" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 34 | KERNEL_BOOTCMD ?= "booti" |