mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* issue with imx35 external boot from Micron 4k flash
@ 2012-08-10  9:11 Gabriel Tisan
  2012-08-10  9:18 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Tisan @ 2012-08-10  9:11 UTC (permalink / raw)
  To: barebox

Hi !

I try to boot a custom board(based on imx35)  from a Micron NAND
flash(4K pagesize, 224 bytes OOB, 256K writesize).
Using a JTAG debugger, I found that the internal Freescale firmware
copied the first 4K from flash
without errors to NFC internal buffer, but then it does not jump to
this buffer how is specified in specs.
So the barebox code is never called.
If I jump manually via JTAG debugger, barebox boot up without any
problems. I use external boot and write/dump to/from flash works well.
Of course for imx35 I used just the supported 218 bytes of OOB.

Freescale support told me that there is a boot problem with imx35 when
is used with flashes that need more time after RESET command.
On the same board I used before also a Micron flash(2K pagesize, 64
bytes OOB, 128K writesize) that has the same hardware timing for
RESET.
However I suppose that the flash is out of RESET, because otherwise
could not copy without any ECC error the first 4K data.

Has anybody experienced some kind of problems ? Do you see a workaround ?

Regards,
Gabriel

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: issue with imx35 external boot from Micron 4k flash
  2012-08-10  9:11 issue with imx35 external boot from Micron 4k flash Gabriel Tisan
@ 2012-08-10  9:18 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-08-10  9:18 UTC (permalink / raw)
  To: Gabriel Tisan; +Cc: barebox

On Fri, Aug 10, 2012 at 11:11:49AM +0200, Gabriel Tisan wrote:
> Hi !
> 
> I try to boot a custom board(based on imx35)  from a Micron NAND
> flash(4K pagesize, 224 bytes OOB, 256K writesize).
> Using a JTAG debugger, I found that the internal Freescale firmware
> copied the first 4K from flash
> without errors to NFC internal buffer, but then it does not jump to
> this buffer how is specified in specs.
> So the barebox code is never called.
> If I jump manually via JTAG debugger, barebox boot up without any
> problems. I use external boot and write/dump to/from flash works well.
> Of course for imx35 I used just the supported 218 bytes of OOB.
> 
> Freescale support told me that there is a boot problem with imx35 when
> is used with flashes that need more time after RESET command.
> On the same board I used before also a Micron flash(2K pagesize, 64
> bytes OOB, 128K writesize) that has the same hardware timing for
> RESET.
> However I suppose that the flash is out of RESET, because otherwise
> could not copy without any ECC error the first 4K data.
> 
> Has anybody experienced some kind of problems ? Do you see a workaround ?

Never seen this. Maybe you could try internal boot mode?

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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-08-10  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-10  9:11 issue with imx35 external boot from Micron 4k flash Gabriel Tisan
2012-08-10  9:18 ` Sascha Hauer

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