AnsweredAssumed Answered

problem in booting uImage?

Question asked by rjustin24 on Jun 28, 2012
Latest reply on Jun 29, 2012 by rjustin24

After trying to load uImage. Im now stucked while uImage is being booted. What happens is that it gets stuck on a specific line. Anyone got an idea how to resolve this?

 

U-Boot 2011.09 (ADI-2011R1) (Dec 14 2011 - 13:56:11)

 

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)

Board: ADI BF537 stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz

RAM:   64 MiB

Flash: 4 MiB

MMC:  

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Warning: Generating 'random' MAC address

Net:   bfin_mac

Hit any key to stop autoboot:  0

bfin_mac: link down, check cable

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

   Image Name:   bf537-0.2-3.0.8-ADI-2011R1

   Created:      2012-06-29   4:17:07 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    964878 Bytes = 942.3 KiB

   Load Address: 00100000

   Entry Point:  00297a40

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00297a40

Linux version 3.0.8-ADI-2011R1 (root@ubuntu) (gcc version 4.5.3 (ADI-2

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00100000-0x00217288

  rodata    = 0x00217288-0x0026ef30

  bss       = 0x0026f000-0x0027ea94

  data      = 0x0027eaa0-0x00290000

    stack   = 0x0028e000-0x00290000

  init      = 0x00290000-0x002aa000

  available = 0x002aa000-0x03800000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace active and enabled

Boot Mode: 0

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

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 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:4

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprf

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: 54008k/65536k RAM, (104k init code, 1116k kernel co)

NR_IRQS:146

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

pid_max: default: 32768 minimum: 301

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 (47 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 7

Switching to clocksource bfin_cs_cycles

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

debug-mmrs: setting up Blackfin MMR debugfs

msgmni has been set to 105

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

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

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01)

bfin_mac bfin_mac.0: eth0: Blackfin on-chip Ethernet MAC driver, Vers1

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

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:01:09 UTC (6)

dma_alloc_init: dma_page @ 0x02122000 - 512 pages at 0x03e00000

IP-Config: Complete:

     device=eth0, addr=192.168.0.15, mask=255.255.255.0, gw=192.168.0,

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=

List of all partitions:

No filesystem could mount root, tried:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-b)

Hardware Trace:

   0 Target : <0x0021581c> { _dump_stack + 0x0 }

     Source : <0x002158a4> { _panic + 0x50 } CALL pcrel

   1 Target : <0x002158a4> { _panic + 0x50 }

     Source : <0x002159e0> { _printk + 0x14 } RTS

   2 Target : <0x002159dc> { _printk + 0x10 }

     Source : <0x001110fc> { _vprintk + 0x198 } RTS

   3 Target : <0x001110f0> { _vprintk + 0x18c }

     Source : <0x00109076> { __common_int_entry + 0xda } RTI

   4 Target : <0x00109014> { __common_int_entry + 0x78 }

     Source : <0x00108e50> { _return_from_int + 0x58 } RTS

   5 Target : <0x00108e50> { _return_from_int + 0x58 }

     Source : <0x00108e26> { _return_from_int + 0x2e } IF !CC JUMP pc

   6 Target : <0x00108df8> { _return_from_int + 0x0 }

     Source : <0x00109010> { __common_int_entry + 0x74 } JUMP.L

   7 Target : <0x0010900e> { __common_int_entry + 0x72 }

     Source : <0x00103662> { _asm_do_IRQ + 0x6a } RTS

   8 Target : <0x0010365a> { _asm_do_IRQ + 0x62 }

     Source : <0x0011498e> { ___local_bh_enable + 0x36 } RTS

   9 Target : <0x00114958> { ___local_bh_enable + 0x0 }

     Source : <0x00114ed2> { ___do_softirq + 0xae } CALL pcrel

  10 Target : <0x00114ec6> { ___do_softirq + 0xa2 }

     Source : <0x00114eba> { ___do_softirq + 0x96 } IF CC JUMP pcrel

  11 Target : <0x00114eae> { ___do_softirq + 0x8a }

     Source : <0x0013625e> { _rcu_bh_qs + 0x42 } RTS

  12 Target : <0x00136244> { _rcu_bh_qs + 0x28 }

     Source : <0x00136234> { _rcu_bh_qs + 0x18 } IF CC JUMP pcrel

  13 Target : <0x0013621c> { _rcu_bh_qs + 0x0 }

     Source : <0x00114eaa> { ___do_softirq + 0x86 } CALL pcrel

  14 Target : <0x00114ea2> { ___do_softirq + 0x7e }

     Source : <0x001188dc> { _run_timer_softirq + 0xb4 } RTS

  15 Target : <0x0011887e> { _run_timer_softirq + 0x56 }

     Source : <0x001188c8> { _run_timer_softirq + 0xa0 } IF !CC JUMP )

Stack info:

SP: [0x0201bf28] <0x0201bf28> /* kernel dynamic memory (maybe user-s/

FP: (0x0201bfe4)

Memory from 0x0201bf20 to 0201c000

0201bf20: 0201bf28  00000000 [0024292c] 002158a8  02061000  0024292c 

0201bf40: 002743df  0201bf70  00000000  00290992  02061000  002a34bc 

0201bf60: 00008000  00242994  00000000  002a347d  0201bf80  0201bf80 

0201bf80: 6e6b6e75  2d6e776f  636f6c62  2c30286b  02002930  00290aa2 

0201bfa0: 00290c1c  0026f068  002a34c8  00000000  00000000  00000000 

0201bfc0: 00290688  0026f018  002a7fac  00000000  00290694  0026f018 

0201bfe0: 00000000 (00000000)

00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00100616> { _kernel_thread_helper + 0x6 }

Outcomes