summaryrefslogtreecommitdiff
path: root/package/u-boot-xtensa/files/uboot_set_env
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-27 14:55:21 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-27 14:55:31 -0500
commit4e1f91b02ac6acd7fe077599d3ba719260ad4aba (patch)
treecb1a5db517e33853766df221932add0b56b40589 /package/u-boot-xtensa/files/uboot_set_env
parent8e28bf47d341336163eb549bc56a07fe1eea73d5 (diff)
we need another u-boot variant for xtensa :(
Diffstat (limited to 'package/u-boot-xtensa/files/uboot_set_env')
-rwxr-xr-xpackage/u-boot-xtensa/files/uboot_set_env5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/u-boot-xtensa/files/uboot_set_env b/package/u-boot-xtensa/files/uboot_set_env
new file mode 100755
index 000000000..7b5a33ccc
--- /dev/null
+++ b/package/u-boot-xtensa/files/uboot_set_env
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mount /dev/mmcblk0p1 /mnt
+fw_setenv "$@"
+umount /mnt