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 <[email protected]>
---
 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

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to