summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/u-boot/files/fw_env.config4
-rw-r--r--recipes/base-files/base-files/apalis-t30/profile3
-rw-r--r--recipes/base-files/base-files/colibri-t30/profile3
3 files changed, 8 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/files/fw_env.config b/recipes-bsp/u-boot/files/fw_env.config
index c9b9f6a..e054ccb 100644
--- a/recipes-bsp/u-boot/files/fw_env.config
+++ b/recipes-bsp/u-boot/files/fw_env.config
@@ -7,8 +7,8 @@
# NOR example
# MTD device name Device offset Env. size Flash sector size Number of sectors
-/dev/mtd1 0x0000 0x4000 0x4000
-/dev/mtd2 0x0000 0x4000 0x4000
+#/dev/mtd1 0x0000 0x4000 0x4000
+#/dev/mtd2 0x0000 0x4000 0x4000
# MTD SPI-dataflash example
# MTD device name Device offset Env. size Flash sector size Number of sectors
diff --git a/recipes/base-files/base-files/apalis-t30/profile b/recipes/base-files/base-files/apalis-t30/profile
index c1ee240..8380341 100644
--- a/recipes/base-files/base-files/apalis-t30/profile
+++ b/recipes/base-files/base-files/apalis-t30/profile
@@ -29,6 +29,9 @@ fi
test -z "$DISPLAY" && DISPLAY=":0.0" # have the X display defined, unless it is already set, e.g. by a ssh connection
export DISPLAY
+# temporary workaround to 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; }
+
export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
umask 022
diff --git a/recipes/base-files/base-files/colibri-t30/profile b/recipes/base-files/base-files/colibri-t30/profile
index c1ee240..8380341 100644
--- a/recipes/base-files/base-files/colibri-t30/profile
+++ b/recipes/base-files/base-files/colibri-t30/profile
@@ -29,6 +29,9 @@ fi
test -z "$DISPLAY" && DISPLAY=":0.0" # have the X display defined, unless it is already set, e.g. by a ssh connection
export DISPLAY
+# temporary workaround to 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; }
+
export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
umask 022