[prev in list] [next in list] [prev in thread] [next in thread] 

List:       u-boot
Subject:    [U-Boot-Users] [PATCH] expand macros in bootargs env var for bootm command
From:       wd () denx ! de (Wolfgang Denk)
Date:       2005-06-30 15:15:00
Message-ID: 20050630151500.1A58B353A0E () atlas ! denx ! de
[Download RAW message or body]

In message <9752.1120142248 at huldra> you wrote:
> 
> Quoting from the DULG:
...
> => setenv bootargs root=/dev/nfs rw nfsroot=\$(serverip):\$(rootpath) \
> ip=\$(ipaddr):\$(serverip):\$(gatewayip):\$(netmask):\$(hostname)::off
...

And, did you try this out? It works fine for me.

> But I found that this (or at least, an almost identical situation) simply
> didn't work. Macros in the bootargs variable weren't expanded when the kernel
> was booted. Maybe I've missed something?

Maybe. I cannot tell  without  knowing  what  you  "almost  identical
situation" was exactly.

> Except that I read the README file many years ago before this section
> was in there. Obviously, I need to re-read it. Cheers!

You should re-read every time it changes,  and  ideally  before  each
posting :-)

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
1st Old Man:  Gee, its windy today.
2nd Old Man:  No it's not... it's Thursday.
3rd Old Man:  Yeh, me too.  Let's go for a beer.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic