summaryrefslogtreecommitdiff
path: root/recipes/base-files/base-files/tegra3/fw_unlock_mmc.sh
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-06-16 11:30:17 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-06-16 15:29:51 +0200
commit2e1d9857985483788710913c8749f5d6bdc28826 (patch)
treebc2bcb4e12b57a6ac2098cdd7e229c2624168dab /recipes/base-files/base-files/tegra3/fw_unlock_mmc.sh
parentae568dc9b001306a0723daccf3ea7912d94438ee (diff)
base-files/u-boot-toradex-fw-utils: move MMC unlock
The mmc unlock function causes troubles when using Poky reference distribution since Poky uses the busybox shell: /etc/rc5.d/S09xserver-nodm: /etc/profile.d/fw_unlock_mmc.sh: line 2: syntax error: unexpected "(" This avoids X getting at all. This patch does not solve the underlying problem, but works around it by moving the script to the u-boot-toradex-fw-utils recipe, which is not installed by the Poky images by default.
Diffstat (limited to 'recipes/base-files/base-files/tegra3/fw_unlock_mmc.sh')
-rw-r--r--recipes/base-files/base-files/tegra3/fw_unlock_mmc.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/recipes/base-files/base-files/tegra3/fw_unlock_mmc.sh b/recipes/base-files/base-files/tegra3/fw_unlock_mmc.sh
deleted file mode 100644
index 8982640..0000000
--- a/recipes/base-files/base-files/tegra3/fw_unlock_mmc.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-# Give fw_setenv mmcblk0boot1 write permissions
-function fw_setenv() {
- echo 0 > /sys/block/mmcblk0boot1/force_ro
- /sbin/fw_setenv "$@"
- echo 1 > /sys/block/mmcblk0boot1/force_ro
-}