summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-fitimage.bbclass
diff options
context:
space:
mode:
authorVineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>2018-02-08 11:59:36 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-15 11:23:11 +0000
commitbe15c2fefdce00bc530739d3979a20ed6725041b (patch)
treea4c2a355a06749bc4461c5c91903a0e3ef98c707 /meta/classes/kernel-fitimage.bbclass
parent89c4bd0dfb69572fb5e42b467cdf1acc220e5775 (diff)
downloadpoky-be15c2fefdce00bc530739d3979a20ed6725041b.tar.gz
kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT
64 bit entry point should be passed in 2 literals ( "0x1 0x00008000" ).ENTRYPOINT is assigned with first half only and erroring out as 'command not found' for the second half. Adding quotes while assignment fixes the issue. (From OE-Core rev: e886c9c5e1a8ab28388a2e8bbb936ad5eea78615) Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r--meta/classes/kernel-fitimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index a50f8a18ee..50a91e1990 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -102,7 +102,7 @@ fitimage_emit_section_kernel() {
102 102
103 kernel_csum="sha1" 103 kernel_csum="sha1"
104 104
105 ENTRYPOINT=${UBOOT_ENTRYPOINT} 105 ENTRYPOINT="${UBOOT_ENTRYPOINT}"
106 if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then 106 if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then
107 ENTRYPOINT=`${HOST_PREFIX}nm vmlinux | \ 107 ENTRYPOINT=`${HOST_PREFIX}nm vmlinux | \
108 awk '$3=="${UBOOT_ENTRYSYMBOL}" {print "0x"$1;exit}'` 108 awk '$3=="${UBOOT_ENTRYSYMBOL}" {print "0x"$1;exit}'`