From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Steeve Date: Fri, 24 Nov 2006 07:47:58 +0530 Subject: [U-Boot-Users] 'gd' is getting corrupted. Message-ID: <45665656.8090308@sliceware.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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