[OE-core] [PATCH] kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT

Vineeth Karumanchi vineethchowz.chowdary at xilinx.com
Wed Feb 21 03:43:06 UTC 2018


Hi Ross,

On 2/8/2018 3:45 PM, Burton, Ross wrote:
> On 8 February 2018 at 06:29, Vineeth Chowdary Karumanchi 
> <vineethchowz.chowdary at xilinx.com 
> <mailto:vineethchowz.chowdary at xilinx.com>> wrote:
> 
>     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.
> 
> 
> Does this mean that this expression below is broken too?
> 
>              if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then
>                      ENTRYPOINT=`${HOST_PREFIX}nm vmlinux | \
>                              awk '$3=="${UBOOT_ENTRYSYMBOL}" {print
>     "0x"$1;exit}'`
> 

It will pass here as the return value is full 64 bit,
but fails at mkimage utility.

The return value has to be splitted into 2 literals if it is more than 
32 bit wide.


Thanks
Vineeth


> 
> Ross



More information about the Openembedded-core mailing list