Talk:GSG: DA8x/OMAP-L1/AM1x DVEVM Additional Procedures

Comments on GSG: DA8x/OMAP-L1/AM1x DVEVM Additional Procedures -

Setsu said ...
Why there's no "Flashing images to NOR Flash" procedure for AM17xx?

--Setsu 00:48, 15 September 2010 (CDT)

Ghatamos said ...
The LogicPD link in step 3 of "Flashing images to SPI Flash" is broken.

Please fix.

--Ghatamos 17:52, 2 December 2010 (CST)

Bowerymarc said ...
spi-flash-writer-03.20.00.14 is very broken. Clearly was never tested with DA850 (OMAP-L138), as it never would work as written.

1. The UBL offsets are hard coded for DA830, so they are wrong for DS850 -- it puts u-boot in the wrong place.

2. It will move the offset to write u-boot up to the edge of the first sector, which will break UBL, as it has a hard-coded location to look for the u-boot header.

3. The erase function seems broken. If you write u-boot, it seems to erase or at least corrupt UBL. At least, does so reliably for me.

The solution is to modify the program to check processor type and use the correct offsets for each (look at the UBL code to see what it expects) and remove the code that moves the offset up to the first sector boundary. Then, unless you figure out a better way, make the 'erase flash' a separate command, that you would do first before writing anything (i.e. erase the whole flash).

TI, please test your code before releasing it to the public!

--Bowerymarc 12:08, 9 November 2011 (CST)