[U-Boot] [PATCH v2 10/13] cmd: bootvx: Always get VxWorks bootline from env

Hannes Schmelzer hannes at schmelzer.or.at
Tue Sep 29 08:54:44 CEST 2015


Tested-by: Hannes Schmelzer <oe5hpm at oevsv.at> on B&R kwb board.

On 28.09.2015 11:12, Bin Meng wrote:
> So far VxWorks bootline can be contructed from various environment
> variables, but when these variables do not exist we get these from
> corresponding config macros. This is not helpful as it requires
> rebuilding U-Boot, and to make sure these config macros take effect
> we should not have these environment variables. This is a little
> bit complex and confusing.
>
> Now we change the logic to always contruct the bootline from
> environments (the only single source), by adding two new variables
> "bootdev" and "othbootargs", and adding some comments about network
> related settings mentioning they are optional. The doc about the
> bootline handling is also updated.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
>
> Changes in v2: None
>
>   README            |  12 +-----
>   common/cmd_elf.c  | 121 +++++++++++++++++++++++++++++++-----------------------
>   include/vxworks.h |  22 ----------
>   3 files changed, 72 insertions(+), 83 deletions(-)



More information about the U-Boot mailing list