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

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

[复制链接]

该用户从未签到

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

EDA365欢迎您登录!

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

x
Start AT91Bootstrap...
8 K, n$ I) Y, q0 f6 tInit DDR... Done!
( l2 |' n  `, \9 F( P0 ^Loading 1-Wire info.... m  x6 c+ T8 a: _/ g& K/ A4 W2 A  L
sn: 0x0;   rev: 0x4210 p! l; l# I2 n& g' [) f
Downloading image...9 U# l$ T% F; e/ K5 j0 A* n
chip id: 0xecda+ D, t1 R/ ^4 {9 J5 d8 j
Copy 0x50000 bytes from 0x40000 to 0x26f00000
0 N5 |0 b+ `: i/ T* H. CDone!( n. \  M5 h' a. H- j; N
/ }. r( D1 d9 @9 N* m

; A6 [# |1 \8 M( A/ v# \U-Boot 2010.06 (Feb 25 2013 - 11:02:59)) x! o" V6 D- e6 n! {# z

7 ?0 {' `, W# q/ B1 [3 M' M8 JDRAM:  128 MiB
" L8 B- Q0 ~; l. RNAND:  256 MiB
  H6 Q: d5 M  u& F* oIn:    serial
4 h4 u: o7 d# X( o% r2 z" W! W, MOut:   serial
! U6 v( x% z4 n" O1 pErr:   serial3 d8 z6 J9 c, n  H' ?$ d( a
Net:   macb0* b1 X# k3 q5 g& J4 j
macb0: No PHY present
- m5 O; O4 k( Z3 o8 ]; Q0 K+ KHit any key to stop autoboot:  0 " ^# R) ~! W* P! [# d. m( Q5 [
. C3 L% A% [) P  s0 P
NAND read: device 0 offset 0x200000, size 0x280000
+ P9 A( ^) Z! M6 T 2621440 bytes read: OK. e7 Y2 |; g7 R# m
## Booting kernel from Legacy Image at 22000000 ...5 f) S! e$ Z3 D+ @6 C
   Image Name:   Linux-2.6.39+ ^/ o! A6 |" o8 M
   Image Type:   ARM Linux Kernel Image (uncompressed)1 g3 @" `/ j+ T- [# p
   Data Size:    2411772 Bytes = 2.3 MiB
9 Q: |& Q( q# d( @9 F   Load Address: 20008000
# r0 a. y+ \0 Q   Entry Point:  20008000
; s$ j6 A5 p! C% E- A   Verifying Checksum ... OK
$ i+ f4 l- o" I2 t% d   Loading Kernel Image ... OK* U) W5 }1 ~3 }1 A1 y2 l! r$ {+ m
OK& A, H9 K5 i7 R4 l# ~. w: v8 |% R
: Z! R$ P- z  ]
Starting kernel ...
8 i: H/ T! S% z; v% T% c
+ k1 {/ M# C( K3 M2 u4 H7 R- g7 QUncompressing Linux... done, booting the kernel.
7 \( o/ Y% C) P- }' I' Z! Z3 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
5 B% \  a/ ]$ j* V1 ?+ Q$ [CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
( |- u1 b+ v6 pCPU: VIVT data cache, VIVT instruction cache7 N% N' C& l: E! k# x" }5 K
Machine: Atmel AT91SAM9X5-EK
: T! t/ h9 C4 m# F5 fMemory policy: ECC disabled, Data cache writeback; ]% N! A2 T$ J( w5 p& [
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
" w3 `* @" ~; Z; m# d  RBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
* w9 h. E: L+ r  z3 W, XKernel 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:rootfs6 g( o: _$ |0 b9 ^7 E
PID hash table entries: 512 (order: -1, 2048 bytes); R- N8 ?' c8 {  {! h8 `
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes); j7 R0 Y' I$ a$ ~
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes): v& y  t7 A6 D$ M$ C1 \! k- ~
Memory: 128MB = 128MB total' ~) l# Q# `# f7 w8 m1 ?! d6 Q
Memory: 124820k/124820k available, 6252k reserved, 0K highmem4 j# P# Z2 ?, t% u$ b0 S
Virtual kernel memory layout:
# u! K+ a0 E! v0 r1 P: e3 i    vector  : 0xffff0000 - 0xffff1000   (   4 kB)2 g, x, z/ G) Y4 t3 n1 C: ?
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
& @3 G% m6 b9 {( A) c; |9 ^    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
" i& s/ S/ ^8 e- G! P    vmalloc : 0xc8800000 - 0xfee00000   ( 870 MB)# C$ p; S) r" J* p! e6 V2 D, D$ t0 V
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)2 S; O* c& y2 y+ f: h. b
    modules : 0xbf000000 - 0xc0000000   (  16 MB)+ h& B3 c/ W9 J1 n8 X6 z! X
      .init : 0xc0008000 - 0xc002b000   ( 140 kB)
6 Y9 y: U: x; l& u9 E+ f+ i4 e      .text : 0xc002b000 - 0xc04aeac4   (4623 kB)" ?8 ^/ I6 \% g6 x1 ?
      .data : 0xc04b0000 - 0xc04e0f60   ( 196 kB)) Y/ T; M9 J- c
NR_IRQS:192
5 m* q3 m- ^3 P4 O8 r# a6 {AT91: 128 gpio irqs in 4 banks
% i# E4 [2 t+ `; j7 D# @6 JConsole: colour dummy device 80x304 S9 b( p1 f  c, t/ d+ V
console [ttyS0] enabled
$ o0 c. z& V9 b0 R: E- i* fCalibrating delay loop... 199.06 BogoMIPS (lpj=995328)
0 l( @4 l. [2 ]" Zpid_max: default: 32768 minimum: 301$ c- b- y/ X. [
Mount-cache hash table entries: 512  \/ ~$ Z' V& ^! x2 u
CPU: Testing write buffer coherency: ok
9 k! W7 f0 R6 WNET: Registered protocol family 16$ v& T- N* n5 O# S. M. t) V
AT91: CM rev B and higher
" B, ?" W$ p; o* K9 F6 ]& pAT91: EK rev B and higher
* O7 F+ P1 @" v3 ^4 i4 S5 I: aAT91: Power Management (with slow clock mode)
# V- r& F% O% L5 u+ IAT91: Starting after power-restored wakeup' V7 U' k& ~" [5 M
bio: create slab <bio-0> at 0
) y. `' Y, A# x+ ?SCSI subsystem initialized" j+ R8 ^0 f/ \- W
usbcore: registered new inteRFace driver usbfs
) x% H  }4 c# R+ u, ]; U8 ?7 iusbcore: registered new interface driver hub! U3 q8 F- L8 n& g% g
usbcore: registered new device driver usb; G4 \3 o, C3 G
i2c-gpio i2c-gpio.0: using pins 62 (SDA) and 63 (SCL)7 `/ [; C0 O9 R/ d* L& ]
at_hdmac at_hdmac.0: Atmel AHB DMA Controller ( cpy slave ), 8 channels; {5 O% H4 N* a* w
RomBOOT
. j# H: R  n$ M4 C请问大家有遇到过此问题吗?我量过复位引脚和电源,都没有问题。4 Z: E) W; j3 F& b) m* Z
6 u! E) B6 [2 `9 P; H, Q( w

该用户从未签到

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

该用户从未签到

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

该用户从未签到

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

本版积分规则

关闭

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

EDA365公众号

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

GMT+8, 2025-8-21 11:27 , Processed in 0.125000 second(s), 23 queries , Gzip On.

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

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

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