summaryrefslogtreecommitdiffstats
path: root/defaultenv
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2018-11-30 16:05:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-04 08:59:47 +0100
commitf9628136214e3c8f8c74cf7b59cd37bf442521b4 (patch)
tree05b9e17588876b4dd67a25729ca81c9c56663e0a /defaultenv
parentb73db6d43b59c681ddc0faf6b7b9a961bf32e137 (diff)
downloadbarebox-f9628136214e3c8f8c74cf7b59cd37bf442521b4.tar.gz
defaultenv-2: add bnet script to second stage barebox over net
Doing cycling barebox boot over the net is a good testing practice. It is possible to detect at least some bugs before flushing it to the system. Suddenly it looks like, it is done not oft enough. So, let's add this option mainline. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r--defaultenv/defaultenv-2-base/boot/bnet7
1 files changed, 7 insertions, 0 deletions
diff --git a/defaultenv/defaultenv-2-base/boot/bnet b/defaultenv/defaultenv-2-base/boot/bnet
new file mode 100644
index 0000000..e378acd
--- /dev/null
+++ b/defaultenv/defaultenv-2-base/boot/bnet
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# script to boot barebox over tftp
+
+path="/mnt/tftp"
+
+global.bootm.image="${path}/${global.user}-barebox-${global.hostname}"