I have realized that the the support page mentions a newer model v2 of the RE650.
Has this been spotted in the wild already?
While looking into the provided the TP-Link RE650v2 GPL source code I realized that it contains the OpenWRT build system?
Has TP-Link now based their stock firmware on OpenWRT?
The included config fie mentions this line:
CONFIG_ROOTFS_PATH="../board/model_mtk_mt76xx/image/re650v2_eu/rootfs.board/
What support page are you talking about? All I find in the wiki are pages for the v1, and the device page for that version doesn't mention anything about a v2 (ctrl+F doesn't yield anything nor does a cursory read).
A lot of vendor SDKs are based on (often older) OpenWrt versions. Newer Mediatek ones however seem to be closer to upstream OpenWrt. So there's nothing unusual about it (nor about the lack of giving back either, unfortunately).
RE650 V2 has 8MB of flash, I've been able to dump the flash through serial, and here is the partition table found in there
partition fs-uboot base 0x00000 size 0x20000
partition os-image base 0x20000 size 0x330000
partition file-system base 0x350000 size 0x470000
partition partition-table base 0x7c0000 size 0x02000
partition default-mac base 0x7c2000 size 0x00020
partition pin base 0x7c2100 size 0x00020
partition product-info base 0x7c3100 size 0x01000
partition soft-version base 0x7c4200 size 0x01000
partition support-list base 0x7c5200 size 0x01000
partition profile base 0x7c6200 size 0x08000
partition config-info base 0x7ce200 size 0x00400
partition user-config base 0x7d0000 size 0x10000
partition default-config base 0x7e0000 size 0x10000
partition radio base 0x7f0000 size 0x10000
I'm trying to build 21.02 branch of OpenWrt with default .config found in 21.02 ramips, however, I'm failing to fit it into the space between0x20000 and 0x7e0000, can't get factory / sysupgrade images to build into that size.
EDIT: My bad, forgot to fill out the details in tplink-safeloader.c, so the image was not building correctly for OEM update. I just fixed that mistake and I'll be testing the OpenWRT on RE650 V2
I jinxed it.
Wifi power is really bad on the openwrt in comparison to original firmware. I set the power to the maximum for 2,4G and 5G, yet I'm only able to make connection when I put my phone really close to the extender. No amount of changing the settings inside the openwrt fix it. My only last idea is to build from v21.02.2 tag instead of openwrt-21.02 branch, and see whether there has been any regression.
I seem to have fixed the issue described above - PCIE0 and PCIE1 definitions are different on the V2 than they were on V1, hence I was trying to use 2,4ghz chip for 5ghz and vice versa. I replaced the order of them and it seems it started to work just fine - I get full speed and range on RE650 v2!
@nicarim I noticed that youhave added v2 information to the v1 devicepage.
Since the devicepage is intended for v1 only, please create a new devicepage for v2 (as there is already a patch available, you can use the "supported" template). Thanks!
Yeah, sorry, was not sure about the order in which I should add the info vs waiting for the patch to be approved. I will change that.
EDIT: Actually - should it be a different device page or should just V2 be added to the v1 page and v1 could be dropped from the title? I was talking on IRC with PaulFertser before and he mentioned that it could be just merged instead? WDYT?
I added the dataentry for the device, as per request.
I also backported the changes to 21.02.2 git tag locally, turns out 5ghz wifi is much faster on 21.02 than on the latest master (difference being in the range of 40Mb/s vs 400Mb/s, so almost 10x more). If changes get merged to master, I think it would be beneficial to backport it to 21.02 as well.
I'll see 22.03 just to make sure it wasn't just master being at fault here.
I've just changed device's supported version to snapshot as patches have been merged into master. Links to snapshots are now in the wiki. (I've tested the snapshot version and it boots and works for me)
That being said, it's still better to use 21.02 version of the release than the snapshots, as they're much slower in terms of wifi speed. It needs to be backported to 21.02 to be available, but it's fairly easy to build the image yourself from the patches that I submitted for master.
Hi,
i dont know if i am doing something wrong but i cannot create an image with the provided imagebuilder.
i stops with the error:
* pkg_hash_check_unresolved: cannot find dependency libwolfssl5.3.0.ee39414e for libustream-wolfssl20201210
* pkg_hash_fetch_best_installation_candidate: Packages for libustream-wolfssl found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libustream-wolfssl.
* pkg_hash_check_unresolved: cannot find dependency libwolfssl5.3.0.ee39414e for wpad-basic-wolfssl
* pkg_hash_fetch_best_installation_candidate: Packages for wpad-basic-wolfssl found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package wpad-basic-wolfssl.
is this a a bug? i could not find it on github-issues. am i doing somethting wrong? i try to build a bare minimum image with make image PROFILE="tplink_re650-v2" from the today openwrt-imagebuilder-ramips-mt7621.Linux-x86_64