blob: dc98099f2cdefdf278aa2248b999012e8da135b4 [file] [log] [blame]
Patrick Williams8b8bc412016-08-17 15:02:23 -05001include conf/machine/include/rpi-default-settings.inc
2include conf/machine/include/rpi-default-versions.inc
3include conf/machine/include/rpi-default-providers.inc
4
5SOC_FAMILY = "rpi"
6include conf/machine/include/soc-family.inc
7
8IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg"
9
10XSERVER = " \
11 xserver-xorg \
Patrick Williamsb2e6a9b2017-02-23 20:31:26 -060012 ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xserver-xorg-extension-glx", "", d)} \
13 ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
Patrick Williams8b8bc412016-08-17 15:02:23 -050014 "
15
Patrick Williams8b8bc412016-08-17 15:02:23 -050016KERNEL_DEVICETREE ?= " \
Brad Bishop3a5fbf52017-12-04 02:17:07 -050017 bcm2708-rpi-0-w.dtb \
Patrick Williams8b8bc412016-08-17 15:02:23 -050018 bcm2708-rpi-b.dtb \
19 bcm2708-rpi-b-plus.dtb \
20 bcm2709-rpi-2-b.dtb \
21 bcm2710-rpi-3-b.dtb \
Patrick Williamsb2e6a9b2017-02-23 20:31:26 -060022 bcm2708-rpi-cm.dtb \
23 bcm2710-rpi-cm3.dtb \
Patrick Williams8b8bc412016-08-17 15:02:23 -050024 \
Patrick Williamsb2e6a9b2017-02-23 20:31:26 -060025 overlays/hifiberry-amp.dtbo \
26 overlays/hifiberry-dac.dtbo \
27 overlays/hifiberry-dacplus.dtbo \
28 overlays/hifiberry-digi.dtbo \
29 overlays/i2c-rtc.dtbo \
30 overlays/iqaudio-dac.dtbo \
31 overlays/iqaudio-dacplus.dtbo \
32 overlays/lirc-rpi.dtbo \
33 overlays/pitft22.dtbo \
34 overlays/pitft28-resistive.dtbo \
35 overlays/pps-gpio.dtbo \
36 overlays/rpi-ft5406.dtbo \
37 overlays/w1-gpio.dtbo \
38 overlays/w1-gpio-pullup.dtbo \
39 overlays/pi3-disable-bt.dtbo \
40 overlays/pi3-miniuart-bt.dtbo \
41 overlays/vc4-kms-v3d.dtbo \
Patrick Williams8b8bc412016-08-17 15:02:23 -050042 "
43KERNEL_IMAGETYPE ?= "Image"
44
45MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"
46
47# Raspberry Pi has no hardware clock
48MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
49
50MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
51
52# Set Raspberrypi splash image
53SPLASH = "psplash-raspberrypi"
54
55IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
Patrick Williamsb2e6a9b2017-02-23 20:31:26 -060056
57# The kernel image is installed into the FAT32 boot partition and does not need
58# to also be installed into the rootfs.
59RDEPENDS_kernel-base = ""