[meta-xilinx] [meta-xilinx-bsp][PATCH] kernel-simpleimage.bbclass: Deploy simpleImage unstrip file
Manjukumar Matha
manjukumar.harthikote-matha at xilinx.com
Fri Jun 28 16:01:45 PDT 2019
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 at xilinx.com>
---
meta-xilinx-bsp/classes/kernel-simpleimage.bbclass | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass b/meta-xilinx-bsp/classes/kernel-simpleimage.bbclass
index 925336d..6f3a9df 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
+}
--
2.7.4
More information about the meta-xilinx
mailing list