diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-01-26 11:10:12 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-28 21:01:23 -0700 |
commit | 3483b75d94716191b354d046b4ed3f322500a3ee (patch) | |
tree | 6978404ba1b3c484d875bbc64d8f34b1bf88319b /doc | |
parent | e578b92cdb378df0f09065e3222fe8620867a57a (diff) | |
download | u-boot-imx-3483b75d94716191b354d046b4ed3f322500a3ee.zip u-boot-imx-3483b75d94716191b354d046b4ed3f322500a3ee.tar.gz u-boot-imx-3483b75d94716191b354d046b4ed3f322500a3ee.tar.bz2 |
distro bootcmd: make net boot only optionally start USB
Currently, the distro boot commands always enumerate USB devices before
performing network operations. However, depending on the board and end-
user configuration, network devices may not be attached to USB, and so
enumerating USB may not be necessary. Enhance the scripts to make this
step optional, so that the user can decrease boot time if they don't
need USB.
This change is performed by moving the "usb start" invocation into a
standalone variable. If the user desires, they can replace that
variable's value with some no-op command such as "true" instead.
Booting from a USB storage device always needs to enumerate USB devices,
so this action is still hard-coded.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.distro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/README.distro b/doc/README.distro index 9e4722a..019903e 100644 --- a/doc/README.distro +++ b/doc/README.distro @@ -341,6 +341,13 @@ scan_dev_for_scripts: If you want to disable boot.scr on all disks, set the value to something innocuous, e.g. setenv scan_dev_for_scripts true. +boot_net_usb_start: + + If you want to prevent USB enumeration by distro boot commands which execute + network operations, set the value to something innocuous, e.g. setenv + boot_net_usb_start true. This would be useful if you know your Ethernet + device is not attached to USB, and you wish to increase boot speed by + avoiding unnecessary actions. Interactively booting from a specific device at the u-boot prompt ================================================================= |