X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2FREADME.update;h=eab124ce1d920e27aa0d7ef67e36d3cd8b7e6194;hb=a4092dbd81ad8bcd7d405304f579b0b5b0c402ce;hp=a4760025bff0d84f7971f8b6c4edb36ae1d0482b;hpb=f61f1e150c84f5b9347fca79a4bc5f2286c545d2;p=u-boot diff --git a/doc/README.update b/doc/README.update index a4760025bf..eab124ce1d 100644 --- a/doc/README.update +++ b/doc/README.update @@ -39,11 +39,11 @@ The auto-update feature uses the following configuration knobs: These knobs control the timeouts during initial connection to the TFTP server. Since a transfer is attempted during each boot, it is undesirable to have a long delay when a TFTP server is not present. - CONFIG_UPDATE_TFTP_MSEC_MAX specifies the number of seconds to wait for the - server to respond to initial connection, and CONFIG_UPDATE_TFTP_CNT_MAX + CONFIG_UPDATE_TFTP_MSEC_MAX specifies the number of milliseconds to wait for + the server to respond to initial connection, and CONFIG_UPDATE_TFTP_CNT_MAX gives the number of such connection retries. CONFIG_UPDATE_TFTP_CNT_MAX must be non-negative and is 0 by default, CONFIG_UPDATE_TFTP_MSEC_MAX must be - positive and is 1 by default. + positive and is 100 by default. Since the update file is in FIT format, it is created from an *.its file using the mkimage tool. dtc tool with support for binary includes, e.g. in version @@ -51,6 +51,11 @@ the mkimage tool. dtc tool with support for binary includes, e.g. in version to be prepared. Refer to the doc/uImage.FIT/ directory for more details on FIT images. +This mechanism can be also triggered by the commmand "fitupd". +If an optional, non-zero address is provided as argument, the TFTP transfer +is skipped and the image at this address is used. +The fitupd command is enabled by CONFIG_CMD_FITUPD. + Example .its files ------------------ @@ -88,3 +93,10 @@ Example .its files An example containing three updates. It can be used to update Linux kernel, ramdisk and FDT blob stored in Flash. The procedure for preparing the update file is similar to the example above. + +TFTP update via DFU +------------------- + +- It is now possible to update firmware (bootloader, kernel, rootfs, etc.) via + TFTP by using DFU (Device Firmware Upgrade). More information can be found in + ./doc/README.dfutftp documentation entry.