• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : 2.4.7 如何通过网络远程控制显示USB 摄像头 求助 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
楼主  发表于: 2008-11-21 09:41

 2.4.7 如何通过网络远程控制显示USB 摄像头 求助

我是个超级菜鸟,问的问题可能很幼稚,请原谅。但可能也对其它初学者有帮助。

2.4.7 如何通过网络远程控制显示USB 摄像头
我完全是按手册上写的操作,可是就是ping不通

1.我用板子自带的网线直接将PC机的网口和板子的网口相连,这样对吗?
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
1楼  发表于: 2008-11-21 09:45
接上面

2.PC机的IP我设为 192.168.1.120  NETMASK为255.255.255.0
  板子的IP为默认的192.168.1.230
  双方互ping ,哪个也ping不通。怎么做?
3.根据说明书上写的,板子上的LED读数正常。
4.做这个实验和板子或PC机的MAC有关系吗?需要改吗?若是需要怎么改?
我试了好几天都没成功,所以才发到这样麻烦大家,请多多帮忙。
万分感谢。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2008-11-21 13:10
把板子的串口输出完整的贴出来,从上电开始,否则谁也帮不了你
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 1470
精华: 0
发帖: 48
金钱: 430 两
威望: 219 点
综合积分: 96 分
注册时间: 2008-09-01
最后登录: 2014-11-04
3楼  发表于: 2008-11-21 13:27
关掉防火墙试试。我遇到过瑞星防火墙开着PING不通。
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
4楼  发表于: 2008-11-25 08:33
一。
主机我设为
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.cs
DMA 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
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
5楼  发表于: 2008-11-25 11:56
请kasim帮忙解决下这个网络的问题吧,我从买板子到现在一周多了,一直调也没好用。难道我PC机那边有问题,需要什么特殊的设置吗?
我是根据上面的那种方法设置的。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
6楼  发表于: 2008-11-25 12:57
你的PC主机上有别的网卡也配了192.168.1.*这样的地址吗?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
7楼  发表于: 2008-11-25 13:07
没有,我就一个网卡,有两个虚拟的,操作时我还把它们关闭了,相当于就这一个网卡。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
8楼  发表于: 2008-11-25 13:12
再贴一下板子上运行dmesg以及ifconfig -a 和 cat /proc/net/dev 的输出吧,如果你是用超级终端的,记得用菜单上的“传输”->"获取文字", 把串口输出保存到文件里,否则又是一堆垃圾
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 2225
精华: 0
发帖: 23
金钱: 225 两
威望: 77 点
综合积分: 46 分
注册时间: 2008-11-04
最后登录: 2017-09-13
9楼  发表于: 2008-11-26 08:28
这是按您说的所有信息。还有PC机上有没有需要什么特别注意的地方也说一下吧,再次感谢版主。

