阅读:3754回复:2
TL-WN321G在linux下的驱动谁编译成功过啊? |
|
沙发#
发布于:2007-01-05 11:51
|
|
板凳#
发布于:2007-01-05 11:54
下面是运行范例,用的正是TP-Link TL-WN321G的网卡.
<*************************************************************> YL-2440 Bootloader VER-2.0 CPU ID is 0x32440001 Found boot params FCLK=400MHz, HCLK=100MHz, PCLK=50MHz, CPU is running at 400MHz UPLL=96MHz, UCLK=48MHz Serial port 1, Baud rate is 115200. OS image stored in NAND Flash. Autoboot delay is 2 seconds. <*************************************************************> Check SST39VF160 Flash ID is 0xea000045 NOR Flash Man. ID is 0x90 Unsupported Flash Type! Fail to write camera IIC! DIVN_UPLL0 MPLLVal [M:5ch,P:1h,S:1h] CLKDIVN:dh +---------------------------------------------+ | S3C2440A USB Downloader ver R0.03 2004 Jan | +---------------------------------------------+ 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 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=ttyS1,115200 mem=65536K console=ttySAC1,115200 Load Kernel... Linux version 2.6.18sunxq (sunxq@localhost) (gcc version 3.4.6) #1 Fri Jan 5 10:49:22 CST 2007 CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177 Machine: YL-SBC2440 ATAG_INITRD is deprecated; please update your bootloader. Memory policy: ECC disabled, Data cache writeback CPU S3C2440A (id 0x32440001) S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 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: 16384 Kernel command line: root=/dev/mtdblock2 init=/linuxrc load_ramdisk=0 console=ttyS1,115200 mem=65536K console=ttySAC1,115200 irq: clearing pending ext status 0005e000 irq: clearing subpending status 00000092 PID hash table entries: 512 (order: 9, 2048 bytes) timer tcon=00590000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8 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: 64MB = 64MB total Memory: 61312KB available (2325K code, 1135K data, 108K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 S3C2440: Initialising architecture S3C2440: IRQ Support S3C2440: Clock Support, DVS off SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 3, 32768 bytes) TCP bind hash table entries: 1024 (order: 2, 20480 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered 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) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered (default) io scheduler cfq registered Console: switching to colour frame buffer device 30x40 fb0: s3c2410fb frame buffer device S3C2410 RTC, (c) 2004 Simtec Electronics S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled 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 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) netconsole: not configured, aborting Linux video capture interface: v2.00 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx SCSI Media Changer driver v0.25 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": 0x00000000-0x00030000 : "Boot Agent" 0x00030000-0x00200000 : "Kernel" 0x00200000-0x02000000 : "RootFileSystem" 0x02000000-0x04000000 : "ExtendFileSystem" s3c2410-ohci s3c2410-ohci: S3C24XX OHCI s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1 s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000 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... usb 1-1: new full speed USB device using s3c2410-ohci and address 2 usb 1-1: configuration #1 chosen from 1 choice usbcore: registered new driver usb-storage USB Mass Storage support registered. usbcore: registered new driver legousbtower drivers/usb/misc/legousbtower.c: LEGO USB Tower Driver v0.96 mice: PS/2 mouse device common for all mice ts: Compaq touchscreen protocol output i2c /dev entries driver s3c2440-i2c s3c2440-i2c: slave address 0x10 s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 VFS: Mounted root (cramfs filesystem) readonly. Freeing init memory: 108K rt73: no version for "struct_module" found: kernel tainted. rtusb init ====> idVendor = 0x148f, idProduct = 0x2573 usbcore: registered new driver rt73 Mounting /proc .....................Done. Mounting /sys ......................Done. Mounting /proc/bus/usb .............Done. Mounting /dev and start udev .......Done. Mount /var .........................Done. Try to bring lo interface up........Done. Try to bring rausb0 interface up..............rt73 driver version - 1.0.3.6 done. udhcpc (v1.2.2) started udhcpc[275]: udhcpc (v1.2.2) started Please press Enter to activate this console. Sending discover... udhcpc[275]: Sending discover... Starting telnetd daemon.............Done. Starting vsftpd daemon..............Done. Sending discover... udhcpc[275]: Sending discover... Sending discover... udhcpc[275]: Sending discover... Sending select for 192.168.32.145... udhcpc[275]: Sending select for 192.168.32.145... Lease of 192.168.32.145 obtained, lease time 2700 udhcpc[275]: Lease of 192.168.32.145 obtained, lease time 2700 deleting routers route: SIOC[ADD|DEL]RT: No such process adding dns 192.168.32.241 adding dns 202.96.128.68 sbc2440 login: root Password: Welcome to YL-SBC2440 Board. login[280]: root login on `console' [root@sbc2440 ~]# ifconfig 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: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) rausb0 Link encap:Ethernet HWaddr 00:14:78:71:4F:E4 inet addr:192.168.32.145 Bcast:192.168.35.255 Mask:255.255.252.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1661 errors:0 dropped:0 overruns:0 frame:0 TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:203616 (198.8 KiB) TX bytes:2666 (2.6 KiB) [root@sbc2440 ~]# |
|