blob: 5163320daece5fb76cc57ba7e36a300f9f8351b1 [file] [log] [blame]
Brad Bishop3a5fbf52017-12-04 02:17:07 -05001#@TYPE: Machine
2#@NAME: RaspberryPi 3 Development Board
3#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode
4
5MACHINEOVERRIDES = "raspberrypi3:${MACHINE}"
6
Brad Bishop316dfdd2018-06-25 12:45:53 -04007MACHINE_EXTRA_RRECOMMENDS += "\
8 linux-firmware-bcm43430 \
9 linux-firmware-bcm43455 \
10 linux-firmware-bcm43430a1-hcd \
11 linux-firmware-bcm4345c0-hcd \
12"
Brad Bishop3a5fbf52017-12-04 02:17:07 -050013
Brad Bishop3a5fbf52017-12-04 02:17:07 -050014require conf/machine/include/arm/arch-armv8.inc
15include conf/machine/include/rpi-base.inc
16
17KERNEL_DEVICETREE = " \
18 broadcom/bcm2710-rpi-3-b.dtb \
Brad Bishop316dfdd2018-06-25 12:45:53 -040019 broadcom/bcm2710-rpi-3-b-plus.dtb \
Brad Bishop3a5fbf52017-12-04 02:17:07 -050020 broadcom/bcm2837-rpi-3-b.dtb \
21 \
22 overlays/hifiberry-amp.dtbo \
23 overlays/hifiberry-dac.dtbo \
24 overlays/hifiberry-dacplus.dtbo \
25 overlays/hifiberry-digi.dtbo \
26 overlays/i2c-rtc.dtbo \
27 overlays/iqaudio-dac.dtbo \
28 overlays/iqaudio-dacplus.dtbo \
29 overlays/lirc-rpi.dtbo \
30 overlays/pitft22.dtbo \
31 overlays/pitft28-resistive.dtbo \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050032 overlays/pitft35-resistive.dtbo \
Brad Bishop3a5fbf52017-12-04 02:17:07 -050033 overlays/pps-gpio.dtbo \
34 overlays/rpi-ft5406.dtbo \
35 overlays/w1-gpio.dtbo \
36 overlays/w1-gpio-pullup.dtbo \
37 overlays/pi3-disable-bt.dtbo \
38 overlays/pi3-miniuart-bt.dtbo \
39 overlays/vc4-kms-v3d.dtbo \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050040 overlays/vc4-fkms-v3d.dtbo \
Brad Bishop3a5fbf52017-12-04 02:17:07 -050041 "
42
43SERIAL_CONSOLE ?= "115200 ttyS0"
44VC4_CMA_SIZE ?= "cma-256"
45
46UBOOT_MACHINE = "rpi_3_config"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050047MACHINE_FEATURES_append = " vc4graphics"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050048
49# When u-boot is enabled we need to use the "Image" format and the "booti"
50# command to load the kernel
51KERNEL_IMAGETYPE_UBOOT ?= "Image"
Brad Bishop316dfdd2018-06-25 12:45:53 -040052# "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet
53KERNEL_IMAGETYPE_DIRECT ?= "Image"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050054KERNEL_BOOTCMD ?= "booti"