summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-22 08:08:46 +0000
committerJohn Crispin <john@openwrt.org>2014-04-22 08:08:46 +0000
commit4f3c74011048239eb5c37a2740c428b59d161387 (patch)
tree7c59bcb9ef493cc0ff5e10ee701ee5687727e906 /target/linux/lantiq/dts
parent284ada8a3eeb1911caa08c1e3486969d6aa3e636 (diff)
downloadmtk-20170518-4f3c74011048239eb5c37a2740c428b59d161387.zip
mtk-20170518-4f3c74011048239eb5c37a2740c428b59d161387.tar.gz
mtk-20170518-4f3c74011048239eb5c37a2740c428b59d161387.tar.bz2
lantiq: BT Home Hub 2B - overlayfs on top of ubi
BT Home Hub 2B: use overlayfs on top of ubi. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 40553
Diffstat (limited to 'target/linux/lantiq/dts')
-rw-r--r--target/linux/lantiq/dts/BTHOMEHUBV2B.dts14
1 files changed, 11 insertions, 3 deletions
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
index ac53217..329e149 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
@@ -6,7 +6,10 @@
model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
chosen {
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit rootfstype=squashfs,jffs2";
+ // uncomment for overlayfs on top of ubi
+ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit ubi.mtd=rootfs_ubi,256 root=/dev/mtdblock8";
+ // uncomment for ubifs
+// bootargs = "console=ttyLTQ0,115200 init=/etc/preinit ubi.mtd=rootfs_ubi,256 root=ubi0:rootfs rootfstype=ubifs";
};
memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
@@ -80,8 +83,13 @@
};
partition@4000 {
- label = "firmware";
- reg = <0x4000 0x1FFC000>;
+ label = "kernel";
+ reg = <0x4000 0x160000>;
+ };
+
+ partition@164000 {
+ label = "rootfs_ubi";
+ reg = <0x164000 0x1E9C000>;
};
};