2010-03-29 10:56:56     why the uclinux checkout from svn can't boot

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

2010-03-29 10:56:56     why the uclinux checkout from svn can't boot

Zhi Qiang Zhang (CHINA)

Message: 87799   

 

I check out the most updated version of uclinux, and compiled for BF527-EZKIT, here is the boot information,

 

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

   Image Name:   bf527-2.6.33.1-ADI-2010R1-pre-sv

   Created:      2010-03-29  14:35:44 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    2163043 Bytes =  2.1 MB

   Load Address: 00001000

   Entry Point:  002c290c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 002c290c

Linux version 2.6.33.1-ADI-2010R1-pre-svn8560 (zzq01@localhost.localdomain) (gcc version 4.1.2 (ADI svn)) #209 PREEMPT Mon Mar 29 22:35:35 CST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001e3c50

  rodata    = 0x001e3c50-0x002809c0

  bss       = 0x00281000-0x0029abd8

  data      = 0x0029abd8-0x002b8000

    stack   = 0x002b6000-0x002b8000

  init      = 0x002b8000-0x003db000

  available = 0x003db000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

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

Compiled for ADSP-BF527 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 59996k/65536k RAM, (1164k init code, 1931k kernel code, 849k data, 1024k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:159

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

Linux version 2.6.33.1-ADI-2010R1-pre-svn8560 (zzq01@localhost.localdomain) (gcc version 4.1.2 (ADI svn)) #209 PREEMPT Mon Mar 29 22:35:35 CST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001e3c50

  rodata    = 0x001e3c50-0x002809c0

  bss       = 0x00281000-0x0029abd8

  data      = 0x0029abd8-0x002b8000

    stack   = 0x002b6000-0x002b8000

  init      = 0x002b8000-0x003db000

  available = 0x003db000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

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

Compiled for ADSP-BF527 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 59996k/65536k RAM, (1164k init code, 1931k kernel code, 849k data, 1024k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:159

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

console [tty0] enabled

Calibrating delay loop... 1042.43 BogoMIPS (lpj=2084864)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Advanced Linux Sound Architecture Driver Version 1.0.21.

Switching to clocksource jiffies

musb_hdrc: version 6.0, musb-dma, host, debug=0

musb_hdrc: USB Host mode controller at ffc03800 using DMA, IRQ 59

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

msgmni has been set to 117

io scheduler noop registered

io scheduler cfq registered (default)

dma_alloc_init: dma_page @ 0x022a6000 - 256 pages at 0x03f00000

Console: switching to colour frame buffer device 40x30

bfin-lq035q1 bfin-lq035q1: 320x240 16-bit RGB FrameBuffer initialized

bfin-otp: initialized

bfin-uart: Blackfin serial driver

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000040000 : "bootloader(spi)"

0x000000040000-0x000000200000 : "linux kernel(spi)"

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

ad7879 0-002c: Failed to write AD7879 Touchscreen

ad7879: probe of 0-002c failed with error -1

adp5520 0-0032: failed writing 0x80 to 0x00

adp5520 0-0032: failed to write

adp5520: probe of 0-0032 failed with error -1

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

No device for DAI SSM2602

dma rx:3 tx:4, err irq:15, regs:ffc00800

asoc: SSM2602 <-> bf5xx-i2s mapping ok

ALSA device list:

  #0: bf5xx_ssm2602 (SSM2602)

TCP cubic registered

NET: Registered protocol family 17

turn off boot console early_BFuart1

 

 

that is all, why it does not have the command prompt? Actually, the same result on BF526-ezbrd and BF548 brd. I used the default setting.

 

 

 

Regards,

 

ZhangZQ

QuoteReplyEditDelete

 

 

2010-03-29 13:15:08     Re: why the uclinux checkout from svn can't boot

Mike Frysinger (UNITED STATES)

Message: 87800   

 

fix your bootargs so that console= is correct

QuoteReplyEditDelete

 

 

2010-03-29 19:18:34     Re: why the uclinux checkout from svn can't boot

Zhi Qiang Zhang (CHINA)

Message: 87803   

 

My current bootargs is

 

bootargs=root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

 

 

I changed to

 

1.  setenv bootargs 'root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=ttyBF0,57600'

 

2. setenv bootargs 'root=/dev/mtdblock0 rw clkin_hz=25000000 console=ttyBF0,57600'

 

3. setenv bootargs 'root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0,57600'

 

but the same result, how to fix the bootargs?

 

 

 

Regards,

 

ZhangZQ

QuoteReplyEditDelete

 

 

2010-03-29 19:25:53     Re: why the uclinux checkout from svn can't boot

Mike Frysinger (UNITED STATES)

Message: 87804   

 

i said change your console= settings, but every example there you used the same value

QuoteReplyEditDelete

 

 

2010-03-29 21:45:43     Re: why the uclinux checkout from svn can't boot

Zhi Qiang Zhang (CHINA)

Message: 87806   

 

I am very sorry for my poor English skill, I can't understand what you said, do you mean the tty name is incorrct, or the bauds is not correct? Can you give me an example?

 

Regards,

 

ZhangZQ

QuoteReplyEditDelete

 

 

2010-03-30 00:14:24     Re: why the uclinux checkout from svn can't boot

Sonic Zhang (CHINA)

Message: 87810   

 

console=ttyBF1,57600

QuoteReplyEditDelete

 

 

2010-03-30 02:13:57     Re: why the uclinux checkout from svn can't boot

Zhi Qiang Zhang (CHINA)

Message: 87817   

 

Thank you very much!

 

It can work now.

 

 

 

Regards,

 

ZhangZQ

Attachments

    Outcomes