diff options
Diffstat (limited to 'import-layers/meta-raspberrypi/conf/machine/include/rpi-base.inc')
-rw-r--r-- | import-layers/meta-raspberrypi/conf/machine/include/rpi-base.inc | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/import-layers/meta-raspberrypi/conf/machine/include/rpi-base.inc b/import-layers/meta-raspberrypi/conf/machine/include/rpi-base.inc new file mode 100644 index 000000000..56ca83e1e --- /dev/null +++ b/import-layers/meta-raspberrypi/conf/machine/include/rpi-base.inc @@ -0,0 +1,53 @@ +include conf/machine/include/rpi-default-settings.inc +include conf/machine/include/rpi-default-versions.inc +include conf/machine/include/rpi-default-providers.inc + +SOC_FAMILY = "rpi" +include conf/machine/include/soc-family.inc + +IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" + +XSERVER = " \ + xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-input-keyboard \ + xf86-video-fbdev \ + " + +# Really supported starting from linux-raspberrypi 3.18.y only +KERNEL_DEVICETREE ?= " \ + bcm2708-rpi-b.dtb \ + bcm2708-rpi-b-plus.dtb \ + bcm2709-rpi-2-b.dtb \ + bcm2710-rpi-3-b.dtb \ + \ + overlays/hifiberry-amp-overlay.dtb \ + overlays/hifiberry-dac-overlay.dtb \ + overlays/hifiberry-dacplus-overlay.dtb \ + overlays/hifiberry-digi-overlay.dtb \ + overlays/i2c-rtc-overlay.dtb \ + overlays/iqaudio-dac-overlay.dtb \ + overlays/iqaudio-dacplus-overlay.dtb \ + overlays/lirc-rpi-overlay.dtb \ + overlays/pitft22-overlay.dtb \ + overlays/pitft28-resistive-overlay.dtb \ + overlays/pps-gpio-overlay.dtb \ + overlays/rpi-ft5406-overlay.dtb \ + overlays/w1-gpio-overlay.dtb \ + overlays/w1-gpio-pullup-overlay.dtb \ + overlays/pi3-miniuart-bt-overlay.dtb \ + " +KERNEL_IMAGETYPE ?= "Image" + +MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" + +# Raspberry Pi has no hardware clock +MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc" + +MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" + +# Set Raspberrypi splash image +SPLASH = "psplash-raspberrypi" + +IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}" |