Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-21 Thread Peng Fan
Hello Albert, On Tue, Oct 20, 2015 at 02:59:10PM +0200, Albert ARIBAUD wrote: >Hello Peng, > >On Tue, 20 Oct 2015 15:41:30 +0800, Peng Fan >wrote: >> Hi Albert, >> >> On Tue, Oct 20, 2015 at 09:32:51AM +0200, Albert ARIBAUD wrote: >> >Hello Peng, >> > >> >On Tue, 20 Oct

Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-21 Thread Peng Fan
Hello Albert, On Wed, Oct 21, 2015 at 01:42:27PM +0200, Albert ARIBAUD wrote: >Hello Peng, > >On Wed, 21 Oct 2015 17:42:20 +0800, Peng Fan >wrote: >> Hello Albert, > >> I do not know how to generate non-relocatable code only for the secure text. >> Since -mword-relocations

Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-21 Thread Albert ARIBAUD
Hello Peng, On Wed, 21 Oct 2015 17:42:20 +0800, Peng Fan wrote: > Hello Albert, > I do not know how to generate non-relocatable code only for the secure text. > Since -mword-relocations and -pie are global flags, I do not know how to > disable > mword-relocations when

Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-20 Thread Peng Fan
Hi Albert, On Tue, Oct 20, 2015 at 09:05:32AM +0200, Albert ARIBAUD wrote: >Hello Peng, > >On Tue, 20 Oct 2015 13:59:53 +0800, Peng Fan >wrote: >> The code such as PSCI in section named secure is bundled with >> u-boot image, and when bootm, the code will be copied to

Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-20 Thread Albert ARIBAUD
Hello Peng, On Tue, 20 Oct 2015 15:20:43 +0800, Peng Fan wrote: > Hi Albert, > > On Tue, Oct 20, 2015 at 09:05:32AM +0200, Albert ARIBAUD wrote: > >Hello Peng, > > > >On Tue, 20 Oct 2015 13:59:53 +0800, Peng Fan > >wrote: > >> The code such as PSCI

Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-20 Thread Peng Fan
Hi Albert, On Tue, Oct 20, 2015 at 09:32:51AM +0200, Albert ARIBAUD wrote: >Hello Peng, > >On Tue, 20 Oct 2015 15:20:43 +0800, Peng Fan >wrote: >> Hi Albert, >> >> On Tue, Oct 20, 2015 at 09:05:32AM +0200, Albert ARIBAUD wrote: >> >Hello Peng, >> > >> >On Tue, 20 Oct 2015

Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-20 Thread Albert ARIBAUD
Hello Peng, On Tue, 20 Oct 2015 13:59:53 +0800, Peng Fan wrote: > The code such as PSCI in section named secure is bundled with > u-boot image, and when bootm, the code will be copied to their > runtime address same to compliation/linking address - >

Re: [U-Boot] [PATCH V2 1/3] arm: discard relocation entry for secure section

2015-10-20 Thread Albert ARIBAUD
Hello Peng, On Tue, 20 Oct 2015 15:41:30 +0800, Peng Fan wrote: > Hi Albert, > > On Tue, Oct 20, 2015 at 09:32:51AM +0200, Albert ARIBAUD wrote: > >Hello Peng, > > > >On Tue, 20 Oct 2015 15:20:43 +0800, Peng Fan > >wrote: > >> Hi Albert, > >> > >>