2009-01-31 16:44:07     Console prints other than UART

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2009-01-31 16:44:07     Console prints other than UART

Sudhakar GN (INDIA)

Message: 68634   

 

Hi,

 

We are working on a BF533 with uClinux kernel.  Planning to use on chip UART for controlling another device. How to redirect the kernel console prints to other devices say SPI or another UART controller on the board?

 

Thanks,

 

Sudhakar

QuoteReplyEditDelete

 

 

2009-01-31 17:50:10     Re: Console prints other than UART

Mike Frysinger (UNITED STATES)

Message: 68635   

 

use the console= kernel command line option

QuoteReplyEditDelete

 

 

2009-02-03 08:58:12     Re: Console prints other than UART

Sudhakar GN (INDIA)

Message: 68767   

 

Mike,

 

Could you provide more details on  "use the console= kernel command line option"

 

For e.g, if we have redirect the meassages to SPI  , what are the steps in Linux kernel  for relalizing the same

 

 

 

 

 

How do we redirect console to SPI or if the HW has new UART controller

 

 

QuoteReplyEditDelete

 

 

2009-02-03 12:23:34     Re: Console prints other than UART

Mike Frysinger (UNITED STATES)

Message: 68790   

 

you dont "redirect to SPI", you set the console to an appropriate console device.  the console= option is documented in linux-2.6.x/Documentation/kernel-parameters.txt.

Attachments

    Outcomes