aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-03-19 18:23:22 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-06-28 16:01:51 -0700
commitae8770ac3b74a2805d6bd5b1a30418631e401f9e (patch)
tree620e530cecc420230d3ad4efb103c07fe00f7530
parentb98dbb994033099140eeba56f9b8355b4b7ec901 (diff)
downloadmeta-xilinx-ae8770ac3b74a2805d6bd5b1a30418631e401f9e.tar.gz
meta-xilinx-ae8770ac3b74a2805d6bd5b1a30418631e401f9e.tar.bz2
meta-xilinx-ae8770ac3b74a2805d6bd5b1a30418631e401f9e.zip
kernel-simpleimage.bbclass: Deploy simpleImage unstrip file
While using JTAG flow to boot MB machines, you need an elf file. Deploy simpleImage unstrip file which can be used for JTAG flow Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/classes/kernel-simpleimage.bbclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
index 925336d4..6f3a9df0 100644
--- a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
+++ b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
@@ -21,3 +21,13 @@ do_prep_simpleimage () {
done
}
+do_deploy_append () {
+ for type in ${KERNEL_IMAGETYPES} ; do
+ if [[ "${type}" =~ "simpleImage" ]] && [ ${ARCH} = "microblaze" ]; then
+ base_name=${imageType}-${KERNEL_IMAGE_NAME}
+ install -m 0644 ${KERNEL_OUTPUT_DIR}/${type}.unstrip $deployDir/${base_name}.unstrip
+ symlink_name=${imageType}-${KERNEL_IMAGE_LINK_NAME}
+ ln -sf ${base_name}.unstrip $deployDir/${symlink_name}.unstrip
+ fi
+ done
+}