[meta-xilinx] [meta-xilinx-bsp][PATCH] kernel-simpleimage.bbclass: Use dts for simpleImage generation for Microblaze
Manjukumar Matha
manjukumar.harthikote-matha at xilinx.com
Fri Jun 28 15:55:48 PDT 2019
Use dts for SimpleImage generation for Microblaze. This patch fixes the
issue of not able to boot because dtb was used for SimpleImage
generation.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
meta-xilinx-bsp/classes/kernel-simpleimage.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
index be70ffa..925336d 100644
--- a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
+++ b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
@@ -15,7 +15,8 @@ do_prep_simpleimage () {
for type in ${KERNEL_IMAGETYPES} ; do
if [[ "${type}" =~ "simpleImage" ]] && [ ${ARCH} = "microblaze" ]; then
ext="${type##*.}"
- cp ${RECIPE_SYSROOT}/boot/devicetree/${ext}.dtb ${B}/arch/${ARCH}/boot/dts/
+ # Microblaze simpleImage only works with dts file
+ cp ${RECIPE_SYSROOT}/boot/devicetree/${ext}.dts ${B}/arch/${ARCH}/boot/dts/
fi
done
}
--
2.7.4
More information about the meta-xilinx
mailing list