Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: RaspberryPi 4 Development Board (64bit) |
| 3 | #@DESCRIPTION: Machine configuration for the RaspberryPi 4 in 64 bits mode |
| 4 | |
| 5 | MACHINEOVERRIDES = "raspberrypi4:${MACHINE}" |
| 6 | |
Brad Bishop | 1b9ee29 | 2020-01-16 09:06:00 -0500 | [diff] [blame] | 7 | MACHINE_FEATURES += "pci" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 8 | MACHINE_EXTRA_RRECOMMENDS += "\ |
| 9 | linux-firmware-rpidistro-bcm43455 \ |
| 10 | bluez-firmware-rpidistro-bcm4345c0-hcd \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 11 | linux-firmware-rpidistro-bcm43456 \ |
| 12 | bluez-firmware-rpidistro-bcm4345c5-hcd \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 13 | " |
| 14 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 15 | DEFAULTTUNE = "cortexa72" |
| 16 | |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 17 | require conf/machine/include/arm/armv8a/tune-cortexa72.inc |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 18 | include conf/machine/include/rpi-base.inc |
| 19 | |
| 20 | RPI_KERNEL_DEVICETREE = " \ |
| 21 | broadcom/bcm2711-rpi-4-b.dtb \ |
Andrew Geissler | 1110521 | 2021-02-12 15:30:38 -0600 | [diff] [blame] | 22 | broadcom/bcm2711-rpi-400.dtb \ |
| 23 | broadcom/bcm2711-rpi-cm4.dtb \ |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 24 | broadcom/bcm2711-rpi-cm4s.dtb \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 25 | " |
| 26 | |
| 27 | SDIMG_KERNELIMAGE ?= "kernel8.img" |
| 28 | SERIAL_CONSOLES ?= "115200;ttyS0" |
| 29 | |
Andrew Geissler | 1110521 | 2021-02-12 15:30:38 -0600 | [diff] [blame] | 30 | UBOOT_MACHINE = "rpi_arm64_config" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 31 | |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 32 | VC4DTBO ?= "vc4-kms-v3d" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 33 | |
| 34 | # When u-boot is enabled we need to use the "Image" format and the "booti" |
| 35 | # command to load the kernel |
| 36 | KERNEL_IMAGETYPE_UBOOT ?= "Image" |
| 37 | # "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet |
| 38 | KERNEL_IMAGETYPE_DIRECT ?= "Image" |
| 39 | KERNEL_BOOTCMD ?= "booti" |
| 40 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 41 | ARMSTUB ?= "armstub8-gic.bin" |