[U-Boot-Users] 'gd' is getting corrupted.

24 Nov
2006
24 Nov
'06
3:17 a.m.
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
6738
Age (days ago)
6738
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joe Steeve