Files
meta-raspberrypi/conf/machine/include/rpi-base.inc
Andrei Gherzan 6392a63985 rpi-base.inc: Use KERNEL_DEVICETREE by default
We already switched to kernel v3.18 by default so we can activate
KERNEL_DEVICETREE by default too.

Change-Id: I69612be72f8254d462421112cf851e17a1ef24f8
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:59:50 +01:00

50 lines
1.3 KiB
PHP

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"
SERIAL_CONSOLE ?= "115200 ttyAMA0"
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 \
ds1307-rtc-overlay.dtb \
hifiberry-amp-overlay.dtb \
hifiberry-dac-overlay.dtb \
hifiberry-dacplus-overlay.dtb \
hifiberry-digi-overlay.dtb \
iqaudio-dac-overlay.dtb \
iqaudio-dacplus-overlay.dtb \
lirc-rpi-overlay.dtb \
pcf8523-rtc-overlay.dtb \
pps-gpio-overlay.dtb \
w1-gpio-overlay.dtb \
w1-gpio-pullup-overlay.dtb \
"
KERNEL_IMAGETYPE ?= "Image"
MACHINE_FEATURES = "kernel26 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}"