aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-07 08:51:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-07 08:51:55 +0000
commitae1fd5f9d7f59983113b126ff52141da464ea109 (patch)
treeb76677bf3ae263ddc7e86cac229734c407b242cc /target/linux/rb532/image/Makefile
parent8869e6ed865d729cc3950f90fa833845ae32b7ae (diff)
downloadupstream-ae1fd5f9d7f59983113b126ff52141da464ea109.tar.gz
upstream-ae1fd5f9d7f59983113b126ff52141da464ea109.tar.bz2
upstream-ae1fd5f9d7f59983113b126ff52141da464ea109.zip
rb532: really fix squashfs images
The previous attempt (r40717) to fix squashfx made the system bootable but overlayfs remained broken. This enables block2mtd again using the right partition number and naming and adds MTD_ROOTFS_SPLIT option. However onboard rootfs partition name had to be renamed to place overlay on CF instead of onboard NAND. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41541 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/image/Makefile')
-rw-r--r--target/linux/rb532/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rb532/image/Makefile b/target/linux/rb532/image/Makefile
index 65ef919fa9..e33fbab208 100644
--- a/target/linux/rb532/image/Makefile
+++ b/target/linux/rb532/image/Makefile
@@ -56,7 +56,7 @@ root=/dev/sda2 rootfstype=ext4
endef
define Image/cmdline/squashfs
-root=/dev/sda2 rootfstype=squashfs
+block2mtd.block2mtd=/dev/sda2,65536,rootfs root=/dev/mtdblock2 rootfstype=squashfs
endef
define Image/cmdline/yaffs2