ath79: Define firmware partition format to all boards where applicable
authorPetr Štetiar <ynezz@true.cz>
Thu, 29 Nov 2018 13:07:59 +0000 (14:07 +0100)
committerMathias Kresin <dev@kresin.me>
Thu, 6 Dec 2018 12:28:22 +0000 (13:28 +0100)
Parsing "firmware" partition (to create kernel + rootfs) was implemented
using OpenWrt downstream code enabled by CONFIG_MTD_SPLIT_FIRMWARE. With
recent upstream mtd changes we can do it in a more clean way for DTS
targets. It just requires adding a proper "compatible" string to the
"firmware" partition node.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
37 files changed:
target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
target/linux/ath79/dts/ar7240_tplink_tl-wr74xn-v1.dtsi
target/linux/ath79/dts/ar7241_tplink.dtsi
target/linux/ath79/dts/ar7241_ubnt_unifi.dts
target/linux/ath79/dts/ar7241_ubnt_xm.dtsi
target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts
target/linux/ath79/dts/ar9330_glinet_ar150.dts
target/linux/ath79/dts/ar9330_pqi_air-pen.dts
target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
target/linux/ath79/dts/ar9331_etactica_eg200.dts
target/linux/ath79/dts/ar9331_pisen_wmm003n.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
target/linux/ath79/dts/ar9341_pcs_cr3000.dts
target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
target/linux/ath79/dts/ar9342_ubnt_wa.dtsi
target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
target/linux/ath79/dts/ar9344_pcs_cap324.dts
target/linux/ath79/dts/ar9344_pcs_cr5000.dts
target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts
target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts
target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts
target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
target/linux/ath79/dts/qca9563_phicomm_k2t.dts
target/linux/ath79/dts/qca9563_rosinson_wr818.dts
target/linux/ath79/dts/qca9563_tplink_re450-v2.dts
target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi

index a28ff44445ce8b288fd4f1a8934cdc9804d0c2cb..d25fd91014100bfa9caedf1a07f423a05599e3c0 100644 (file)
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x610000>;
                        };
index f481157008448c0c645da2fc8ef81c3b4b176977..df7bf2ea026518d33e0b99d66f4c8934afedcd01 100644 (file)
@@ -86,6 +86,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "netgear,uimage";
                                reg = <0x50000 0x3a0000>;
                                label = "firmware";
                        };
index 788d265cd349207b7e602c8a0da2dd12cb9b8545..3b8f81ed5a7283e7b8362e20b65325b68287317c 100644 (file)
                        };
 
                        firmware: partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
                        };
index 4078ced7d0a9405e1f51eeadc75efbc0d1588384..d646c312f5baf52acc8c60260dda2004d55d351f 100644 (file)
@@ -68,6 +68,7 @@
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
                        };
index 2cb02503b72b702430dfa230b3e869615d1631c1..27aec88cca24c93b4f4c15838b98697e94fb7fc2 100644 (file)
@@ -81,6 +81,7 @@
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x750000>;
                        };
index 6a5e07caf7abec00869e254d8988ee00b332cacd..546657522949d9d85bf68f10fc32a1a55cdf5bca 100644 (file)
@@ -60,6 +60,7 @@
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x750000>;
                        };
index e4bd7c2094039fde891ee0933e8c2f73877e1712..ed483e03e832497953670ccad742b87577a5db88 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7d0000>;
                        };
index 150b76e7a4b752e861a6fe33b84ba9dd38b9760f..bbbc1fc977687cbc28a0e5d987b6e00203a92871 100644 (file)
@@ -93,6 +93,7 @@
                        };
 
                        partition@1 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x3D0000>;
                        };
index 5c6cb634d63b23dd2e8e0d3378940088eaeb970d..84d593a965f730e98f2bdd729b6f47e6fb0f3cb9 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7D0000>;
                        };
index f3927cc3299ed4b6db7e94a0d51b4ce4f75bac84..938edae32619093b16bd437feccb137aa7be326e 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x3d0000>;
                        };
index 34240f49a86567009b535133297fb6b4cbdde0a5..7308e87065be409f1f5e8820dcbb579b0593c3c7 100644 (file)
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0xfa0000>;
                        };
index 6c662d2202de0226ba7d949b3978d8c81893c475..97c97abd0c1687f7d565c73bccc8d20332d451d4 100644 (file)
                        };
 
                        partition@70000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x070000 0x780000>;
                        };
index 13333d7ca908c26be4c51f965d8f2f23a6c8502a..e1a20e8299b5fcefc80862a97d820f958f1e0e08 100644 (file)
@@ -89,6 +89,7 @@
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0xfa0000>;
                        };
index 569ab11e6de61d895b46e785bae42a5852e686c1..cfd37d605957f83d22edca11d0e6143d30bab975 100644 (file)
                        };
 
                        firmware@50000 {
+                               compatible = "denx,uimage";
                                reg = <0x50000 0xfa0000>;
                        };
 
