主题 : cs8900网卡问题,请指导一下 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 6147
精华: 0
发帖: 91
金钱: 640 两
威望: 241 点
综合积分: 182 分
注册时间: 2009-05-21
最后登录: 2011-06-23
楼主  发表于: 2009-09-17 17:12

 cs8900网卡问题,请指导一下

Image$$ZI$$Limit = 0x30131d14

+---------------------------------------------+
|         USB Download and Tools Menu         |
+---------------------------------------------+
FCLK=400.0MHz,DMA mode
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NOTE: 1. Power off/on or press the reset button for 1 sec
         in order to get a valid USB device address.
      2. For additional tools menu, Press any key.

USB host is not connected yet.

###### Select Menu ######
[0] USB Download & Run
[1] USB Download Only
[2] Test SDRAM
[3] Download From UART
[4] Write File to NOR Flash [MUST NorFlash Boot!]
[5] Write File to NAND Flash
[6] Run Program from NAND Flash
[7] Erase NAND Flash Partition
[8] Config parameters

Download Only is selected.
Enter a new temporary download address(0x3...):0x32000000
The temporary download address is 0x32000000.

USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:32000000h,TOTAL:1929166]
RECEIVED FILE SIZE: 1929166
(966.3KB/S,2.0S)
Now, Checksum calculation
Download O.K.


###### Select Menu ######
[0] USB Download & Run
[1] USB Download Only
[2] Test SDRAM
[3] Download From UART
[4] Write File to NOR Flash [MUST NorFlash Boot!]
[5] Write File to NAND Flash
[6] Run Program from NAND Flash
[7] Erase NAND Flash Partition
[8] Config parameters
Read chip id = ec76
Nand flash status = c0
Please select which region to write : Esc to abort
0 : offset 0x0       , size 0x30000    [boot]
1 : offset 0x30000   , size 0x250000   [kernel]
2 : offset 0x280000  , size 0xef0000   [rootfs]
3 : offset 0x1170000 , size 0x2cec000  [ext-fs1]
Now write nand flash page 0x180 from ram address 0x32000000, filesize = 1929166
Are you sure? [y/n]
Erase block 0x180 ok
Erase block 0x1a0 ok
Erase block 0x1c0 ok
Erase block 0x1e0 ok
Erase block 0x200 ok
Erase block 0x220 ok
Erase block 0x240 ok
Erase block 0x260 ok
Erase block 0x280 ok
Erase block 0x2a0 ok
Erase block 0x2c0 ok
Erase block 0x2e0 ok
Erase block 0x300 ok
Erase block 0x320 ok
Erase block 0x340 ok
Erase block 0x360 ok
Erase block 0x380 ok
Erase block 0x3a0 ok
Erase block 0x3c0 ok
Erase block 0x3e0 ok
Erase block 0x400 ok
Erase block 0x420 ok
Erase block 0x440 ok
Erase block 0x460 ok
Erase block 0x480 ok
Erase block 0x4a0 ok
Erase block 0x4c0 ok
Erase block 0x4e0 ok
Erase block 0x500 ok
Erase block 0x520 ok
Erase block 0x540 ok
Erase block 0x560 ok
Erase block 0x580 ok
Erase block 0x5a0 ok
Erase block 0x5c0 ok
Erase block 0x5e0 ok
Erase block 0x600 ok
Erase block 0x620 ok
Erase block 0x640 ok
Erase block 0x660 ok
Erase block 0x680 ok
Erase block 0x6a0 ok
Erase block 0x6c0 ok
Erase block 0x6e0 ok
Erase block 0x700 ok
Erase block 0x720 ok
Erase block 0x740 ok
Erase block 0x760 ok
Erase block 0x780 ok
Erase block 0x7a0 ok
Erase block 0x7c0 ok
Erase block 0x7e0 ok
Erase block 0x800 ok
Erase block 0x820 ok
Erase block 0x840 ok
Erase block 0x860 ok
Erase block 0x880 ok
Erase block 0x8a0 ok
Erase block 0x8c0 ok
Erase block 0x8e0 ok
Erase block 0x900 ok
Erase block 0x920 ok
Erase block 0x940 ok
Erase block 0x960 ok
Erase block 0x980 ok
Erase block 0x9a0 ok
Erase block 0x9c0 ok
Erase block 0x9e0 ok
Erase block 0xa00 ok
Erase block 0xa20 ok
Erase block 0xa40 ok
Erase block 0xa60 ok
Erase block 0xa80 ok
Erase block 0xaa0 ok
Erase block 0xac0 ok
Erase block 0xae0 ok
Erase block 0xb00 ok
Erase block 0xb20 ok
Erase block 0xb40 ok
Erase block 0xb60 ok
Erase block 0xb80 ok
Erase block 0xba0 ok
Erase block 0xbc0 ok
Erase block 0xbe0 ok
Erase block 0xc00 ok
Erase block 0xc20 ok
Erase block 0xc40 ok
Erase block 0xc60 ok
Erase block 0xc80 ok
Erase block 0xca0 ok
Erase block 0xcc0 ok
Erase block 0xce0 ok
Erase block 0xd00 ok
Erase block 0xd20 ok
Erase block 0xd40 ok
Erase block 0xd60 ok
Erase block 0xd80 ok
Erase block 0xda0 ok
Erase block 0xdc0 ok
Erase block 0xde0 ok
Erase block 0xe00 ok
Erase block 0xe20 ok
Erase block 0xe40 ok
Erase block 0xe60 ok
Erase block 0xe80 ok
Erase block 0xea0 ok
Erase block 0xec0 ok
Erase block 0xee0 ok
Erase block 0xf00 ok
Erase block 0xf20 ok
Erase block 0xf40 ok
Erase block 0xf60 ok
Erase block 0xf80 ok
Erase block 0xfa0 ok
Erase block 0xfc0 ok
Erase block 0xfe0 ok
Erase block 0x1000 ok
Erase block 0x1020 ok
Program nand flash partition success

