QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2554|回复: 2

NFS及cs8900驱动错误

[复制链接]
发表于 2008-4-19 10:38:35 | 显示全部楼层 |阅读模式
启动信息如下:

[root@localhost u-boot-1.1.4]# skyeye -c u-boot.conf

**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************

big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x808131c
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
nandflash: dump ./nand.dump
file size:69206016
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM
./u-boot.bin

Loaded RAM
./initrd.img

dbct translate block use memory 0x03ffff03 bytes.
ERROR: s3c2410x_io_write_word(0x4c000000) = 0x00ffffff
ERROR: s3c2410x_io_write_word(0x4c00000 = 0x00048032


U-Boot 1.1.4 (Apr 14 2008 - 21:34:37)

U-Boot code: 33F80000 -> 33F9BF0C
BSS: -> 33F9FFE4

RAM Configuration:
Bank #0: 30000000 64 MB
Flash: 512 kB
NAND:
64 MB

*** Warning - bad CRC, using default environment

In:
serial

Out:
serial

Err:
serial

SMDK2410 # tftp 0x33000000 uImage
TFTP from server 10.0.0.1; our IP address is 10.0.0.110
Filename 'uImage'.
Load address: 0x33000000
Loading: #################################################################

#################################################################


#################################################################


#########

done
Bytes transferred = 1044324 (fef64 hex)
SMDK2410 # nand erase 30000 100000

NAND erase: device 0 offset 196608, size 1048576 ... OK
SMDK2410 # nand write 33000000 30000 fef64

NAND write: device 0 offset 196608, size 1044324 ...
1044324 bytes written: OK

SMDK2410 # [root@localhost u-boot-1.1.4]# skyeye -c u-boot.conf

**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************

big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x808131c
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
nandflash: dump ./nand.dump
file size:69206016
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM
./u-boot.bin

Loaded RAM
./initrd.img

dbct translate block use memory 0x03ffff03 bytes.
ERROR: s3c2410x_io_write_word(0x4c000000) = 0x00ffffff
ERROR: s3c2410x_io_write_word(0x4c00000 = 0x00048032


U-Boot 1.1.4 (Apr 14 2008 - 21:34:37)

U-Boot code: 33F80000 -> 33F9BF0C
BSS: -> 33F9FFE4

RAM Configuration:
Bank #0: 30000000 64 MB
Flash: 512 kB
NAND:
64 MB

*** Warning - bad CRC, using default environment

In:
serial

Out:
serial

Err:
serial

SMDK2410 # nand read 33000000 30000 fef64

NAND read: device 0 offset 196608, size 1044324 ...
1044324 bytes read: OK

SMDK2410 # bootm
## Booting image at 33000000 ...

Image Name:
Linux-2.6.14


Created:
2008-04-19
2:22:16 UTC


Image Type:
ARM Linux Kernel Image (uncompressed)


Data Size:
1044260 Bytes = 1019.8 kB


Load Address: 30008000


Entry Point:
30008000


Verifying Checksum ... OK

OK

Starting kernel ...

Uncompressing Linux...................................................................... done, booting the kernel.
Linux version 2.6.14 ([email protected]) (gcc version 3.4.1) #21 Sat Apr 19 10:22:05 CST 2008
CPU: ARM920Tid(wb) [41009200] revision 0 (ARMvundefined/unknown)
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists




 楼主| 发表于 2008-4-19 10:41:26 | 显示全部楼层

继续。。。

Kernel command line: console=ttySAC0,115200 root=/dev/nfs init=/linuxrc nfsroot=10.0.0.1:/root/nand2410/root ip=10.0.0.110:10.0.0.1:10.0.0.1:255.255.255.0: mem=64M


irq: clearing pending status 00004000

irq: clearing pending status 00008000

irq: clearing pending status 00800000

irq: clearing pending status 10000000

irq: clearing subpending status 00000093

PID hash table entries: 512 (order: 9, 8192 bytes)

timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c

Console: colour dummy device 80x30

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 64MB = 64MB total

Memory: 62592KB available (1750K code, 354K data, 96K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

softlockup thread 0 started up.

NET: Registered protocol family 16

S3C2410: Initialising architecture

S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics

DMA channel 0 at c4800000, irq 33

DMA channel 1 at c4800040, irq 34

DMA channel 2 at c4800080, irq 35

DMA channel 3 at c48000c0, irq 36

NetWinder Floating Point Emulator V0.97 (double precision)

devfs: 2004-01-31 Richard Gooch ([email protected])

devfs: boot_options: 0x1

Installing knfsd (copyright (C) 1996 <A href="mailto[email protected]">[email protected]).

Console: switching to colour frame buffer device 80x25

fb0: Virtual frame buffer device, using 1024K of video memory

S3C2410 RTC, (c) 2004 Simtec Electronics

s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410

s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410

s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

loop: loaded (max 8 devices)

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <[email protected]>

Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)

eth0: CS8900A rev D at 0xe0000300 irq=53, no eeprom , addr: 08: 0:3E:26:0A:5B

S3C24XX NAND Driver, (c) 2004 Simtec Electronics

s3c2410-nand: mapped registers at c4980000

s3c2410-nand: timing: Tacls 10ns, Twrph0 30ns, Twrph1 10ns

NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)

NAND_ECC_NONE selected by board driver. This is not recommended !!

Scanning device for bad blocks

Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":

0x00000000-0x00100000 : "bootloader"

0x00100000-0x00400000 : "kernel"

0x00400000-0x02c00000 : "root"

0x02d00000-0x03c00000 : "user"

mice: PS/2 mouse device common for all mice

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 2, 16384 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

TCP bic registered

NET: Registered protocol family 1

IP-Config: Complete:

      device=eth0, addr=10.0.0.110, mask=255.255.255.0, gw=10.0.0.1,

     host=www, domain=, nis-domain=Albert.com,

     bootserver=10.0.0.1, rootserver=10.0.0.1, rootpath=

Looking up port of RPC 100003/2 on 10.0.0.1

BUG: soft lockup detected on CPU#0!




Pid: 0, comm:              swapper

CPU: 0

PC is at cs8900_interrupt+0x460/0x4c4

LR is at 0xe000030a

pc : [<c0124350>]    lr : [<e000030a>]    Not tainted

sp : c01d7c90  ip : 00000000  fp : c01d7cc8

r10: c0219044  r9 : 00000000  r8 : c01e8a34

r7 : 00000035  r6 : c02288dc  r5 : c02288dc  r4 : c3ceeba0

r3 : e000030a  r2 : 00000120  r1 : e000030a  r0 : e0000300

Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel

Control: 317F  Table: 30004000  DAC: 00000017

[<c002290c>] (show_regs+0x0/0x4c) from [<c00518f8>] (softlockup_tick+0x64/0x7c)

r4 = C01D7C48

[<c0051894>] (softlockup_tick+0x0/0x7c) from [<c003f960>] (do_timer+0x40c/0x484)

r4 = 00000000

[<c003f554>] (do_timer+0x0/0x484) from [<c0025a60>] (timer_tick+0xb4/0xe4)

[<c00259ac>] (timer_tick+0x0/0xe4) from [<c002aed8>] (s3c2410_timer_interrupt+0x24/0x3c)

r6 = 00000000  r5 = 00000000  r4 = C02200B0

[<c002aeb4>] (s3c2410_timer_interrupt+0x0/0x3c) from [<c00219d0>] (__do_irq+0x4c/0x8

r4 = C01DA32C

[<c0021984>] (__do_irq+0x0/0x8 from [<c0021b2c>] (do_edge_IRQ+0xb0/0x12c)

r8 = C01D7C48  r7 = C01D7C48  r6 = C01DA32C  r5 = 0000001E

r4 = C021965C

[<c0021a7c>] (do_edge_IRQ+0x0/0x12c) from [<c0021cb4>] (asm_do_IRQ+0x50/0x13c)

r7 = 00000035  r6 = 00000001  r5 = C01D7C7C  r4 = FFFFFFFF

[<c0021c64>] (asm_do_IRQ+0x0/0x13c) from [<c0020804>] (__irq_svc+0x24/0x160)

[<c0123ef0>] (cs8900_interrupt+0x0/0x4c4) from [<c00219d0>] (__do_irq+0x4c/0x8

[<c0021984>] (__do_irq+0x0/0x8 from [<c0021b2c>] (do_edge_IRQ+0xb0/0x12c)

r8 = C01D7D40  r7 = C01D7D40  r6 = C3CEEBA0  r5 = 00000035

r4 = C0219B08

[<c0021a7c>] (do_edge_IRQ+0x0/0x12c) from [<c0021cb4>] (asm_do_IRQ+0x50/0x13c)

r7 = 00000001  r6 = 00000000  r5 = C01D7D74  r4 = FFFFFFFF

[<c0021c64>] (asm_do_IRQ+0x0/0x13c) from [<c0020804>] (__irq_svc+0x24/0x160)

[<c0123c70>] (cs8900_send_start+0x0/0x280) from [<c015b15c>] (qdisc_restart+0xec/0x1d4)

[<c015b070>] (qdisc_restart+0x0/0x1d4) from [<c014f260>] (dev_queue_xmit+0xfc/0x224)

r8 = 6E00000A  r7 = C3D2A820  r6 = 00000000  r5 = C3CF2940

r4 = C01E8A34

[<c014f164>] (dev_queue_xmit+0x0/0x224) from [<c01853bc>] (arp_xmit+0x10/0x14)

r6 = 00000000  r5 = C3CF29E0  r4 = C3D09D60

[<c01853ac>] (arp_xmit+0x0/0x14) from [<c0185408>] (arp_send+0x48/0x50)

[<c01853c0>] (arp_send+0x0/0x50) from [<c01855b4>] (arp_solicit+0x1a4/0x1c4)

[<c0185410>] (arp_solicit+0x0/0x1c4) from [<c0154c28>] (neigh_timer_handler+0x26c/0x304)

[<c01549bc>] (neigh_timer_handler+0x0/0x304) from [<c003f3a8>] (run_timer_softirq+0x178/0x1dc)

r7 = C01D7EB8  r6 = C01549BC  r5 = 00000100  r4 = C01D6000

[<c003f230>] (run_timer_softirq+0x0/0x1dc) from [<c003b5b0>] (__do_softirq+0x5c/0xd0)

[<c003b554>] (__do_softirq+0x0/0xd0) from [<c003b73c>] (irq_exit+0x44/0x4c)

r8 = C01D7F54  r7 = C022E87C  r6 = 00000001  r5 = C01D7F88

r4 = FFFFFFFF

[<c003b6f8>] (irq_exit+0x0/0x4c) from [<c0021d84>] (asm_do_IRQ+0x120/0x13c)

[<c0021c64>] (asm_do_IRQ+0x0/0x13c) from [<c0020804>] (__irq_svc+0x24/0x160)

[<c00225a0>] (default_idle+0x0/0x74) from [<c002265c>] (cpu_idle+0x48/0x64)

[<c0022614>] (cpu_idle+0x0/0x64) from [<c0020024>] (__init_end+0x24/0x2c)

r5 = C0218BFC  r4 = 00003175

[<c0020000>] (__init_end+0x0/0x2c) from [<c000896c>] (start_kernel+0x174/0x1bc)

[<c00087f8>] (start_kernel+0x0/0x1bc) from [<30008094>] (0x30008094)

r6 = C01D9B44  r5 = C021A21C  r4 = 00003175



相关配置如下:



启动对应服务:


[root@localhost linux-2.6.14]# /etc/rc.d/init.d/portmap start

[root@localhost linux-2.6.14]# /etc/rc.d/init.d/nfs start

[root@localhost linux-2.6.14]# /etc/init.d/nfs reload

[root@localhost linux-2.6.14]# service iptables stop



在启动的同时,在其他终端运行showmount -e host:

[root@localhost boot]# showmount -e host

showmount: can't get address for host



[root@localhost ~]# vi /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
10.0.0.*                www.Albert.com
~


[root@localhost ~]# vi /etc/exports

/root 10.0.0.*(rw,sync,no_root_squash)
/usr/local/arm/3.4.1/arm-linux/lib 10.0.0.*(rw,sync,no_root_squash)
/root/arm 10.0.0.*(ro,sync)
/root/lib 10.0.0.*(ro,sync)
/root/u-boot-1.1.4 10.0.0.*(rw,sync,no_root_squash)
/dev 10.0.0.*(rw,sync,no_root_squash)
/root/nand2410/root 10.0.0.*(rw,sync,no_root_squash)


内核启动参数为:

console=ttySAC0,115200 root=/dev/nfs init=/linuxrc nfsroot=10.0.0.1:/root/nand2410/root ip=10.0.0.110:10.0.0.1:10.0.0.1:255.255.255.0:[url=www.Albert.com:eth0:[/url]<FONT] mem=64M


targetboard IP addr      : 10.0.0.110

Host PC IP addr        : 10.0.0.1

Gateway                   : 10.0.0.1

Nfs dir                     : 10.0.0.1:/root/nand2410/root



还请大侠帮忙啊!!
回复

使用道具 举报

发表于 2008-4-21 12:37:52 | 显示全部楼层
内核启动参数为:
console=ttySAC0,115200 root=/dev/nfs init=/linuxrc nfsroot=10.0.0.1:/root/nand2410/root ip=10.0.0.110:10.0.0.1:10.0.0.1:255.255.255.0

try above boot option, it seems that the host configure has problem, so don't specify so detail info(like www.Albert.com, eth0) to kernel.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 10:19 , Processed in 0.052641 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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