> -----Original Messages-----
> From: tiger...@viatech.com.cn
> Sent Time: 2014-01-15 08:45:16 (Wednesday)
> To: scottw...@freescale.com, bhupesh.sha...@freescale.com
> Cc: feng...@phytium.com.cn, tr...@ti.com, u-boot@lists.denx.de
> Subject: Re: [U-Boot] how to get u-boot code with arm64: core support
> 
> Hi, Scott:
> >You need to use u-boot.elf, not the unrelocated u-boot.
> Thanks a lot!
> After changing to u-boot.elf, it could be run in FVP model.
> 
> Best wishes,

I make some supplement.
Foundation Model use elf header to determine the entry point, so only support 
loading elf(or axf) images.
Another way, gcc for aarch64 use rela relocation type and no initial value 
encoded in rela table. Thus, the file
'u-boot' contains wrong relocation information. Scott provided a few patches to 
deal with this problem. A tool
 named relocate-rela is provided to fix this problem and u-boot.elf is 
generated with correct relocation.

So, only u-boot.elf could be used with Foundation model. 
Currently only gicv2 is supported. I will upload a gicv3 patch in these days.

Best wishes,






_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to