dljaye 发表于 2009-3-31 19:01:24

cs8900a的问题

Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x806aea0
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
lcd_mod:1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./initrd.img
start addr is set to 0xc0008000 by exec file.
Linux version 2.6.18 (root@jaye-desktop) (gcc version 3.4.1) #24 Tue Mar 31 18:54:20 CST 2009
CPU: ARM920T revision 0 (ARMvundefined/unknown), cr=00003177
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 MHz
S3C24XX 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.Total pages: 8192
Kernel command line: mem=32M console=ttySAC0 root=/dev/ram initrd=0xc0800000,0x00800000 ramdisk_size=4096 rw
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 22184KB available (1620K code, 313K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 8192K
NET: Registered protocol family 16
S3C2410: Initialising architecture
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
fb1: Virtual frame buffer device, using 1024K of video memory
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: incorrect signature 0x0000
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
TCP bic registered
NET: Registered protocol family 1
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4096KiB into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 108K
ifconfig: SIOCSIFADDR: No such device
...............................

网络不好用,请高手指点
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: incorrect signature 0x0000

[ 本帖最后由 dljaye 于 2009-3-31 19:02 编辑 ]

ksh 发表于 2009-4-1 19:18:09

http://www.linuxfans.org/bbs/thread-182384-1-1.html
Now the cs8900 driver for smdn2410 is committed to skyeye source repository. You can get it from :
http://skyeye.svn.sourceforge.net/viewvc/skyeye/skyeye-v1/trunk/misc/linux_driver/cs8900a/linux_2_6_14_cs8900.diff
That means you just apply this patch on your linux-2.6.14 source tree. And use the lastest source in skyeye-v1/trunk/ , then you can run cs8900 driver directly.

dljaye 发表于 2009-4-3 15:27:07

I did it but,there is no use .I got the same result....

Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: incorrect signature 0x0000
cs8900 can't work

ksh 发表于 2009-4-5 16:49:31

测试了一下,在skyeye-1.2.6上可以运行。skyeye-1.2.7_rc1不行。运行如下:
/ $ server:/opt/testsuite/linux/cs8900/build-2.6.14 # /home/ksh/cvs/skyeye/skyeye-v1nches/skyeye-1.2.6/skyeye -e vmlinux
Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x424540
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
lcd_mod:1
Your elf file will be load to: base address=0x30000000,mask=0xffffff
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000size = 0x0001b000.
load section .text: addr = 0xc0023000size = 0x0021a018.
not load section .pci_fixup: addr = 0xc023d018size = 0x00000000 .
load section __ksymtab: addr = 0xc023d018size = 0x00003e50.
load section __ksymtab_gpl: addr = 0xc0240e68size = 0x00000840.
not load section __kcrctab: addr = 0xc02416a8size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc02416a8size = 0x00000000 .
load section __ksymtab_strings: addr = 0xc02416a8size = 0x00009e18.
load section __param: addr = 0xc024b4c0size = 0x00000384.
load section .data: addr = 0xc024c000size = 0x00050760.
not load section .bss: addr = 0xc029c760size = 0x00023bc4 .
not load section .comment: addr = 0x00000000size = 0x000025f8 .
not load section .debug_abbrev: addr = 0x00000000size = 0x0008c1cd .
not load section .debug_info: addr = 0x00000000size = 0x01794ff0 .
not load section .debug_line: addr = 0x00000000size = 0x0015e093 .
not load section .debug_pubnames: addr = 0x00000000size = 0x00018cea .
not load section .debug_str: addr = 0x00000000size = 0x0007ac31 .
not load section .debug_aranges: addr = 0x00000000size = 0x00005470 .
not load section .debug_frame: addr = 0x00000000size = 0x0006c100 .
not load section .debug_ranges: addr = 0x00000000size = 0x0000e9d0 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0x30008000 by exec file.
Linux version 2.6.14 (ksh@server) (gcc version 3.3.6) #4 Fri May 2 00:22:41 CST 2008
CPU: ARM920Tid(wb) 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 62.400 MHz, memory 62.400 MHz, peripheral 62.400 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
Kernel command line: mem=32M console=ttySAC0 root=/dev/ram initrd=0x30800000,0x00800000 ramdisk_size=2048 rw
PID hash table entries: 256 (order: 8, 4096 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
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: 32MB = 32MB total
Memory: 21376KB available (2210K code, 464K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
softlockup thread 0 started up.
Freeing initrd memory: 8192K
NET: Registered protocol family 16
S3C2410: Initialising architecture
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c2800000, irq 33
DMA channel 1 at c2800040, irq 34
DMA channel 2 at c2800080, irq 35
DMA channel 3 at c28000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS version 1.0, (C) 1999, 2000Axis Communications AB
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
lp: driver loaded but no devices found
S3C2410 RTC, (c) 2004 Simtec Electronics
ppdev: user-space parallel port driver
S3C2410 Watchdog Timer, (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 2048K size 1024 blocksize
loop: loaded (max 8 devices)
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
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
mice: PS/2 mouse device common for all mice
ERROR: s3c2410x_io_write_word(0x54000008) = 0x00000010
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz
ERROR: s3c2410x_io_write_word(0x54000000) = 0x000000a9
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
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: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048KiB into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 108K
init started:BusyBox v1.4.1 (2007-02-10 01:19:06 CST) multi-call binary
Starting pid 25, console /dev/console: '/etc/init.d/rcS'
Welcome to
   _      _____      __   __    _      _
    / \    /__ \    /\_/\| |    |_|
   / _ \   | || |/ /\   /\ \ | |   _ _____   ___
/ /_\ \| |__| | / /\_/\ \| |    | |_ \| | | |\ \/ /
/ /___\ \ | |__\ \ | |       | || |___ | | |_| | |_| |/    \
/_/   \_\| |   \_\|_|       |_||_____||_|_| |_|\____|\_/\_/

ARMLinux for Skyeye
For further information please check:
http://www.skyeye.org/



BusyBox v1.4.1 (2007-02-10 01:19:06 CST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off
/ $ ifconfig eth0 10.0.0.2
/ $ ping -c 1 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=9.9 ms

--- 10.0.0.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 9.9/9.9/9.9 ms
/ $

dljaye 发表于 2009-4-5 20:26:36

1.2.6的却可以,很好用,不知道1.2.7是怎搞的,似乎在bus 模拟上有点问题。。。。。。

ksh 发表于 2009-4-5 21:53:03

1.2.7引入了新的内存模块,还有一些问题,在 1.2.8都会被解决。
页: [1]
查看完整版本: cs8900a的问题