summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-10-28 15:27:39 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-10-28 15:27:39 +0200
commit60b17ba382a31e742d742b28269b47c24d3acc08 (patch)
tree5c3b503a782504d69a96a4788b9a32682c5244ea
parentd449620d1ac753742c466cce7df2f787395121ca (diff)
u-boot: boot.cmd: add common variables description
The script uses global variable in tftp and dhcp mode. Add a description of these variables. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in b/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
index 022713a..52bb845 100644
--- a/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
+++ b/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
@@ -19,6 +19,11 @@
# boot_part = distro_bootpart
# root_part = 2
#
+# Common variables used in tftp/dhcp modes:
+# - Static/dynamic IP mode: ip_dyn := {yes, no}
+# - Static IP-address of TFTP/NFS server: serverip := {legal IPv4 address}
+# - Static IP-address of the module: ipaddr := {legal IPv4 address}
+#
# TODO:
# - support NFS in root_devtype