On Monday 30 November 2009, Raúl Sánchez Siles wrote:
>   My question is which one of those should be used to flash
> the first bootloader on that cards?
> 
>   · Use hwecc4_infix driver mode for davinci
>   · Use oob_softecc flag when writing to nand
>   · Use oob_softecc_kw flag when writing to nand
>   · A combination of any of them

The "hwecc4_infix" is -- as you deduced -- intended to
support the ROM boot loader (RBL) as it loads the second
stage loader into the on-chip SRAM.  Once that code is in
SRAM, it'll set up the PLLs, DRAM, etc ... and then read
the main bootloader (e.g. U-Boot) into DRAM.

The second stage bootloader I've seen from TI expects to
use that same "hwecc4_infix" for that code too.  Which
is rude, since it means you won't for example be able to
use U-Boot to replace itself.

Don't use the oob_softecc with DaVinci unless you're not
ever going to use the hardware ECC; the ECC is different.

Don't use the oob_softecc_kw with anything except the
specific Marvell Kirkwood chips which need it.

- Dave
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to