Skip to contentSkip to conversation

i.MX25 NAND status

DISCUSSION Eric Bénard 2 participants 4 messages Dec 28, 2009 – Dec 29, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

What is the status of current barebox on i.MX25 using NAND boot ?

At the first try, it doesn't compile with CONFIG_NAND_IMX_BOOT enabled as imx_nand_load_image wasn't updated in board/freescale-mx25-3-stack/3stack.c
- imx_nand_load_image((void *)TEXT_BASE, 256 * 1024, 2048, 16384);
+ imx_nand_load_image((void *)TEXT_BASE, 256 * 1024);

I've loaded barebox in ram using a JTAG and the NAND flash is properly detected but the badblock scan works only if the NAND was previously initialised by the JTAG and gives differents results at each run which seems to indicate something is wrong in the setup.

The platform I'm testing is a i.MX257 TO 1.1 using a 3.3V 8bits width 2k page size 2Gb NAND from Micron (MT29F2G08AAD).

Thanks,

Eric

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Eric,

Quoted 1 line · Eric Bénard

What is the status of current barebox on i.MX25 using NAND boot ?

We have it running from NAND on a custom board here, but I assume the mainline might not have all necessary patches. As we went to the custom hardware relatively early, nobody took the time to polish the PDK port.

However, most of our staff is on holiday right now, so we can check next week.

Robert

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Hi Robert,

Quoted 10 lines · Robert Schwebel
Quoted 1 line · Eric Bénard

What is the status of current barebox on i.MX25 using NAND boot ?

We have it running from NAND on a custom board here, but I assume the mainline might not have all necessary patches. As we went to the custom hardware relatively early, nobody took the time to polish the PDK port.

However, most of our staff is on holiday right now, so we can check next week.

OK, I managed to get the MX25 NAND boot working using the CONFIG_ARCH_IMX_INTERNAL_BOOT option (with the proper DCD table for my board low level init). I'll clean our board support and send it to the list in January (at least I hope so ;-).

Thanks,
Eric

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw

Hi Eric,

Quoted 4 lines · Eric Bénard

OK, I managed to get the MX25 NAND boot working using the CONFIG_ARCH_IMX_INTERNAL_BOOT option (with the proper DCD table for my board low level init). I'll clean our board support and send it to the list in January (at least I hope so ;-).

Great, thanks!

rsc

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox