[U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

Marek Vasut
2013-02-02T15:04:39Z

Dear Beno?t Th?baudeau,

> Hi Marek,
>
> On Tuesday, January 8, 2013 12:18:05 PM, Beno?t Th?baudeau wrote:
> > Dear Marek Vasut,
> >
> > On Tuesday, January 8, 2013 12:05:26 PM, Marek Vasut wrote:
> > > Dear Beno?t Th?baudeau,
> > >
> > > [...]
> > >
> > > > > > > NOTE: I'm seeing issues when this is compiled into U-Boot.
> > > > > > > U-Boot
> > > > > > > won't boot on
> > > > > > > my MX53 board and will hang right after printing "DRAM:" and
> > > > > > > before
> > > > > > > printing the
> > > > > > > CPU info. I suspect it's some kind of unaligned access.
> > > > > >
> > > > > > OK. I'm waiting for your test results. It works for me on
> > > > > > i.MX51
> > > > > > with
> > > > > > 2012.07.
> > > > >
> > > > > It works with 2013.01-rc1, but I have issues. When I boot the
> > > > > board
> > > > > from SD, it
> > > > > hangs. When I load via JTAG, it doesn't hang. I suspect it's
> > > > > something related
> > > > > to the MXC NAND driver, since if the driver is not compiled in,
> > > > > it
> > > > > works like
> > > > > charm both ways.
> > > > >
> > > > > Otherwise, when booted, the NAND works fine.
> > > > >
> > > > > I wonder if there's some unaligned access or something happening
> > > > > in
> > > > > the NAND
> > > > > driver. Or maybe some other issue where the code is miscompiled.
> > > >
> > > > Or there is something wrong with the Flash header or SPL?
> > >
> > > Flash header?
> >
> > The IVT from imximage stuff.
>
> Did you have a chance to further investigate this hang issue with non-JTAG
> boot and the NFC driver compiled in?

I recall there being some patch from Scott and there was a guy on IRC who met
this issue too (can you join irc? #u-boot @ irc.freenode.net). No activity on
this from my side, since the issue magically disappeared once and didn't pop up
again (weird, I know).

Best regards,
Marek Vasut