Hi,
I have gone through the different methods of flashing the x-loader, u-
boot, kernel image to NAND on the BB sucessfully: via serial
bootstrap; via u-boot through kermit and the SD card, via u-boot
running on an XDS560R emulator, etc.
We are currently developing a custom OMAP3530 board and we want to
"mass" flash those boards (at least with the x-loader and u-boot
images) in production, the quickest way being via the method of a
Boundary Scan Tool. We are currently using the ASSET Boundary Scan
Tool and our hardware engineer seems to have flashed the x-loader
image correctly but the it doesn't seem to come up (no X-loader boot
message). I believe the issue has to do with ECC HW encoding, the
first 4 blocks of NAND are ECC HW, which the x-loader resides, We
found out that the ASSET tool doesn't do ECC when writing to flash
(the OMAP is bypassed and hence is not running, which I think means it
doesn't auto-generate the ECC code and write it to the corresponding
spare OOB area for the data page). We have talked to the ASSET tool
developer and they say they don't provide ECC support because it's
hardware dependent (processor, NAND device) and too specific for our
platform; I believe they will only do so if it can be applied it
genericly to more platforms so they can support more different
customers. Anyways, our hardware engineer said it seems like the
ASSET tool can write in data mode and in spare mode; data mode is
problem just writing to the page data area and spare mode may be the
"OOB" area. How do I go about generating an OOB image for a x-loader
image, if there is such a thing? I know it involves hamming code
algorithm used by the hardware but I'm not sure where to look. Our
hardware engineer thinks maybe if he can program the x-loader image in
"data" mode and then the OOB image in "spare" mode, maybe it'll work?
Can I do a dump of the OOB bytes section for an equivalent x-loader
data section using u-boot?
Is there a tool (emulator or boundary scan) that any of you know that
can do the ECC automatically when writing to the NAND?
I don't know if this makes any sense but hopefully the experts in this
forum can give some advice and pointers (I CCed a few of you who
posted on the ECC topic, hopefully you don't mind).
Thanks!
Regards,
Andy