Ticket #10492: tl-wr740n-v4.patch

File tl-wr740n-v4.patch, 1.1 KB (added by Cristian Deluxe <djcristiandeluxe@…>, 6 years ago)
Line 
1diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk
296a96,105
3> define Profile/TLWR740NV4
4>       NAME:=TP-LINK TL-WR740N v4
5>       PACKAGES:=
6> endef
7>
8> define Profile/TLWR740NV4/Description
9>       Package set optimized for the TP-LINK TL-WR740N v4.
10> endef
11>
12> $(eval $(call Profile,TLWR740NV4))
13diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
14638a636,640
15> tlwr740nv4_cmdline=board=TL-WR741ND-v4 console=ttyATH0,115200
16> define Image/Build/Profile/TLWR740NV4
17>       $(call Image/Build/Template/$(fs_64k)/$(1),TPLINK-LZMA,tl-wr740n-v4,$(tlwr740nv4_cmdline),TL-WR740Nv4)
18> endef
19>
20785a787
21>       $(call Image/Build/Profile/TLWR740NV4,$(1))
22diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
2339a45
24> #define HWID_TL_WR740N_V4     0x07400004
25186a193,201
26>               .id             = "TL-WR740Nv4",
27>               .hw_id          = HWID_TL_WR740N_V4,
28>               .hw_rev         = 1,
29>               .fw_max_len     = 0x3c0000,
30>               .kernel_la      = 0x80060000,
31>               .kernel_ep      = 0x80060000,
32>               .rootfs_ofs     = 0x100000,
33>               .rootfs_ofs     = 0x100000,
34>       }, {