###### Select Menu ######
[0] USB Download & Run
[1] USB Download Only
[2] Test SDRAM
[3] Download From UART
[4] Write File to NOR Flash [MUST NorFlash Boot!]
[5] Write File to NAND Flash
[6] Run Program from NAND Flash
[7] Erase NAND Flash Partition
[8] Config parameters
Uart ini ok! rUBRDIV0 = 26, UartClk = 50000000  

+---------------------------------------------+
           S3C2440A Bootloader VER V3.0 __levivi
                www.sunnico.com
+---------------------------------------------+
VID is 0x76543210, PID is 0xfedcba98
Serial NO. is 89abcdef01234567
CPU ID is 0x32440001
FCLK=400MHz, HCLK=100MHz, PCLK=50MHz
CPU is running at 400MHz
UPLL=48MHz, UCLK=48MHz
Serial port 1, Baud rate is 115200.
Autoboot delay is 2 seconds.
test probe remove Lcd_Tft_LTS350Q1_PE1_Init()
Lcd_Tft_LTS350Q1_PE1_Init() end!
NOR Flash ID is 0xea000045 [Correct ONLY NorFlash Boot!]
Image$$RO$$Base  = 0x30100000
Image$$RO$$Limit = 0x3010b12c
Image$$RW$$Base  = 0x3010b12c
Image$$RW$$Limit = 0x30131d14
Image$$ZI$$Base  = 0x3010b3b8
Image$$ZI$$Limit = 0x30131d14

+---------------------------------------------+
|         USB Download and Tools Menu         |
+---------------------------------------------+
FCLK=400.0MHz,DMA mode
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NOTE: 1. Power off/on or press the reset button for 1 sec
         in order to get a valid USB device address.
      2. For additional tools menu, Press any key.

