Skip to contentSkip to conversation

Problems with EP862

U-Boot-Users Jeff Stevens 2 participants 4 messages Sep 9, 2003 – Sep 10, 2003

lore
Share & tools
lore
#0 lore raw

Does anyone have U-Boot up and running on an Embedded Planet EP862 board?

I have U-Boot 0.4.0 working with SDRAM and Flash, but when I compile it to read the environment variables from the EEPROM, it won't boot. Does anyone have this working?

I can however get it to boot if I compile it to get its environment variables from flash (it just complains and then loads some defaults).

Thanks in advance,
Jeff Stevens
Software Engineer
Systran Corporation

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

#1 lore raw
Quoted 7 lines · In message <[email protected]> you wrote:

Does anyone have U-Boot up and running on an Embedded Planet EP862 board?

I have U-Boot 0.4.0 working with SDRAM and Flash, but when I compile it to read the environment variables from the EEPROM, it won't boot. Does anyone have this working?

Is your I2C driver working? Try the i2c and eeprom commands to verify this first...

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The use of Microsoft crippleware systems is a sin that  carries  with
it its own punishment.
         -- Tom Christiansen in <[email protected]>
#2 lore raw

Yes, the eeprom command works fine. Here is the screen dump. I then altered the code to print out the data and it printed the env settings for the PlanetCore boot loader that comes with the board.

=> eeprom read 0x54 0x00 10

EEPROM @0x54 read: addr 00000054 off 0000 count 16 ... done

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

#3 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

Yes, the eeprom command works fine. Here is the screen dump. I then altered the code to print out the data and it printed the env settings for the PlanetCore boot loader that comes with the board.

I don't understand. Why did you have to modify code?

The standard commands

	=> eeprom read <addr> <off> <len>
	=> md <addr>

will do the job. What is the problem?

Quoted 4 lines

=> eeprom read 0x54 0x00 10

EEPROM @0x54 read: addr 00000054 off 0000 count 16 ... done

Well, if EEPROM accesses work, you just have to configur your board correctly .

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Q: How do you spell "onomatopoeia"?
A: The way it sounds.