microcreat 发表于 2010-5-22 23:48:28

9260内核启动后,没有规律的串口信息:

Mount-cache hash table entries: 512
Unhandled fault: alignment exception (0x001) at 0xea00014f
Internal error: : 1 [#1]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at do_page_fault+0x20/0x23c
LR is at do_DataAbort+0x3c/0xa0
pc : [<c00282c0>]    lr : [<c0022238>]    psr: 400000d3
sp : ffff0ed0ip : ea0000ddfp : ffff0f0c
r10: c002e5a4r9 : a00000d3r8 : ffff1004
r7 : ffff0fb8r6 : ea0000bbr5 : c0303f40r4 : ffffffff
r3 : ffff0000r2 : ffff0fb8r1 : 00000817r0 : ffff1004
Flags: nZcvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#2]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0dc0ip : ffff0c90fp : ffff0dcc
r10: c002e5a4r9 : 400000d3r8 : ea00014f
r7 : 00000001r6 : ffff0e88r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#3]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0cb0ip : ffff0b80fp : ffff0cbc
r10: c002e5a4r9 : 200000d3r8 : ea000173
r7 : 00000001r6 : ffff0d78r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#4]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0ba0ip : ffff0a70fp : ffff0bac
r10: c002e5a4r9 : 200000d3r8 : ea000173
r7 : 00000001r6 : ffff0c68r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#5]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0a90ip : ffff0960fp : ffff0a9c
r10: c002e5a4r9 : 200000d3r8 : ea000173
r7 : 00000001r6 : ffff0b58r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#6]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0980ip : ffff0850fp : ffff098c
r10: c002e5a4r9 : 200000d3r8 : ea000173
r7 : 00000001r6 : ffff0a48r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#7]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0870ip : ffff0740fp : ffff087c
r10: c002e5a4r9 : 200000d3r8 : ea000173
r7 : 00000001r6 : ffff0938r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#8]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0760ip : ffff0630fp : ffff076c
r10: c002e5a4r9 : 200000d3r8 : ea000173
r7 : 00000001r6 : ffff0828r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
Unhandled fault: alignment exception (0x001) at 0xea000173
Internal error: : 1 [#9]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at die+0x8c/0x200
LR is at release_console_sem+0x1ec/0x228
pc : [<c0026c48>]    lr : [<c00381d4>]    psr: 200000d3
sp : ffff0650ip : ffff0520fp : ffff065c
r10: c002e5a4r9 : 200000d3r8 : ea000173
r7 : 00000001r6 : ffff0718r5 : ea0000bbr4 : ffff0000
r3 : ffff0258r2 : a00000d3r1 : ea00026fr0 : c02bc90c
Flags: nzCvIRQs offFIQs offMode SVC_32ISA ARMSegment user
Control: 0005317fTable: 20004000DAC: 00000017
请问这个是什么原因!

microcreat 发表于 2010-5-23 00:20:13

这个情况多点!
*pgd=00000000
Internal error: Oops: 0 [#1]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #56)
PC is at 0x31c77c8c
LR is at klist_node_init+0x50/0x54
pc : [<31c77c8c>]    lr : [<c023f450>]    psr: 20000013
sp : c3c19dc8ip : c3c19dc8fp : c3c19ddc
r10: 00000000r9 : 00000000r8 : c1012070
r7 : 00000000r6 : 00000007r5 : c1012018r4 : c3c3e220
r3 : 31c77c8cr2 : 00000000r1 : c1012018r0 : c1012018
Flags: nzCvIRQs onFIQs onMode SVC_32ISA ARMSegment kernel
Control: 0005317fTable: 20004000DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3c18258)
Stack: (0xc3c19dc8 to 0xc3c1a000)
9dc0:                   c3c3e220 c1012018 c3c19df4 c3c19de0 c023f474 c023f410
9de0: c1012008 c3c3e448 c3c19e2c c3c19df8 c01785d8 c023f464 c3c3e220 c1012090
9e00: 00000000 c1012008 c3c3e448 00000007 c3c3e464 c1012000 00000000 00000000
9e20: c3c19e40 c3c19e30 c017884c c01782b0 c1012000 c3c19e70 c3c19e44 c018054c
9e40: c0178840 00000007 c0305910 c0305f88 c3c3e340 c3c3e000 c001e10c 00000000
9e60: c0305908 c3c19eb8 c3c19e74 c0181584 c0180488 c3c3e000 c00b7fe4 c00b72bc
9e80: c3c0f458 00000000 19000000 51ab21d2 c0305910 c0305910 c03162bc c03162bc
9ea0: c001e10c 00000000 c001f404 c3c19ec8 c3c19ebc c017bfac c018120c c3c19ee8
9ec0: c3c19ecc c017a7b8 c017bf9c c03059b4 c0305910 c017a94c c03162bc c3c19f00
9ee0: c3c19eec c017a9d0 c017a6e4 00000000 c3c19f04 c3c19f2c c3c19f04 c0179b04
9f00: c017a95c c0315f1c c0315f1c c0305958 c03162bc c03162c4 00000000 c0315e84
9f20: c3c19f3c c3c19f30 c017a5f4 c0179ac4 c3c19f5c c3c19f40 c0179eb0 c017a5e4
9f40: c03162bc 00000000 00000000 c3c18000 c3c19f70 c3c19f60 c017ac50 c0179e50
9f60: 00000000 c3c19f80 c3c19f74 c017c238 c017abe0 c3c19f90 c3c19f84 c001a0c8
9f80: c017c1dc c3c19ff4 c3c19f94 c00087b0 c001a0c4 c3c19fa0 c0034d90 c0034988
9fa0: 00000000 c3c19fb0 c0022ea4 c0034d88 00000000 00000000 c00086fc c003adb8
9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9fe0: 00000000 00000000 00000000 c3c19ff8 c003adb8 c000870c ffffffff ffffefff
Backtrace:
[<c023f400>] (klist_node_init+0x0/0x54) from [<c023f474>] (klist_add_tail+0x20/0x3c)
r5:c1012018 r4:c3c3e220
[<c023f454>] (klist_add_tail+0x0/0x3c) from [<c01785d8>] (device_add+0x338/0x590)
r5:c3c3e448 r4:c1012008
[<c01782a0>] (device_add+0x0/0x590) from [<c017884c>] (device_register+0x1c/0x20)
[<c0178830>] (device_register+0x0/0x20) from [<c018054c>] (mdiobus_register+0xd4/0x138)
r4:c1012000
[<c0180478>] (mdiobus_register+0x0/0x138) from [<c0181584>] (macb_probe+0x388/0x594)
[<c01811fc>] (macb_probe+0x0/0x594) from [<c017bfac>] (platform_drv_probe+0x20/0x24)
[<c017bf8c>] (platform_drv_probe+0x0/0x24) from [<c017a7b8>] (driver_probe_device+0xe4/0x19c)
[<c017a6d4>] (driver_probe_device+0x0/0x19c) from [<c017a9d0>] (__driver_attach+0x84/0xe4)
r7:c03162bc r6:c017a94c r5:c0305910 r4:c03059b4
[<c017a94c>] (__driver_attach+0x0/0xe4) from [<c0179b04>] (bus_for_each_dev+0x50/0x84)
r5:c3c19f04 r4:00000000
[<c0179ab4>] (bus_for_each_dev+0x0/0x84) from [<c017a5f4>] (driver_attach+0x20/0x28)
r7:c0315e84 r6:00000000 r5:c03162c4 r4:c03162bc
[<c017a5d4>] (driver_attach+0x0/0x28) from [<c0179eb0>] (bus_add_driver+0x70/0x1c0)
[<c0179e40>] (bus_add_driver+0x0/0x1c0) from [<c017ac50>] (driver_register+0x80/0x88)
r7:c3c18000 r6:00000000 r5:00000000 r4:c03162bc
[<c017abd0>] (driver_register+0x0/0x88) from [<c017c238>] (platform_driver_register+0x6c/0x88)
r4:00000000
[<c017c1cc>] (platform_driver_register+0x0/0x88) from [<c001a0c8>] (macb_init+0x14/0x1c)
[<c001a0b4>] (macb_init+0x0/0x1c) from [<c00087b0>] (kernel_init+0xb4/0x278)
[<c00086fc>] (kernel_init+0x0/0x278) from [<c003adb8>] (do_exit+0x0/0x6fc)
Code: bad PC value.
---[ end trace 9c5d8c0ae4ab431e ]---
Kernel panic - not syncing: Attempted to kill init!

newmsg2009 发表于 2010-5-23 14:02:35

楼主,加我QQ:1219482216,我们有9260核心板,超值

rtems 发表于 2010-5-23 14:34:51

兄弟,把所有的启动信息都贴出来,就这点错误的看不出来。

microcreat 发表于 2010-5-23 15:55:37

RomBOOT
>

U-Boot 1.3.4 (May 18 2010 - 21:40:34)

DRAM:64 MB
NAND:256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x41e1)
Hit any key to stop autoboot:0
macb0: link up, 100Mbps full-duplex (lpa: 0x41e1)
Using macb0 device
TFTP from server 192.168.1.5; our IP address is 192.168.1.254
Filename 'rootfs.arm_nofpu.ext2.gz'.
Load address: 0x21000000
Loading: #################################################################
         ########################################
done
Bytes transferred = 1538835 (177b13 hex)
macb0: link up, 100Mbps full-duplex (lpa: 0x41e1)
Using macb0 device
TFTP from server 192.168.1.5; our IP address is 192.168.1.254
Filename 'uImage'.
Load address: 0x22000000
Loading: #################################################################
         ########
done
Bytes transferred = 1070604 (10560c hex)
## Booting kernel from Legacy Image at 22000000 ...
   Image Name:   Linux-2.6.24
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1070540 Bytes =1 MB
   Load Address: 20008000
   Entry Point:20008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux....................................................................... done, booting the kernel.
Linux version 2.6.24 (root@emboard) (gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)) #3 Sun May 23 14:37:39 HKT 2010
CPU: ARM926EJ-S revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9260-EK
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
DMA zone: 128 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 16256 pages, LIFO batch:3
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
Clocks: CPU 198 MHz, master 99 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 in Zone order, mobility grouping on.Total pages: 16256
Kernel command line: mem=64m console=ttyS0,115200 initrd=0x21000000,0x00700000 root=/dev/ram rw debug
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console enabled
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: 55448KB available (1944K code, 195K data, 100K init)
Calibrating delay loop... 98.91 BogoMIPS (lpj=494592)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: pit clocksource has been installed.
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
checking if image is initramfs...<1>Unable to handle kernel paging request at virtual address e5900000
pgd = c0004000
*pgd=00000000
Internal error: Oops: 0 [#1]
Modules linked in:
CPU: 0    Not tainted(2.6.24 #3)
PC is at 0xe5900000
LR is at 0xeb
pc : [<e5900000>]    lr : [<000000eb>]    psr: 60000013
sp : c3c19e84ip : 00000002fp : c3c19edc
r10: 00000000r9 : 00000007r8 : 00000007
r7 : 00000003r6 : 00003f1er5 : 00003efer4 : 000000ff
r3 : c0222694r2 : 00000000r1 : c3c9ceedr0 : c3c9bf20
Flags: nZCvIRQs onFIQs onMode SVC_32ISA ARMSegment kernel
Control: 0005317fTable: 20004000DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3c18268)
Stack: (0xc3c19e84 to 0xc3c1a000)
9e80:          c3c9bf1e 00000006 c000c2b4 00000006 00000009 c3ca6408 c3c5a008
9ea0: 000001ff 0000003f 00000000 00000006 c000c564 00000000 00000003 00000007
9ec0: c019e8b2 c1000000 c3ca4000 0000011d c3c19f34 c3c19ee0 c000d010 c000bf3c
9ee0: c019e92c c3ca6404 c3c19ef8 0000009c 0000007f 0000001e 00000006 00000009
9f00: c3ca6408 c3c5a008 c001e940 c1000000 00700000 c0222690 00700000 c1000000
9f20: 00000000 00000000 c3c19f74 c3c19f38 c000d63c c000cb48 00000000 00000000
9f40: c3c19f64 c3c19f50 c003978c c001e000 c022268c c0222690 c001d5c8 c3c18000
9f60: 00000000 00000000 c3c19f94 c3c19f78 c000dc30 c000d208 c001e000 00000000
9f80: 00000000 c001d5c8 c3c19ff4 c3c19f98 c0008934 c000dbe4 c0035918 c00354d4
9fa0: 00000000 c3c19fb0 c0021e64 c0035910 00000000 00000000 c0008870 c003bbc0
9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9fe0: 00000000 00000000 00000000 c3c19ff8 c003bbc0 c0008880 00000000 00000000
Backtrace:
[<c000bf2c>] (inflate_codes+0x0/0x400) from [<c000d010>] (inflate_dynamic+0x4d8/0x530)
[<c000cb38>] (inflate_dynamic+0x0/0x530) from [<c000d63c>] (unpack_to_rootfs+0x444/0x81c)
[<c000d1f8>] (unpack_to_rootfs+0x0/0x81c) from [<c000dc30>] (populate_rootfs+0x5c/0xec)
[<c000dbd4>] (populate_rootfs+0x0/0xec) from [<c0008934>] (kernel_init+0xc4/0x284)
r7:c001d5c8 r6:00000000 r5:00000000 r4:c001e000
[<c0008870>] (kernel_init+0x0/0x284) from [<c003bbc0>] (do_exit+0x0/0x710)
Code: bad PC value.
---[ end trace 778e504de7e3b1e3 ]---
Kernel panic - not syncing: Attempted to kill init!

rtems 发表于 2010-5-23 16:37:17

你的rootfs.arm_nofpu.ext2.gz确保是好的吗?你按照下面的文档弄一个新的出来看看如何。
http://www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted#Demo9260

对了,你弄一个rootfs放到flash里面直接mount吧。

microcreat 发表于 2010-5-24 10:02:17

哦,我的系统都起不来哈.我先把频率降下来再说

418425051 发表于 2010-5-24 10:41:38

文件系统的问题

418425051 发表于 2010-5-24 10:48:16

重命令行看,你应该是重dataflash加载跟文件系统,确认你已经将根文件系统写入到dataflash

mem=64m console=ttyS0,115200 initrd=0x21000000,0x00700000 root=/dev/ram rw debug

你的系统有nand,为什么不直接将根文件系统写入到nand?

kewxke 发表于 2010-5-24 14:12:58

最好是讲讲你的bootstrap,u-boot,kernel,rootfs的配置情况。不是所有的错误都能够让人眼前一亮的。

microcreat 发表于 2010-5-24 19:33:34

文件系统没问题的,这个都是下一步事情,关键是内核启动都有问题,.今天把[频率降下来再说!

minux 发表于 2010-5-24 19:46:52

恩 先把主频降下来吧,或者uboot测试下SDRAM有没有问题。

418425051 发表于 2010-5-25 08:23:07

【10楼】 microcreat
积分:475
派别:
等级:------
来自:
文件系统没问题的,这个都是下一步事情,关键是内核启动都有问题,.今天把[频率降下来再说!
 
______________________________________________________________________________________________

看来楼主还没明白根文件系统和内核的关系,没有根文件系统的内核是不能正常工作的!

Kernel panic - not syncing: Attempted to kill init!

有这句话就表示你的多任务运行环境已经建立起来了,

checking if image is initramfs...<1>Unable to handle kernel paging request at virtual address e5900000

表示你的文件系统映像有问题。

microcreat 发表于 2010-5-26 18:32:46

呵呵!找到原因了,!
【10楼】 microcreat
积分:475
派别:
等级:------
来自:
文件系统没问题的,这个都是下一步事情,关键是内核启动都有问题,.今天把[频率降下来再说!   
    
______________________________________________________________________________________________

看来楼主还没明白根文件系统和内核的关系,没有根文件系统的内核是不能正常工作的!

Kernel panic - not syncing: Attempted to kill init!

有这句话就表示你的多任务运行环境已经建立起来了,

checking if image is initramfs...<1>Unable to handle kernel paging request at virtual address e5900000

表示你的文件系统映像有问题。
谢谢!楼上的!
没做根文件系统!我是看下我的系统能不能正常的起来,看到那么多乱码还有opp错误!所以就查这个原因了哦!
看到那些乱码,是由于
locks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
主频高了.我降频,现在乱码就没有了!
我主频降到129M,master 降到60多M!现在内核和文件系统都起来了!
谢谢大家!

starting 发表于 2012-5-4 12:44:11

楼主你好,也遇到了和你一样的问题。请问你的内核速度是编译内核后设置的,还是在uboot中设置的?

abnerle 发表于 2012-5-5 13:29:38

RomBO
Start AT91Bootstrap V1.16 2012-05-05...

IMG_ADDRESS=0x8400,
IMG_SIZE=0x40000,
JUMP_ADDR=0x23F00000,
Start Boot Uboot........

U-Boot 2011.12 (May 06 2012 - 09:58:00)

CPU: AT91SAM9261
Crystal frequency:   18.432 MHz
CPU clock      :198.656 MHz
Master clock   :   99.328 MHz
DRAM:64 MiB
WARNING: Caches not enabled
NAND:1024 MiB
DataFlash:AT45DB321
Nb pages:   8192
Page Size:    528
Size= 4325376 bytes
Logical address: 0xC0000000
Area 0: C0000000 to C00041FF (RO) Bootstrap
Area 1: C0004200 to C00083FF      Environment
Area 2: C0008400 to C00533FF (RO) U-Boot
Area 3: C0053400 to C0353400      Kernel
Area 4: C0353401 to C041FFFF      FS
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dm9000
Warning: failed to set MAC address

dm9000 i/o: 0x30000000, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 00:00:00:00:00:00
could not establish link
Hit any key to stop autoboot:0
?浇靴筴ernel from Legacy Image at 22000000 ...
   Image Name:   Linux-2.6.39.4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2271100 Bytes = 2.2 MiB
   Load Address: 20008000
   Entry Point:20008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.39.4 (root@localhost.localdomain) (g?采?焦4.3.2 (Sourcery G++ Lite 2008q3-72) ) #11 Mon Apr 30 15:09:12 CST 2012
CPU: ARM926EJ-S revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9261-EK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 16256
Kernel command line: cons
                         ttyS0,115200 root=ubi0_0 ubi.mtd=2 rootfstype=ubifs
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: 64MB = 64MB total
Memory: 60364k/60364k available, 5172k reserved, 0K highmem
Virtual kernel memory layout:
    vector: 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA   : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xfee00000   ( 934 MB)
    lowmem: 0xc0000000 - 0xc4000000   (64 MB)
    modules : 0xbf000000 - 0xc0000000   (16 MB)
      .init : 0xc0008000 - 0xc0027000   ( 124 kB)
      .text : 0xc0027000 - 0xc043b834   (4179 kB)
      .data : 0xc043c000 - 0xc0461280   ( 149 kB)
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
Console: colour dummy device 80x30
console enabled
Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
AT91: Power Management
AT91: Starting after user reset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.24.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource tcb_clksrc
NET: Registered protocol family 2
R秸裞ache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entsies: 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 udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder FloXW穗Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (SUMMARY)? 2001-2006 Red Hat, Inc.
msgmni has been set to 117
io scheduler noop registered (default)
atmY肱atmel_lcdfb.0: 160KiB frame buffer at 00300000 (mapped at c4900000)
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00600000 (mapped at c4818000), irq 21
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
ssc ssc.1: Atmel SSC device at 0xc4820000 (irq 15)
atmel_nand atmel_nand: No DMA support for NAND access.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 5 MTD partitions on "atmel_nand":
0x000000000000-0x000004000000 : "mtd0_jiffs2"
0x000004000000-0x000008000000 : "mtd1_BadPart_Cann't_used"
0x000008000000-0x00000c000000 : "mtd2_yaffs2"
0x00000c000000-0x000010000000 : "mtd4_USB_DISK"
0x000010000000-0x000040000000 : "mtd5_empty"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:            512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       17
UBI: attached mtd2 to ubi0
UBI: MTD device name:            "mtd2_yaffs2"
UBI: MTD device size:            64 MiB
UBI: number of good PEBs:      512
UBI: number of bad PEBs:         0
UBI: number of corrupted PEBs:   0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:   1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 512
UBI: number of PEBs reserved for bad PEB handling: 5
UBI: max/mean erase counter: 2/0
UBI: image sequence number:60696940
UBI: background thread "ubi_bgt0d" started, PID 343
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
mtd_dataflash spi0.0: AT45DB321x (4224 KBytes) pagesize 528 bytes (OTP)
dm9000 Ethernet Driver, V1.31
dm9000 dm9000.0: eth%d: Invalid ethernet MAC address. Please set using ifconfig
eth0: dm9000a at c481c000,c48f2044 IRQ 107 MAC: ca:03:YN'&伊:30 (random)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
udc: at91_udc version 3 May 2006
mousedev: PS/2 mouse device com[?
                                 2缴all mice
input: 9261-gpio-keys as /devices/platform/9261-gpio-keys/input/input0
ads7846 spi0.2: touchscreen, irq 29
input: ADS7843 Touchscreen as /devices/platform/atmel_spi.0/spi0.2/input/input1
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
at73c213 spi0.3: at73c213: supported bitrate is 48500 (64 divider)
ALSA device list:
#0: AT91SAM9261-EK external DAC on irq 15
TCP cubic registered
NET: Registered pr
奖family 17       ?
lib80211: common routines for IEEE802.11 drivers
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   63608832 bytes (62118 KiB, 60 MiB, 493 LEBs)
UBIFS: journal size:       8386560 byte.B??Z??7 MiB, 65 LEBs)
UBIFS: medZX2缴笛?      w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 124K
----------munt all----------------
mount: mounting none on /tmp failed: No such file or directory
-e\n
****************ChallY?Myself*********************
Kernel version:linux-2.6.39.4
Date:2012.05.05
***********************************************

Please press Enter to activate this console.
[\u@\h=W]#

我用的198M,也没有问题啊,129太低了吧

starting 发表于 2012-5-5 17:10:05

二层的板子,板子的尺寸又太小了。试了一下129有乱码,99M没有问题。正在改

starting 发表于 2012-5-5 17:48:24

Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 148 MHz, master 74 MHz, main 18.432 MHz

这个速率没有问题,JSSF2文件系统不如yaffs系统跑的快。
总结:做成双面板没有错,有错的是面积又做的太小了,10x10。价格最便宜(省钱的工程师伤不起)

abnerle 发表于 2012-5-5 21:52:33

starting 发表于 2012-5-5 17:48 static/image/common/back.gif
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 148 MHz, master 74 MHz, main 18.432 MH ...

哈哈,我的板子到很大,50*20厘米 的,2层板,可惜东西没几个,连屏幕接口,按键接口都没有,不知道原来是什么人的主意做的NC板子,装机也可以减小啊,非得搞那么大

starting 发表于 2012-5-6 09:48:59

abnerle 发表于 2012-5-5 21:52 static/image/common/back.gif
哈哈,我的板子到很大,50*20厘米 的,2层板,可惜东西没几个,连屏幕接口,按键接口都没有,不知道原来 ...

9161是BGA封装的,能做成双层板挺厉害的了。只是板子的面积是大了点,面积大正好可以布等长线

catch2000 发表于 2012-5-6 09:49:36

从启动信息里直接找原因,
还是最快的。
以前因为不会分析启动信息,
走了不少弯路。

xiaoniu 发表于 2013-9-15 15:17:36

abnerle 发表于 2012-5-5 13:29 static/image/common/back.gif
RomBO
Start AT91Bootstrap V1.16 2012-05-05...



nandflash是k9F1208U0c
mkfs.ubifs -r rootfs -m 512 -e 15872 -c 4096 -o ubifs.img
ubinize -o ubi.img -m 512 -p 16KiB -s 256 ubinize.cfg



mode=ubi
image=ubifs.img
vol_id=0
vol_size=62MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize



setenv bootargs console=ttyS0,115200n8 ubi.mtd=5 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc rw

device nand0 <nandflash0>, # parts = 6
#: name                size            offset          mask_flags
0: At91strap         0x00020000      0x00000000      0
1: uboot               0x00060000      0x00020000      0
2: env1                0x00010000      0x00080000      0
3: env2                0x00010000      0x00090000      0
4: kernel            0x00200000      0x000a0000      0
5: root                0x03d60000      0x002a0000      0   
ubifs 一直起不来,求教

abnerle 发表于 2013-10-29 19:05:17

xiaoniu 发表于 2013-9-15 15:17 static/image/common/back.gif
nandflash是k9F1208U0c
mkfs.ubifs -r rootfs -m 512 -e 15872 -c 4096 -o ubifs.img
ubinize -o ubi.i ...

root=ubi0_0 ubi.mtd=2 rootfstype=ubifs,我是这样的,你少写了ubi分区
页: [1]
查看完整版本: 9260内核启动后,没有规律的串口信息: