[PATCH] cmd: env: select: Add output for available evironment targets

Marek Vasut marex at denx.de
Thu Mar 20 12:55:38 CET 2025


On 3/20/25 11:32 AM, Christoph Niedermaier wrote:
> If "env select" is called without a target parameter the result is
> "Select Environment on <NULL>: driver not found".

Why is this not the correct output ?

> Improve the output
> by showing a list of available evironment targets, where the active
> target is marked with an asterisk.

If the goal is to add support for listing available env options for 'env 
select' , then better modify cmd/nvedit.c do_env_select() and implement 
some 'env select -l' .


More information about the U-Boot mailing list