Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-11 Thread Aneesh V
On Friday 11 February 2011 06:16 PM, Albert ARIBAUD wrote: [snip...] >>> >>> Note also that there was a recent patch to ARM926's start.S (replacing >>> 'adr r1, _start' with 'ldr r1, _TEXT_BASE' at line 284). The same should >>> be done on arm1136. >> >> Is this going to happen for armv7 too? What

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-11 Thread Albert ARIBAUD
Le 11/02/2011 11:51, Aneesh V a écrit : > Hi Albert, > > On Wednesday 09 February 2011 02:20 AM, Albert ARIBAUD wrote: >> Le 08/02/2011 21:18, stefano babic a écrit : >>> Am 08.02.2011 20:26, schrieb Magnus Lilja: Patch reposted as a separate mail a couple of minutes ago. As I mentio

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-11 Thread Aneesh V
Hi Albert, On Wednesday 09 February 2011 02:20 AM, Albert ARIBAUD wrote: > Le 08/02/2011 21:18, stefano babic a écrit : >> Am 08.02.2011 20:26, schrieb Magnus Lilja: >>> Patch reposted as a separate mail a couple of minutes ago. >>> >>> As I mention in the patch I think Fabio's patch has to be app

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-09 Thread Fabio Estevam
Hi Albert, On 2/8/2011 6:50 PM, Albert ARIBAUD wrote: > Le 08/02/2011 21:18, stefano babic a écrit : >> Am 08.02.2011 20:26, schrieb Magnus Lilja: >>> Patch reposted as a separate mail a couple of minutes ago. >>> >>> As I mention in the patch I think Fabio's patch has to be applied first. >> >> I

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-08 Thread Albert ARIBAUD
Le 08/02/2011 21:18, stefano babic a écrit : > Am 08.02.2011 20:26, schrieb Magnus Lilja: >> Patch reposted as a separate mail a couple of minutes ago. >> >> As I mention in the patch I think Fabio's patch has to be applied first. > > I think your patch is ok - Fabio fixed the syntax error as you d

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-08 Thread stefano babic
Am 08.02.2011 20:26, schrieb Magnus Lilja: > Patch reposted as a separate mail a couple of minutes ago. > > As I mention in the patch I think Fabio's patch has to be applied first. I think your patch is ok - Fabio fixed the syntax error as you do. We need only one of them. > Another solution wou

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-08 Thread Magnus Lilja
Hi >> Please let me know how you want me to proceed. > > I think the correct way is that Magnus adds his Signed-off-by to his > patch, repushing the patch to the list. Please put Albert in CC, as this > file is competence of the ARM maintainer (well, we tested only on i.MX, > I see...). I will ta

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-08 Thread stefano babic
Am 08.02.2011 18:09, schrieb Fabio Estevam: > I confirmed that by applying my original patch of this thread plus > Magnus´ patch above I can get MX31PDK to boot. Fine. > > Please let me know how you want me to proceed. I think the correct way is that Magnus adds his Signed-off-by to his patch,

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-08 Thread Fabio Estevam
Hi Stefano, On 2/7/2011 5:48 PM, Magnus Lilja wrote: ... > > Here's a somewhat cleaner version of my patch. Hope the mail looks ok, I'm > having internet connectivity issues this evening so I'm using a different > installation of Thunderbird than usual. > > Regards, Magnus > > diff --git a/ar

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-07 Thread Magnus Lilja
Hi On 2011-02-07 15:13, Stefano Babic wrote: >>> I have no idea if this breaks other boards but at least it's start >>> for further work. I tried it on the imx31 litekit (which boots from >>> NOR) but that board doesn't seem to boot even before applying >>> Fabios patch, I'll see if I can figure o

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-07 Thread Stefano Babic
On 02/07/2011 12:32 PM, Fabio Estevam wrote: > Hi Magnus, > > On 2/6/2011 10:03 AM, Magnus Lilja wrote: ... > Hi, >> I have no idea if this breaks other boards but at least it's start >> for further work. I tried it on the imx31 litekit (which boots from >> NOR) but that board doesn't seem to b

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-07 Thread Fabio Estevam
Hi Magnus, On 2/6/2011 10:03 AM, Magnus Lilja wrote: ... > I've done some testing now and ended up comparing start.S for ARM1136 with > ARM926EJS since > the latter is used on the Karo TX25 board which seems to have been updated and > also boots from NAND. Thanks for looking into this. > The

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-06 Thread Albert ARIBAUD
Le 06/02/2011 13:03, Magnus Lilja a écrit : > Hi all > > On 01/14/2011 07:33 PM, Fabio Estevam wrote: >> Hi Stefano, >> >> On 1/13/2011 11:38 AM, Stefano Babic wrote: >>> On 01/12/2011 01:49 PM, Fabio Estevam wrote: Hi, >>> >>> Hi Fabio, >>> I am trying to make the new relocation sch

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-02-06 Thread Magnus Lilja
Hi all On 01/14/2011 07:33 PM, Fabio Estevam wrote: > Hi Stefano, > > On 1/13/2011 11:38 AM, Stefano Babic wrote: >> On 01/12/2011 01:49 PM, Fabio Estevam wrote: >>> Hi, >> >> Hi Fabio, >> >>> >>> I am trying to make the new relocation scheme to work on the mx31pdk board. >>> >>> With this patch

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-01-14 Thread Fabio Estevam
Hi Stefano, On 1/13/2011 11:38 AM, Stefano Babic wrote: > On 01/12/2011 01:49 PM, Fabio Estevam wrote: >> Hi, > > Hi Fabio, > >> >> I am trying to make the new relocation scheme to work on the mx31pdk board. >> >> With this patch applied the mx31pdk build works, but not able to get a >> U-boot

Re: [U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-01-13 Thread Stefano Babic
On 01/12/2011 01:49 PM, Fabio Estevam wrote: > Hi, Hi Fabio, > > I am trying to make the new relocation scheme to work on the mx31pdk board. > > With this patch applied the mx31pdk build works, but not able to get a U-boot > prompt yet. I have tried to imagine some issues, but I cannot find a

[U-Boot] [RFC] ARM: mx31pdk: Use the new relocation scheme

2011-01-12 Thread Fabio Estevam
Hi, I am trying to make the new relocation scheme to work on the mx31pdk board. With this patch applied the mx31pdk build works, but not able to get a U-boot prompt yet. I copied the nand_spl/board/karo/tx25/u-boot.lds to the mx31pdk one. I am not certain whether the CONFIG_SYS_TEXT_BASE shoul