您的位置: OpenADSP社区论坛 -> Blackfin专区 -> 新手上路 -> [求助]bf518 移植UCLINUX问题
本帖共有827个阅读者
发表帖子 发表投票 回复主题
[求助]bf518 移植UCLINUX问题
qiuyanming(论坛新手)
qiuyanming
头衔:社区公民
帮派:无帮无派
帖数:10
金钱:199
积分:17
注册时间:2012/9/4
楼主信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
[求助]bf518 移植UCLINUX问题

U-Boot 2011.09 (ADI-2012R1) (Aug 27 2012 - 00:16:21)

CPU:   ADSP bf518-0.0 (Detected Rev: 0.2) (parallel flash boot)
Board: ADI BF518F EZ-Board board
       Support: http://blackfin.uclinux.org/
Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz
RAM:   64 MiB
Flash: 4 MiB
MMC:   Blackfin SDH: 0
In:    serial
Out:   serial
Err:   serial
KGDB:  [on serial] ready
Net:   bfin_mac
Hit any key to stop autoboot:  0
Using bfin_mac device
TFTP from server 192.168.20.47; our IP address is 192.168.20.250
Filename 'uImage'.
Load address: 0x1000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   bf518-0.1-3.2.0-ADI-2012R1-pre-0
   Created:      2012-03-25  12:11:16 UTC
   Image Type:   Blackfin Linux Kernel Image (lzma compressed)
   Data Size:    2411617 Bytes = 2.3 MiB
   Load Address: 00001000
   Entry Point:  002220c8
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Starting Kernel at = 002220c8
Linux version 3.2.0-ADI-2012R1-pre-00352-g4b5c54d (root@build) (gcc version 4.3.
5 (ADI-trunk/git-e19152e) ) #2794 Sun Mar 25 08:11:07 EDT 2012
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
  fixedcode = 0x00000400-0x00000490
  text      = 0x00001000-0x00178ac0
  rodata    = 0x00178ac0-0x001ec368
  bss       = 0x001ed000-0x00200b54
  data      = 0x00200b54-0x0021a000
    stack   = 0x00218000-0x0021a000
  init      = 0x0021a000-0x006e0000
  available = 0x006e0000-0x03f00000
  DMA Zone  = 0x03f00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 1
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF518 Rev 0.1
Warning: Compiled for Rev 1, but running on Rev 2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 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
,uart0,57600 console=ttyBF0,57600 ip=192.168.20.250:192.168.20.47:192.168.20.254
:255.255.255.0:bf518f-ezbrd:eth0:off
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: 56864k/65536k RAM, (4888k init code, 1502k kernel code, 646k d
ata, 1024k dma, 612k reserved)
NR_IRQS:159
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 792.57 BogoMIPS (lpj=1585152)
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: 32 KB (25 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
tcm_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@f
fc00500, dma channel@7
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@f
fc03400, dma channel@5
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base
@ffc01400
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 named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Undefined instruction
<5> - May be used to emulate instructions that are not defined for
<5>   a particular processor implementation.
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=swapper PID=1  CPU=0
invalid mm
return address: [0x02013f14]; contents of:
0x02013ef0:  0000  0000  3ef4  0201  3ef4  0201  3104  0201
0x02013f00:  3104  0201  df1c  020a  3dfc  0201  20d8  0201
0x02013f10:  20d8  0201 [0088] 0000  0004  0000  0000  0000
0x02013f20:  2c94  0077  d7b4  020a  be4b  cfca  0011  0000

ADSP-BF518-0.1(Detected 0.2) 400(MHz CCLK) 80(MHz SCLK) (mpu off)
Linux version 3.2.0-ADI-2012R1-pre-00352-g4b5c54d (root@build) (gcc version 4.3.
5 (ADI-trunk/git-e19152e) ) #2794 Sun Mar 25 08:11:07 EDT 2012

SEQUENCER STATUS:               Not tainted
SEQSTAT: 00000021  IPEND: 8008  IMASK: ffff  SYSCFG: 0006
  EXCAUSE   : 0x21
  physical IVG3 asserted : <0xffa0072c> { _trap + 0x0 }
  physical IVG15 asserted : <0xffa00f68> { _evt_system_call + 0x0 }
  logical irq   6 mapped  : <0xffa00368> { _bfin_coretmr_interrupt + 0x0 }
  logical irq  27 mapped  : <0x000f915c> { _bfin_twi_interrupt_entry + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x0201be18> /* kernel dynamic memory (maybe user-space) */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x02013f14> /* kernel dynamic memory (maybe user-space) */
PC  : <0x02013f14> /* kernel dynamic memory (maybe user-space) */
DCPLB_FAULT_ADDR: <0x001f1060> /* kernel dynamic memory (maybe user-space) */
ICPLB_FAULT_ADDR: <0x02013f14> /* kernel dynamic memory (maybe user-space) */
PROCESSOR STATE:
R0 : 00000000    R1 : 00000000    R2 : 00000000    R3 : 0000000b
R4 : 00000000    R5 : 00000000    R6 : 02041520    R7 : 00000000
P0 : 0000000a    P1 : 00000180    P2 : 00202080    P3 : 0002da9c
P4 : 0023011c    P5 : 0002da9c    FP : 0004c0a6    SP : 0201bd3c
LB0: 000bd066    LT0: 000bd066    LC0: 00000000
LB1: 0004a61e    LT1: 0004a618    LC1: 00000000
B0 : 00000000    L0 : 00000000    M0 : 0000002c    I0 : 00200200
B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 002a4710
B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000
B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000
A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000
USP : 00000000  ASTAT: 02003004

Hardware Trace:
   0 Target : <0x00004094> { _trap_c + 0x0 }
     Source : <0xffa006c0> { _exception_to_level5 + 0xa4 } JUMP.L
   1 Target : <0xffa0061c> { _exception_to_level5 + 0x0 }
     Source : <0xffa004d0> { _bfin_return_from_exception + 0x18 } RTX
   2 Target : <0xffa004b8> { _bfin_return_from_exception + 0x0 }
     Source : <0xffa00574> { _ex_trap_c + 0x74 } JUMP.S
   3 Target : <0xffa00500> { _ex_trap_c + 0x0 }
     Source : <0xffa00786> { _trap + 0x5a } JUMP (P4)
   4 Target : <0xffa0072c> { _trap + 0x0 }
      FAULT : <0x02013f14> /* kernel dynamic memory (maybe user-space) */ JUMP (
PC + P8
     Source : <0xffa0045c> { _ex_dcplb_miss + 0x78 } RTX
   5 Target : <0xffa003e4> { _ex_dcplb_miss + 0x0 }
     Source : <0xffa00786> { _trap + 0x5a } JUMP (P4)
   6 Target : <0xffa0072c> { _trap + 0x0 }
     Source : <0x00003250> { _do_signal + 0x9b8 } RTS
   7 Target : <0x00003244> { _do_signal + 0x9ac }
     Source : <0x00003590> { _do_signal + 0xcf8 } JUMP.S
   8 Target : <0x00003590> { _do_signal + 0xcf8 }
     Source : <0x0001b71e> { _force_sig_info + 0x76 } RTS
   9 Target : <0x0001b700> { _force_sig_info + 0x58 }
     Source : <0x0001b606> { ___send_signal + 0xda } RTS
  10 Target : <0x0001b5fe> { ___send_signal + 0xd2 }
     Source : <0x0001b470> { _complete_signal + 0xfc } RTS
  11 Target : <0x0001b468> { _complete_signal + 0xf4 }
     Source : <0x0000d248> { _try_to_wake_up + 0x4c } RTS
  12 Target : <0x0000d240> { _try_to_wake_up + 0x44 }
     Source : <0x0000d232> { _try_to_wake_up + 0x36 } IF CC JUMP pcrel (BP)
  13 Target : <0x0000d22c> { _try_to_wake_up + 0x30 }
     Source : <0x0000d210> { _try_to_wake_up + 0x14 } IF CC JUMP pcrel (BP)
  14 Target : <0x0000d1fc> { _try_to_wake_up + 0x0 }
     Source : <0x0000d28e> { _wake_up_state + 0xa } CALL pcrel
  15 Target : <0x0000d284> { _wake_up_state + 0x0 }
     Source : <0x0001a942> { _signal_wake_up + 0x32 } JUMP.L
Kernel Stack
Stack info:
SP: [0x0201bbe4] <0x0201bbe4> /* kernel dynamic memory (maybe user-space) */
FP: (0x0201bd0c)
Memory from 0x0201bbe0 to 0201c000
0201bbe0: 64206c65 [6d616e79] 6d206369  726f6d65  6d282079  65627961  65737520
70732d72
0201bc00: 29656361  002f2a20  002f2a20  0201bc90  0000003f  00000004  63000000
00000000
0201bc20: 0017716c  0201bc5c  0000000f  0201bc64  02013f30  02013f14  02013f30
00000000
0201bc40: 7fffffff  000084fe  0201bc58  0000853c  00000005  0000003f  0004c0a6
0017716c
0201bc60: 0201bd3c  00000000  0004c0a6  000044c0  0201bd3c  ffe02014  0002da9c
00008008
0201bc80: 00000004  00000021  00000013  0201bd3c  0201bbe4  ffffffff  00000000
00000000
0201bca0: 00030001  02041520  00000000  00000001  0017ff20  0201be30  00000001
00003000
0201bcc0: 0002aa9c  00000000  00724860  020b4218  00039b52  020b416c  02041520
00000000
0201bce0: 0002da9c  0201be30  00000000  00000000  00000000  0000003f  0004a904
00000000
0201bd00: 00000000  0201bdec  0002da9c (00000000)<002096ac> 0002da9c  ffa006c4
001f0000
0201bd20: 00008008  00000021  00000000  00000000  00000001  00039d56  00000480
00000480
0201bd40: 00008008  00000021  00000000  0201be18  00000480  02013f14  02013f14
00000000
0201bd60: 02003004  0004a61e  000bd066  0004a618  000bd066  00000000  00000000
00000000
0201bd80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000
00000000
0201bda0: 00000000  00000000  00000000  00000000  00000000  00000000  0000002c
00000000
0201bdc0: 00000000  002a4710  00200200  00000000  0004c0a6  0002da9c  0023011c
0002da9c
0201bde0: 00202080  00000180  0000000a  00000000  02041520  00000000  00000000
0000000b
0201be00: 00000000  00000000  00000000  00000000  0000000a  00000006  0004bbfa
00002068
0201be20: 02041528  0023011c  020b41c0  0002da9c  002a0710  0002da9c <0004d156>
02041520
0201be40: 0023013c  00230120  0201be8c  00230158  0023011c  00000000  0201be8c
02041520
0201be60: 00230134  0004d26c  02041520  0023013c  002a0710  0002da9c  00000000
000000d0
0201be80: 00000016  002a06fa  0201be8c  00000000  00000000  00000000  0021bb4a
00230170
0201bea0: 0006b080  0043c980  00000000  00000016  30303030  36313030  4f6f0b00 <
0021bcde>
0201bec0: 00230144  00230134  00230134 <0021bcde> 00230144  002a068c  001ed008
00000006
0201bee0: 00000000  00000000  000b6e62  0201bf70  0000ffff  02079260  00203150
0004a874
0201bf00: 02079260  0022e828  02079260  0201bf80  0021c4f8  002354a0  006dd010
001ed008
0201bf20: 00000000  00000000  00000000  00000000  00000006  000665a0  00000000
0017716c
0201bf40: 001fdd38  0022e828  001ed008  00000000  00000000  00000000  00000000
00000000
0201bf60: 00000000  00000000  001616b4  0023549c  00214c54  ffffffff  00165fd0
0023549c
0201bf80: 00000000 <0000110a> 002354a0  0021c4dc  001ed008  00000000  00000000
00000000
0201bfa0: 00000000  00000000  00210000  00037858  00204d3c  002353a8  0021a162
002354a0
0201bfc0: 002353a8  00235604  00000000  00000000  00000000  00000000  00000000
00000000
0201bfe0: 00000000 <0000161e> 00000000  00000000  00000000  00000000  ffffffff
00000006
Return addresses in stack:
   frame  1 : <0x002096ac> /* kernel dynamic memory (maybe user-space) */
    address : <0x0004d156> { _vfs_write + 0x6a }
    address : <0x0021bcde> { _unpack_to_rootfs + 0x11a }
    address : <0x0021bcde> { _unpack_to_rootfs + 0x11a }
    address : <0x0000110a> { _do_one_initcall + 0x10a }
    address : <0x0000161e> { _kernel_thread_helper + 0x6 }
Modules linked in:
Kernel panic - not syncing: Kernel exception
Hardware Trace:
Stack info:
SP: [0x0201bc48] <0x0201bc48> /* kernel dynamic memory (maybe user-space) */
FP: (0x0201bd0c)
Memory from 0x0201bc40 to 0201c000
0201bc40: 0201bc48  00000013 [001b1258] 00177030  0201bd3c  001b1258  001f24cc
001f24cc
0201bc60: 001f24cc  0201bc90  0004c0a6  000044d0  0201bd3c  ffe02014  0002da9c
00008008
0201bc80: 00000004  00000021  00000013  0201bd3c  0000003f  ffffffff  00000000
00000000
0201bca0: 00030001  02041520  00000000  00000001  0017ff20  0201be30  00000001
00003000
0201bcc0: 0002aa9c  00000000  00724860  020b4218  00039b52  020b416c  02041520
00000000
0201bce0: 0002da9c  0201be30  00000000  00000000  00000000  0000003f  0004a904
00000000
0201bd00: 00000000  0201bdec  0002da9c (00000000)<002096ac> 0002da9c  ffa006c4
001f0000
0201bd20: 00008008  00000021  00000000  00000000  00000001  00039d56  00000480
00000480
0201bd40: 00008008  00000021  00000000  0201be18  00000480  02013f14  02013f14
00000000
0201bd60: 02003004  0004a61e  000bd066  0004a618  000bd066  00000000  00000000
00000000
0201bd80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000
00000000
0201bda0: 00000000  00000000  00000000  00000000  00000000  00000000  0000002c
00000000
0201bdc0: 00000000  002a4710  00200200  00000000  0004c0a6  0002da9c  0023011c
0002da9c
0201bde0: 00202080  00000180  0000000a  00000000  02041520  00000000  00000000
0000000b
0201be00: 00000000  00000000  00000000  00000000  0000000a  00000006  0004bbfa
00002068
0201be20: 02041528  0023011c  020b41c0  0002da9c  002a0710  0002da9c <0004d156>
02041520
0201be40: 0023013c  00230120  0201be8c  00230158  0023011c  00000000  0201be8c
02041520
0201be60: 00230134  0004d26c  02041520  0023013c  002a0710  0002da9c  00000000
000000d0
0201be80: 00000016  002a06fa  0201be8c  00000000  00000000  00000000  0021bb4a
00230170
0201bea0: 0006b080  0043c980  00000000  00000016  30303030  36313030  4f6f0b00 <
0021bcde>
0201bec0: 00230144  00230134  00230134 <0021bcde> 00230144  002a068c  001ed008
00000006
0201bee0: 00000000  00000000  000b6e62  0201bf70  0000ffff  02079260  00203150
0004a874
0201bf00: 02079260  0022e828  02079260  0201bf80  0021c4f8  002354a0  006dd010
001ed008
0201bf20: 00000000  00000000  00000000  00000000  00000006  000665a0  00000000
0017716c
0201bf40: 001fdd38  0022e828  001ed008  00000000  00000000  00000000  00000000
00000000
0201bf60: 00000000  00000000  001616b4  0023549c  00214c54  ffffffff  00165fd0
0023549c
0201bf80: 00000000 <0000110a> 002354a0  0021c4dc  001ed008  00000000  00000000
00000000
0201bfa0: 00000000  00000000  00210000  00037858  00204d3c  002353a8  0021a162
002354a0
0201bfc0: 002353a8  00235604  00000000  00000000  00000000  00000000  00000000
00000000
0201bfe0: 00000000 <0000161e> 00000000  00000000  00000000  00000000  ffffffff
00000006
Return addresses in stack:
   frame  1 : <0x002096ac> /* kernel dynamic memory (maybe user-space) */
    address : <0x0004d156> { _vfs_write + 0x6a }
    address : <0x0021bcde> { _unpack_to_rootfs + 0x11a }
    address : <0x0021bcde> { _unpack_to_rootfs + 0x11a }
    address : <0x0000110a> { _do_one_initcall + 0x10a }
    address : <0x0000161e> { _kernel_thread_helper + 0x6 }


这家伙很懒,什么也没有留下!
等级:论坛新手 参考IP地址:*.*.*.*
2012/9/5 11:14:16
尊贵身份标志
OpenADSP(管理员)
OpenADSP
头衔:社区公民
帮派:无帮无派
帖数:5195
金钱:34806
积分:6378
注册时间:2011/6/7
1信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线

这。。。


我是OP...
等级:管理员 参考IP地址:*.*.*.*
2012/9/5 17:06:03
Powered by OpenADSP Copyright © 2010 www.Openadsp.com. All rights reserved.159195 Call, 1 Queries, Processed in 0.046875 second(s),