恩山无线论坛

标题: 发一个自己编译的 wdr5600v2 openwrt 固件,附带修改的 patch 文件 [打印本页]

作者: zkdc    时间: 2020-7-29 04:06
标题: 发一个自己编译的 wdr5600v2 openwrt 固件,附带修改的 patch 文件
本帖最后由 zkdc 于 2022-2-18 11:49 编辑

2022/2/18:
编译 openwrt 21.02.1 ,提供 squashfs-sysupgrade.bin 文件,依然是官方基础配置加中文支持。
已经按下面方法刷入的可以直接在 openwrt 里使用这个文件升级,没有按下面方法刷入过的请参照用法部分使用。
移除编辑好的 final_rom.bin 文件,请自己按下面的方法对自己的固件进行编辑。
同样提供 patch 文件以方便自己编译修改(虽然其实也没改多少东西就是了)。


2020/9/24 更新:

编译 openwrt 19.07.4 ,提供 squashfs-sysupgrade.bin 文件,依然是官方基础配置加中文支持。
已经按下面方法刷入的可以直接在 openwrt 里使用这个文件升级,没有按下面方法刷入过的请参照用法部分使用,或者用编程器刷入我之前做的 final_rom.bin 后再升级。
同样提供 patch 文件以方便自己编译修改(虽然我其实也没改多少东西就是了)。

网盘链接不变。

=============


更新:
由于楼主过于专注让 openwrt 跑起来,结果构建时失误连中文支持都没选。现在编译并上传了添加了中文支持的固件,名字分别为 openwrt-19.07.3-ath79-generic-tplink_tl-wdr5600-v2-squashfs-sysupgrade_zh-cn.bin 和 final_rom_zh-cn.bin,用法和下文对应文件用法一样。


==============


openwrt 版本为 19.07.3,主要根据c25-v1的设备配置进行修改

没有添加各种软件包,纯 openwrt 官方配置

链接: https://pan.baidu.com/s/1L-N16YU-7VFf3shbVe1X9A 提取码: 9r5f

用法:

首先,这机子原厂的固件更新和启动时使用的第一个 uboot 会检查固件的签名,所以不拆机刷不成。
另外,拆开后仅用ttl也刷不成:uboot 阶段没办法输入。进入 linux 后可以输入了,但需要登录 root 账户,而 root 的密码我们不知道。
(坑人啊,自己不更新固件还tm阻止别人换新固件)

所以必须用编程器刷:

