summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-04-30 19:38:07 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-04-30 19:38:07 +0000
commit0b649fe3cb1e2ef58c93e1c94863b83e296b02e1 (patch)
tree7d489ce4780fed48c2f2c9127b3217c242ed159a
parent1929d2eb86422f049eec2ede0f175232d3b23719 (diff)
downloadmtk-20170518-0b649fe3cb1e2ef58c93e1c94863b83e296b02e1.zip
mtk-20170518-0b649fe3cb1e2ef58c93e1c94863b83e296b02e1.tar.gz
mtk-20170518-0b649fe3cb1e2ef58c93e1c94863b83e296b02e1.tar.bz2
use tmpfs instead ramfs, strange that i do not need to add any kernel option, it works out of the box, and dd if=/dev/zero of=test bs=1024k count=100 does not kill the box anymore
SVN-Revision: 770
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/mount_root2
-rw-r--r--openwrt/toolchain/binutils/Config.in1
-rw-r--r--openwrt/toolchain/gcc/Config.in6
3 files changed, 4 insertions, 5 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/mount_root b/openwrt/target/default/target_skeleton/sbin/mount_root
index 409fe38..5aec062 100755
--- a/openwrt/target/default/target_skeleton/sbin/mount_root
+++ b/openwrt/target/default/target_skeleton/sbin/mount_root
@@ -19,6 +19,6 @@ if [ "$1" != "failsafe" ]; then
umount rom/proc rom/dev
fi
fi
-mount none /tmp -t ramfs
+mount none /tmp -t tmpfs size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts
diff --git a/openwrt/toolchain/binutils/Config.in b/openwrt/toolchain/binutils/Config.in
index 7673fea..8849ef5 100644
--- a/openwrt/toolchain/binutils/Config.in
+++ b/openwrt/toolchain/binutils/Config.in
@@ -65,5 +65,4 @@ config BR2_BINUTILS_VERSION
default "2.15.92.0.2" if BR2_BINUTILS_VERSION_2_15_92_0_2
default "2.15.94.0.1" if BR2_BINUTILS_VERSION_2_15_94_0_1
default "2.15.94.0.2" if BR2_BINUTILS_VERSION_2_15_94_0_2 || !CONFIG_DEVEL
- default "2.15.94.0.2.2" if BR2_BINUTILS_VERSION_2_15_94_0_2_2
default "2.16.90.0.1" if BR2_BINUTILS_VERSION_2_16_90_0_1
diff --git a/openwrt/toolchain/gcc/Config.in b/openwrt/toolchain/gcc/Config.in
index ab16c7f..05227d2 100644
--- a/openwrt/toolchain/gcc/Config.in
+++ b/openwrt/toolchain/gcc/Config.in
@@ -14,7 +14,7 @@ config BR2_GCC_3_4
choice
prompt "GCC compiler Version" if CONFIG_DEVEL
- default BR2_GCC_VERSION_3_4_3
+ default BR2_GCC_VERSION_3_3_5
help
Select the version of gcc you wish to use.
@@ -33,8 +33,8 @@ endchoice
config BR2_GCC_VERSION
string
- default "3.3.5" if BR2_GCC_VERSION_3_3_5
- default "3.4.3" if BR2_GCC_VERSION_3_4_3 || !CONFIG_DEVEL
+ default "3.3.5" if BR2_GCC_VERSION_3_3_5 || !CONFIG_DEVEL
+ default "3.4.3" if BR2_GCC_VERSION_3_4_3
default "4.0.0" if BR2_GCC_VERSION_4_0_0