Skip to content
Permalink
Browse files

ath79: Define firmware partition format to all boards where applicable

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>
  • Loading branch information...
ynezz authored and mkresin committed Nov 29, 2018
1 parent ffa5538 commit bc41fb7efee755a1fe1112493365817650c3e2f9
Showing with 37 additions and 0 deletions.
  1. +1 −0 target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
  2. +1 −0 target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
  3. +1 −0 target/linux/ath79/dts/ar7240_tplink_tl-wr74xn-v1.dtsi
  4. +1 −0 target/linux/ath79/dts/ar7241_tplink.dtsi
  5. +1 −0 target/linux/ath79/dts/ar7241_ubnt_unifi.dts
  6. +1 −0 target/linux/ath79/dts/ar7241_ubnt_xm.dtsi
  7. +1 −0 target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
  8. +1 −0 target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
  9. +1 −0 target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
  10. +1 −0 target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts
  11. +1 −0 target/linux/ath79/dts/ar9330_glinet_ar150.dts
  12. +1 −0 target/linux/ath79/dts/ar9330_pqi_air-pen.dts
  13. +1 −0 target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
  14. +1 −0 target/linux/ath79/dts/ar9331_etactica_eg200.dts
  15. +1 −0 target/linux/ath79/dts/ar9331_pisen_wmm003n.dts
  16. +1 −0 target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
  17. +1 −0 target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
  18. +1 −0 target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
  19. +1 −0 target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
  20. +1 −0 target/linux/ath79/dts/ar9341_pcs_cr3000.dts
  21. +1 −0 target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
  22. +1 −0 target/linux/ath79/dts/ar9342_ubnt_wa.dtsi
  23. +1 −0 target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
  24. +1 −0 target/linux/ath79/dts/ar9344_pcs_cap324.dts
  25. +1 −0 target/linux/ath79/dts/ar9344_pcs_cr5000.dts
  26. +1 −0 target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
  27. +1 −0 target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts
  28. +1 −0 target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
  29. +1 −0 target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
  30. +1 −0 target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
  31. +1 −0 target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts
  32. +1 −0 target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts
  33. +1 −0 target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
  34. +1 −0 target/linux/ath79/dts/qca9563_phicomm_k2t.dts
  35. +1 −0 target/linux/ath79/dts/qca9563_rosinson_wr818.dts
  36. +1 −0 target/linux/ath79/dts/qca9563_tplink_re450-v2.dts
  37. +1 −0 target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi
@@ -209,6 +209,7 @@
};

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x610000>;
};
@@ -86,6 +86,7 @@
};

partition@50000 {
compatible = "netgear,uimage";
reg = <0x50000 0x3a0000>;
label = "firmware";
};
@@ -106,6 +106,7 @@
};

firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};
@@ -68,6 +68,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};
@@ -81,6 +81,7 @@
};

partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x750000>;
};
@@ -60,6 +60,7 @@
};

partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x750000>;
};
@@ -125,6 +125,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
@@ -93,6 +93,7 @@
};

partition@1 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3D0000>;
};
@@ -124,6 +124,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7D0000>;
};
@@ -131,6 +131,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3d0000>;
};
@@ -108,6 +108,7 @@
};

partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xfa0000>;
};
@@ -109,6 +109,7 @@
};

partition@70000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x070000 0x780000>;
};
@@ -89,6 +89,7 @@
};

partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xfa0000>;
};
@@ -112,6 +112,7 @@
};

firmware@50000 {
compatible = "denx,uimage";
reg = <0x50000 0xfa0000>;
};

@@ -70,6 +70,7 @@
};

firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x7d0000>;
label = "firmware";
};
@@ -137,6 +137,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3c0000>;
};
@@ -128,6 +128,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3d0000>;
};
@@ -67,6 +67,7 @@
};

firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};
@@ -107,6 +107,7 @@
};

firmware: partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};
@@ -128,6 +128,7 @@
};

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x07a0000>;
};
@@ -146,6 +146,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
@@ -64,6 +64,7 @@
};

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xf60000>;
};
@@ -84,6 +84,7 @@
};

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x760000>;
};
@@ -116,6 +116,7 @@
};

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x0fa0000>;
};
@@ -105,6 +105,7 @@
};

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0x07a0000>;
};
@@ -147,6 +147,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
@@ -31,6 +31,7 @@
};

partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xfa0000>;
};
@@ -113,6 +113,7 @@
};

partition@60000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x060000 0xfa0000>;
};
@@ -102,6 +102,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3d0000>;
};
@@ -121,6 +121,7 @@
};

partition@2 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x850000 0x7a0000>;
};
@@ -36,6 +36,7 @@
};

firmware@20000 {
compatible = "tplink,firmware";
reg = <0x020000 0x7d0000>;
};

@@ -168,6 +168,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
@@ -123,6 +123,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
@@ -101,6 +101,7 @@
};

partition@90000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x090000 0xf60000>;
};
@@ -84,6 +84,7 @@
};

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xf80000>;
};
@@ -150,6 +150,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x5e0000>;
};
@@ -136,6 +136,7 @@
};

partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0xf30000>;
};

0 comments on commit bc41fb7

Please sign in to comment.
You can’t perform that action at this time.