diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-03-04 22:03:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-03-04 22:03:40 +0100 |
commit | a2c7fc5c3bf86996e9c30ce2a692dbf7a65d60de (patch) | |
tree | a0b6522f136e050ae50c304d7ed2a37982664abb /package/u-boot/files | |
parent | 1b8b4b1839bb012877b8e98cc8932b4cf0349440 (diff) | |
parent | f8a2963c529bd811e49693a0eaf3b1f19e90f1be (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/u-boot/files')
-rw-r--r-- | package/u-boot/files/fw_env.config | 1 | ||||
-rwxr-xr-x | package/u-boot/files/uboot_print_env | 5 | ||||
-rwxr-xr-x | package/u-boot/files/uboot_set_env | 5 |
3 files changed, 11 insertions, 0 deletions
diff --git a/package/u-boot/files/fw_env.config b/package/u-boot/files/fw_env.config new file mode 100644 index 000000000..5571d60e0 --- /dev/null +++ b/package/u-boot/files/fw_env.config @@ -0,0 +1 @@ +/mnt/uboot.env 0x0000 0x4000 diff --git a/package/u-boot/files/uboot_print_env b/package/u-boot/files/uboot_print_env new file mode 100755 index 000000000..7231e1a47 --- /dev/null +++ b/package/u-boot/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/files/uboot_set_env b/package/u-boot/files/uboot_set_env new file mode 100755 index 000000000..7b5a33ccc --- /dev/null +++ b/package/u-boot/files/uboot_set_env @@ -0,0 +1,5 @@ +#!/bin/sh + +mount /dev/mmcblk0p1 /mnt +fw_setenv "$@" +umount /mnt |