I am trying to work out how to update my firmware (u-boot, uImage) from
a running linux system on DM355.

This is a custom board with a MT29F4G08AAAWP:A 2GiB NAND flash connected
in the same way as on the DM355 EVM (EVM kernel runs on this board with
no changes to NAND flash config)

It seems that ECC is being calculated differently by the kernel than by
u-boot or the RBL. I base that on the following:

I currently program the UBL, u-boot, u-boot environment and uImage using
a JTAG device. It is configured to use the same ECC calculation for all
of the above, and everything works. As u-boot can read its environment
when written like this, I believe that the RBL, UBL and u-boot all agree
on ECC.

If I read the u-boot environment and OOB using nanddump, then write it
to a blank area of flash using nandwrite, then nanddump again, I get
different ECC. Still all zeros for all-zero areas of the environment
data, but completely different for 512-byte subpages with data. I
haven't actually got it writing the u-boot or uImage from linux yet, but
suspect when I do that the ECC will be invalid (I should try that next)

Version info:
I don't really understand the LSP version numbers, our system is based
on what arrived on CD with the EVM, the installer is
lsp_DM355_setuplinux_1_30_00_23.bin. Today I downloaded
mvl_4_0_1_demo_lsp_setuplinux_01_20_00_014.bin from TI to compare the
mtd drivers, but they are essentially the same (small patch to bbt
handling).

I am just starting to investigate this but thought I'd email in case
anyone has been here before and can save me some head scratching.

Thanks,

--
Jon Povey, Design Engineer
[EMAIL PROTECTED] | +44(0)1280 825983 

 
Racelogic is a limited company registered in England. Registered number 2743719 
. 
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .
The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to