dmesg
<5>Linux version 2.6.13 (root@capcross) (gcc version 3.4.1) #19 Sun Sep 7 23:05:51 CST 2008
<4>CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
<4>Machine: QQ2440
<7>Converting old-style param struct to taglist
<4>ATAG_INITRD is deprecated; please update your bootloader.
<4>Memory policy: ECC disabled, Data cache writeback
<4>CPU S3C2440A (id 0x32440001)
<4>BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space
<4>S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
<6>S3C2410 Clocks, (c) 2004 Simtec Electronics
<7>On node 0 totalpages: 16384
<7>  DMA zone: 16384 pages, LIFO batch:7
<7>  Normal zone: 0 pages, LIFO batch:1
<7>  HighMem zone: 0 pages, LIFO batch:1
<4>CPU0: D VIVT write-back cache
<4>CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
<4>CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
<4>Built 1 zonelists
<5>Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
<4>irq: clearing subpending status 00000002
<4>PID hash table entries: 512 (order: 9, 8192 bytes)
<4>timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
<4>Console: colour dummy device 80x30
<7>selected clock c02de4a8 (pclk) quot 26, calc 117187
<4>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 64MB = 64MB total
<5>Memory: 61056KB available (2532K code, 1034K data, 144K init)
<7>Calibrating delay loop... 202.34 BogoMIPS (lpj=505856)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>NET: Registered protocol family 16
<4>USB Power Control, (c) 2004 Simtec Electronics
<4>S3C2440: Initialising architecture
<4>S3C2440: IRQ Support
<4>S3C2440: Clock Support, UPLL 48.000 MHz
<5>SCSI subsystem initialized
<6>usbcore: registered new driver hub
<4>S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
<4>DMA channel 0 at c4800000, irq 33
<4>DMA channel 1 at c4800040, irq 34
<4>DMA channel 2 at c4800080, irq 35
<4>DMA channel 3 at c48000c0, irq 36
<4>NetWinder Floating Point Emulator V0.97 (double precision)
<6>devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
<6>devfs: boot_options: 0x1
<4>yaffs Sep  7 2008 23:01:44 Installing.
<6>Initializing Cryptographic API
<4>Console: switching to colour frame buffer device 30x20
<6>S3C24X0 fb0: s3c2410fb frame buffer device initialize done
<4>GPIO L3 bus interface for S3C2440, installed
<4>S3C2410 RTC, (c) 2004 Simtec Electronics
<6>s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
<4>leds initialized
<4>buttons initialized
<4>qq2440_pwm initialized
<4>s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
<4>s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
<4>s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
<6>io scheduler noop registered
<6>io scheduler anticipatory registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<4>RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
<6>loop: loaded (max 8 devices)
<6>nbd: registered device at major 43
<4>DM9000 ethernet driver V1.26 I/O: c481a300, VID: 90000a46
<6>Linux video capture interface: v1.00
<6>ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver
<7>i2c-core: driver ovcamchip registered.
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
<4>S3C24XX NAND Driver, (c) 2004 Simtec Electronics
<7>s3c2410_nand_probe(c02ab29c)
<6>s3c2440-nand: mapped registers at c4880000
<7>result 1 from 101250, 0
<7>result 4 from 101250, 30
<7>result 1 from 101250, 0
<6>s3c2440-nand: timing: Tacls 9ns, Twrph0 39ns, Twrph1 9ns
<7>s3c2440-nand: NF_CONF is 0x300
<7>initialising set 0 (c0516400, info c057b9e0)
<6>NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
<4>NAND_ECC_NONE selected by board driver. This is not recommended !!
<6>Scanning device for bad blocks
<5>Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
<5>0x00000000-0x00030000 : "bootloader"
<5>0x00050000-0x00250000 : "kernel"
<5>0x00250000-0x03ffc000 : "root"
<7>initialised ok
<6>s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
<6>s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
<6>s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new driver usbhid
<6>drivers/usb/input/hid-core.c: v2.01:USB HID core driver
<6>usbcore: registered new driver ov511
<6>drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
<6>usbcore: registered new driver gspca
<6>drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registered
<6>mice: PS/2 mouse device common for all mice
<6>ts: Compaq touchscreen protocol output
<7>Entering s3c2410ts_init
<7>got and enabled clock
<6>s3c2410 TouchScreen successfully loaded
<6>i2c /dev entries driver
<7>i2c-core: driver dev_driver registered.
<7>s3c2440-i2c s3c2440-i2c: clock source c02a9c68
<7>s3c2440-i2c s3c2440-i2c: registers c4b80000 (c053ce20, c02aad9c)
<6>s3c2440-i2c s3c2440-i2c: slave address 0x10
<7>s3c2440-i2c s3c2440-i2c: pdata c02f9000, freq 100000 0..400000
<6>s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
<7>s3c2440-i2c s3c2440-i2c: S3C2410_IICCON=0xe0
<7>s3c2440-i2c s3c2440-i2c: S3C2440_IICLC=00000005
<7>s3c2440-i2c s3c2440-i2c: irq resource c02aadb8 (43)
<7>i2c_adapter i2c-0: Registered as minor 0
<7>i2c_adapter i2c-0: registered as adapter #0
<6>s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
<6>s3c2410-sdi s3c2410-sdi: powered down.
<6>s3c2410-sdi s3c2410-sdi: initialisation done.
<4>SBC2440 SOUND driver register
<6>s3c2410-sdi s3c2410-sdi: running at 0kHz (requested: 0kHz).
<4>SBC2440 SOUND driver probe!
<4>SBC2440 UDA1341 audio driver initialized
<6>NET: Registered protocol family 2
<6>s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).
<3>s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<6>s3c2410-sdi s3c2410-sdi: running at 198kHz (requested: 197kHz).
<3>s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<3>s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<3>s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<3>s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<3>s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<3>s3c2410-sdi s3c2410-sdi: s3cmci_request: no card
<6>s3c2410-sdi s3c2410-sdi: powered down.
<4>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<4>TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<4>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP: Hash tables configured (established 4096 bind 4096)
<6>TCP reno registered
<6>TCP bic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<6>yaffs: dev is 32505858 name is "mtdblock2"
<4>yaffs: Attempting MTD mount on 31.2, "mtdblock2"
<4>VFS: Mounted root (yaffs filesystem).
<6>Mounted devfs on /dev
<6>Freeing init memory: 144K
<7>selected clock c02de4a8 (pclk) quot 26, calc 117187
<7>selected clock c02de4a8 (pclk) quot 26, calc 117187
<7>selected clock c02de4a8 (pclk) quot 26, calc 117187
<7>selected clock c02de4a8 (pclk) quot 26, calc 117187
<7>selected clock c02de4a8 (pclk) quot 26, calc 117187
<4>mini2440_backlight: module license 'unspecified' taints kernel.
<4>backlight initialized
<4>enable_irq(51) unbalanced from c0173b50
<7>selected clock c02de4a8 (pclk) quot 26, calc 117187

[root@FriendlyARM /]# ifconfig -a
dummy0    Link encap:Ethernet  HWaddr CA:35:D6:85:74:3C 
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:13:F6:6C:87:89 
          inet addr:192.168.1.230  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:51 Base address:0xa300

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18144 (17.7 KiB)  TX bytes:18144 (17.7 KiB)


[root@FriendlyARM /]# cat /proc/net/dev
Inter-|  Receive                                                |  Transmit
face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:  18144    162    0    0    0    0          0        0    18144    162    0    0    0    0      0          0
dummy0:      0      0    0    0    0    0          0        0        0      0    0    0    0    0      0          0
  eth0:      0      0    0    0    0    0          0        0        0    165    0    0    0    0      0          0
[root@FriendlyARM /]#
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go