2008-12-07 22:07:11     How to set UART0 as console?

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

2008-12-07 22:07:11     How to set UART0 as console?

leo liu (CHINA)

Message: 66484   

 

Hi, I am working with uClinux-dist-2008 R1.5.-RC3. Custom board BF527.  My board use UART0 as serial port. In u-boot, I could define CONFIG_UART_CONSOLE to 0 and it could print massage well.

 

When the u-boot boot the kernel-image, it could not print message. How to select UART0 as my console? I didn't find any choice in menuconfig's menu, just found UART1 and its Alternative Multiplexing Scheme .

TranslateQuoteReplyEditDelete

 

 

2008-12-07 22:13:10     Re: How to set UART0 as console?

leo liu (CHINA)

Message: 66485   

 

attach the message which u-boot printed:

 

"

 

## Booting image at 20032000 ...

   Image Name:   Linux-2.6.22.19-ADI-2008R1.5-svn

   Created:      2008-12-08   2:19:36 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3823255 Bytes =  3.6 MB

   Load Address: 00001000

   Entry Point:  0019c000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 19c000

 

"

TranslateQuoteReplyEditDelete

 

 

2008-12-07 22:48:03     Re: How to set UART0 as console?

Mike Frysinger (UNITED STATES)

Message: 66487   

 

you have to enable specific UARTs in the kernel configuration menu.  look under character devices under device drivers.  then use the normal console= kernel command line option.

QuoteReplyEditDelete

Attachments

    Outcomes