[PATCH 0/9] introduction of dmesg support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Dec 17 02:22:17 EST 2012


On 00:15 Sat 15 Dec     , Sascha Hauer wrote:
> 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.
This is the plan
but as a second step

Best Regards,
J.



More information about the barebox mailing list