[U-Boot-Users] [PATCH] expand macros in bootargs env var for bootm command
wd at denx.de
Thu Jun 30 15:43:53 CEST 2005
In message <7938.1120137797 at huldra> you wrote:
> I wanted to define the flash partition map in the kernel command line.
> I want to do this with reference to other u-boot environment variables,
> which contain the start addresses and sizes for each partition (just
We're working on something in this area, too (allowing U-Boot to
"edit" the partitions, especially on NAND devices, and to automa-
tically generate the required kernel arguments.
> I found that if the "bootargs" environment variable contained macros, they
This is intentional.
> were not expanded before the command line was passed to the kernel. The patch
> does this expansion.
You can expand all macros when building the bootargs variable like it
is shown in all the examples in the DULG; is there any problem with
> No worries - I will do that, except I don't know what they are. Where are
> the rules defined? If you can give me a link I will study them before I
> submit any more patches.
See section "Submitting Patches" in the README.
There is no excuse for not reding the README.
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it on
More information about the U-Boot