diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-03-04 11:02:55 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-03-04 11:02:55 +0100 |
commit | b3df07cfdadb5c6c1e3d8a998d7417ff53f1a3f2 (patch) | |
tree | a3968b253a3841542e1ad1ebccb62d4cf2ca86ea /package/u-boot/files | |
parent | 48c91aa8ebfa525372d9511952c9c9d8eed04b47 (diff) |
add u-boot patches and wrapper scripts
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 |