summaryrefslogtreecommitdiff
path: root/recipes-images/images/files/library/fwd_eth.scr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-images/images/files/library/fwd_eth.scr')
-rw-r--r--recipes-images/images/files/library/fwd_eth.scr6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-images/images/files/library/fwd_eth.scr b/recipes-images/images/files/library/fwd_eth.scr
new file mode 100644
index 0000000..d7ea35c
--- /dev/null
+++ b/recipes-images/images/files/library/fwd_eth.scr
@@ -0,0 +1,6 @@
+#the update.sh script renames this. fwd_eth.scr -> ../flash_eth.img
+test -z "${board_name}" && test "${soc}" = "vf500" && setenv board_name colibri_vf
+test -z "${board_name}" && test "${soc}" = "vf610" && setenv board_name colibri_vf
+
+test -n ${board_name} || echo "board_name env not set!" && exit
+tftpboot ${loadaddr} "${board_name}/flash_eth.img" && source ${loadaddr}