aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/patches-3.10
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
commitd4158338c973cd04dae684d00939d918a7dc0678 (patch)
tree3f18c1451c5fa8ff7357472fcd0c23e876428e91 /target/linux/rb532/patches-3.10
parentecd169b2c64bdcd69bee19daf2c17a3b8a920c90 (diff)
downloadupstream-d4158338c973cd04dae684d00939d918a7dc0678.tar.gz
upstream-d4158338c973cd04dae684d00939d918a7dc0678.tar.bz2
upstream-d4158338c973cd04dae684d00939d918a7dc0678.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> SVN-Revision: 41541
Diffstat (limited to 'target/linux/rb532/patches-3.10')
-rw-r--r--target/linux/rb532/patches-3.10/004-rb532_partition_info-rename-rootfs-to-rootfs_onboard.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-3.10/004-rb532_partition_info-rename-rootfs-to-rootfs_onboard.patch b/target/linux/rb532/patches-3.10/004-rb532_partition_info-rename-rootfs-to-rootfs_onboard.patch
new file mode 100644
index 0000000000..e3f6c4113e
--- /dev/null
+++ b/target/linux/rb532/patches-3.10/004-rb532_partition_info-rename-rootfs-to-rootfs_onboard.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/rb532/devices.c 2014-07-07 01:05:10.000000000 +0300
++++ b/arch/mips/rb532/devices.c 2014-07-07 01:05:27.268505016 +0300
+@@ -202,7 +202,7 @@ static struct mtd_partition rb532_partit
+ .offset = 0,
+ .size = 4 * 1024 * 1024,
+ }, {
+- .name = "rootfs",
++ .name = "rootfs_onboard",
+ .offset = MTDPART_OFS_NXTBLK,
+ .size = MTDPART_SIZ_FULL,
+ }