i.MX25 NAND status
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
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
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
Hi Eric,
Quoted 4 lines · Eric Bénard
OK, I managed to get the MX25 NAND boot working using the
CONFIG_ARCH_IMX_INTERNAL_BOOToption (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