[U-Boot] [PATCH 11/14] New config variable CONFIG_PREMONITOR

Pali Rohár pali.rohar at gmail.com
Wed Jan 25 22:24:03 CET 2012


On Wednesday 25 January 2012 21:51:38 Marek Vasut wrote:
> > On Wednesday 25 January 2012 19:12:51 Marek Vasut wrote:
> > > >  * if defined run env "premonitor" before Main Loop for Monitor
> > > >  Processing
> > > 
> > > What is this good for?
> > 
> > before running monitor loop I'd like write some info to console (specific
> > board info, board commands, board macros). but if these info will be
> > written in preboot it can be deleted by menu section.
> 
> The "menu" here, you refer to the thing you implemented? So fix that instead
> of introducing broken code and a pile of workarounds.

With "menu" I mean env menucmd. U-Boot run command stored in env menucmd after 
preboot and before monitor loop. For example in menucmd can be my bootmenu, 
but there are no problems - no broken code! My bootmenu clear screan and show 
menu, so anything printed before menu entries will be deleted. This is not bug 
- Also in Grub or LILO is debug/output log cleaned when showing menu entries.

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120125/21fd2585/attachment.pgp>


More information about the U-Boot mailing list