[OpenWrt-Devel] [PATCH 2/2] ar71xx: add support for TP-LINK TL-WR841N/ND v10
Alexander Couzens
lynxis at fe80.eu
Sun Oct 25 18:47:07 EDT 2015
Hi Matthias,
as long you can not flash the exact same image as v9,
you have to create a mips machine, but you can use the same setup
function as v9.
Many parts of openwrt use the mips machine to detect the board, like
sysupgrade.
Add your machine id to
target/linux/ar71xx/patches-4.1/700-MIPS-ath79-openwrt-machines.patch
and use the MIPS_MACHINE macro in
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c
Best
lynxis
PS. Nice catch on the revision/version fix for ar9533. The problem why
v9 didn't work in the first time was quite similiar.
On Thu, 22 Oct 2015 14:01:40 +0200
Matthias Schiffer <mschiffer at universe-factory.net> wrote:
> The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some
> minor changes, it contains a newer revision of the QCA9533 SoC and
> the CPU clock is significantly higher.
>
> Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
> ---
> 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 7759a0d..a659af9 100644
> --- a/target/linux/ar71xx/image/Makefile
> +++ b/target/linux/ar71xx/image/Makefile
> @@ -704,6 +704,13 @@ define Device/tl-wr841n-v9
> TPLINK_HWID := 0x08410009
> endef
>
> +define Device/tl-wr841n-v10
> + $(Device/tplink-4mlzma)
> + BOARDNAME := TL-WR841N-v9
> + DEVICE_PROFILE := TLWR841
> + TPLINK_HWID := 0x08410010
> +endef
> +
--
Alexander Couzens
mail: lynxis at fe80.eu
jabber: lynxis at fe80.eu
mobile: +4915123277221
gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151025/4aad701e/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list