From patchwork Fri Aug 4 22:35:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 798112 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="YmFfL0n+"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xPN2n3NWjz9s7m for ; Sat, 5 Aug 2017 09:11:13 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3A3A9C21F8F; Fri, 4 Aug 2017 22:51:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C9766C21FEC; Fri, 4 Aug 2017 22:36:56 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2F3B6C21FEA; Fri, 4 Aug 2017 22:36:42 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by lists.denx.de (Postfix) with ESMTPS id 62D4EC21FBF for ; Fri, 4 Aug 2017 22:36:30 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id g131so26851493oic.3 for ; Fri, 04 Aug 2017 15:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=HoMc7p/yYb7KthTNbDdc5wxe9WBdgzNGw7cTlzQJD3U=; b=YmFfL0n+dwdvQNxQVspIbRBuIP0lisTPw4kpcq0GY3UGh5Ybd1DFCBBwUpLS0PPsP5 lymTbpC2OXb2MRb0HbirVcY9ZUGyK3T9deQQj29GY3F/HOA2LbpwbGurpxhGgMEaNxiS ISR9rKNUJ44VF0ocXkwlG8etYe4gi9mtnD0MHobNX7h0/FTeCQsZvXDwKtJ4iI3H4LtG 9Hjtz304HibatKqLSgrG9oRZT49KuqnGHACibz+JwlwINgiRbJmNuQCYa2NxjBrQKBxn j0jPb6UNkhtwwYwmrf/Nj/vpsz6jAB7ycrVybZIiTUR6NFpS3t0ySje/zeN/fTnmABcI PVAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=HoMc7p/yYb7KthTNbDdc5wxe9WBdgzNGw7cTlzQJD3U=; b=jZJYRWVZofLS8DabyP1xt0+GM0WC/+EzhGiHXxyMMVlgDCCa/kt7FheToxdlXGOoV/ siDvQ5s36n9EdKAcGxpVNEOG9tG/6YmxXQzVH4xEk53AmheGcuPb9STxwd+xmRO6cjd2 QRLAfKyW4JX4kRKUx3rkHnruhqmRwe2sIKVZYpiSVshm+rg8PqtZZxEfPimM0ntQruId 6nYrcWAyIZzddQQWVOtRfjP1hA5r5O1RIiV6yCwou8ZD+qjNuU04ODwpNOhRGf0SGn3L Sjn8xJzlO6XtXwjvrKoPoHzCISdqCX2YaLnKaw9Zti5piYYChm9jh2SR8pCLvXfDtz6O n7sw== X-Gm-Message-State: AHYfb5gCowxCdUM0Xwdc9qL5ipjK2WFtmmJTTHTQE7Pbn/CqNSWyJcql VdB5nhsy9MjtUNrd X-Received: by 10.202.181.138 with SMTP id e132mr3101475oif.8.1501886188929; Fri, 04 Aug 2017 15:36:28 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([100.101.164.89]) by smtp.gmail.com with ESMTPSA id 82sm3223193oib.57.2017.08.04.15.36.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 15:36:28 -0700 (PDT) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id C393C1407B8; Fri, 4 Aug 2017 16:36:27 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 4 Aug 2017 16:35:06 -0600 Message-Id: <20170804223506.105306-43-sjg@chromium.org> X-Mailer: git-send-email 2.14.0.rc1.383.gd1ce394fe2-goog In-Reply-To: <20170804223506.105306-1-sjg@chromium.org> References: <20170804223506.105306-1-sjg@chromium.org> Cc: Stefan Roese , Tom Rini Subject: [U-Boot] [PATCH v2 42/42] README: Drop information about commands X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Most of this is duplicated in Kconfig help. Add some of that which is not, and remove the help from the README. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- Changes in v2: - Drop patch to convert CONFIG_CMD_MTDPARTS to Kconfig (already done) README | 116 +-------------------------------------------------- cmd/Kconfig | 4 +- cmd/fastboot/Kconfig | 2 + 3 files changed, 6 insertions(+), 116 deletions(-) diff --git a/README b/README index 21639fdd3b..99a0a41c47 100644 --- a/README +++ b/README @@ -756,93 +756,6 @@ The following options need to be configured: Select one of the baudrates listed in CONFIG_SYS_BAUDRATE_TABLE, see below. -- Monitor Functions: - The default command configuration includes all commands - except those marked below with a "*". - - CONFIG_CMD_AES AES 128 CBC encrypt/decrypt - CONFIG_CMD_ASKENV * ask for env variable - CONFIG_CMD_BDI bdinfo - CONFIG_CMD_BOOTD bootd - CONFIG_CMD_BOOTI * ARM64 Linux kernel Image support - CONFIG_CMD_CACHE * icache, dcache - CONFIG_CMD_CONSOLE coninfo - CONFIG_CMD_DHCP * DHCP support - CONFIG_CMD_DIAG * Diagnostics - CONFIG_CMD_ECHO echo arguments - CONFIG_CMD_EDITENV edit env variable - CONFIG_CMD_ELF * bootelf, bootvx - CONFIG_CMD_ENV_EXISTS * check existence of env variable - CONFIG_CMD_EXPORTENV * export the environment - CONFIG_CMD_EXT2 * ext2 command support - CONFIG_CMD_EXT4 * ext4 command support - CONFIG_CMD_FS_GENERIC * filesystem commands (e.g. load, ls) - that work for multiple fs types - CONFIG_CMD_FS_UUID * Look up a filesystem UUID - CONFIG_CMD_SAVEENV saveenv - CONFIG_CMD_FLASH flinfo, erase, protect - CONFIG_CMD_FPGA FPGA device initialization support - CONFIG_CMD_GO * the 'go' command (exec code) - CONFIG_CMD_GREPENV * search environment - CONFIG_CMD_I2C * I2C serial bus support - CONFIG_CMD_IMI iminfo - CONFIG_CMD_IMLS List all images found in NOR flash - CONFIG_CMD_IMLS_NAND * List all images found in NAND flash - CONFIG_CMD_IMPORTENV * import an environment - CONFIG_CMD_INI * import data from an ini file into the env - CONFIG_CMD_ITEST Integer/string test of 2 values - CONFIG_CMD_LDRINFO * ldrinfo (display Blackfin loader) - CONFIG_CMD_LINK_LOCAL * link-local IP address auto-configuration - (169.254.*.*) - CONFIG_CMD_LOADB loadb - CONFIG_CMD_LOADS loads - CONFIG_CMD_MD5SUM * print md5 message digest - (requires CONFIG_CMD_MEMORY and CONFIG_MD5) - CONFIG_CMD_MEMINFO * Display detailed memory information - CONFIG_CMD_MEMORY md, mm, nm, mw, cp, cmp, crc, base, - loop, loopw - CONFIG_CMD_MEMTEST * mtest - CONFIG_CMD_MISC Misc functions like sleep etc - CONFIG_CMD_MMC * MMC memory mapped support - CONFIG_CMD_MII * MII utility commands - CONFIG_CMD_NET bootp, tftpboot, rarpboot - CONFIG_CMD_NFS NFS support - CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network - host - CONFIG_CMD_RUN run command in env variable - CONFIG_CMD_SF * Read/write/erase SPI NOR flash - CONFIG_CMD_SOFTSWITCH * Soft switch setting command for BF60x - CONFIG_CMD_SOURCE "source" command Support - CONFIG_CMD_SPI * SPI serial bus support - CONFIG_CMD_TFTPSRV * TFTP transfer in server mode - CONFIG_CMD_TFTPPUT * TFTP put command (upload) - CONFIG_CMD_TIME * run command and report execution time (ARM specific) - CONFIG_CMD_TIMER * access to the system tick timer - CONFIG_CMD_USB * USB support - CONFIG_CMD_CDP * Cisco Discover Protocol support - CONFIG_CMD_XIMG Load part of Multi Image - - EXAMPLE: If you want all functions except of network - support you can write: - - #include "config_cmd_all.h" - #undef CONFIG_CMD_NET - - Other Commands: - fdt (flattened device tree) command: CONFIG_OF_LIBFDT - - Note: Don't enable the "icache" and "dcache" commands - (configuration option CONFIG_CMD_CACHE) unless you know - what you (and your U-Boot users) are doing. Data - cache cannot be enabled on systems like the - 8xx (where accesses to the IMMR region must be - uncached), and it cannot be disabled on all other - systems where we (mis-) use the data cache to hold an - initial stack and some data. - - - XXX - this list needs to get updated! - - Removal of commands If no commands are needed to boot, you can disable CONFIG_CMDLINE to remove them. In this case, the command line @@ -1044,10 +957,6 @@ The following options need to be configured: Allow generic access to the SPI bus on the Intel 8257x, for example with the "sspi" command. - CONFIG_CMD_E1000 - Management command for E1000 devices. When used on devices - with SPI support you can reprogram the EEPROM from U-Boot. - CONFIG_EEPRO100 Support for Intel 82557/82559/82559ER chips. Optional CONFIG_EEPRO100_SROM_WRITE enables EEPROM @@ -1182,11 +1091,6 @@ The following options need to be configured: to. Contemporary x86 systems usually map it at 0xfed40000. - CONFIG_CMD_TPM - Add tpm monitor functions. - Requires CONFIG_TPM. If CONFIG_TPM_AUTH_SESSIONS is set, also - provides monitor access to authorized functions. - CONFIG_TPM Define this to enable the TPM support library which provides functional interfaces to some TPM commands. @@ -1314,12 +1218,6 @@ The following options need to be configured: CONFIG_USB_FUNCTION_DFU This enables the USB portion of the DFU USB class - CONFIG_CMD_DFU - This enables the command "dfu" which is used to have - U-Boot create a DFU class device via USB. This command - requires that the "dfu_alt_info" environment variable be - set and define the alt settings to expose to the host. - CONFIG_DFU_MMC This enables support for exposing (e)MMC devices via DFU. @@ -1359,13 +1257,6 @@ The following options need to be configured: CONFIG_USB_FUNCTION_FASTBOOT This enables the USB part of the fastboot gadget - CONFIG_CMD_FASTBOOT - This enables the command "fastboot" which enables the Android - fastboot mode for the platform's USB device. Fastboot is a USB - protocol for downloading images, flashing and device control - used on Android devices. - See doc/README.android-fastboot for more information. - CONFIG_ANDROID_BOOT_IMAGE This enables support for booting images which use the Android image format header. @@ -2476,12 +2367,7 @@ The following options need to be configured: commands cp, md... - Serial Flash support - CONFIG_CMD_SF - - Defining this option enables SPI flash commands - 'sf probe/read/write/erase/update'. - - Usage requires an initial 'probe' to define the serial + Usage requires an initial 'sf probe' to define the serial flash parameters, followed by read/write/erase/update commands. diff --git a/cmd/Kconfig b/cmd/Kconfig index 2c2669cdc3..c38a6b81f1 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -576,7 +576,9 @@ config CMD_DFU select USB_FUNCTION_DFU help Enables the command "dfu" which is used to have U-Boot create a DFU - class device via USB. + class device via USB. This command requires that the "dfu_alt_info" + environment variable be set and define the alt settings to expose to + the host. config CMD_DM bool "dm - Access to driver model information" diff --git a/cmd/fastboot/Kconfig b/cmd/fastboot/Kconfig index 89b9e73440..b84529a374 100644 --- a/cmd/fastboot/Kconfig +++ b/cmd/fastboot/Kconfig @@ -18,6 +18,8 @@ config CMD_FASTBOOT protocol for downloading images, flashing and device control used on Android devices. + See doc/README.android-fastboot for more information. + config ANDROID_BOOT_IMAGE bool "Enable support for Android Boot Images" help