From: Kartheek N S <kartheek.ns@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Not able to print env variable added in standalone application
Date: Mon, 4 May 2009 03:24:38 -0700 (PDT) [thread overview]
Message-ID: <23365798.post@talk.nabble.com> (raw)
Dear all,
I am in need of getting a status message from a standalone application.
Hence I am using getenv and setenv functions. The standalone application can
read the env variable using getenv and set the registers accordingly. Based
on what is set, I am trying to set some env variable using setenv function.
The variable gets set I think. But I am not able to print that variable
either in application or in uboot prompt ?
I am using run_command to jump to the standalone application which is
our requirement. But if I use "go" command from uboot prompt to run
standalone application, I am able to print that env variable.
Could somebody help how to print env variable from standalone
application ?
Is there any other place in u-boot where I need to add this variable ?.
I have added it in CONFIG_EXTRA_ENV_SETTINGS.
--
View this message in context: http://www.nabble.com/Not-able-to-print-env-variable-added-in-standalone-application-tp23365798p23365798.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
next reply other threads:[~2009-05-04 10:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 10:24 Kartheek N S [this message]
2009-05-04 18:38 ` [U-Boot] Not able to print env variable added in standalone application Wolfgang Denk
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=23365798.post@talk.nabble.com \
--to=kartheek.ns@ge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox