mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* i.MX25 NAND status
@ 2009-12-28 18:05 Eric Bénard
  2009-12-28 19:43 ` Robert Schwebel
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bénard @ 2009-12-28 18:05 UTC (permalink / raw)
  To: barebox

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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i.MX25 NAND status
  2009-12-28 18:05 i.MX25 NAND status Eric Bénard
@ 2009-12-28 19:43 ` Robert Schwebel
  2009-12-29 11:06   ` Eric Bénard
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Schwebel @ 2009-12-28 19:43 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

Eric,

On Mon, Dec 28, 2009 at 07:05:30PM +0100, Eric Bénard wrote:
> 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
-- 
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i.MX25 NAND status
  2009-12-28 19:43 ` Robert Schwebel
@ 2009-12-29 11:06   ` Eric Bénard
  2009-12-29 11:30     ` Robert Schwebel
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bénard @ 2009-12-29 11:06 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: barebox

Hi Robert,

Robert Schwebel a écrit :
> On Mon, Dec 28, 2009 at 07:05:30PM +0100, Eric Bénard wrote:
>> 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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i.MX25 NAND status
  2009-12-29 11:06   ` Eric Bénard
@ 2009-12-29 11:30     ` Robert Schwebel
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Schwebel @ 2009-12-29 11:30 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

Hi Eric,

On Tue, Dec 29, 2009 at 12:06:32PM +0100, Eric Bénard wrote:
> 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
-- 
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-29 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-28 18:05 i.MX25 NAND status Eric Bénard
2009-12-28 19:43 ` Robert Schwebel
2009-12-29 11:06   ` Eric Bénard
2009-12-29 11:30     ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox