|
@@ -116,7 +116,7 @@ Bus 002 Device 010: ID 0b95:7720 ASIX Electronics Corp. AX88772
|
|
If you look at drivers/usb/eth/asix.c you will see this line within the
|
|
If you look at drivers/usb/eth/asix.c you will see this line within the
|
|
supported device list, so we know this adapter is supported.
|
|
supported device list, so we know this adapter is supported.
|
|
|
|
|
|
- { 0x0b95, 0x7720 }, /* Trendnet TU2-ET100 V3.0R */
|
|
|
|
|
|
+ { 0x0b95, 0x7720 }, /* Trendnet TU2-ET100 V3.0R */
|
|
|
|
|
|
If your adapter is not listed there is a still a chance that it will
|
|
If your adapter is not listed there is a still a chance that it will
|
|
work. Try looking up the manufacturer of the chip inside your adapter.
|
|
work. Try looking up the manufacturer of the chip inside your adapter.
|
|
@@ -144,8 +144,8 @@ To enable USB Host Ethernet in U-Boot, your platform must of course
|
|
support USB with CONFIG_CMD_USB enabled and working. You will need to
|
|
support USB with CONFIG_CMD_USB enabled and working. You will need to
|
|
add some config settings to your board header file:
|
|
add some config settings to your board header file:
|
|
|
|
|
|
-#define CONFIG_USB_HOST_ETHER /* Enable USB Ethernet adapters */
|
|
|
|
-#define CONFIG_USB_ETHER_ASIX /* Asix, or whatever driver(s) you want */
|
|
|
|
|
|
+#define CONFIG_USB_HOST_ETHER /* Enable USB Ethernet adapters */
|
|
|
|
+#define CONFIG_USB_ETHER_ASIX /* Asix, or whatever driver(s) you want */
|
|
|
|
|
|
As with built-in networking, you will also want to enable some network
|
|
As with built-in networking, you will also want to enable some network
|
|
commands, for example:
|
|
commands, for example:
|
|
@@ -168,9 +168,9 @@ You can also set the default IP address of your board and the server
|
|
as well as the default file to load when a 'bootp' command is issued.
|
|
as well as the default file to load when a 'bootp' command is issued.
|
|
All of these can be obtained from the bootp server if not set.
|
|
All of these can be obtained from the bootp server if not set.
|
|
|
|
|
|
-#define CONFIG_IPADDR 10.0.0.2 (replace with your value)
|
|
|
|
-#define CONFIG_SERVERIP 10.0.0.1 (replace with your value)
|
|
|
|
-#define CONFIG_BOOTFILE uImage
|
|
|
|
|
|
+#define CONFIG_IPADDR 10.0.0.2 (replace with your value)
|
|
|
|
+#define CONFIG_SERVERIP 10.0.0.1 (replace with your value)
|
|
|
|
+#define CONFIG_BOOTFILE uImage
|
|
|
|
|
|
|
|
|
|
The 'usb start' command should identify the adapter something like this:
|
|
The 'usb start' command should identify the adapter something like this:
|
|
@@ -200,9 +200,9 @@ TFTP from server 172.22.72.144; our IP address is 172.22.73.81
|
|
Filename '/tftpboot/uImage-sjg-seaboard-261347'.
|
|
Filename '/tftpboot/uImage-sjg-seaboard-261347'.
|
|
Load address: 0x40c000
|
|
Load address: 0x40c000
|
|
Loading: #################################################################
|
|
Loading: #################################################################
|
|
- #################################################################
|
|
|
|
- #################################################################
|
|
|
|
- ################################################
|
|
|
|
|
|
+ #################################################################
|
|
|
|
+ #################################################################
|
|
|
|
+ ################################################
|
|
done
|
|
done
|
|
Bytes transferred = 3557464 (364858 hex)
|
|
Bytes transferred = 3557464 (364858 hex)
|
|
CrOS>
|
|
CrOS>
|