lantiq: BT Home Hub 2B - overlayfs on top of ubi
[openwrt/staging/chunkeey.git] / target / linux / lantiq / dts / BTHOMEHUBV2B.dts
index ac53217bb3b9e6f8443e4bb18213a9db6b1c5d23..329e1499115f7c2ac3935c257b13f7ec3d88213e 100644 (file)
@@ -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 */
                                };
 
                                partition@4000 {
-                                       label = "firmware";
-                                       reg = <0x4000 0x1FFC000>;
+                                       label = "kernel";
+                                       reg = <0x4000 0x160000>;
+                               };
+
+                               partition@164000 {
+                                       label = "rootfs_ubi";
+                                       reg = <0x164000 0x1E9C000>;
                                };
 
                        };