[yocto] [meta-raspberrypi][PATCH 3/3] linux-raspberrypi: Build dtbs with dtbs make target for rpi64

Khem Raj raj.khem at gmail.com
Sun Sep 17 22:41:37 PDT 2017


OE currently builds dtb files with its own custom targets by
specifying each dtb file as makefile target, this creates bad
dtb for rpi64 bit. This patch calles 'make dtbs' at the end
which regenerates the correct dtb files

This makes the vc4 initialize properly on rpi64

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes-kernel/linux/linux-raspberrypi.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index f336490..e0b14e9 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -38,6 +38,10 @@ python __anonymous () {
     d.setVar("KERNEL_DEVICETREE", kerneldt)
 }
 
+do_compile_append_raspberrypi3-64() {
+    oe_runmake dtbs
+}
+
 do_install_prepend() {
     install -d ${D}/lib/firmware
 }
-- 
2.14.1




More information about the yocto mailing list