All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Steeve <joe@sliceware.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 'gd' is getting corrupted.
Date: Fri, 24 Nov 2006 07:47:58 +0530	[thread overview]
Message-ID: <45665656.8090308@sliceware.com> (raw)

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 

                 reply	other threads:[~2006-11-24  2:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45665656.8090308@sliceware.com \
    --to=joe@sliceware.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.