From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 04 Mar 2010 17:11:01 +0100 Subject: [U-Boot] howto deal with nested $() in bootenv? In-Reply-To: <804f0d21003040708h672d4814m6e1c4d5f32ea9c47@mail.gmail.com> References: <804f0d21003040708h672d4814m6e1c4d5f32ea9c47@mail.gmail.com> Message-ID: <20100304161101.8271D28BBC@gemini.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 Dear Arno Steffen, In message <804f0d21003040708h672d4814m6e1c4d5f32ea9c47@mail.gmail.com> you wrote: > To set my uboot environment (2008-10) I upload a script to uboot ... > I case a) the serverip while loading will inserted fix in bootargs_nfs > In case b) the serverip will not replaced so that the kernel get a > $(serverip) part of command line. > > How to change this above, so that I can later change serverip without > changing anything else? Please RTFM, thsi specific use case is explaind in detaiul there. See especially section "7.4. Boot Arguments Unleashed" at http://www.denx.de/wiki/view/DULG/LinuxBootArgs Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I have often regretted my speech, never my silence.