[PATCH] i.MX6: bbu: Barebox update support for NAND.
Christian Hemp
c.hemp at phytec.de
Tue Apr 1 03:36:29 EDT 2014
Hello Sascha,
I have tested the patch on three phyCARD-i.MX6 and three phyFLEX-i.MX6
modules without problems.
Christian
Am Montag, den 31.03.2014, 10:42 +0200 schrieb Sascha Hauer:
> On Thu, Mar 13, 2014 at 07:54:58AM +0100, Sascha Hauer wrote:
> > Hi Dmitry,
> >
> > On Wed, Mar 12, 2014 at 10:54:11AM +0300, Dmitry Lavnikevich wrote:
> > > This patch implements updating barebox on i.MX6 NAND. In userspace
> > > similar task is performed by freescale kobs-ng utility.
> > > To use this bbu profile nand handler should be registered in board
> > > code with 'imx6_bbu_internal_nand_register_handler' function.
> >
> > I have the very same patch in the queue, it seems we have duplicated
> > some work. As this version has some shortcomings I'll post my version as
> > an alternative implementation. Also I'll try your version on a board I
> > have here on which my version doesn't work (which is the reason I
> > haven't posted my patch yet)
>
> The NAND boot on our board finally works. It turned out to be a silly
> bug in the DCD table. The DCD table turned off the GPMI clocks which
> of course prevented the ROM from loading the rest of the image.
>
> I just resent my version of this patch, but included the missing check
> for a valid image and the confirmation question from your version.
>
> Maybe you could give this a test on your board.
>
> Sascha
>
More information about the barebox
mailing list