summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/fstab.smdk42103
-rw-r--r--rootdir/init.smdk4210.rc1
2 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/fstab.smdk4210 b/rootdir/fstab.smdk4210
index cf03e47..8be4044 100755
--- a/rootdir/fstab.smdk4210
+++ b/rootdir/fstab.smdk4210
@@ -18,3 +18,6 @@
# recovery
/dev/block/mmcblk0p5 /boot emmc defaults recoveryonly
/dev/block/mmcblk0p6 /recovery emmc defaults recoveryonly
+
+# zRAM
+/dev/block/zram0 none swap defaults zramsize=268435456
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index 4afec6f..3f00650 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -31,6 +31,7 @@ on init
on fs
mount_all /fstab.smdk4210
+ swapon_all /fstab.smdk4210
mkdir /efs/bluetooth
mkdir /efs/wifi