mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
raspberrypi.conf: Split in specific and common conf. files
*.conf files should hold board specific stuff while rpi-base.inc should include configuration that is common for all Raspberry Pi boards. Remove MACHINE_KERNEL_PR as we don't use it anymore. Minor tweaks. Change-Id: I5e1b12c1d224ac003d2890544beb036f1d5d8643 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
parent
b99a09b257
commit
b89a2743fb
46
conf/machine/include/rpi-base.inc
Normal file
46
conf/machine/include/rpi-base.inc
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
include conf/machine/include/rpi-default-settings.inc
|
||||||
|
include conf/machine/include/rpi-default-versions.inc
|
||||||
|
include conf/machine/include/rpi-default-providers.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};kernel.img"
|
|
@ -1,57 +1,6 @@
|
||||||
#@TYPE: Machine
|
#@TYPE: Machine
|
||||||
#@NAME: RaspberryPi Development Board
|
#@NAME: RaspberryPi Development Board
|
||||||
#@DESCRIPTION: Machine configuration for the RaspberryPi http://www.raspberrypi.org/ Board
|
#@DESCRIPTION: Machine configuration for the RaspberryPi http://www.raspberrypi.org/ Board
|
||||||
#@MAINTAINER: John Willis
|
|
||||||
|
|
||||||
include conf/machine/include/rpi-default-settings.inc
|
|
||||||
include conf/machine/include/rpi-default-versions.inc
|
|
||||||
include conf/machine/include/rpi-default-providers.inc
|
|
||||||
require conf/machine/include/tune-arm1176jzf-s.inc
|
require conf/machine/include/tune-arm1176jzf-s.inc
|
||||||
|
include conf/machine/include/rpi-base.inc
|
||||||
IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg"
|
|
||||||
|
|
||||||
SERIAL_CONSOLE = "115200 ttyAMA0"
|
|
||||||
|
|
||||||
MACHINE_KERNEL_PR = "r5"
|
|
||||||
|
|
||||||
XSERVER = " \
|
|
||||||
xserver-xorg \
|
|
||||||
xf86-input-evdev \
|
|
||||||
xf86-input-mouse \
|
|
||||||
xf86-input-keyboard \
|
|
||||||
xf86-video-fbdev \
|
|
||||||
"
|
|
||||||
|
|
||||||
KERNEL_IMAGETYPE ?= "Image"
|
|
||||||
|
|
||||||
# Really supported starting from linux-rapsberry 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 \
|
|
||||||
# "
|
|
||||||
|
|
||||||
MACHINE_FEATURES = "kernel26 apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"
|
|
||||||
|
|
||||||
#RaspberryPi 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};kernel.img"
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user