[U-Boot-Users] RFC: hidden environment variables
ladis at linux-mips.org
Tue Apr 24 11:05:56 CEST 2007
On Mon, Apr 23, 2007 at 09:32:43PM +0200, Ulf Samuelsson wrote:
> Too much information = information overload for many...
> I really would like to see something much closer to a PC boot screen.
> where people fill in fields of information, instead of doing setenv...
Well, I agree here. Simple menu driven configuration is nice to have for
average user. But it is pretty easy to add without changing anything.
What stops you from running your custom board specific command from
'bootcmd' ? Here you can show menu and do configuration in your way.
And store data in environment. For power users, there could be "exit to
shell" menu option. You can even require password to be able to use
u-boot's command line. But once user gains command line interface,
she/he could be allowed to do pretty much everything.
Once again, either offer simple and idiot proof menu driven
configuration *or* give user command line and do not try to guess what
he may want to do.
U-Boot could have framework for constructing menus... Anyone still
remembers TurboVision? ;-)
More information about the U-Boot