USB host is not connected yet.
USB host is connected. Waiting a download.
Read chip id = ec76
Nand flash status = c0
Set boot params = root=/dev/mtdblock2 init=/linuxrc load_ramdisk=0 console=ttySAC1,115200 mem=65536K devfs=mount display=lcd8bit
Load Kernel...
goto_start......,a0=0,a1=193,a2=807403520
Linux version 2.6.30.1sunnico (root@localhost) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #20 Thu Sep 17 17:03:36 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: sunnico SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
MM: CPU does not support supersection mapping for 0x19000000000 at 0xe0000000
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/mtdblock2 init=/linuxrc load_ramdisk=0 console=ttySAC1,115200 mem=65536K devfs=mount display=lcd8bit
NR_IRQS:85
irq: clearing pending ext status 0004e000
irq: clearing pending status 00004000
irq: clearing subpending status 00000092
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttySAC1] 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: 60876KB available (3492K code, 383K data, 112K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 296 bytes
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
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
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c2440-i2c:is irq number: 43
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
NET: Registered protocol family 2
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
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
NTFS driver 2.1.29 [Flags: R/W].
yaffs Sep 10 2009 16:57:04 Installing.
msgmni has been set to 119
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
s3c2410-lcd:is irq number: 32
Console: switching to colour frame buffer device 30x20
fb0: s3c2410fb frame buffer device
Sunnico_KBD     initialized OK
pwm    initialized
adc:is irq number: 80
adc    initialized
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
nbd: registered device at major 43
Driver 'sd' needs updating - please use bus_type methods
Register cs8900 Ethernet Driver for ECG2440.
cs8900: probbing for ECG2440...
eth0: CS8900A rev E at 0xc4820300 irq=53, addr: 08: 0:3E:26:0A:5B
[cs89x0_probe] S3C2410_BWSCON = 2211d110

[cs89x0_probe] S3C2410_BANKCON3 = 1f7c

[cs89x0_probe] S3C2410_GPGCON = a6aaaa

[cs89x0_probe] S3C2410_EXTINT1 = 22222222

[cs89x0_probe] S3C2410_EINTMASK = fffff0

Generic platform RAM MTD, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
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":
0x000000000000-0x000000030000 : "Bootloader"
0x000000030000-0x000000280000 : "sunnicokernel"
0x000000280000-0x000001170000 : "sunnico_rootfs"
0x000001170000-0x000003e5c000 : "ext1_fs_EcgFile"
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
ohci_hcd:usb1:is irq number: 42
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.30.1sunnico ohci_hcd
usb usb1: SerialNumber: s3c24xx
usb usb1: configuration #1 chosen from 1 choice
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.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
s3c2410_action:is irq number: 80
s3c2410_action:is irq number: 79
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /devices/virtual/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
i2c /dev entries driver
Linux video capture interface: v2.00
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt:is irq number: 83
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
s3c-mci:is irq number: 37
s3c-mci:is irq number: 60
mapped channel 0 to 0
s3c-mci:is irq number: 33
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: powered down.
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Mounted root (cramfs filesystem) readonly on device 31:2.
Freeing init memory: 112K
s3c2440-uart:is irq number: 73
s3c2440-uart:is irq number: 74
hwclock: can't open '/dev/misc/rtc': No such file or directory
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs1
yaffs_read_super: isCheckpointed 0
BusyBox v1.15.0 (2009-09-08 15:21:17 CST) multi-call binary

Usage: ftpd [-wvS] [-t N] [-T N] [DIR]

FTP server

ftpd should be used as an inetd service.
ftpd's line for inetd.conf:
    21 stream tcp nowait root ftpd ftpd /files/to/serve
It also can be ran from tcpsvd:
    tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve

Options:
    -w    Allow upload
    -v    Log to stderr
    -S    Log to syslog
    -t,-T    Idle and absolute timeouts
    DIR    Change root to this directory

Try to bring eth0 interface up......ifconfig: SIOCSIFHWADDR: Operation not supported
eth0:is irq number: 53
cs8900 network interrupt
route: netmask and route address conflict
Done

Please press Enter to activate this console.
\Sunnico Inc
[root@Sun /] $[6n\
> [6n
[root@Sun /] $[6n
[root@Sun /] $[6n
[root@Sun /] $[6n
[root@Sun /] $[6nping 192.168.10.7
PING 192.168.10.7 (192.168.10.7): 56 data bytes
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:226 dev_watchdog+0x260/0x280()
NETDEV WATCHDOG: eth0 (cs8900): transmit timed out
Modules linked in:
Backtrace:
[<c0029048>] (dump_backtrace+0x0/0x10c) from [<c02b22dc>] (dump_stack+0x18/0x1c)
r7:c038fe00 r6:c0251708 r5:c036fc30 r4:000000e2
[<c02b22c4>] (dump_stack+0x0/0x1c) from [<c0043844>] (warn_slowpath_common+0x4c/0x80)
[<c00437f8>] (warn_slowpath_common+0x0/0x80) from [<c00438c4>] (warn_slowpath_fmt+0x30/0x38)
r7:00000000 r6:c3875c00 r5:c03e8720 r4:c038fe24
[<c0043894>] (warn_slowpath_fmt+0x0/0x38) from [<c0251708>] (dev_watchdog+0x260/0x280)
r3:c3875c00 r2:c036fc48
r4:c0396008
[<c02514a8>] (dev_watchdog+0x0/0x280) from [<c004d964>] (run_timer_softirq+0x1b0/0x230)
r7:c02514a8 r6:c038fea0 r5:00000100 r4:c03d5380
[<c004d7b4>] (run_timer_softirq+0x0/0x230) from [<c0048bec>] (__do_softirq+0x78/0x100)
[<c0048b74>] (__do_softirq+0x0/0x100) from [<c0048cbc>] (irq_exit+0x48/0x50)
[<c0048c74>] (irq_exit+0x0/0x50) from [<c0024048>] (_text+0x48/0x70)
[<c0024000>] (_text+0x0/0x70) from [<c0024a44>] (__irq_svc+0x24/0xa0)
Exception stack(0xc038ff40 to 0xc038ff88)
ff40: f4100000 00000032 f4100000 60000013 c0025ef4 c038e000 c0025ef4 c03b42c4
ff60: 3001d3fc 41129200 3001d3c8 c038ff94 c038ff98 c038ff88 c0026524 c0025f54
ff80: 60000013 ffffffff                                                      
r7:c03b42c4 r6:00004000 r5:f4000000 r4:ffffffff
[<c0025ef4>] (default_idle+0x0/0xac) from [<c0026524>] (cpu_idle+0x4c/0x68)
[<c00264d8>] (cpu_idle+0x0/0x68) from [<c02b0c20>] (rest_init+0x5c/0x70)
r7:c03924c8 r6:c001e000 r5:c03b4280 r4:c03d7b4c
[<c02b0bc4>] (rest_init+0x0/0x70) from [<c0008960>] (start_kernel+0x1fc/0x264)
[<c0008764>] (start_kernel+0x0/0x264) from [<30008034>] (0x30008034)
r6:c001ed5c r5:c03b4370 r4:c0007175
---[ end trace b702978a6e958c4e ]---
eth0: Transmit buffer not free!
cs8900 network interrupt
eth0: Transmit buffer not free!
cs8900 network interrupt
eth0: Transmit buffer not free!
cs8900 network interrupt
eth0: Transmit buffer not free!
cs8900 network interrupt
eth0: Transmit buffer not free!
^C
--- 192.168.10.7 ping statistics ---
10 packets transmitted, 0 packets received, 10000000000acket loss
[root@Sun /] $[6ncs8900 network interrupt
eth0: Transmit buffer not free!
cs8900 network interrupt
eth0: Transmit buffer not free!