summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-05-17 11:19:07 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-05-17 21:19:31 +0300
commitdedbd79c9e960f57fde9f12b2cf090dc546c36a7 (patch)
treebf92aee9ebc8ae34ad07879ebec85642a3f29abf
parent3e31ffee95704c1e23f0c109f6b0809e88bc4a39 (diff)
configs: arm32: add default value of rootpath
Variable rootpath is used by distroboot script as a default path to a rootfs on an NFS server. Set this variable properly for all aarch32 modules, which support a Distro Boot. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--include/configs/apalis-tk1.h1
-rw-r--r--include/configs/apalis_imx6.h1
-rw-r--r--include/configs/colibri-imx6ull.h1
-rw-r--r--include/configs/colibri_imx6.h1
-rw-r--r--include/configs/colibri_imx7.h1
5 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
index e8889dbb1c..848a5aa566 100644
--- a/include/configs/apalis-tk1.h
+++ b/include/configs/apalis-tk1.h
@@ -53,6 +53,7 @@
#define CONFIG_NETMASK 255.255.255.0
#undef CONFIG_SERVERIP
#define CONFIG_SERVERIP 192.168.10.1
+#define CONFIG_ROOTPATH "/srv/nfs"
#define DFU_ALT_EMMC_INFO "apalis-tk1.img raw 0x0 0x500 mmcpart 1; " \
"boot part 0 1 mmcpart 0; " \
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index 1a11231ea2..0cbab6de76 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -88,6 +88,7 @@
#define CONFIG_NETMASK 255.255.255.0
#undef CONFIG_SERVERIP
#define CONFIG_SERVERIP 192.168.10.1
+#define CONFIG_ROOTPATH "/srv/nfs"
#define CONFIG_LOADADDR 0x12000000
diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h
index 6e89694016..bb52578abd 100644
--- a/include/configs/colibri-imx6ull.h
+++ b/include/configs/colibri-imx6ull.h
@@ -34,6 +34,7 @@
#define CONFIG_IPADDR 192.168.10.2
#define CONFIG_NETMASK 255.255.255.0
#define CONFIG_SERVERIP 192.168.10.1
+#define CONFIG_ROOTPATH "/srv/nfs"
#define MEM_LAYOUT_ENV_SETTINGS \
"bootm_size=0x10000000\0" \
diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index 5b215040ea..6a8633c1bc 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -76,6 +76,7 @@
#define CONFIG_NETMASK 255.255.255.0
#undef CONFIG_SERVERIP
#define CONFIG_SERVERIP 192.168.10.1
+#define CONFIG_ROOTPATH "/srv/nfs"
#define CONFIG_LOADADDR 0x12000000
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index c30fb0c4dc..9ca57c9a6f 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -31,6 +31,7 @@
#define CONFIG_IPADDR 192.168.10.2
#define CONFIG_NETMASK 255.255.255.0
#define CONFIG_SERVERIP 192.168.10.1
+#define CONFIG_ROOTPATH "/srv/nfs"
#if defined(CONFIG_TARGET_COLIBRI_IMX7_EMMC)
#define UBOOT_UPDATE \