Hello All: I'm playing with a DM355 based board, and I'm trying to flash the bootloader into its NAND flash. NAND flash is a 256MB with 2048 blocks, each block 64 pages and each page 2048+64bytes.
Those chips provide an internal ROM bootloader which, among other things, should start the next stage bootloader, in this case stored into flash. I've known from the Texas Instruments documentation that the ROM bootloader embedded into chip doesn't work the way NAND manufacturers suggest. So instead of reading the OOB information from the end of the page, that information is interleaved by each 512bytes. I think this is the reason why hwecc4_infix layout for davinci nand flash driver was developed. But there's also another parameter that can be used for writing to nand: oob_softecc (and oob_softecc_kw) 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 Thanks and regards, -- Raúl Sánchez Siles Departamento de Montaje INFOGLOBAL, S. A. * C/ Virgilio, 2. Ciudad de la Imagen. 28223 Pozuelo de Alarcón (Madrid), España * T: +34 91 506 40 00 * F: +34 91 506 40 01 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development