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

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

[复制链接]

该用户从未签到

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

EDA365欢迎您登录!

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

x
Start AT91Bootstrap...
) D* V# ^+ Y7 H' MInit DDR... Done!! F6 U5 w; W7 Y* \8 E) k3 s1 f, Z
Loading 1-Wire info...
5 b/ j; M, D) Z" s6 K) @: Xsn: 0x0;   rev: 0x421
" \3 [! J* |* y. qDownloading image...
  j3 T2 p  y5 N* Achip id: 0xecda
8 W2 P: L$ x+ i0 E: PCopy 0x50000 bytes from 0x40000 to 0x26f00000
( h7 V: f. G% q9 IDone!! F; i7 i6 \! D8 g# C2 X
3 b, [4 j" M# _) _2 H2 j! {4 K) U. o
+ l( ]2 w9 {4 l" S5 L
U-Boot 2010.06 (Feb 25 2013 - 11:02:59)/ q1 t5 T3 Z' q0 I8 S. o' B' L4 ~  C

  L$ @9 {3 w4 r- ~& `DRAM:  128 MiB
; F" V! w2 g& {' A1 v8 NNAND:  256 MiB" N% f# t5 @+ Y1 Z8 M! p$ e. `
In:    serial
0 ?- t; {/ W- qOut:   serial
0 [: N$ i. f- s, W- ?7 S) [Err:   serial2 v" G3 n+ e, V5 y7 ?( _4 H
Net:   macb0
: g( W4 a; q' i4 E& [2 C: zmacb0: No PHY present2 |* {: i. {$ h: \2 l
Hit any key to stop autoboot:  0 + T8 G2 \, [# f+ x. `+ K) I

; O6 s9 M  @3 _2 F; F5 P4 JNAND read: device 0 offset 0x200000, size 0x280000
" F7 v4 a' [; E7 w 2621440 bytes read: OK, a6 k9 {6 i/ s
## Booting kernel from Legacy Image at 22000000 ...
3 @7 f9 E2 s% p% A  g5 y   Image Name:   Linux-2.6.39- n0 ^- }5 d; K6 K2 d1 M. s+ X
   Image Type:   ARM Linux Kernel Image (uncompressed)
. ^; |5 {# i( I# U   Data Size:    2411772 Bytes = 2.3 MiB
2 \, _. u9 m- C' q# ^4 v   Load Address: 200080004 j" ~$ F/ d5 y/ O3 M4 f
   Entry Point:  200080009 d3 e! y9 I4 O
   Verifying Checksum ... OK- L8 V( J4 f. F9 u2 L# ]
   Loading Kernel Image ... OK
& E6 X, j: ]9 y  G4 N; M) w& N1 SOK
5 m: s( f( X# C6 d+ P3 O4 ^( h  s0 p" h3 G
Starting kernel ...' U6 X, V7 c9 L) T

5 r( @* r: T- b8 M9 W7 RUncompressing Linux... done, booting the kernel./ h8 a1 y9 C6 t
Linux 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
% u6 i6 f5 v3 Z8 U$ P  QCPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=000531777 ?$ z; [0 |) K5 |; b! `
CPU: VIVT data cache, VIVT instruction cache) j) t/ k) r8 l
Machine: Atmel AT91SAM9X5-EK
. J" x7 p( g, I* L3 ^1 Q: ZMemory policy: ECC disabled, Data cache writeback
/ A2 w; Y5 w' R! s4 uClocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz* [4 V6 v, i8 e0 q
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512& a+ k1 a* b$ W
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" y8 w+ g) W4 }) [1 m! K, l) _+ @! @7 \
PID hash table entries: 512 (order: -1, 2048 bytes)
/ d, E9 \9 g7 fDentry cache hash table entries: 16384 (order: 4, 65536 bytes)
9 g5 d. y! |& l! z% E, ZInode-cache hash table entries: 8192 (order: 3, 32768 bytes)" Y$ t$ W3 Q$ W. i; Z
Memory: 128MB = 128MB total1 U2 t3 I" c/ t: E+ r; `& M
Memory: 124820k/124820k available, 6252k reserved, 0K highmem1 x5 A8 _6 N" l- _7 v
Virtual kernel memory layout:4 K" s+ X3 a& b, s, h8 ~3 y7 m
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)- P7 u; X6 h; Y0 Z+ g4 ?
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)- ]9 L8 \" O. h* Y8 q$ K
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
2 V' n* G& L8 s( c& Z, e- U    vmalloc : 0xc8800000 - 0xfee00000   ( 870 MB)
$ n- q3 Z. @1 l  C- f) z    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)+ h6 n, z+ w$ Z7 p& B- B4 K
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
$ s2 I1 ]' T0 Q# |6 {# Z6 \      .init : 0xc0008000 - 0xc002b000   ( 140 kB)
4 ~4 Z3 Y8 i7 h3 \      .text : 0xc002b000 - 0xc04aeac4   (4623 kB). _1 ~. U* ^0 F, E
      .data : 0xc04b0000 - 0xc04e0f60   ( 196 kB)
! I% V% z; t6 b: _& \' bNR_IRQS:192
  `4 q% W1 p+ o4 {AT91: 128 gpio irqs in 4 banks
' D+ n) R3 @, x1 \, Q0 jConsole: colour dummy device 80x30
6 N6 E1 N5 c$ i+ `# e! iconsole [ttyS0] enabled
( P- \( _1 [: Z% Y" k+ oCalibrating delay loop... 199.06 BogoMIPS (lpj=995328)
' ]' M1 c3 F% k1 A" g4 |pid_max: default: 32768 minimum: 301
: S: D+ N% G* CMount-cache hash table entries: 512
6 N5 ?4 f9 f! u) f- {, D. eCPU: Testing write buffer coherency: ok
6 X7 C" B! L0 d2 c1 P7 L1 T/ NNET: Registered protocol family 16* y' I; X3 C) c- R) _6 @' R
AT91: CM rev B and higher
) s. e7 l$ e. @AT91: EK rev B and higher1 g6 G& d! y/ a0 Y* P
AT91: Power Management (with slow clock mode)  a5 s/ D4 ^8 G6 t
AT91: Starting after power-restored wakeup' n3 Y) J: U- X. N% k5 z# ?2 u1 ?
bio: create slab <bio-0> at 0% e- \) O  D$ T% `8 ?3 ?
SCSI subsystem initialized: E) d3 L0 Q3 c+ k
usbcore: registered new inteRFace driver usbfs. {* a! A# H( u; w7 V" l0 T
usbcore: registered new interface driver hub2 q- y5 W1 K% o& c/ I. [1 I1 R
usbcore: registered new device driver usb- {1 B0 j$ z! l0 h( d2 ]4 A4 V
i2c-gpio i2c-gpio.0: using pins 62 (SDA) and 63 (SCL)
/ h/ d8 h# K( J, ^at_hdmac at_hdmac.0: Atmel AHB DMA Controller ( cpy slave ), 8 channels
" C: }; t5 o( O! BRomBOOT0 z! }" _/ o/ w1 v: {
请问大家有遇到过此问题吗?我量过复位引脚和电源,都没有问题。: z* ?, |2 E4 _9 ~# L, A

0 G  u/ F( |7 T* p

该用户从未签到

4#
发表于 2015-8-31 16:31 | 只看该作者
光看调试信息看不出什么问题,不好定位

该用户从未签到

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

该用户从未签到

2#
发表于 2015-8-29 09:45 | 只看该作者
楼主的问题找到原因了么
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

EDA365公众号

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

GMT+8, 2025-11-23 17:06 , Processed in 0.140625 second(s), 24 queries , Gzip On.

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

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

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