From: Wolfgang Denk Date: Mon, 26 Jun 2006 11:15:53 +0200 Subject: [U-Boot-Users] Question about the setenv command In-Reply-To: Your message of "Sun, 25 Jun 2006 20:26:04 PDT." Message-ID: <20060626091553.B1B93352681@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message you wrote: > > I'm using u-boot 1.1.4 on a gumstix (PXA255). Where did you get the sources from? I understand that this is not the official source tree? > In version 1.1.2, I was able to use a command like this: > > setenv linux "$bootcmd" > > and this would make the variable 'linux' have the same value as the > variable 'bootcmd' Yes. Thisis standard use and must work on all systems. > This doesn't seem to work in 1.1.4. Is there another way of setting > the contents of one variable to be equal to the contents of another > variable? Your command is absolutely correct. If it doesn't work on your board then there is amajor bug in your code. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de First study the enemy. Seek weakness. -- Romulan Commander, "Balance of Terror", stardate 1709.2