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

Matthew McClintock msm-oss at mcclintock.net
Wed Oct 5 01:21:11 EDT 2016


On Oct 5, 2016 12:09 AM, "Mathias Kresin" <dev at kresin.me> wrote:
>
> 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

What's there works. I think it's right because normally you can't change
the bootcmd. So we're in a state were you simply can't save the uboot env.

Thought the my-dlink stuff was weird but the partitions at least are there.
Not sure if removing them is recoverable for switch back to stock for
example.

-M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20161005/15c908de/attachment.htm>
-------------- next part --------------
_______________________________________________
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