Project

General

Profile

DDR3 Factory EEPROM Incorrect

Added by Michael Karasoff over 11 years ago

We received a batch of AM335x boards with 512MB RAM/NAND that appear to have no factory configuration programmed:

U-Boot SPL 2011.09-00000-g23e81b9-dirty (Feb 24 2012 - 11:15:23)
Texas Instruments Revision detection unimplemented
Error - Factory Configuration Invalid
You must set the factory configuration to make permanent
Error reading factory config block
read_eeprom() failure
PLL configuration complete

I am able to get the boards up with the MLO.readeeprom posted here: http://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Das_U-Boot_Port , but that too complains about the EEPROM:

U-Boot SPL 2011.09-00065-ge301766-dirty (Feb 06 2013 - 08:09:05)
Texas Instruments Revision detection unimplemented
board_init: unable to read eeprom
Enter Memory Config:
0: DDR2
1: DDR3 (256 MB)
2: DDR3 (512 MB)
3: DDR3 (1 GB)
configuring for 256 MB DDR2
Critical Link AM335X Dev Kit
PLL configuration complete
OMAP SD/MMC: 0

Does the data in the factory configuration EEPROM only guide how the MLO detects memory configuration at boot?
Do these boards need factory configuration programmed to operate normally?
If I need to, how would I program the factory EEPROM with the default factory values?

Thanks


Replies (3)

RE: DDR3 Factory EEPROM Incorrect - Added by Michael Karasoff over 11 years ago

Just rebuilt u-boot.img out of git, and now my system boots fine.

Still curious about what is in the factory EEPROM and how I can recover if lost.

RE: DDR3 Factory EEPROM Incorrect - Added by Tim Iskander over 11 years ago

Michael
The DDR3 modules require the newer version of u-boot (and MLO). From the output you have listed above, the first (non-working) attempt was using an old MLO.
The old version of MLO does not know how to configure the DDR3 RAM, and thus cannot successfully load/boot the u-boot image.
We are in the process of releasing the DDR3 module and new MLO/u-boot images.
The factory configuration eeprom contains the part number and serial number. We added some more details on the factory configuration to the u-boot page
http://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Das_U-Boot_Port
The new MLO reads the part number from the factory config and uses it to determine the DDR configuration. If it is unable to correctly read the factory config, it will prompt you for it (as you saw).
It is possible that the MLO posted to the wiki page is not the correct version. I am looking into that now.
cheers
/Tim

RE: DDR3 Factory EEPROM Incorrect - Added by Michael Karasoff over 11 years ago

Tim,

Thanks. The system did seem to boot fine from MMC with the MLO/u-boot built from git.

At this point I'm more concerned about programming and booting from NAND on the 512MB board. That doesn't appear to work using the same methods as the 256MB board. Could my NAND problems also be an MLO issue?

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)