- 论坛徽章:
- 0
|
我们的板子用的at9260的处理器,跑到200m,内核2.6.19,以前的板子做的都正常,程序可以正常启动。
这批板子回来打件之后发现程序会停在before run init 之后就停住,或者跳出OOPS。也会有偶尔可以正常进入的情况。但是每次出现的OOPS会不一样
以下是正常启动时console的输出。
U-Boot 1.1.5 (Mar 3 2009 - 10:37:59)
DRAM: 64 MB
MAN_ID: 0x00bf
PRO_ID: 0x236d
Flash: 8 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (<NULL> NAND 32MiB 3,3V
8-bit)
32 MiB
In: serial
Out: serial
Err: serial
PHY Detected (mdio-addr 1, ID 0x0013:0x78e2)
no link
MAC: error during MII initialization
Hit any key to stop autoboot: 0
## Booting image at 20400000 ...
Image Name: linux-2.6
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1010074 Bytes = 986.4 kB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.19 (root@localhost.localdomain) (gcc version 3.4.1 20040714 (T
imeSys 3.4.1-7)) #25 Wed Sep 22 14:57:57 CST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9260-EK
Memory policy: ECC disabled, Data cache writeback
Clocks:plla.rate_hz 139MHZ AT91_CKGR_PLLAR 20783f10.
Clocks: CPU 139 MHz, master 69 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists. Total pages: 16256
Kernel command line: mem=64M console=ttyS0,115200 root=/dev/mtdblock0
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 62744KB available (1664K code, 371K data, 88K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(0.400:1): initialized
JFFS2 version 2.2. (NAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc.
yaffs Sep 22 2010 11:03:50 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
Analog-to-Digital Converter (irq 5)
at91_adc.0: register at /dev/adc0 (254:0)
at91_adc.1: register at /dev/adc1 (254:1)
GPIO: PB0 PB1 PB2 PB3 PB16 PB17 PB18 PB19 PB20
PB21 PB22 PB23 PB24 PB25 PB26 PB27 PB28 PB29 PB30 PB31 PC5
Max706 Watchdog Timer (timeout = 1sec,)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.3: ttyS3 at MMIO 0xfffb8000 (irq = is a ATMEL_SERIAL
atmel_usart.4: ttyS4 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
RAMDISK driver initialized: 4 RAM disks of 81920K size 1024 blocksize
macb macb: detected PHY at address 1 (ID 0013:78e2)
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:24:de:00:00:04)
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit
)
Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x02000000 : "AT91 NAND partition 1"
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 88K
before run init
Enter in app step.......
starting udev...done
starting watchdog...done
starting syslogd... done.
starting klogd... done. |
|