Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 1 | include conf/machine/include/rpi-default-settings.inc |
| 2 | include conf/machine/include/rpi-default-versions.inc |
| 3 | include conf/machine/include/rpi-default-providers.inc |
| 4 | |
| 5 | SOC_FAMILY = "rpi" |
| 6 | include conf/machine/include/soc-family.inc |
| 7 | |
| 8 | IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" |
| 9 | |
| 10 | XSERVER = " \ |
| 11 | xserver-xorg \ |
Patrick Williams | b2e6a9b | 2017-02-23 20:31:26 -0600 | [diff] [blame^] | 12 | ${@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 Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 14 | " |
| 15 | |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 16 | KERNEL_DEVICETREE ?= " \ |
| 17 | bcm2708-rpi-b.dtb \ |
| 18 | bcm2708-rpi-b-plus.dtb \ |
| 19 | bcm2709-rpi-2-b.dtb \ |
| 20 | bcm2710-rpi-3-b.dtb \ |
Patrick Williams | b2e6a9b | 2017-02-23 20:31:26 -0600 | [diff] [blame^] | 21 | bcm2708-rpi-cm.dtb \ |
| 22 | bcm2710-rpi-cm3.dtb \ |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 23 | \ |
Patrick Williams | b2e6a9b | 2017-02-23 20:31:26 -0600 | [diff] [blame^] | 24 | overlays/hifiberry-amp.dtbo \ |
| 25 | overlays/hifiberry-dac.dtbo \ |
| 26 | overlays/hifiberry-dacplus.dtbo \ |
| 27 | overlays/hifiberry-digi.dtbo \ |
| 28 | overlays/i2c-rtc.dtbo \ |
| 29 | overlays/iqaudio-dac.dtbo \ |
| 30 | overlays/iqaudio-dacplus.dtbo \ |
| 31 | overlays/lirc-rpi.dtbo \ |
| 32 | overlays/pitft22.dtbo \ |
| 33 | overlays/pitft28-resistive.dtbo \ |
| 34 | overlays/pps-gpio.dtbo \ |
| 35 | overlays/rpi-ft5406.dtbo \ |
| 36 | overlays/w1-gpio.dtbo \ |
| 37 | overlays/w1-gpio-pullup.dtbo \ |
| 38 | overlays/pi3-disable-bt.dtbo \ |
| 39 | overlays/pi3-miniuart-bt.dtbo \ |
| 40 | overlays/vc4-kms-v3d.dtbo \ |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 41 | " |
| 42 | KERNEL_IMAGETYPE ?= "Image" |
| 43 | |
| 44 | MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" |
| 45 | |
| 46 | # Raspberry Pi has no hardware clock |
| 47 | MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc" |
| 48 | |
| 49 | MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" |
| 50 | |
| 51 | # Set Raspberrypi splash image |
| 52 | SPLASH = "psplash-raspberrypi" |
| 53 | |
| 54 | IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}" |
Patrick Williams | b2e6a9b | 2017-02-23 20:31:26 -0600 | [diff] [blame^] | 55 | |
| 56 | # The kernel image is installed into the FAT32 boot partition and does not need |
| 57 | # to also be installed into the rootfs. |
| 58 | RDEPENDS_kernel-base = "" |