aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-03-09 11:07:09 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-06-28 15:55:55 -0700
commitf1eea49cd2e3ba606db810bcb26b1a9b03e14a88 (patch)
treee3ae4f088bf7c4ab186f59dfdceb1c1b02fb0891
parent7e409b78bb958410d6f4b4e98377e3d05d316704 (diff)
downloadmeta-xilinx-f1eea49cd2e3ba606db810bcb26b1a9b03e14a88.tar.gz
meta-xilinx-f1eea49cd2e3ba606db810bcb26b1a9b03e14a88.tar.bz2
meta-xilinx-f1eea49cd2e3ba606db810bcb26b1a9b03e14a88.zip
kernel-simpleimage.bbclass: Use dts for simpleImage generation for Microblaze
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@xilinx.com>
-rw-r--r--meta-xilinx-bsp/classes/kernel-simpleimage.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
index be70ffa3..925336d4 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
}