Re: [U-Boot] [PATCH v2] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2016-02-23 Thread Dongsheng Wang
serror.net; u- > b...@lists.denx.de; twar...@nvidia.com; i...@hellion.org.uk; > york...@freescale.com > Subject: Re: [U-Boot] [PATCH v2] ARM: Disable "DISCARD" for secure section if > CONFIG_ARMV7_SECURE_BASE isn't defined > > Hello Tom, > > On Tue, 19 Jan 2016 10:57:11

Re: [U-Boot] [PATCH v2] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2016-01-29 Thread Albert ARIBAUD
Hello Tom, On Tue, 19 Jan 2016 10:57:11 -0500, Tom Rini wrote: > On Mon, Jan 18, 2016 at 11:02:40AM +0800, Dongsheng Wang wrote: > > > From: Wang Dongsheng > > > > "DISCARD" will remove ._secure.text relocate, but PSCI framework > > has already used some absolute address those need to relocate

Re: [U-Boot] [PATCH v2] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2016-01-19 Thread Tom Rini
On Mon, Jan 18, 2016 at 11:02:40AM +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > "DISCARD" will remove ._secure.text relocate, but PSCI framework > has already used some absolute address those need to relocate. > > Use readelf -t -r u-boot show us: > .__secure_start addr

[U-Boot] [PATCH v2] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2016-01-17 Thread Dongsheng Wang
From: Wang Dongsheng "DISCARD" will remove ._secure.text relocate, but PSCI framework has already used some absolute address those need to relocate. Use readelf -t -r u-boot show us: .__secure_start addr: 601408e4 .__secure_end addr: 60141460 60141140 0017 R_ARM_RELATIVE