1.先用编程器将原厂固件读出来,并留一份做备份
2.修改原厂固件,将 0x0-0x1d800(不包括0x1d800,下同),0x40000-0x800000(固件末尾)填充ff    (这步可以不做,只是我强迫症不全写成 ff 看着难受
3.将原厂固件的 0x30000-0x40000 间的数据复制到 0x0-0x10000(即将其复制到固件头),将 openwrt-19.07.3-ath79-generic-tplink_tl-wdr5600-v2-squashfs-sysupgrade.bin 的内容复制到 0x40000处。
4.修改完成后用编程器将修改完成的固件写回flash。



原理:
这个设备有两个uboot,分别在 0x0-0x1d800 和 0x30000-0x40000 。启动时会先启动第一个 uboot,第一个 uboot 在正常启动时好像只会检查固件签名,之后会启动第二个 uboot,而第二个 uboot 不会检查固件签名。将第二个uboot复制到 0x0 后,设备启动时就会直接运行第二个 uboot (其实只将第二个 uboot 前面的一小段复制过去应该就有这种效果)。而第二个 uboot 在完成一系列操作后就会在 flash 的 0x40018,0x4001C 处读取内核的加载地址和入口地址,然后就会加载位于 0x40200 的内核。(除了 wdr5600 以外应该还有不少 tplink 的路由是这样)

如果你懒得进行上面的修改操作,直接使用我做好的 final_rom.bin 即可。该文件除了进行了上面的操作以外,还将 0x20000-0x30000 的内容填充为 ff (强迫症)。此固件中的 mac 地址后 24 位以及 devID(均位于flash的0x1d800处)是随机生成的。

patch文件可以用于自己编译固件,本人是基于 19.07.3 稳定版源码进行修改的,具体如何进行openwrt的编译、使用git和使用patch,请参考论坛中其他资料或自行百度。


下面会写一些设备相关信息和我自己折腾的杂项。


作者: ldx327361536    时间: 2020-7-29 06:01
牛批啊兄得

作者: zkdc    时间: 2020-7-29 16:55
本帖最后由 zkdc 于 2020-7-29 16:59 编辑

拆机正面:
[attach]403966[/attach]
背面:
[attach]403967[/attach]
Soc:  QCA9561-al3a
5Gwifi:  QCA9887
内存:64mb,m14d5121632a
flash:8m,25系列芯片,25Q64CSIG(在板子背面)
ttl:板子左边一排四个洞,从板子边到板内依次是 txd,rxd,gnd,电压3.3v(接线的时候将 ttl 的 rxd 接到板子的 txd 上,txd 接到 rxd上,gnd 接 gnd 上,vcc 不接)。
波特率 :uboot 阶段和开始部分 linux 启动阶段为 128000,后面 Linux 会将其设置为 115200,uboot 阶段无法输入。

原厂固件分区信息:
根据 ttl 得到的内核启动 log:
  1. [    0.280000] Creating 9 MTD partitions on "spi0.0":
  2. [    0.290000] 0x000000000000-0x00000001d800 : "factory_boot"
  3. [    0.290000] mtd: partition "factory_boot" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  4. [    0.310000] 0x00000001d800-0x00000001e000 : "factory_info"
  5. [    0.320000] 0x00000001e000-0x000000020000 : "art"
  6. [    0.320000] 0x000000020000-0x000000030000 : "config"
  7. [    0.330000] 0x000000030000-0x000000040000 : "normal_boot"
  8. [    0.330000] 0x000000040000-0x00000013fa78 : "kernel"
  9. [    0.340000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  10. [    0.350000] 0x00000013fa78-0x000000680000 : "rootfs"
  11. [    0.360000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  12. [    0.370000] mtd: partition "rootfs" set to be root filesystem
  13. [    0.380000] 0x000000680000-0x000000800000 : "rootfs_data"
  14. [    0.390000] 0x000000040000-0x000000800000 : "firmware"
复制代码
第一个分区 0x0-0x1d800(不含末位,下同)是放第一个 uboot 的分区,主要负责校验固件以及校验不通过进入恢复模式。第二个分区 0x1d800-0x1e000 主要存放 mac 地址,devid 等信息。第三个分区 0x1e000-0x20000 是 art 分区,存放 art 数据。该分区开头是 2g 的 art 数据,共 1088 字节;然后偏移 0x1000 (闪存 0x1f000)处是 5g 的 art 数据,共 2116 字节(一般设备的 art 分区是闪存的最后 64kb,在该分区偏移量  0x1000 处放 2g 的 art 数据,偏移 0x5000 处放 5g 的 art 数据)。0x20000-0x30000 分区作用不明,可能是存放原厂固件用户设置的分区。0x30000-0x40000 是放第二个 uboot 的分区。后面的这些分区是原厂的固件分区。原厂的固件应该是根据老版本的 openwrt 进行修改得到的。(在这里提一句,原厂的 kernel 不认现在的 mksquashfs 制作的 squashfs 分区。我试着提取原厂的 squashfs 分区,删了 root 密码重新打包回去,内核不认,最后用 ubuntu 12.04 的 mksquashfs 才解决问题)
[attach]403961[/attach]

(2g art)

[attach]403962[/attach]

(5g art)


gpio信息:
gpio1 是复位按钮,按下去的时候是 0,不按是 1
gpio21 是灯,值是 1 的时候不亮,是 0 的时候亮
ttl 的 rxd 在 18 口, txd 在 20 口
(在删掉 root 密码的原厂系统测试 gpio 时,得先把占用 gpio 的原厂 led 控制和按钮控制内核模块卸载,否则灯和复位按钮的 gpio 测试不了)

(在原厂设备上,显示的 led 其实有四个,分别是 status、5g、2g、wps,可实际上设备只有一个灯

内核前面的固件头(0x40000-0x40200):
[attach]403963[/attach]
开头4个字节:应该是固件头的版本号

后面20个字节:应该是magic number。其在多个 tplink 的固件中出出现

再后面8个字节:存放内核的加载地址和入口地址(uboot 唯一读取的地方,我将0x40000-0x40200其他部分全部用 ff 填充,设备依然能正常启动)
之后的112字节:应该是某种分区表
再往后的字节:不知道


其他:
2.4g wifi 和 lan 口的 mac 地址是设备 mac,wan 口的 mac 是设备 mac + 1,5g wifi 的 mac 是设备 mac +2
设备树文件中(即 patch 里面新建的那个文件)的 eth0、eth1 和实际系统中的 eth0、eth1 对应接口是反着的。也就是说设备树中描述的eth0实际对应系统中的eth1,eth1对应eth0

本人刷机用的 xtw100 编程器,使用夹子夹上后发现只能读不能写,按店家说明要给 8脚加一个 3.3v 电压。好在我还买了一个 ch340g ttl 模块,最后用它上面的 3.3v 勉强混了过去。就是直接用夹子刷机的的话加的电压会让设备启动。
[attach]403968[/attach]

附原厂固件启动ttl输出:
波特率128000阶段:


  1. U-Boot 1.1.4 (Oct 30 2015 - 15:16:04)(COMPRESSED)

  2. ap151 - Dragonfly 1.0

  3. DRAM:  64 MB
  4. Top of RAM usable for U-Boot at: 84000000
  5. Reserving 212k for U-Boot at: 83fc8000
  6. Reserving 132k for malloc() at: 83fa7000
  7. Reserving 44 Bytes for Board Info at: 83fa6fd4
  8. Reserving 36 Bytes for Global Data at: 83fa6fb0
  9. Reserving 128k for boot params() at: 83f86fb0
  10. Stack Pointer at: 83f86f98
  11. Now running in RAM - U-Boot at: 83fc8000
  12. Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
  13. flash size 8MB, sector count = 2048
  14. Flash:  8 MB
  15. Using default environment

  16. Autobooting in 1 seconds
  17. verifying uboot partition...
  18. ok
  19. verifying kernel and romfs partition...
  20. ok
  21. Now starting to boot from uboot2!


  22. U-Boot 1.1.4-dirty (May 12 2016 - 17:13:24)

  23. ap151 - Dragonfly 1.0

  24. DRAM:  64 MB
  25. Top of RAM usable for U-Boot at: 84000000
  26. Reserving 137k for U-Boot at: 83fdc000
  27. Reserving 132k for malloc() at: 83fbb000
  28. Reserving 44 Bytes for Board Info at: 83fbafd4
  29. Reserving 36 Bytes for Global Data at: 83fbafb0
  30. Reserving 128k for boot params() at: 83f9afb0
  31. Stack Pointer at: 83f9af98
  32. Now running in RAM - U-Boot at: 83fdc000
  33. Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
  34. flash size 8MB, sector count = 2048
  35. Flash:  8 MB
  36. Using default environment

  37. In:    serial
  38. Out:   serial
  39. Err:   serial
  40. Net:   ath_gmac_enet_initialize...
  41. No valid address in Flash. Using fixed address
  42. Fetching MAC Address from 0x83ff113c
  43. ath_gmac_enet_initialize: reset mask:c02200
  44. Dragonfly----> S27 PHY *
  45. : cfg1 0x80000000 cfg2 0x7114
  46. eth0: 00:03:7f:09:0b:ad
  47. athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
  48. athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
  49. eth0 up
  50. ATHRS27: resetting s27
  51. ATHRS27: s27 reset done
  52. : cfg1 0x800c0000 cfg2 0x7214
  53. eth1: 00:0c:f0:60:dc:98
  54. athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
  55. athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
  56. athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
  57. athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
  58. athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
  59. athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
  60. athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
  61. athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
  62. eth1 up
  63. eth0, eth1
  64. Setting 0x181162c0 to 0x4b962100
  65. Autobooting in 1 seconds
  66. ## Booting image at 9f040000 ...
  67.    Uncompressing Kernel Image ... OK
  68. No initrd
  69. ## Transferring control to Linux (at address 80060000) ...
  70. ## Giving linux memsize in bytes, 67108864

  71. Starting kernel ...

  72. [    0.000000] Linux version 3.3.8 (tplink@tplink-0B) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu May 12 17:15:46 CST 2016
  73. [    0.000000] bootconsole [early0] enabled
  74. [    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
  75. [    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
  76. [    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
  77. [    0.000000] Determined physical RAM map:
  78. [    0.000000]  memory: 04000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
  79. [    0.000000] Initrd not found or empty - disabling initrd
  80. [    0.000000] Zone PFN ranges:
  81. [    0.000000]   Normal   0x00000000 -> 0x00004000
  82. [    0.000000] Movable zone start PFN for each node
  83. [    0.000000] Early memory PFN ranges
  84. [    0.000000]     0: 0x00000000 -> 0x00004000
  85. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
  86. [    0.000000] Kernel command line:  board=AP151 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
  87. [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
  88. [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  89. [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  90. [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  91. [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  92. [    0.000000] Writing ErrCtl register=00000000
  93. [    0.000000] Readback ErrCtl register=00000000
  94. [    0.000000] Memory: 61388k/65536k available (2208k kernel code, 4148k reserved, 563k data, 180k init, 0k highmem)
  95. [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  96. [    0.000000] NR_IRQS:83
  97. [    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
  98. [    0.060000] pid_max: default: 32768 minimum: 301
  99. [    0.060000] Mount-cache hash table entries: 512
  100. [    0.060000] Initialized recycle list for cpu 0.
  101. [    0.070000] NET: Registered protocol family 16
  102. [    0.070000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
  103. [    0.080000] MIPS: machine is Qualcomm Atheros AP151 reference board
  104. [    0.080000] registering PCI controller with io_map_base unset
  105. [    0.090000] bio: create slab <bio-0> at 0
  106. [    0.100000] PCI host bridge to bus 0000:00
  107. [    0.100000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
  108. [    0.110000] pci_bus 0000:00: root bus resource [io  0x0001]
  109. [    0.110000] pci 0000:00:00.0: invalid calibration data
  110. [    0.120000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
  111. [    0.120000] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
  112. [    0.130000] pci 0000:00:00.0: using irq 40 for pin 1
  113. [    0.130000] Switching to clocksource MIPS
  114. [    0.140000] NET: Registered protocol family 2
  115. [    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  116. [    0.140000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  117. [    0.150000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  118. [    0.150000] TCP: Hash tables configured (established 2048 bind 2048)
  119. [    0.160000] TCP reno registered
  120. [    0.160000] UDP hash table entries: 256 (order: 0, 4096 bytes)
  121. [    0.170000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  122. [    0.170000] NET: Registered protocol family 1
  123. [    0.190000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  124. [    0.190000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  125. [    0.200000] msgmni has been set to 119
  126. [    0.210000] io scheduler noop registered
  127. [    0.210000] io scheduler deadline registered (default)
  128. [    0.220000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  129. [    0.240000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
复制代码
波特率115200阶段:
  1. [    0.250000] console [ttyS0] enabled, bootconsole disabled
  2. [    0.250000] console [ttyS0] enabled, bootconsole disabled
  3. [    0.260000] m25p80 spi0.0: found gd25q64CSIG, expected m25p80
  4. [    0.270000] m25p80 spi0.0: gd25q64CSIG (8192 Kbytes)
  5. [    0.270000] Searching for RedBoot partition table
  6. [    0.280000] 9 RedBoot partitions found on MTD device spi0.0
  7. [    0.280000] Creating 9 MTD partitions on "spi0.0":
  8. [    0.290000] 0x000000000000-0x00000001d800 : "factory_boot"
  9. [    0.290000] mtd: partition "factory_boot" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  10. [    0.310000] 0x00000001d800-0x00000001e000 : "factory_info"
  11. [    0.320000] 0x00000001e000-0x000000020000 : "art"
  12. [    0.320000] 0x000000020000-0x000000030000 : "config"
  13. [    0.330000] 0x000000030000-0x000000040000 : "normal_boot"
  14. [    0.330000] 0x000000040000-0x00000013fa78 : "kernel"
  15. [    0.340000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  16. [    0.350000] 0x00000013fa78-0x000000680000 : "rootfs"
  17. [    0.360000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  18. [    0.370000] mtd: partition "rootfs" set to be root filesystem
  19. [    0.380000] 0x000000680000-0x000000800000 : "rootfs_data"
  20. [    0.390000] 0x000000040000-0x000000800000 : "firmware"
  21. [    0.390000] Registered character driver slp_flash_chrdev
  22. [    0.400000] u32 classifier
  23. [    0.400000]     Performance counters on
  24. [    0.400000]     input device check on
  25. [    0.410000]     Actions configured
  26. [    0.410000] nf_conntrack version 0.5.0 (959 buckets, 3836 max)
  27. [    0.420000] TCP cubic registered
  28. [    0.420000] NET: Registered protocol family 17
  29. [    0.430000] 8021q: 802.1Q VLAN Support v1.8
  30. [    0.440000] Flash UID signiture check OK.
  31. [    0.440000] ### of_selftest(): No testcase data in device tree; not running tests
  32. [    0.450000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
  33. [    0.460000] Freeing unused kernel memory: 180k freed
  34. - preinit -
  35. - regular preinit -
  36. [    2.730000] JFFS2 notice: (338) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  37. switching to jffs2
  38. - init -
  39. CAL_TAG=0000000 1111

  40. Please press Enter to activate this console. Fri Jul 17 13:51:00 UTC 2020
  41. [    5.010000] ar71xx: invalid MDIO id 1
  42. [    5.430000] ag71xx_mdio: probed
  43. [    5.440000] ag71xx_mdio: probed
  44. [    5.450000] eth0: Atheros AG71xx at 0xb9000000, irq 4
  45. [    6.000000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
  46. [    6.010000] eth1: Atheros AG71xx at 0xba000000, irq 5
  47. [    6.570000] eth1: Found an AR934X built-in switch
  48. [    7.860000] PPP generic driver version 2.4.2
  49. [    7.890000] asf: module license 'Proprietary' taints kernel.
  50. [    7.890000] Disabling lock debugging due to kernel taint
  51. [    7.910000] ****Address of trace_timer :83bf25c0
  52. [    8.190000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
  53. [    8.260000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
  54. [    8.280000] ath_tx99: Version 2.0
  55. [    8.280000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
  56. [    8.440000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
  57. [    9.970000]
  58. [    9.970000] -----------------2G Caldata--------------------
  59. [    9.980000] 02 02 00 02 03 04 05 06 00 00 00 00 00 00 00 00
  60. [    9.980000] -----------------------------------------------
  61. [    9.980000]
  62. [    9.990000]
  63. [    9.990000] -----------------5G Caldata--------------------
  64. [   10.000000] 44 08 DE 9D 04 01 00 03 7F 12 34 56 00 00 1F 00
  65. [   10.000000] -----------------------------------------------
  66. [   10.000000]
  67. [   10.010000] __ath_attach: Set global_scn[0]
  68. [   10.020000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
  69. [   10.030000] ACBKMinfree = 48
  70. [   10.030000] ACBEMinfree = 32
  71. [   10.030000] ACVIMinfree = 16
  72. [   10.040000] ACVOMinfree = 0
  73. [   10.040000] CABMinfree = 48
  74. [   10.040000] UAPSDMinfree = 0
  75. [   10.040000] ATH_TXBUF=512
  76. [   10.060000] Enterprise mode: 0x03bda000
  77. [   10.060000] Restoring Cal data from Flash
  78. [   10.070000] ath_get_caps[6160] rx chainmask mismatch actual 7 sc_chainmak 0
  79. [   10.080000] ath_get_caps[6135] tx chainmask mismatch actual 7 sc_chainmak 0
  80. [   10.090000] ath_tx_paprd_init sc 831e0000 PAPRD Enabled
  81. [   10.100000] wifi0: Atheros 956X: mem=0xb8100000, irq=47
  82. [   10.100000] ath_pci: 10.2.3.31 (Atheros/multi-bss)
  83. [   10.110000] ath_pci_probe
  84. [   10.110000] PCI device id is 0050 :0050
  85. [   10.110000] ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
  86. [   10.120000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
  87. [   10.130000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x83ba9800
  88. [   10.140000]
  89. [   10.140000]  ol_ath_pci_configure : num_desired MSI set to 0
  90. [   10.140000]
  91. [   10.140000]  Using PCI Legacy Interrupt
  92. [   11.150000] CE_per_engine_handler_adjust, base=83ba9800 offset=57400
  93. [   11.150000] CE_per_engine_handler_adjust, base=83ba9800 offset=57800
  94. [   11.170000] __ol_ath_attach: ath_attach TODO
  95. [   11.170000] __ol_ath_attach: dev name wifi1
  96. [   11.180000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
  97. [   11.190000]  OL_ACBKMinfree : 0
  98. [   11.190000]  OL_ACBEMinfree : 0
  99. [   11.200000]  OL_ACVIMinfree : 0
  100. [   11.200000]  OL_ACVOMinfree : 0
  101. [   11.200000] ol_ath_attach() BMI inited.
  102. [   11.210000] ol_ath_attach() BMI Get Target Info.
  103. [   11.210000] ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016d
  104. [   11.220000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
  105. [   11.220000] ol_ath_attach() configure Target .
  106. [   11.230000] qc98xx_verify_checksum: flash checksum passed: 0x9dde
  107. [   11.230000] ol_transfer_bin_file 2201: Download Flash data len 2116
  108. [   11.240000] Swift firmware download
  109. [   11.250000] ol_transfer_bin_file 2115: Download Firmware data len 224308
  110. [   12.210000] ol_ath_attach() Download FW.
  111. [   12.220000] ol_ath_attach() HT Create .
  112. [   12.220000] ol_ath_attach() HIF Claim.
  113. [   12.220000] ol_ath_attach() BMI Done.
  114. [   12.230000] ol_ath_attach() WMI attached. wmi_handle 832b0000
  115. [   12.230000] +HWT
  116. [   12.240000] SOC_RESET_CONTROL_ADDRESS : 800
  117. [   12.240000] CPU_INTR_ADDRESS = [0]
  118. [   12.240000] SOC_GLOBAL_RESET_ADDRESS = [0]
  119. [   12.250000] Rx_Filter : [0]
  120. [   12.250000] CE_per_engine_handler_adjust, base=83ba9800 offset=57400
  121. [   12.260000] CE_per_engine_handler_adjust, base=83ba9800 offset=57800
  122. [   12.260000] CE_per_engine_handler_adjust, base=83ba9800 offset=57c00
  123. [   12.270000] CE_per_engine_handler_adjust, base=83ba9800 offset=58000
  124. [   12.280000] CE_per_engine_handler_adjust, base=83ba9800 offset=58400
  125. [   12.280000] CE_per_engine_handler_adjust, base=83ba9800 offset=58800
  126. [   12.290000] CE_recv_buf_enqueue 653 Populate last entry 512 for CE 5
  127. [   12.300000] CE_recv_buf_enqueue 662 CE 5 wi 511 dest_ptr 0x21bb020 nbytes 0 recv_ctxt 0x8219dd80
  128. [   12.310000] -HWT
  129. [   12.310000] HTC Service:0x0300 ep:1 TX flow control disabled
  130. [   12.320000] CE_pkt_dl_len_set CE 4 Pkt download length 64
  131. [   12.330000] ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 81df0000
  132. [   12.340000] HTC Service:0x0100 ep:2 TX flow control disabled
  133. [   12.340000] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
  134. [   12.350000] num_rf_chain : 00000001
  135. [   12.350000] ht_cap_info: : 0000085b
  136. [   12.360000] vht_cap_info : 338001b2
  137. [   12.360000] vht_supp_mcs : 0000fffe
  138. [   12.360000] LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
  139. [   12.370000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 408 actual units 145
  140. [   12.380000] chunk 0 len 59160 requested ,ptr  0x1e10000
  141. [   12.390000] FIRMWARE:P 145 V 16 T 443
  142. [   12.390000]
  143. [   12.400000] wmi_ready_event_rx:  WMI UNIFIED READY event
  144. [   12.400000] ol_ath_connect_htc() WMI is ready
  145. [   12.410000] ol_ath_set_host_app_area TODO
  146. [   12.410000] target uses HTT version 2.1; host uses 2.1
  147. [   12.420000] ol_ath_attach() connect HTC.
  148. [   12.430000] bypasswmi : 0
  149. [   12.430000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
  150. [   12.440000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
  151. [   12.450000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
  152. [   12.460000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
  153. [   12.460000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
  154. [   12.470000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
  155. [   12.480000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
  156. [   12.480000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
  157. [   12.490000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
  158. [   12.500000] Add VHT80 channel: 5210
  159. [   12.500000] Add VHT80 channel: 5290
  160. [   12.510000] Add VHT80 channel: 5530
  161. [   12.510000] Add VHT80 channel: 5610
  162. [   12.510000] Add VHT80 channel: 5690
  163. [   12.520000] Add VHT80 channel: 5775
  164. [   12.520000] Skipping VHT80 channel 5825
  165. [   12.530000] ol_ath_phyerr_attach: called
  166. [   12.530000] OL Resmgr Init-ed
  167. [   12.530000] ol_ath_rtt_meas_report_attach: called
  168. [   12.540000] ol_ath_attach() UMAC attach .
  169. [   12.540000] __ol_ath_attach: init tx/rx TODO
  170. [   12.550000] __ol_ath_attach: hard_header_len reservation 58
  171. [   12.640000] GRE over IPv4 demultiplexor driver
  172. [   12.660000] GRE over IPv4 tunneling driver
  173. [   12.670000] ip_tables: (C) 2000-2006 Netfilter Core Team
  174. [   12.830000] xt_time: kernel timezone is -0000
  175. [   12.900000] NET: Registered protocol family 24
  176. [   13.230000] [wifi1] FWLOG: [16413] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 )
  177. [   13.240000] [wifi1] FWLOG: [16413] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 )
  178. [   13.250000] [wifi1] FWLOG: [16413] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 )
  179. [   13.260000] [wifi1] FWLOG: [16413] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 )
  180. [   13.270000] [wifi1] FWLOG: [16418] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 )
  181. [   13.270000] [wifi1] FWLOG: [16418] WHAL_ERROR_RESET_PM (  )
  182. [   13.280000] [wifi1] FWLOG: [16571] ANI Enable:  1
  183. [   13.520000] nf_conntrack_rtsp v0.6.21 loading
  184. [   13.540000] nf_nat_rtsp v0.6.21 loading
  185. [   13.580000] Registered character driver slp_gpio_chrdev
  186. [   14.720000] lan ip is 0xc0a80101
  187. Command failed: Not found
  188. uci: Entry not found (protocol.wan.macaddr)
  189. [CFG_MAC]user did not configured wan mac, use default.
  190. Command failed: Not found
  191. Command failed: Not found
  192. [   20.520000] device eth1 entered promiscuous mode
  193. Write Reg: 0x00000054: Oldval = 0x24696858 Newval = 0x24696858
  194. Write Reg: 0x00000058: Oldval = 0x000f0001 Newval = 0x000f0001
  195. Write Reg: 0x00000050: Oldval = 0x56100002 Newval = 0x5610000a
  196. Enable device[wifi0] phy_change[1] all_vifs[ath0 guest_2g wdscli0] enabled_vifs[ath0] changed_vifs[ath0 guest_2g wdscli0]
  197. [   25.880000] wlan_vap_create : enter. devhandle=0x831a8380, opmode=IEEE80211_M_HOSTAP, flags=0x1
  198. [   25.890000] wlan_vap_create : exit. devhandle=0x831a8380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
  199. [   25.900000] VAP device ath0 created osifp: (818c2380) os_if: (818f0000)
  200. [   25.940000] Set freq vap stop send + 818f0000
  201. [   25.950000] Set freq vap stop send -818f0000
  202. [   26.080000] Set wait done --818f0000
  203. [   26.090000] wlan_vap_create : enter. devhandle=0x831a8380, opmode=IEEE80211_M_HOSTAP, flags=0x1
  204. [   26.100000] wlan_vap_create : exit. devhandle=0x831a8380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
  205. [   26.110000] VAP device guest0 created osifp: (818c3b80) os_if: (81f80000)
  206. [   26.150000] Set freq vap stop send + 818f0000
  207. [   26.150000] Set freq vap stop send -818f0000
  208. [   26.290000] Set wait done --818f0000
  209. [   26.290000] Set freq vap stop send + 81f80000
  210. [   26.290000] Set freq vap stop send -81f80000
  211. [   26.430000] Set wait done --81f80000
  212. [   26.440000] wlan_vap_create : enter. devhandle=0x831a8380, opmode=IEEE80211_M_STA, flags=0x1
  213. [   26.450000] wlan_vap_create : exit. devhandle=0x831a8380, opmode=IEEE80211_M_STA, flags=0x1.
  214. [   26.460000] VAP device wdscli0 created osifp: (81939380) os_if: (818fc000)
  215. [   26.540000] Setting Max Stations:16
  216. set encryption with driver
  217. [   26.590000] set IEEE80211_IOC_WPA to WPA and RSN
  218. [   26.600000] set Key Mgmt Algs to PSK!
  219. [   26.610000] set cipher as AES
  220. [   26.620000] set psksecret 1234qaz5678, length = 11
  221. [   26.630000] set rekey period 86400
  222. [   26.660000]
  223. [   26.660000]  DES SSID SET=
  224. [   26.670000]
  225. [   26.670000]  DES SSID SET=dbwz
  226. [   26.750000] Setting Max Stations:31
  227. [   26.820000]
  228. [   26.820000]  DES SSID SET=
  229. [   26.830000]
  230. [   26.830000]  DES SSID SET=TPGuest_5610
  231. [   27.060000] 8021q: adding VLAN 0 to HW filter on device ath0
  232. [   27.850000] device ath0 entered promiscuous mode
  233. [   27.850000] br-lan: port 2(ath0) entered forwarding state
  234. [   27.860000] br-lan: port 2(ath0) entered forwarding state
  235. [   28.020000] 8021q: adding VLAN 0 to HW filter on device guest0
  236. [   28.800000] device guest0 entered promiscuous mode
  237. [   28.800000] br-lan: port 3(guest0) entered forwarding state
  238. [   28.810000] br-lan: port 3(guest0) entered forwarding state
  239. [   30.090000] br-lan: port 2(ath0) entered forwarding state
  240. [   30.110000] br-lan: port 3(guest0) entered disabled state
  241. Enable device[wifi1] phy_change[1] all_vifs[ath1 wdscli1] enabled_vifs[ath1] changed_vifs[ath1 wdscli1]
  242. [   30.240000] isCountryCodeValid: EEPROM regdomain 0x0
  243. [   30.250000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
  244. [   30.260000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
  245. [   30.260000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
  246. [   30.270000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
  247. [   30.280000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
  248. [   30.290000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
  249. [   30.290000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
  250. [   30.300000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
  251. [   30.310000] Add VHT80 channel: 5775
  252. [   30.310000] Skipping VHT80 channel 5825
  253. [   30.360000] ath_ioctl: SIOC80211IFCREATE CALLED
  254. [   30.360000] wmi_unified_vdev_create_send: ID = 0 VAP Addr = 24:69:68:58:56:12:
  255. [   30.370000] Setting dscp for vap id: 0
  256. [   30.370000] VAP device ath1 created osifp: (818cd380) os_if: (819a8000)
  257. [   30.410000] Following channels are blocked from Channel selection algorithm
  258. [   30.420000] [36] [40] [44] [48]
  259. [   30.430000] Set freq vap stop send + 819a8000
  260. [   30.430000] OL vap_stop +
  261. [   30.440000] wmi_unified_vdev_stop_send for vap 0 (832b0000)
  262. [   30.440000] OL vap_stop -
  263. [   30.440000] STOPPED EVENT for vap 0 (832b0000)
  264. [   30.450000] Set freq vap stop send -819a8000
  265. [   30.580000] Set wait done --819a8000
  266. [   30.590000] ath_ioctl: SIOC80211IFCREATE CALLED
  267. [   30.590000] wmi_unified_vdev_create_send: ID = 1 VAP Addr = 26:69:68:58:56:12:
  268. [   30.600000] wmi_unified_set_psmode:set psmode=1
  269. [   30.610000] Setting dscp for vap id: 1
  270. [   30.610000] VAP device wdscli1 created osifp: (818cfb80) os_if: (819b0000)
  271. [   30.680000] Setting Max Stations:16
  272. set encryption with driver
  273. [   30.740000] set IEEE80211_IOC_WPA to WPA and RSN
  274. [   30.750000] set Key Mgmt Algs to PSK!
  275. [   30.760000] set cipher as AES
  276. [   30.760000] set psksecret 1234qaz5678, length = 11
  277. [   30.770000] set rekey period 86400
  278. [   30.780000] ol_ath_desc_alloc_and_mark_for_mcast_clone: VAP Mcast to Unicast buffer allocated: 400
  279. [   30.790000] ol_ath_vap_set_param: VAP param is now supported param:66 value:2
  280. [   30.830000]
  281. [   30.830000]  DES SSID SET=
  282. [   30.840000]
  283. [   30.840000]  DES SSID SET=dbwz
  284. [   30.920000] OL vap_stop +
  285. [   30.920000] wmi_unified_vdev_stop_send for vap 0 (832b0000)
  286. [   30.920000] OL vap_stop -
  287. [   30.930000] STOPPED EVENT for vap 0 (832b0000)
  288. [   31.060000] wmi_unified_scan_start_send for vap 0 (832b0000)
  289. [   31.060000] 8021q: adding VLAN 0 to HW filter on device ath1
  290. [   31.840000] device ath1 entered promiscuous mode
  291. [   31.850000] br-lan: port 4(ath1) entered forwarding state
  292. [   31.850000] br-lan: port 4(ath1) entered forwarding state
  293. [   32.560000] OL vap_start +
  294. [   32.570000] wmi_unified_vdev_start_send for vap 0 (832b0000)
  295. [   32.570000] OL vap_start -
  296. [   32.580000] ol_vdev_start_resp_ev for vap 0 (832b0000)
  297. [   32.580000] ol_ath_vap_join: join operation is only for STA/IBSS mode
  298. [   32.590000] ol_ath_wmm_update:
  299. [   32.800000] wmi_unified_vdev_up_send for vap 0 (832b0000)
  300. [   32.810000] Notification to UMAC VAP layer
  301. [   32.990000] [stat]Lan ip: C0A80101, Lan mask: FFFFFF00
  302. [   33.000000] [stat]wan dev name: eth0
  303. [   33.190000] ----IGMP init begin------
  304. [   33.190000] wan_dev_index = 255 lan_dev_name=br-lan wan_dev_name=eth0
  305. [   33.200000] ----IGMP has been loaded------
  306. [   33.230000] [wifi1] FWLOG: [37100] WAL_DBGID_SECURITY_ENCR_EN (  )
  307. [   33.240000] [wifi1] FWLOG: [37100] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
  308. [   33.850000] br-lan: port 4(ath1) entered forwarding state
  309. wlan has already started in etc/init.d/network script.
  310. Loading redirects
  311. Loading dmz
  312. Loading forbidhost
  313. Loading localmanage
  314. Loading hostctrl
  315. Loading includes
  316. RTNETLINK answers: No such file or directory
  317. RTNETLINK answers: No such file or directory
  318. RTNETLINK answers: No such file or directory
  319. uci: Entry not found (guest_network.@guest_rule_2g[0])
  320. uci: Entry not found (guest_network.@guest_rule_5g[0])
  321. not ap mode, ignored.
  322. not ap mode, ignored.
  323. uci: Entry not found (guest_network.@guest_rule_2g[0])
  324. uci: Entry not found (guest_network.@guest_rule_5g[0])
复制代码



作者: qlzh    时间: 2020-8-6 16:45
好文章,楼主研究的真是透彻!
作者: qlzh    时间: 2020-8-6 16:47
这WDR5600可也真是个怪胎,3根2.4G天线,1根5G天线。
作者: bjxqkx    时间: 2020-8-21 15:48
编程器修改 看不懂。老大能分享下编程器的固件吗?先谢谢了!
作者: zkdc    时间: 2020-8-22 01:27
bjxqkx 发表于 2020-8-21 15:48
编程器修改 看不懂。老大能分享下编程器的固件吗?先谢谢了!

给了,final_rom_zh-cn.bin 就是编辑完的固件。
作者: wyhtc    时间: 2020-9-3 10:28
可以直接上夹子刷吗?
作者: zkdc    时间: 2020-9-6 20:45
wyhtc 发表于 2020-9-3 10:28
可以直接上夹子刷吗?

可以,我就这么刷的
作者: 一条寂寞的鱼    时间: 2020-9-15 21:42
今天也刚搞了个5600V2  你这个盘里面有4个文件,到底刷哪个啊?固件能否更新下
作者: 一条寂寞的鱼    时间: 2020-9-15 21:47
本帖最后由 一条寂寞的鱼 于 2020-9-15 21:49 编辑

9561不是有个6500V2的breed吗,
[attach]413284[/attach]

为啥你搞了个编程器固件,OPENWRT不是直接用breed刷吗

作者: afeng11    时间: 2020-9-16 13:17
一条寂寞的鱼 发表于 2020-9-15 21:47
9561不是有个6500V2的breed吗,

他没有研究breed,用的原厂的第二个uboot
作者: zkdc    时间: 2020-9-22 15:47
一条寂寞的鱼 发表于 2020-9-15 21:47
9561不是有个6500V2的breed吗,

要改成这个breed用的可能你需要先把原厂的art数据和mac数据按6500的分区放置,然后修改我这个补丁,让他和6500的分区布置一致,再自己编译
作者: 一条寂寞的鱼    时间: 2020-9-22 17:24
试了Breed刷不了,用了编程器烧写固件了,有一个很大的问题,就是WAN口用 不了 上不了网,PPPOE还是二级路由 插WAN口没网络,是固件问题?还有固件能否加点插件啊,太干净了,
作者: zkdc    时间: 2020-9-23 03:06
一条寂寞的鱼 发表于 2020-9-22 17:24
试了Breed刷不了,用了编程器烧写固件了,有一个很大的问题,就是WAN口用 不了 上不了网,PPPOE还是二级路 ...

1. 不做修改确实无法使用breed刷。


2. 我试了一下wan口正常,不管是pppoe还是插另一个路由lan口都没问题(这会儿回帖就是用的 final_rom_zh-cn.bin 刷的路由器拨的号)。
[attach]414504[/attach]
[attach]414505[/attach]
如果你有问题的话建议试试手动在自己的原路由固件上使用 squashfs-sysupgrade_zh-cn.bin 文件编辑一下试试(见用法部分)

3. 至于插件(软件包)的话我觉得还是自己需要什么就自己装什么吧,没有必要提前就内置好了。


作者: 一条寂寞的鱼    时间: 2020-9-24 23:24
zkdc 发表于 2020-9-23 03:06
1. 不做修改确实无法使用breed刷。

哦,那应该就是WAN口坏了,原固件好像就是WAN口没反应,对了,那个LAN改WAN 怎么改了,
作者: 一条寂寞的鱼    时间: 2020-9-25 01:07
本帖最后由 一条寂寞的鱼 于 2020-9-25 01:21 编辑

https://www.myopenwrt.org/archives/504/comment-page-1  看了这个贴改,改了LAN改WAN,但好像当二级路由就有网络,拨号就拨号不上,不知道是不是我没设置好改WAN的参数,哎....
作者: 一条寂寞的鱼    时间: 2020-9-25 01:08
这个5600V2的固件真难找,整个论坛刷了好多个都是没无线,要不就是只有2.4G,是这个机型的ART比较特殊还是什么,只有你这个有双频正常
作者: 一条寂寞的鱼    时间: 2020-9-25 22:08
本帖最后由 一条寂寞的鱼 于 2020-9-26 00:38 编辑

也不知道是不是固件问题,用来了半个更多小时就断网,哎  还是放弃了 用回原固件
作者: zkdc    时间: 2020-9-26 01:02
一条寂寞的鱼 发表于 2020-9-25 01:08
这个5600V2的固件真难找,整个论坛刷了好多个都是没无线,要不就是只有2.4G,是这个机型的ART比较特殊还是 ...

这个机子的art数据位置确实挺奇怪的。。。,不过你可以试着把他放到一般正常的位置试试(当然用我这个固件别这么搞)。
作者: zkdc    时间: 2020-9-26 01:07
一条寂寞的鱼 发表于 2020-9-25 22:08
也不知道是不是固件问题,用来了半个更多小时就断网,哎  还是放弃了 用回原固件

这会儿我用不上这个路由器也不知道他到底稳定性咋样,过一阵子我试试
作者: 一条寂寞的鱼    时间: 2020-9-27 20:00
是我的路由WAN口问题,不稳定,我把LAN改WAN拨号就好了不断网了,但是有个问题,我用百度云下载东西 下了一两分钟就下载失败,我换了个路由就正常 下载了,是我路由硬件问题还是固件问题呢
作者: 一条寂寞的鱼    时间: 2020-9-27 20:06
百度云盘下载东西就失败应该是固件问题,,能否用新的源码编译个固件?
作者: zkdc    时间: 2020-9-28 00:36
一条寂寞的鱼 发表于 2020-9-27 20:06
百度云盘下载东西就失败应该是固件问题,,能否用新的源码编译个固件?

patch (也就是包含了我对openwrt修改的文件)我提供了,你可以搞下来 openwrt 对应版本的源码自己编译的,要是发现我这 patch 里有什么不对的说一声。

使用我的 patch 编译出来的要按照我的用法那部分使用,或者你在这个 patch 的基础再改改,让他可以用其他方式(比如breed)使用。

要编译就要先搞一个linux系统,然后 git clone 下 openwrt 源码()
之后按 https://openwrt.org/docs/guide-d ... install-buildsystem 安装编译所需工具
然后按 https://openwrt.org/docs/guide-d ... tem/use-buildsystem 使用构建系统进行编译(当然,你得在实际的编译开始前应用我提供的 patch 文件)
作者: zkdc    时间: 2020-9-28 00:38
一条寂寞的鱼 发表于 2020-9-27 20:00
是我的路由WAN口问题,不稳定,我把LAN改WAN拨号就好了不断网了,但是有个问题,我用百度云下载东西 下了一 ...

当时这个路由怎么连接网络的?有空我也试试百度云下东西
作者: 一条寂寞的鱼    时间: 2020-9-28 20:39
zkdc 发表于 2020-9-28 00:38
当时这个路由怎么连接网络的?有空我也试试百度云下东西

就是拨号啊.....
作者: tmp05    时间: 2020-10-4 10:54
适用于哪些版本?
作者: 一条寂寞的鱼    时间: 2020-10-11 19:18
zkdc 发表于 2020-9-28 00:36
patch (也就是包含了我对openwrt修改的文件)我提供了,你可以搞下来 openwrt 对应版本的源码自己编译的 ...

我不会编译啊,你给这个我看不懂
作者: 一条寂寞的鱼    时间: 2020-10-13 21:20
https://www.my隔壁论坛digit.能用cn/forum.php?mod=viewthread&tid=1505
这个固件正常了
作者: zkdc    时间: 2020-10-13 21:52
一条寂寞的鱼 发表于 2020-10-13 21:20
https://www.my隔壁论坛digit.能用cn/forum.php?mod=viewthread&tid=1505
这个固件正常了

指百度云吗
作者: 一条寂寞的鱼    时间: 2020-10-16 22:21
不掉线了,你也可以试试,
作者: pany4321    时间: 2021-2-22 20:37
牛人,下载用用
作者: wyhtc    时间: 2021-6-23 08:43
zkdc 发表于 2020-9-6 20:45
可以,我就这么刷的

好的谢谢
作者: dfsam    时间: 2021-8-15 13:26
拆flash出来,用编程器刷final_rom_zh-cn.bin,这个进去就可以了是吗,不用弄其他的了
作者: eromg    时间: 2021-11-26 18:35
你的path文件怎么用,基本编译我会,
作者: zhang-3    时间: 2022-2-5 17:47
原厂的这个uboot似乎初始化了网口的指示灯,固件里都不用添加网口灯的信息。换breed需要添加网口灯。
作者: zkdc    时间: 2022-2-18 11:36
zhang-3 发表于 2022-2-5 17:47
原厂的这个uboot似乎初始化了网口的指示灯,固件里都不用添加网口灯的信息。换breed需要添加网口灯。

没注意过这几个灯
作者: doc007    时间: 2022-8-12 23:04
本帖最后由 doc007 于 2022-8-12 23:07 编辑

楼主能否做个带出国海淘海淘功能的呢,还有不知楼主注意到没 这个固件占用的内存非常大 没装任何插件可用内存就只有19M了,别的64M路由器剩余一般有30M+
作者: abo990    时间: 2022-8-13 12:35
qlzh 发表于 2020-8-6 16:47
这WDR5600可也真是个怪胎,3根2.4G天线,1根5G天线。

5G刚出来,要搞点虚头。
2.4G还是主流,3根2.4,是为了标千兆路由。
实际有这种低端路由器,分wlan百兆与千兆版本,这都是过渡时间段的妖怪
作者: didiaoing    时间: 2022-10-18 06:08
v3,本身刷过固件的,按方法不成功,可以提供一份兼容breed刷的factory.bin固件吗
作者: doc007    时间: 2022-11-15 21:56
很遗憾我按你的方法手工改原始编程器固件没有成功所有灯全亮,能否发布一个能适应 breed-qca9561-wdr6500v2.bin 的固件,art不需要你修复,我把5G信号文件在5000这个地方也贴了一份 对应21.XX代码就好了 我自己手工patch到最新代码里
作者: doc007    时间: 2022-11-17 19:59
我用的是 openwrt-19.07.3-ath79-generic-tplink_tl-wdr5600-v2-squashfs-sysupgrade_zh-cn.bin   是我理解有误么?把0x30000后面0x10000个字节复制到最开始,然后从0x40000处把整个bin复制进去  对吧    可是我这就是起不来 所有灯全亮不带闪的
作者: linuxfans    时间: 2022-12-7 12:52
楼主,那个 final_rom.bin 下载链接可以发一下吗?
作者: zkdc    时间: 2023-1-21 11:58
doc007 发表于 2022-11-17 19:59
我用的是 openwrt-19.07.3-ath79-generic-tplink_tl-wdr5600-v2-squashfs-sysupgrade_zh-cn.bin   是我理解 ...

没有问题,不知道为什么没有成功。我这么操作的路由器不光跑的好好的,还用openwrt自带更新升级了后面我自己编译的几个固件……
作者: zkdc    时间: 2023-1-21 12:01
didiaoing 发表于 2022-10-18 06:08
v3,本身刷过固件的,按方法不成功,可以提供一份兼容breed刷的factory.bin固件吗

不是原厂固件布局我没办法,没了解过breed
作者: 冰花ice    时间: 2023-9-3 08:28
感谢楼主的付出,我的WDR5600 v2成功刷入启动,就是不知道为什么我的这路由器的flash必须得拆下来才能读出来或者写入,不拆直接读出来的文件有问题,也没法擦除,估计是干扰太大了。





欢迎光临 恩山无线论坛 (https://www.right.com.cn/forum/) Powered by Discuz! X3.5