public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] 'gd' is getting corrupted.
@ 2006-11-24  2:17 Joe Steeve
  0 siblings, 0 replies; only message in thread
From: Joe Steeve @ 2006-11-24  2:17 UTC (permalink / raw)
  To: u-boot

I'm porting u-boot to a Sigma Designs em8620L based board. The em8620L
is an SOC with an ARMv4t core (pT-110).

U-boot gets to the prompt now. Commands in cmd_mem.c, and loads are
working fine. However., 'printenv' never worked. My environment is in
the 'eeprom'. I did some printfs and found that., the 'gd' is getting
changed in between the 'for loop calling main_loop()' in lib_arm/board.c
to the 'do_printenv' command that is called from the main_loop().

The commands that I've configured to use are (CFG_CMD_MEMORY |
CFG_CMD_EEPROM | CFG_CMD_LOADB | CFG_CMD_LOADS | CFG_CMD_REGINFO).

Any pointers to common mistakes could be very helpful.

Thanks.

-- 
Joe Steeve
Sliceware Private Limited

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061124/5eb9612b/attachment.pgp 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-24  2:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-24  2:17 [U-Boot-Users] 'gd' is getting corrupted Joe Steeve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox