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 -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox