[U-Boot-Users] [PATCH] expand macros in bootargs env var for bootm command
Wolfgang Denk
wd at denx.de
Thu Jun 30 17:15:00 CEST 2005
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.
More information about the U-Boot
mailing list