2011-01-18 02:52:59     Problem of Uart 1 as Linux kernel console

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

2011-01-18 02:52:59     Problem of Uart 1 as Linux kernel console

Shyam sundar (INDIA)

Message: 97511   

 

Hello world,

 

I am trying to use Uart 1 as console for U-boot and Linux kernel.

 

The U-boot console works fine.But not able to get the kernel image loaded fully.

 

This is the display I do get. Can I have clue where am I going wrong?

 

U-Boot 2008.10-svn2396 (ADI-2009R1.1-rc1) (Jan 14 2011 - 16:00:06)

 

CPU:   ADSP bf537-0.3 (Detected Rev: 0.3) (spi flash boot)

Board: ADI BF537 stamp board

       Support:   blackfin.uclinux.org/

Clock: VCO: 589.824 MHz, Core: 589.824 MHz, System: 98.304 MHz

RAM:   32 MB

Flash: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB

0 kB

SF: Got idcode ef 40 17

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   EE:D3:D0:EA:E7:D6

Hit any key to stop autoboot:  0

bfin> tftpboot 0x1000000 test

Using Blackfin EMAC device

TFTP from server 10.7.143.78; our IP address is 10.7.143.99

Filename 'test'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ##############

done

Bytes transferred = 4968785 (4bd151 hex)

bfin> bootm

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1.1

   Created:      2011-01-18   7:19:31 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4968721 Bytes =  4.7 MB

   Load Address: 00001000

   Entry Point:  00181f50

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00181f50

Linux version 2.6.28.10-ADI-2009R1.1 (voip@sudha-desktop) (gcc version 4.1.2 (ADI svn)) #277 Tue Jan 18 12:49:20 IST 2011

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 32MB

Kernel Managed Memory: 32MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x000fe1a0

  rodata    = 0x000fe1a0-0x0015095c

  bss       = 0x00151000-0x00162b74

  data      = 0x00162b74-0x00174000

    stack   = 0x00172000-0x00174000

  init      = 0x00174000-0x009c4000

  available = 0x009c4000-0x01eff000

  DMA Zone  = 0x01f00000-0x02000000

Hardware Trace Active and Enabled

Boot Mode: 3

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.3

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 589 MHz core clock and 98 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 7873

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=24576000 earlyprintk=serial,uart1,57600 console=ttyBF1,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 128 (order: 7, 512 bytes)

QuoteReplyEditDelete

 

 

2011-01-18 03:04:28     Re: Problem of Uart 1 as Linux kernel console

Mike Frysinger (UNITED STATES)

Message: 97512   

 

try using console=ttyBF0....

QuoteReplyEditDelete

 

 

2011-01-18 04:04:06     Re: Problem of Uart 1 as Linux kernel console

Shyam sundar (INDIA)

Message: 97517   

 

Hi Mike,

 

In my board uart 0 interface is not functional. And that is the reason I am trying to switch to uart 1.

QuoteReplyEditDelete

 

 

2011-01-18 05:07:58     Re: Problem of Uart 1 as Linux kernel console

Mike Frysinger (UNITED STATES)

Message: 97518   

 

did you try what i suggested ?

QuoteReplyEditDelete

 

 

2011-01-19 02:27:43     Re: Problem of Uart 1 as Linux kernel console

Shyam sundar (INDIA)

Message: 97536   

 

Yet to try Mike!!

 

My hardware has gone for a toss !! I will revert back, as soon as it comes up!!

Attachments

    Outcomes