From: Nitin Mahajan <nitinm76@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot env variables parsing
Date: Wed, 31 Mar 2010 22:27:29 -0700 (PDT) [thread overview]
Message-ID: <553166.33158.qm@web50107.mail.re2.yahoo.com> (raw)
Hi!
I am doing env settings some thing like this,
ROOT1=/dev/mmcblk0p1
ROOT2=/dev/mmcblk0p2
ROOT=${ROOT1}
bootargs1=console=ttyS0,115200n8 mem=256M noinitrd rw rootdelay=1 ${ROOT}
when I say 'setenv bootargs ${bootargs1}', ${ROOT} gets resolved to 'ROOT1', it does not get completely resolved to '/dev/mmcblk0p1'.
Is there something fundamentally wrong in setting the env variables this way?
What would be the right way to achieve this, as I want ROOT to be ${ROOT1} sometimes and ${ROOT2} some times?
regards
-Nitin
Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
http://mail.promotions.yahoo.com/newdomains/aa/
next reply other threads:[~2010-04-01 5:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 5:27 Nitin Mahajan [this message]
2010-04-01 12:15 ` [U-Boot] U-boot env variables parsing Detlev Zundel
2010-04-01 12:31 ` Joakim Tjernlund
2010-04-01 12:47 ` Wolfgang Denk
2010-04-01 12:56 ` Joakim Tjernlund
2010-04-01 13:05 ` Wolfgang Denk
2010-04-01 13:11 ` Joakim Tjernlund
2010-04-01 14:56 ` Detlev Zundel
2010-04-01 17:13 ` Joakim Tjernlund
2010-04-01 18:27 ` Wolfgang Denk
2010-04-01 20:08 ` Joakim Tjernlund
2010-04-08 10:00 ` Detlev Zundel
2010-04-08 15:41 ` Joakim Tjernlund
2010-04-08 16:06 ` Detlev Zundel
2010-04-08 17:49 ` Joakim Tjernlund
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=553166.33158.qm@web50107.mail.re2.yahoo.com \
--to=nitinm76@yahoo.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