[RFC] imx21ads nand boot

Ivo Clarysse ivo.clarysse at gmail.com
Mon Mar 22 08:07:48 EDT 2010


On Fri, Mar 19, 2010 at 12:03 PM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> Do you know how far you get? Do you have a JTAG debugger? If not,
> switching a gpio might help.

I used the CLKO pin to track down how far the booting from NAND gets.

It hangs in nand_imx.c:wait_op_done, after having sent the first
NAND_CMD_READ0 command from nand_imx.c:imx_nand_load_image. (Weird,
since that routine has a timeout)

So SDRAM init appears to be ok; I also checked barebox.S, and
everything needed to complete imx_nand_load_image is in the first
2KiB.

I'll hook up a BDI2000 and see if that helps.

Best regards,

Ivo.



More information about the barebox mailing list