From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nitin Mahajan Date: Wed, 31 Mar 2010 22:27:29 -0700 (PDT) Subject: [U-Boot] U-boot env variables parsing Message-ID: <553166.33158.qm@web50107.mail.re2.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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/