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)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:20 +0000 (17:48 +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>
(backported from 795211093f316b332c1962f2bb8b901348e90ec8)

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>;