|
我在Mandrave LE 2005下面设置tftp,按照说明上的:
9.3.1) Installing USB Ethernet on host,
# tar xzf usbhost.tgz
# cd usb
# make
# rmmod usbnet
# insmod usbdnet.o
NOTE: Remove kernel module "usbnet.o" before installing
kernel module "usbdnet.o".
9.3.2) Configuring USB Ethernet
EACH TIME after reseting the PXA255 development platform, you
will enter BLOB command line (by stopping the
autoboot progress).
Now configure the USB Ethernet.
- Reset USB
Unplug the USB cable, and plug-in again
- Configure USB Ethernet device on host
% ifconfig -a
You should find Ethernet interface named "usb0".
% ifconfig usb0 192.1.1.1
- Configure USB Ethernet device on the PXA255 development platform
BLOB has following default configuration,
* IP address : 192.1.1.2
* Default TFTP server : 192.1.1.1
If you want to change the configuration, use command "ifconfig" on the
BLOB command line. Note, the new configuration is not permanant before
BLOB because it doesn't have a flash area to store the configuration.
我找不到usbhost.tgz这个文件,但是usbdnet.o我下载下来了,可是insmod usbdnet.o的时候出现如下错误:insmod: error inserting 'usbdnet.o': -1 Invalid module format。
我想可能系统里面已经自带了这个文件,就直接设置。
用USB 线连接上开发板和我的本本,然后使用:modprobe usbnet,然后ifconfig -a,但是确没有发现新的USB 设备,即找不到USB0.
我的开发板在windows上可以发现新硬件,USB应该没有什么问题的。
请大家帮帮忙阿! |
|