[U-Boot] Nand boot on imx6q board is broken

Jagan Teki jagan at amarulasolutions.com
Thu Jan 31 15:26:24 UTC 2019


On Thu, Jan 31, 2019 at 8:53 PM Adam Ford <aford173 at gmail.com> wrote:
>
> On Wed, Jan 30, 2019 at 11:40 PM Shyam Saini <shyam at amarulasolutions.com> wrote:
> >
> > Hi Everyone,
> >
> > I'm trying to boot imx6q board from nand but it seems like mainline
> > u-boot nand boot support for imx6q board is broken.
>
> I spent some time trying to make the imx6q_logic board boot from SPL
> from NAND, but I needed to patch a few things.   Some of them have yet
> to be approved, but if they work for you, maybe it will help get them
> approved.
>
> There was a broken function pointer here that was fixed and applied
> the imx-master, but pending merge with master
> http://patchwork.ozlabs.org/patch/1019440/
>
> Configure ECC from SPL here:
> http://patchwork.ozlabs.org/patch/1020160/
>
> Remove hard-coded ECC parameters since the patch above can autoset them.
> http://patchwork.ozlabs.org/patch/1026638/
>
> With those 3 patches and some minor changes to my individual board
> file and config file, I was able to boot 2019.01 via SPL from NAND.
> Since it was working for you before, I am guessing the board file
> stuff and config file stuff is probably already for you.

Thanks for your inputs Adam.

I was initially fixed the board and spl nand detection changes, I hope
these changes would resolve. let's see.


More information about the U-Boot mailing list