ramips: bdcom-wap2100: Fix boot failure by adding partitions compatible property
authorPetr Štetiar <ynezz@true.cz>
Wed, 28 Nov 2018 19:06:03 +0000 (20:06 +0100)
committerMathias Kresin <dev@kresin.me>
Wed, 28 Nov 2018 22:37:29 +0000 (23:37 +0100)
Flash partitions were moved under partition table node, but addition of
compatible property was omitted which lead to following boot failure:

 VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
 Please append a correct "root=" boot option; here are the available partitions:
 1f00           16384 mtdblock0
  (driver?)
 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Fixes: e4d9217f (ramips: improve BDCOM WAP2100-SK support)
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/dts/BDCOM-WAP2100-SK.dts

index 62a87c844465e0d09476ba3f962a6b9fa1925b9a..847dbe5d98fac5a7105deaaecea5f5bcff148eb4 100644 (file)
@@ -66,6 +66,7 @@
                spi-max-frequency = <10000000>;
 
                partitions {
+                       compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;