From: Ladislav Michl Date: Tue, 24 Apr 2007 11:05:56 +0200 Subject: [U-Boot-Users] RFC: hidden environment variables In-Reply-To: <009701c785de$2e8a7bd0$9003960a@atmel.com> References: <462CE302.7030302@freescale.com> <1177356492.3904.78.camel@saruman.qstreams.net> <009701c785de$2e8a7bd0$9003960a@atmel.com> Message-ID: <20070424090556.GA16956@michl.2n.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? ;-) Best regards, ladis