[U-Boot] SPL broken on i.mx31 platforms

Albert ARIBAUD
2014-07-01T19:45:51Z

Hi Fabio,

On Tue, 1 Jul 2014 10:53:57 -0300, Fabio Estevam <festevam@gmail.com>
wrote:

> Hi Helmut,
>
> On Tue, Jul 1, 2014 at 10:33 AM, Helmut Raiger <helmut.raiger@hale.at> wrote:
> > Hi,
> >
> > the commit 41623c91 breaks the SPL on i.mx31 platforms.
> > The original startup code (start.S) was position independent to
> > allow relocation in board_init_f. This is necessary as the internal
> > RAM used by the IPL to load the first 2kB from NAND is also
> > used by the NAND controller to buffer pages.

As far as the issue goes: where and how exactly is the code not
position independent now?

> > Does changing the startup code back to PIC generate any
> > drawbacks on other ARM platforms?

How would this changing back to PIC be implemented? Not by reverting
the patch, I hope.

> > What was the intention of the change besides unifying?

Any other intent would be stated in the commit message.

> > Could someone verify the issue on a i.mx31 platform.
>
> Magnus also reported the same issue to me recently.
>
> I don't have access to a mx31 board at the moment to investigate this bug.
>
> Maybe Albert, Stefano or Magnus could help?

I don't have mx31 hardware either.

> Thanks,
>
> Fabio Estevam

Amicalement,
--
Albert.