[OpenWrt-Devel] [PATCH] ar71xx: add support for TRENDnet TEW-823DRU

Mathias Kresin dev at kresin.me
Wed Oct 5 01:08:58 EDT 2016


05.10.2016 06:36, Matthew McClintock:
> On Sun, Sep 11, 2016 at 1:02 AM, Cezary Jackiewicz
> <cezary.jackiewicz at gmail.com> wrote:
>> Dnia 2016-09-11, o godz. 00:05:18
>> Matthew McClintock <msm-oss at mcclintock.net> napisał(a):
>>
>>> On Sat, Dec 12, 2015 at 1:53 AM, Cezary Jackiewicz
>>> <cezary.jackiewicz at gmail.com> wrote:
>>>> Add support for TRENDnet TEW-823DRU:
>>>> - cpu: QCA9558 @720MHz
>>>> - flash: 16MB
>>>> - ram: 256MB
>>>> - 4+1 RJ45 100/1000Mbps
>>>> - wifi:  QCA9558 (bgn) and QCA9880-BR4A (ac)
>>>> - 1x USB 2.0
>>>>
>>>> Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz at gmail.com>
>>>
>>>
>>> Can you confirm the serial port info is correct here?
>>> https://wiki.openwrt.org/toh/trendnet/tew-823dru
>>
>> Yes, four pin hole on the left.
>
> FWIW, I also found that the u-boot command saveenv overwrites the
> first sector containing Linux so don't run that command.

Which indicates the partition layout is wrong:

tew823dru_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,15296k(firmware),192k(lang)ro,512k(my-dlink)ro,64k(mac)ro,64k(art)ro

Without having knowledge about the board, I guess the partition layout 
has to be:

spi0.0:256k(u-boot)ro,64k(nvram)...

Side note: I would be really surprised if a TRENDnet devices has a 
my-dlink partition. I rather guess the lang and my-dlink partition are 
not required for OpenWrt and the flash space can be used for the 
firmware partition instead.

Mathias
_______________________________________________
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