index 5e763df510f40ae7eab9596888b5754af2d7520e..3573665b341f16199db39cfc066976f590ff555c 100644 (file)
@@ -70,6 +70,7 @@
                        };
 
                        firmware: partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x7d0000>;
                                label = "firmware";
                        };
index 5f7519ef13080f4716b55f831b720e5cf15f05b7..8bd302391d417b2f6f07044e4968b6ae733089e2 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x3c0000>;
                        };
index ff7ed9f21a0847350b39d05096387e86b1f57763..5e1dac40b5386038a8c1015682015860fc5a0249 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x3d0000>;
                        };
index 213a96556b6ad6e5fca46bd53017d2fe32899279..d7b23f988031df38da7d03bbef8ca857f6976874 100644 (file)
@@ -67,6 +67,7 @@
                        };
 
                        firmware: partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
                        };
index f28e56b53b867854aa725fbf38e94a7fe256790c..e1b8ea863a301efd65fc8714ac11904e6b4da672 100644 (file)
                        };
 
                        firmware: partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
                        };
index 5dcfd89ae682942977719533a9d1f6934658ddc6..5258cbd6350dd71a01466fe3d3acf8bc036220fd 100644 (file)
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x07a0000>;
                        };
index f2dbac3c7ca87dd7b6361533de69fd660cfe51b1..100e7dbf46356018de6b8b33a346e813fa76943d 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7d0000>;
                        };
index b684ad87ee3c73ae70f3dced326d382757e69495..55fddd338370a6b850700965a4bec0461f6c3e71 100644 (file)
@@ -64,6 +64,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0xf60000>;
                        };
index fb1cc2cfaae4fe5470b5a61105437654a655944e..b104bc6d3d36b3eaf98b2e1d828863cce608c49d 100644 (file)
@@ -84,6 +84,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x760000>;
                        };
index bd7c2a60dc740938dee32d717bf8b047199ab358..1a21d7ce838d94ded78e1e413b7cb708d4cd9ed6 100644 (file)
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x0fa0000>;
                        };
index 82623031415270afebbc08cc94a1d07043cba555..8eec1781e2a560e1d31df43a17aaf37d97f88a82 100644 (file)
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x07a0000>;
                        };
index 268df4700e96a4a5dd71467ba20cfede262642db..7204dd0f4f8958a155e0cce9ed75adc793512bb2 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7d0000>;
                        };
index c78f03ac2292c1aa89b48eede2f5f670ffa20f7a..1128e2da38a0feeeb46ef7379cda127525ff0267 100644 (file)
@@ -31,6 +31,7 @@
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0xfa0000>;
                        };
index de12163f0dab7f0886be4707aafe3ecf46dd930b..b15b7508b564e1cd40f7d94ca289ad09c637a429 100644 (file)
                        };
 
                        partition@60000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x060000 0xfa0000>;
                        };
index 5b8e8dbc684ff0a84767b4e742d37f9d352493b8..51b95825d82a72a06ba2f7e06addd8aab4f96c99 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x3d0000>;
                        };
index 87947181310eb7cf9ed91c9c64f8b064c4ece333..b3920dda02b84a65939a59158e9fc6a24807328d 100644 (file)
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x850000 0x7a0000>;
                        };
index 7228a2f465eafe619f8915bf75ece3ac4d621f43..6765ea683b2e9f98245efb9ab8c94a2550971901 100644 (file)
@@ -36,6 +36,7 @@
        };
 
        firmware@20000 {
+               compatible = "tplink,firmware";
                reg = <0x020000 0x7d0000>;
        };
 
index d1cb6d8d12f8589a675123dab0336e50e2b859d8..6f43dd433cf858bcd950a93b2042e2a3baa513f7 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7d0000>;
                        };
index c91d3cce46c6f8db1977a90cb5c61f27f545cf2a..a90373e194dab7d56d7975dfaa6aede37c0613a9 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7d0000>;
                        };
index e99a1afbce6a03f7165e2f8147efee3844cd0a51..e0f019c73c9536c5ee103ec437dc472f82a36b83 100644 (file)
                        };
 
                        partition@90000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x090000 0xf60000>;
                        };
index ff853cc2cfc682ab7765d5015be5cf77c73c32d7..a2595d8cd51452a48751b387735920a20dd573e2 100644 (file)
@@ -84,6 +84,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0xf80000>;
                        };
index c2e2910a15a89d4b151bb63703ffdc787cb41c55..dbb909f243847f392859ba8a20ad9048bcb674aa 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x5e0000>;
                        };
index 3f6d48a78684b2b53242bf451b404f6202587287..cd2104fb485be414f5b479702d22da7940c3e47f 100644 (file)
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0xf30000>;
                        };