Unofficial TRENDnet AC2600 (TEW-827DRU v1.0R)

Hi, Thank You for your work! i'm facing problem with installation. With http recovery i'm getting error

"mime_content_body 360: Current_Length: 6295010 content_len: 6296408
mime_content_body 360: Current_Length: 6296034 content_len: 6296408
mime_content_body 360: Current_Length: 6297058 content_len: 6296408
Error: End boundary wrong
http_appcall() : send count down page
httpd_appcall 414 : Send file later len:1135:
Hit any key to stop autoboot:  0
## Executing script at 42000000
Bad FIT image format
resetting ..."

while by tftpd router not downloading image. tried newest factory and 19.07. can You help me? Thanks

Bad FIT image format

Can you try installing an older image version, and then you can sysupgrade to the newest version.

I have not tested the factory image in awhile. Maybe there's something wrong with v21.02 that I don't know about.

I'll do a test later today or tomorrow.

EDIT: Nevermind, I see that you tried v19.07 too.

I'll look at my documentation to see if I have any notes on your type of issue, but nothing comes to mind right away.

I've never seen errors like this before.

I would suggest you verify the hashes of the files to make sure you are downloading them correctly. Then, make sure there's nothing wrong with your local network which might be causing the file uploads to fail. The fact that TFTP also isn't working for you is a strong indication that this is a local-environment problem of some kind.

These errors make me think the file isn't being transferred across the network correctly, or the file itself is corrupt.

Hi, best new year wishes.
Finaly had some time to play with my trendnet, tried new cable and it went without any trouble with uart method. All work nice but speeds are not right since there is no hw offloading.
Thanks for Your work with adding suport for this nice router .

New build available.

The latest builds are based off OpenWRT v21.02.2. My patch set is v18.

Sysupgrade and Factory image files are here:

https://jmomo.net/files/lede/TRENDnet_TEW-827DRU_20220226190220_OpenWRT_v21.02.2_luci/bin/

1 Like

Hi jmomo,

When you have some time, could you please take a look at adding NSS hardware acceleration support and build a separate image with NSS (for performance).

Thank you very much for wonderful builds for TEW-827DRU v1.0R.

Eric

Hi jmomo,

Do you have instructions on how to build images for TEW-827DRU v1.0R? I'd like to build my own images with my most commonly used packages.

Thanks,
Eric

I am aware of that project but my intention is to release an image that matches what you would get upstream in a standard OpenWRT release. It would be a lot of work to merge in all of that code and test it, and there's been a lot of stability quality problems with that project.

The NSS project should be working to get it's code upstreamed, but last I knew there was significant doubts that would ever happen because of the switch to DSA and other issues.

Google around for instructions on how to build a custom image. It's not that hard to do.

First you need your dependencies and the right environment. Probably the last major LTS version of Ubuntu should be your best bet. Then add whatever packages are needed. Again, google around for that.

git pull the OpenWRT repository, then download and apply my patches:

rm -f v??-0000-cover-letter.patch
for P in *.patch ; do echo "$P" ; git am < $P ; echo -- ; done ; unset P

Once you've applied my patches it's exactly like building any other ipq806x device.

Make sure to build with all kernel mods because your modules are specific to your kernel. You can't use the official package repos for kmods when you build your own.

Sample diff config here: http://openwrt.opendreams.net/TRENDnet_TEW-827DRU_20220226190220_OpenWRT_v21.02.2_luci/diffconfig.txt

Googling around can tell you everything else you need to know. Good luck.

Hi Jmomo,

Thank you so much for the information. I will try it on my Archlinux laptop later this week.

Best regards,
Eric

Hi Jmomo,

I noticed that your TEW-827DRU images don't seem to work with IPv6. My ISP supports IPv6 but the TEW-827DRU's WAN interface can never acquire an IPv6 address. If I use r7500v2 / OpenWrt, it gets IPv6 address.

Thanks,
Eric

IPv6 is a required component of the base system, so it's not like anything is missing from my builds (as far as I know!).

Here's the official diffconfig:

https://downloads.openwrt.org/releases/21.02.2/targets/ipq806x/generic/config.buildinfo

Compare that to mine and it's basically the same for packages and the important stuff.

Maybe there's something special about your r7500v2 config that makes it work by default?

New build is up. v21.02.3. Same old patches. It's just security updates.

https://jmomo.net/files/lede/TRENDnet_TEW-827DRU_20220420181040_OpenWRT_v21.02.3_luci/bin/

1 Like

Hi jmomo,

Have you tried to build images based off the recent 22.03 RCx branches using the existing patches v18? I plan to build new images using the 22.03 branch.

Thanks a lot.

I have not tried, and I doubt that the patches will apply because there's some significant differences.

I don't plan on building for any of the beta releases, but when the official release comes out I will start looking into it.

Thanks jmomo.

Please start looking into updating the patches soon since I believe that the official 22.03.01 will come out in several weeks. There have been some recent significant fixes (reverting the virtual time-based airtime scheduler back to the round-robin scheduler, plus enhancements, and multicast fixes) for WIFI to prevent high latencies in a few scenarios.

The excessive latency problem exists in 21.02.2, 21.02.3 when the VTBA scheduler was introduced into the mac80211 driver after the 21.02.1 release. I asked the developer (Felix/nbd) to commit his fixes to 21.02 branch as well so the next 21.02.4 will also have the fixes. Unfortunately, I don't think he will do so.

Hello,

22.03.0 has become official.

I pulled source today and started looking at the diffs. It doesn't look too bad but I'm really busy right now. It might be a week or two but I'll get new builds and patches out soon.

2 Likes

New build for v22.03.0 is up.

https://jmomo.net/files/lede/TRENDnet_TEW-827DRU_20220911185933_OpenWRT_v22.03.0_luci/bin/

Still no DSA for ipq806x. No full config reset needed.

I tested almost nothing. I upgraded a system, ssh'd in, wireless was working, looked at the logread briefly, and that's it. It looks like it upgraded okay without the need for full wipe, then I downgraded and restored my previous configs. Install at your own peril.

v22.03 is missing a bunch of important packages for my systems so I'm not upgrading my fleet yet. glib2 is breaking a ton of stuff.

New patch set is v19. I was expecting a bunch of changes but there was very little. Just stuff moved around.

1 Like

Thank you jmomo. You're awesome.