On 2018/12/14 1:16, Rafał Miłecki wrote:
From: Rafał Miłecki <[email protected]>
It results in calling the right MTD parser directly instead of trying
them one by one.
Signed-off-by: Rafał Miłecki <[email protected]>
---
I'm not sure about the AR670W.dts. It seems to be using WRG according to
the image generating code:
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) |
wrg-header wrgn16a_airlink_ar670w
On the other hand INAGAKI state it uses LZMA in the commit d70ec3008d4c
("ramips: specify "firmware" partition format").
INAGAKI: can you take a look at this, please?
---
target/linux/ramips/dts/AR670W.dts | 1 +
target/linux/ramips/dts/DAP-1522-A1.dts | 1 +
target/linux/ramips/dts/WCR-1166DS.dts | 1 +
3 files changed, 3 insertions(+)
diff --git a/target/linux/ramips/dts/AR670W.dts
b/target/linux/ramips/dts/AR670W.dts
index 3ee39c1eb7..5f8a9a9593 100644
--- a/target/linux/ramips/dts/AR670W.dts
+++ b/target/linux/ramips/dts/AR670W.dts
@@ -39,6 +39,7 @@
};
partition@40000 {
+ compatible = "wrg";
reg = <0x40000 0x3c0000>;
label = "firmware";
};
diff --git a/target/linux/ramips/dts/DAP-1522-A1.dts
b/target/linux/ramips/dts/DAP-1522-A1.dts
index bdd63ea96b..aad706df2e 100644
--- a/target/linux/ramips/dts/DAP-1522-A1.dts
+++ b/target/linux/ramips/dts/DAP-1522-A1.dts
@@ -40,6 +40,7 @@
};
partition@40000 {
+ compatible = "wrg";
label = "firmware";
reg = <0x40000 0x3a0000>;
};
diff --git a/target/linux/ramips/dts/WCR-1166DS.dts
b/target/linux/ramips/dts/WCR-1166DS.dts
index ca715c8ba5..b8e86e496c 100644
--- a/target/linux/ramips/dts/WCR-1166DS.dts
+++ b/target/linux/ramips/dts/WCR-1166DS.dts
@@ -152,6 +152,7 @@
};
partition@50000 {
+ compatible = "openwrt,trx";
label = "firmware";
reg = <0x50000 0x7c0000>;
};
Hi Rafał,
I first made that commit in GitHub PR[1]. I thought that AR670W is using
uImage because it is using wrg-header only for the factory and I wrote
it as "uimage,denx" (it seems this was a misunderstanding).
After that, when checking by mkresin was done, the comment for AR670W
was added into the commit message by him. At that time I was asked for a
check, but I seem to have overlooked it.
Regards,
Hiroshi
[1]https://github.com/openwrt/openwrt/pull/1576
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel