一。
主机我设为
ip地址:192.168.1.120
子网掩码:255.255.255.0
默认网关:192.168.1.1
我在超级终端里输入ifconfig,得到开发板的网卡属性是:
ip地址:192.168.1.230
子网掩码:255.255.255.0
默认网关:192.168.1.255
然后再超级终端中输入:
#route add default gw 192.168.1.1
ifconfig eth0 192.168.1.230
DNS没设置
二。
主机我设为
ip地址:192.168.1.120
子网掩码:255.255.255.0
默认网关:192.168.1.230
然后再超级终端中输入:
#route add default gw 192.168.1.120
ifconfig eth0 192.168.1.230
DNS没设置
三,我不设默认网关
试了很多方法都不行,防火强什么的都关了。
我想试验下通过网络采集USB摄相头图像那个,结果还是连ping都ping不通。网页就更上不去了。
但板子的网卡灯是亮了,还有ping的时候主机网口灯也闪。
下面是开机后串口的所有输出信息。
VIVI version 0.1.4 (root@capcross) (gcc version 2.95.3 20010315 (release)) #0.1.
4 Fri Sep 12 02:09:10 CST 2008
MMU table base address = 0x33DFC000
Succeed memory mapping.
DIVN_UPLL0
MPLLVal [M:7fh,P:2h,S:1h]
CLKDIVN:5h
+---------------------------------------------+
| S3C2440A USB Downloader ver R0.03 2004 Jan |
+---------------------------------------------+
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NOTE: Power off/on or press the reset button for 1 sec
in order to get a valid USB device address.
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Could not found stored vivi parameters. Use default vivi parameters.
Press Return to start the LINUX/Wince now, any other key for vivi
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySA
C0"
MACH_TYPE = 782
NOW, Booting Linux......
Uncompressing Linux.............................................................
............................................ done, booting the kernel.
Linux version 2.6.13 (root@capcross) (gcc version 3.4.1) #19 Sun Sep 7 23:05:51
CST 2008
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: QQ2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled
CPU S3C2440A (id 0x32440001)s, associativity 64, 32 byte
BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space
<4>Built 1 zonelistsic = 0x016f281
S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz root=/dev/mtdblock2 init=/linuxrc console=ttySA
S3C2410 Clocks, (c) 2004 Simtec Electronics
linux command line is: "no
CPU0: D VIVT write-back cachet=/linuxrc
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 setsaring subpending status 00000002
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets....
Built 1 zonelistsu
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
..
<4>Con
irq: clearing subpending status 00000002 b
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)ble entries: 512
<6>CPU:
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)Hz, peripheral 5
Memory: 64MB = 64MB total
<6>NET: Re
Memory: 61056KB available (2532K code, 1034K data, 144K init)
<4>USB Power Control, (c) 2004 Simtec Electronics
Mount-cache hash table entries: 512
CPU0: D V
<4>S3C2440:
CPU: Testing write buffer coherency: ok
CPU0: I cache:
NET: Registered protocol family 16
<4>S3C2440: IRQ Supportbyte lines
USB Power Control, (c) 2004 Simtec Ele
DMA channel 1 at c4800040, irq 34-31 Richard Gooch (
rgooch@atnf.csDMA channel 2 at c4800080, irq 35
In
DMA channel 3 at c48000c0, irq 36 0x192 (order: 3, 32768 bytes)
NetWinder Floating Point Emulator V0.97 (double precision) Sep 7 2008 23:01:44 Installing.
devfs: 2004-01-31 Richard Gooch (
rgooch@atnf.csiro.au)
<6>Initializing Cryptographic API: 61056KB av
devfs: boot_options: 0x1
yaffs Sep 7 2008 23:01:44 Instal
GPIO L3 bus interface for S3C2440, installed
<4>buttons initialize
S3C2410 RTC, (c) 2004 Simtec Electronics
<4>qq2440_pwm initializedalized
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
<4>s3c2410_serial0 at MMIO 0x50000000 (irq = 7
leds initialized
buttons initialized
qq2440_pwm initialized DMA Driver, (c) 2003-
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
<4>s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440 0x50008000 (irq
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize /]# clear100oc/sys/net/
loop: loaded (max 8 devices)
<4>DM9000 ethernet driver
nbd: registered device at major 43
DM9000 ethernet driver V1.26 I/O: c481a300, VID: 90000a46
S3C24X0 fb0:
<6>Linux video capture interfac
Linux video capture interface: v1.00
<6>
ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C drivertalledc: v2.01:USB HID core driver[k] Download lin
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
S3C2410
ide: Assuming 50MHz system bus speed for PIO mered.
)e
NAND_ECC_NONE selected by board driver. This is not recommended !!
<7>initialising set 0 (c0516400, info c057b9e0)size 1024 blocksiz
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit": ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-w
0x00000000-0x00030000 : "bootloader"
0x00050000-0x00250000 : "kernel" registered device at major 43ze
0x00250000-0x03ffc000 : "root"
s3c2410-ohci s3c2410-ohci: S3C24X
hub 1-0:1.0: 2 ports detecteder 1ns, Twrph0 39ns, Twrph1 9
Initializing USB Mass Storage driver... 4096 byte
usbcore: registered new driver usb-storage
USB Mass Storage support registered.<6>s3c2410-ohci s3c2410-ohci: irq 42
usbcore: registered new driver usbhidMiB 3,3V 8-bitters2532K
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
<6>hub 1-0:1.0: USB hub fou
usbcore: registered new driver ov511
drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driverommende
s3c241
<
mice: PS/2 mouse device common for all miceD core driverumber 1S)stered new drive
ts: Compaq touchscreen protocol output
s3c2410 TouchScreen successfully loaded110-ohci: irq 42, io mem 0x49000000: Re
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10usb/media/ov511.c: v1.64 for Linux 2.5 : ov
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter 32505858 name is "m
s3c2410-sdi s3c2410-sdi: powered down.media/gspca/gspca_core.c: USB SPCA5XX
s3c2410-sdi s3c2410-sdi: initialisation done.
SBC2440 SOUND driver registerver u
NET: Registered protocol family 2
<6>s3c2410 Tou
s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).
<6>i2c /dev entries driver
s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).: driver dev_driver registered.3XX) of
s3c2410-sdi s3c2410-sdi: s3cmci_request: no cardc2440-i2c s3c2440-i2c: clock source c02a9c68ed n
s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).
s3c2410-sdi s3c2410-sdi: s3cmci_request: no carders c4b80000 (c053cb20, c02aad9c)egistereddia/no
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
24
s3c2410-sdi s3c2410-sdi: powered down.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<4>SBC2440 UDA1341 audio driver initial
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<6>NET: Registered protocol family 2: running at
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>s3c2410-sdi s3c2
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered-sdi: s3cmci_reques
TCP bic registered
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
TX packets:0 errors:0
VFS: Mounted root (yaffs filesystem).<6>s3c2410-sdi s3c2410-sdi: running a
Mounted devfs on /dev97kHz).
Freeing init memory: 144K
mini2440_backlight: module license 'unspecified' taints kernel.
<3>s3c2410-sdi s3c2410-sdi: s3cm
backlight initialized410-sdi s3c2410-sdi:
[08/Sep/2008:05:24:49 +0000] boa: server version Boa/0.94.13
<3>s3c2410-sdi s3c2410-sdi: s3cmc
[08/Sep/2008:05:24:49 +0000] boa: server built Feb 28 2004 at 21:47:23.
[08/Sep/2008:05:24:49 +0000] boa: starting server pi
Title: 上海滩
Artist: 叶丽仪
Year: 2000
<6>s3
Genre: Goa0-sdi: powered
iShow - A Picture Viewer by FriendlyARM.ed55205] irq 42,
/media/note.jpgroute cache has
240 x 320tries: 10
7316 frames decoded (0:03:11.1), +0.0 dB peak amplitude, 6 clipped samples
Please press Enter to activate this console.sh table entries: 4096 (order: 3, 32768 byte
[root@FriendlyARM /]# clear0 overruns:0 carrier:0in/fr
[root@FriendlyARM /]#
col
VFS: Mounted
4 Fri Sep 12 02:09:10 CST 2008
lo
<6>y
MMU table base address = 0x33DFC000ock2":12:59 +0000] boa: server buil
Succeed memory mapping.
DIVN_UPLL0
MPLLVal [M:7fh,P:2h,S:1h]
<4>yaffs: Att
CLKDIVN:5h mount on
+---------------------------------------------+
[08/Sep/2008:05:12:5
| S3C2440A USB Downloader ver R0.03 2004 Jan |tem).rt 80 TX packets:0 errors:0 dropped:0
+---------------------------------------------+
<6>Mounted devfs
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3enable_irq(51) u
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
TOC {col f
d
<7>selected clock c02de4a8
NOTE: Power off/on or press the reset button for 1 sec
Uncompressing Linux.............................................................
console input mixer
............................................ done, booting the kernel.
collisions:0 txqueuelen:1000255 Mask:255.255.255.0dateded
Linux version 2.6.13 (root@capcross) (gcc version 3.4.1) #19 Sun Sep 7 23:05:51 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) vcc
CST 2008
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)a300 nbd rd tty v
Machine: QQ2440
ATAG_INITRD is deprecated; please update your bootloader. Link encap:Local Loopback
Memory policy: ECC disabled, Data cache writeback1 Ma.
CPU S3C2440A (id 0x32440001)es:0 (0.0 B)deo07316 frames
BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space
CPU0: D VIVT write-back cache No such
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets:255.255.255.0dlyARM /dev]# dmesg
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets version 2.6.13
UP BROADCAST RUNNI
Built 1 zonelists1500 Metric:1
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
<4>CPU0
[root@FriendlyARM /dev]# clearute: SIOC[ADD|DEL]RT: Fi
irq: clearing subpending status 00000002
<4>C
PID hash table entries: 512 (order: 9, 8192 bytes)
[root@Friend
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00
GPIO L3 bus interface for S3C2440, installed0200,00000000, usec 00001e57004 Simtec Elect
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling60 errors
<4>Console
leds initializedvice 80x30q 33
buttons initialized
qq2440_pwm initializede4a8 (pclk) quot 26, c
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
<4>DMA channel 2 at c4800080, ir
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440384 (order: 4, 65536 bytes)0c0, irq 36
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440] Print the TOC struc
<4>NetWinder
io scheduler noop registerede-cache hash table entries:
io scheduler anticipatory registeredlash to HOST through U
io scheduler deadline registered
io scheduler cfq registered04-01-31
DM9000 ethernet driver V1.26 I/O: c481a300, VID: 90000a46
<4>buttons init
<5>SCSI subsystem init
Linux video capture interface: v1.00
ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driverl0 at MMIO 0x50000000 (irq = 70) is a
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2S3C2410 DMA Driver, (c) 2003-2004 Simtec Electron
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
<6>devfs: 2004-01-31 Richard Gooch (rgooch@atnf.cs
S3C24XX NAND Driver, (c) 2004 Simtec Electronicsrs:0
s3c2440-nand: mapped registers at c4880000
<4>RAMDIS
Scanning device for bad blocks
<4>DM9000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
<6>S3C24X0 fb0: s3c2410
0x00000000-0x00030000 : "bootloader"e
0x00050000-0x00250000 : "kernel"ux video capture interface: v1.0
0x00250000-0x03ffc000 : "root"
<4
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
<6>s3c2440-nand: mapped reg
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1 scheduler noop registered2554 (276
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
<7>i2c-core: drive
usbcore: registered new driver ov511
<5>0x000
drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driverform Multi-Platform E-IDE driver Revision: 7.00alpha2250000 : "kernel"
usbcore: registered new driver gspca
drivers/usb/media/gspca/gspca_core.c: gspca dri
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10 (c) 20
<7>re
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
<6>s3c2440-nand: timing: Tacls 9ns, Twrph0 39ns, Tw
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
<6>Initializing USB Mass St
s3c2410-sdi s3c2410-sdi: powered down.
<7>s3c2440-na
s3c2410-sdi s3c2410-sdi: initialisation done.
<6>usbcore: registered new dr
SBC2440 SOUND driver registeralising set 0 (c0516400, info
s3c2410-sdi s3c2410-sdi: running at 0kHz (requested: 0kHz).
<6>USB Mass Storage support regis
SBC2440 SOUND driver probe!
SBC2440 UDA1341 audio d
<6>Scanning device for bad blocksUSB: IN_E
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<6>s3c
s3c2410-sdi s3c2410-sdi: s3cmci_request: no cardpca driver 00.60.00 registere
s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<6>s3c2410-ohci s3c2410-ohci: n
s3c2410-sdi s3c2410-sdi: s3cmci_request: no ca
<6>hub 1-0:1.0: 2 ports detected6>s3c2410 TouchScreen s
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<6>Initializing USB Mass Storage driver...
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)nux..
<6>usbcore: regist
TCP: Hash tables configured (established 4096 bind 4096)
<6>drive
TCP reno registered: v1.64 for Linux 2
TCP bic registeredra Drivers3c2440-i
NET: Registered protocol family 10T MTU:1500 Metric:1is depreca
NET: Registered protocol family 17
yaffs: dev is 32505858 name is "mtdblock2"
<6>d
yaffs: Attempting MTD mount on 31.2,
[08/Sep/2008:05:30:07 +0000] boa: server version Boa/0.94.13
<6>s3c2410 TouchScreen success
[08/Sep/2008:05:30:07 +0000] boa: server built Feb 28 2004 at 21:47:23.
<6>s3c2410-sdi s
<6>i2
[08/Sep/2008:05:30:07 +0000] boa: starting server pid=271, port 80
<7>i2c-core: driver dev_driver registered.
enable_irq(51) unbalanced from c0173b504>SBC2440 SOUND driver probe
MPEG Audio Decoder 0.15.0 (beta) - Copyright (C) 2000-2003 Robert Leslie et al.r initializedec Electronics
Title: 上海滩
iShow - A Picture Viewer by FriendlyARM.
/media/note.jpg
240 x 320