X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=doc%2FREADME.usb;h=65fb2886d9585b5ff69362650aa837bd3fa618a8;hb=be2a3bb39adf1fdd274fc427e30ef62eb86441a1;hp=a8a4058de122d6c068d9cb91b218bdc89919c0b8;hpb=98e99e5a48e8eb3987c89f5316929313601ed7d6;p=karo-tx-uboot.git diff --git a/doc/README.usb b/doc/README.usb index a8a4058de1..65fb2886d9 100644 --- a/doc/README.usb +++ b/doc/README.usb @@ -2,24 +2,7 @@ * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * + * SPDX-License-Identifier: GPL-2.0+ */ USB Support for PIP405 and MIP405 (UHCI) @@ -63,7 +46,7 @@ Common USB Commands: Storage USB Commands: - usb scan: scans the USB for storage devices.The USB must be running for this command (usb start) -- usb device [dev]: show or set current USB staorage device +- usb device [dev]: show or set current USB storage device - usb part [dev]: print partition table of one or all USB storage devices - usb read addr blk# cnt: @@ -116,7 +99,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 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 work. Try looking up the manufacturer of the chip inside your adapter. @@ -144,14 +127,13 @@ 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 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 commands, for example: #define CONFIG_CMD_NET -#define CONFIG_NET_MULTI #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP @@ -168,9 +150,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. 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: @@ -200,9 +182,9 @@ TFTP from server 172.22.72.144; our IP address is 172.22.73.81 Filename '/tftpboot/uImage-sjg-seaboard-261347'. Load address: 0x40c000 Loading: ################################################################# - ################################################################# - ################################################################# - ################################################ + ################################################################# + ################################################################# + ################################################ done Bytes transferred = 3557464 (364858 hex) CrOS>