summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorFrancois Muller <francois@concept-embarque.fr>2015-02-05 14:07:00 +0100
committerFrancois Muller <francois@concept-embarque.fr>2015-02-05 14:07:00 +0100
commit4dc75cedf738989c606766c4090f27da3a7d5cfd (patch)
tree77f1fc0fb7230c7b2f352ef7544ca4b6418dcbf2 /conf/machine
parent327c0c12b5f56bbd442863931cca757a08db203f (diff)
downloadmeta-raspberrypi-4dc75cedf738989c606766c4090f27da3a7d5cfd.tar.gz
devicetree: Add minimal support with RPi bootloader
[RPi DT info] https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md#part-3-using-device-trees-on-raspberry-pi RPi bootloader detects a DT-ready kernel by checking for a specific trailer in kernel.img. Using latest raspberrypi/firmware (firmware.inc) enables this check ability. Using latest raspberrypi/tools (rpi-mkimage.bb) gives access to mkknlimg for adding the required trailer to kernel image. If KERNEL_DEVICETREE is filled in, the trailer is added to the kernel image before kernel install task. While creating the SDCard image, this modified kernel is put on boot partition (as kernel.img) as well as DeviceTree blobs (.dtb files). If KERNEL_DEVICETREE is empty, this new process isn't operated, legacy one does. KERNEL_DEVICETREE for RPi is really supported only starting from linux-rapsberry 3.18+ kernels, so as for now it defaults to empty (in machine config file). Change-Id: Ifea71bbda729b8f3c47be7ba0ba03be5ad2ceeaa Signed-off-by: Francois Muller <francois@concept-embarque.fr>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/raspberrypi.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/machine/raspberrypi.conf b/conf/machine/raspberrypi.conf
index 732ba32..01021ca 100644
--- a/conf/machine/raspberrypi.conf
+++ b/conf/machine/raspberrypi.conf
@@ -24,6 +24,9 @@ XSERVER = " \
24 24
25KERNEL_IMAGETYPE ?= "Image" 25KERNEL_IMAGETYPE ?= "Image"
26 26
27# Really supported starting from linux-rapsberry 3.18.y only !
28#KERNEL_DEVICETREE ?= "bcm2708-rpi-b.dtb bcm2708-rpi-b-plus.dtb"
29
27MACHINE_FEATURES = "kernel26 apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" 30MACHINE_FEATURES = "kernel26 apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"
28 31
29#RaspberryPi has no hardware clock 32#RaspberryPi has no hardware clock