[PATCH 0/9] introduction of dmesg support

Sascha Hauer s.hauer at pengutronix.de
Fri Dec 14 18:15:14 EST 2012


On Thu, Dec 13, 2012 at 05:37:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> HI,
> 
> 	we currently have 2 fifo at comsole level one for input one for output
> 	we fill the output fifo before any console is registered and then
> 	empty it
> 
> 	Now we introduce a new mecanism as in the kernel dmesg
> 
> 	we will always fill the output kfifo with drivers output
> 
> 	as in barebox we have 2 world
> 
> 	device/drivers and applicaiotn (commands)
> 
> 	so for now on drivers will have to use pr_xxx and dev_xxx and
> 	application will use printf
> 
> 	dmesg will print the kfifo at any time
> 
> 	we will extend this later with more control of what the drivers output
> 	on the console or just in the fifo
> 
> 	This new eature is optionnal if dmes is disable we continue as before
> 

Generally I like the idea. Overall I think it's nice to be able to
control the verbosity during runtime.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list