找回密码
 注册
关于网站域名变更的通知
查看: 1229|回复: 3
打印 上一主题 下一主题

ARM9板子在启动过程中一直自动重启

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2015-4-21 18:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x
Start AT91Bootstrap...6 g0 S" G8 @9 e& c! \
Init DDR... Done!
4 v; H4 l& j$ n: N' k1 wLoading 1-Wire info...
7 h6 J& M! w9 W1 h( R( Q: M4 ]sn: 0x0;   rev: 0x421( ^3 e9 o* h" E# L
Downloading image...: _" }7 b6 r1 q& l" P2 A2 N4 c
chip id: 0xecda
$ F* W6 r; e: M/ _  n( i0 y  MCopy 0x50000 bytes from 0x40000 to 0x26f00000
: A0 x# @0 ^6 [0 M& i" EDone!* r) _% o  L0 @' [* ?( o0 I" _

" r! h& V- T1 t, J) o  @4 m) D8 v
* f, s. w; d$ J: g) T. \U-Boot 2010.06 (Feb 25 2013 - 11:02:59)) j. p  \: g/ ^2 z

7 ^  d. d' T* ~2 J$ kDRAM:  128 MiB
$ l) V4 c0 P: M$ v$ X* R% X$ x2 L; }NAND:  256 MiB
- T8 t1 x$ p) p- t$ {5 FIn:    serial
/ q( h! f5 y& B% w- a2 Q7 rOut:   serial; |4 P0 s# S4 M4 V! ^
Err:   serial
3 |# A* t: W* K. dNet:   macb0
, j; Q1 c  _& l; \* |macb0: No PHY present
" H  R, L( G% R( M9 O6 k4 E( iHit any key to stop autoboot:  0 $ V/ w; e; t' F1 G
( O* L) I' B+ s8 L
NAND read: device 0 offset 0x200000, size 0x280000
0 y7 N* E8 r4 d 2621440 bytes read: OK  \% Q& Y! v! H) \
## Booting kernel from Legacy Image at 22000000 ...
/ y4 ?+ i! W1 h- [0 E   Image Name:   Linux-2.6.39
7 ]4 c+ ~! Q: B   Image Type:   ARM Linux Kernel Image (uncompressed)2 P/ ]& z+ i/ J+ B( Q3 e% k! |/ M5 i( I0 @
   Data Size:    2411772 Bytes = 2.3 MiB" I3 f% e  p# e/ L
   Load Address: 200080001 ~! [; k/ C1 P
   Entry Point:  20008000% A& ]& O( a) m2 X! M# b0 F
   Verifying Checksum ... OK+ C  g  n- j3 W
   Loading Kernel Image ... OK4 L+ C; I4 `3 k4 M0 O
OK. {0 a) w6 a4 F

, {8 X: M" M5 N5 V  jStarting kernel ...# F- R& G! x5 H

- l& y: @5 W' f; {6 q/ b4 QUncompressing Linux... done, booting the kernel.
; a& S( _- ?" f' X# u& BLinux version 2.6.39 (jakebo@dev-server-pc) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #1 Tue Mar 19 16:19:08 CST 2013
' B5 l, K! E  YCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177' A: V1 M- R3 j8 b% v# _5 N
CPU: VIVT data cache, VIVT instruction cache' ~3 [# N, c: B0 n5 i* ?
Machine: Atmel AT91SAM9X5-EK6 x" d2 t, ]  z  A
Memory policy: ECC disabled, Data cache writeback4 S: ^  B) i* n0 }3 i6 C8 H; y* P5 C
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz/ f) ~* ~5 I  P# k& x8 o
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512* V* O/ ]8 g# z" n5 {. V' Q" @
Kernel command line: mem=128M console=ttyS0,115200 mtdparts=atmel_nand:8M(bootstrap/uboot/kernel)ro,-(rootfs) root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs- K* _( l* |5 l7 v* H6 T: y
PID hash table entries: 512 (order: -1, 2048 bytes)
3 Q9 Q! b+ Z. w( UDentry cache hash table entries: 16384 (order: 4, 65536 bytes)
! \5 v- ^3 _9 l) `# \: P  D' I9 P  IInode-cache hash table entries: 8192 (order: 3, 32768 bytes)+ D/ L7 n' w( G5 ], L8 p
Memory: 128MB = 128MB total
1 s; S0 i# e& P1 s% WMemory: 124820k/124820k available, 6252k reserved, 0K highmem
3 x7 G$ n& f5 o: w) z1 M+ u& ?Virtual kernel memory layout:9 K  i" D" G/ i9 B; a
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)( l0 C+ z/ v2 N* W1 o3 ?( }' A4 ]* G
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
! q, I" g7 P5 H$ A3 X' ~0 t( t    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
' K1 ]3 l& s( F% b6 _* @, J. {( T    vmalloc : 0xc8800000 - 0xfee00000   ( 870 MB)
- R3 }( T& _: w( j% r8 p  X) T3 s    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)* Q  E. [) C# `! V: O" ~
    modules : 0xbf000000 - 0xc0000000   (  16 MB)4 U0 u, e  B% h4 P- M( h( V
      .init : 0xc0008000 - 0xc002b000   ( 140 kB)
1 E6 N/ O8 Q9 a$ E7 D      .text : 0xc002b000 - 0xc04aeac4   (4623 kB)
3 m' s% R) @4 Z  u& w& Q      .data : 0xc04b0000 - 0xc04e0f60   ( 196 kB)& q( N* ]- [* d4 l3 E
NR_IRQS:192
7 y. e. U5 j  c: B' QAT91: 128 gpio irqs in 4 banks
, s/ L1 [; y; lConsole: colour dummy device 80x301 h( U. F  _/ _+ z/ ~5 I
console [ttyS0] enabled
9 y, v8 H; N9 r6 p* mCalibrating delay loop... 199.06 BogoMIPS (lpj=995328)& t% v7 a) e; a7 m( `% a9 h2 L
pid_max: default: 32768 minimum: 301( ]1 a- T3 {2 |6 A5 Q! a9 w
Mount-cache hash table entries: 512
: N. M; R5 {) uCPU: Testing write buffer coherency: ok+ f" `1 z5 R5 Z0 s% F; Q: ~
NET: Registered protocol family 16
0 `  k3 Q7 n: y, B8 I$ TAT91: CM rev B and higher9 Q# b5 r0 G* A7 e; S* Y, k
AT91: EK rev B and higher+ z+ }, z7 Q) h! L* I
AT91: Power Management (with slow clock mode)
3 D6 l. r8 {. M! _' @. [3 MAT91: Starting after power-restored wakeup% D  Y5 J! }2 I% ]$ Q5 T1 {2 _" |2 j
bio: create slab <bio-0> at 0
) t5 {; z0 ~8 S7 S! OSCSI subsystem initialized% J$ K( R! J, i3 L+ D- s
usbcore: registered new inteRFace driver usbfs6 L0 P4 s' H/ G- x- y4 O
usbcore: registered new interface driver hub# c. U4 @& @# y) |8 n  g" v* i3 b
usbcore: registered new device driver usb
: c0 [0 Z, W/ Q% }3 Z8 i  Wi2c-gpio i2c-gpio.0: using pins 62 (SDA) and 63 (SCL)6 G3 `0 {7 f: Y# D+ e  u
at_hdmac at_hdmac.0: Atmel AHB DMA Controller ( cpy slave ), 8 channels1 s5 @* D% y/ K) N" K
RomBOOT
9 @# K# U- N2 o. R8 g1 m/ |请问大家有遇到过此问题吗?我量过复位引脚和电源,都没有问题。
0 c5 I( @& O4 i1 y1 p7 {! [3 \
/ O$ s; c/ Y4 U

该用户从未签到

2#
发表于 2015-8-29 09:45 | 只看该作者
楼主的问题找到原因了么

该用户从未签到

3#
发表于 2015-8-30 00:12 | 只看该作者
串口有debug数据输出,证明硬件是没有问题的。看输出的信息,uboot已经成功引导kernel了,kernel成功加载后又重启的,说明kernel有问题。
, z. S+ h" q( |9 v% f看日志,kernel的问题似乎又集中在atmel的DMA上,如果引导信息到此结束,建议lz还是看看kernel的代码吧。这种问题,不好搞啊,kernel的问题说起来就复杂了。

该用户从未签到

4#
发表于 2015-8-31 16:31 | 只看该作者
光看调试信息看不出什么问题,不好定位
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-7-29 14:16 , Processed in 0.109375 second(s), 23 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表