Op zo, 10 apr 2016 om 11:35 , schreef Matthias Schiffer
<[email protected]>:
On 04/10/2016 11:21 PM, Stijn Segers wrote:
Hi guys,
I'm trying to add support for the TP-Link TL-WR740N v6.
On the OpenWrt forums [1] a modified TL-WR841N v10
image has been confirmed working. I tried adding support
(see patch below) but no matter what I try, the v6 image
does not seem to be generated. Running make with V=s
doesn't show any mention of the v6 images being attempted
to build (or failing to build) altogether. What am I doing
wrong here?
Thanks
Stijn
Which profile do you have selected in your .config? You have set
DEVICE_PROFILE := TLWR841 in your patch, so the 740v6 image will be
built
only if Generic or TL-WR841 is selected, but not for TL-WR740/741.
Regards,
Matthias
Thanks, it's under TL-WR740 indeed. I've checked other devices in the
Makefile, there are a few
that have board names that don't align with the profile being used,
like:
define Device/tl-wr842n-v1
$(Device/tplink-8m)
BOARDNAME := TL-MR3420
DEVICE_PROFILE := TLWR842
TPLINK_HWID := 0x08420001
endef
I will keep the boardname and change the DEVICE_PROFILE to 'TLWR740',
see how that works out.
To be sure, is there anything else the DEVICE_PROFILE value steers,
besides under which profile
the image would be built?
Cheers
Stijn
[1]: https://forum.openwrt.org/viewtopic.php?id=64002
---
target/linux/ar71xx/image/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/target/linux/ar71xx/image/Makefile
b/target/linux/ar71xx/image/Makefile
index e4e2fcf..7123941 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -753,6 +753,13 @@ define Device/tl-wr740n-v5
CONSOLE := ttyATH0,115200
endef
+define Device/tl-wr740n-v6
+ $(Device/tplink-4mlzma)
+ BOARDNAME := TL-WR841N-v9
+ DEVICE_PROFILE := TLWR841
+ TPLINK_HWID := 0x07400006
+endef
+
define Device/tl-wr741nd-v1
$(Device/tplink-4m)
BOARDNAME := TL-WR741ND
@@ -797,7 +804,7 @@ define Device/tl-wr743nd-v2
TPLINK_HWID := 0x07430002
CONSOLE := ttyATH0,115200
endef
-TARGET_DEVICES += tl-wr740n-v1 tl-wr740n-v3 tl-wr740n-v4
tl-wr740n-v5 tl-wr741nd-v1 tl-wr741nd-v2 tl-wr741nd-v4 tl-wr741nd-v5
tl-wr743nd-v1 tl-wr743nd-v2
+TARGET_DEVICES += tl-wr740n-v1 tl-wr740n-v3 tl-wr740n-v4
tl-wr740n-v5 tl-wr740n-v6 tl-wr741nd-v1 tl-wr741nd-v2 tl-wr741nd-v4
tl-wr741nd-v5 tl-wr743nd-v1 tl-wr743nd-v2
define Device/tl-wr841-v1.5
$(Device/tplink-4m)
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel