summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-10-28 15:27:39 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-11-23 19:59:12 +0100
commit4a7563fb02c2bbec576fdd8d5d7ba8fb3944de0a (patch)
tree92981cc4523c8e025a50b0cf493712df811391f9 /recipes-bsp
parentab1ac071a5d27a2b846a72a3d04edfc42ffeb7b3 (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> (cherry picked from commit 60b17ba382a31e742d742b28269b47c24d3acc08)
Diffstat (limited to 'recipes-bsp')
-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