summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2019-04-25 10:49:29 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-04-29 14:12:42 (GMT)
commitbe4fc9a771ec4bc3ee1070806d48fe861593b293 (patch)
tree5efc93f9e36fd4dd32a561d1bc52a4c7c59458d4
parentae1d6ef5f7ebf6d713d1d21cc152054f748cd8d6 (diff)
downloadmeta-phytec-be4fc9a771ec4bc3ee1070806d48fe861593b293.zip
meta-phytec-be4fc9a771ec4bc3ee1070806d48fe861593b293.tar.bz2
barebox: imx6ul: env: boot: net: Replace bootargs-ip by ip_route_get
bootargs-ip was replaced by the ip_route_get command in the barebox. So the network boot script needs to be adapted. Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-bsp/barebox/barebox_2019.01.0-phy2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb b/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
index ba33512..b70db94 100644
--- a/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
+++ b/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
@@ -86,7 +86,7 @@ if [ -f "${oftree}" ]; then
fi
nfsroot="/nfsroot/${global.hostname}"
-bootargs-ip
+ip_route_get -b ${global.net.server} global.linux.bootargs.dyn.ip
global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot,vers=3,udp"
""")
env_add(d, "boot/spi",