Re: [U-Boot] CONFIG_REMAKE_ELF for aarch64

2014-04-02 Thread York Sun
On 04/02/2014 03:10 AM, FengHua wrote: > >> -Original Messages- >> From: "York Sun" >> Sent Time: 2014-03-22 02:10:39 (Saturday) >> To: "Scott Wood" >> Cc: FengHua , "u-boot@lists.denx.de" >> >> Subject: CONFIG_REMAKE_ELF for aarch64 >> >> Scott, >> >> I am having a problem recreating

Re: [U-Boot] CONFIG_REMAKE_ELF for aarch64

2014-04-02 Thread FengHua
> -Original Messages- > From: "York Sun" > Sent Time: 2014-03-22 02:10:39 (Saturday) > To: "Scott Wood" > Cc: FengHua , "u-boot@lists.denx.de" > > Subject: CONFIG_REMAKE_ELF for aarch64 > > Scott, > > I am having a problem recreating u-boot.elf for aarch64 targets. The file is > OK

[U-Boot] CONFIG_REMAKE_ELF for aarch64

2014-03-21 Thread York Sun
Scott, I am having a problem recreating u-boot.elf for aarch64 targets. The file is OK when Ttext is aligned with 64KB boundary, for example 0x3000. But if I use 0x30001000 as the text base, the result u-boot.elf has additional offset of 0x1. For example, the first instruction should be (f