[RFC] imx21ads nand boot

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 19 07:03:40 EDT 2010


Hi Ivo,

On Fri, Mar 19, 2010 at 11:49:14AM +0100, Ivo Clarysse wrote:
> Hi all,
> 
> I tried getting barebox MX21ADS to boot from NAND, but I can't get it to work.
> 
> Booting in bootstrap mode (copying the barebox image to RAM, and then
> executing it from RAM) does work, and "nand_boot_test" copies the nand
> image correctly to RAM.
> 
> Any clues, anyone ?

Do you know how far you get? Do you have a JTAG debugger? If not,
switching a gpio might help.

Please check that all code you need is inside the first 2k. You can look
at barebox.S, your code might be to big.

Your code looks good from a first glance, I can't find any obvious
mistake in it.

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 |



More information about the barebox mailing list