This patches the BTHOMEHUB2B device tree to make use of the
new code for automatic detection of the ubi partition and the
rootfs type within it. Gets rid of the ugly alternative bootargs
lines.


Signed-off-by: Ben Mulvihill <ben.mulvih...@gmail.com>

---

--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts  2014-06-14 07:24:27.022339541 
+0200
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts  2014-06-15 06:56:30.578024477 
+0200
@@ -6,10 +6,7 @@
        model = "BTHOMEHUBV2B - BT Home Hub 2B";  /* SoC: Lantiq Danube-S PSB 
50712 @ 333MHz V1.3/1.5 */
 
        chosen {
-               // 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";
+               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
        };
 
        memory@0 {                                /* RAM: Samsung K4H511638F-LC 
64MB */
@@ -88,7 +85,7 @@
                                };
 
                                partition@164000 {
-                                       label = "rootfs_ubi";
+                                       label = "ubi";
                                        reg = <0x164000 0x1E9C000>;
                                };
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to