summaryrefslogtreecommitdiff
path: root/package/u-boot-git/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 13:42:00 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 13:42:21 -0500
commit8cbbd126e2608735bf50135b21778a21cc4c2dc9 (patch)
tree69f552de0879d4b0aca1424c75699c6d908100a0 /package/u-boot-git/files
parentb740a110d070e065a1129a9612f2b1d5ff77524f (diff)
add some basic banana pro support
Diffstat (limited to 'package/u-boot-git/files')
-rw-r--r--package/u-boot-git/files/fw_env.config1
-rwxr-xr-xpackage/u-boot-git/files/uboot_print_env5
-rwxr-xr-xpackage/u-boot-git/files/uboot_set_env5
3 files changed, 11 insertions, 0 deletions
diff --git a/package/u-boot-git/files/fw_env.config b/package/u-boot-git/files/fw_env.config
new file mode 100644
index 000000000..5571d60e0
--- /dev/null
+++ b/package/u-boot-git/files/fw_env.config
@@ -0,0 +1 @@
+/mnt/uboot.env 0x0000 0x4000
diff --git a/package/u-boot-git/files/uboot_print_env b/package/u-boot-git/files/uboot_print_env
new file mode 100755
index 000000000..7231e1a47
--- /dev/null
+++ b/package/u-boot-git/files/uboot_print_env
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mount -r /dev/mmcblk0p1 /mnt
+fw_printenv "$@"
+umount /mnt
diff --git a/package/u-boot-git/files/uboot_set_env b/package/u-boot-git/files/uboot_set_env
new file mode 100755
index 000000000..7b5a33ccc
--- /dev/null
+++ b/package/u-boot-git/files/uboot_set_env
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mount /dev/mmcblk0p1 /mnt
+fw_setenv "$@"
+umount /mnt