<p dir="ltr">On Oct 5, 2016 12:09 AM, "Mathias Kresin" <<a href="mailto:dev@kresin.me">dev@kresin.me</a>> wrote:<br>
><br>
> 05.10.2016 06:36, Matthew McClintock:<br>
><br>
>> On Sun, Sep 11, 2016 at 1:02 AM, Cezary Jackiewicz<br>
>> <<a href="mailto:cezary.jackiewicz@gmail.com">cezary.jackiewicz@gmail.com</a>> wrote:<br>
>>><br>
>>> Dnia 2016-09-11, o godz. 00:05:18<br>
>>> Matthew McClintock <<a href="mailto:msm-oss@mcclintock.net">msm-oss@mcclintock.net</a>> napisał(a):<br>
>>><br>
>>>> On Sat, Dec 12, 2015 at 1:53 AM, Cezary Jackiewicz<br>
>>>> <<a href="mailto:cezary.jackiewicz@gmail.com">cezary.jackiewicz@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> Add support for TRENDnet TEW-823DRU:<br>
>>>>> - cpu: QCA9558 @720MHz<br>
>>>>> - flash: 16MB<br>
>>>>> - ram: 256MB<br>
>>>>> - 4+1 RJ45 100/1000Mbps<br>
>>>>> - wifi: QCA9558 (bgn) and QCA9880-BR4A (ac)<br>
>>>>> - 1x USB 2.0<br>
>>>>><br>
>>>>> Signed-off-by: Cezary Jackiewicz <<a href="mailto:cezary.jackiewicz@gmail.com">cezary.jackiewicz@gmail.com</a>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> Can you confirm the serial port info is correct here?<br>
>>>> <a href="https://wiki.openwrt.org/toh/trendnet/tew-823dru">https://wiki.openwrt.org/toh/trendnet/tew-823dru</a><br>
>>><br>
>>><br>
>>> Yes, four pin hole on the left.<br>
>><br>
>><br>
>> FWIW, I also found that the u-boot command saveenv overwrites the<br>
>> first sector containing Linux so don't run that command.<br>
><br>
><br>
> Which indicates the partition layout is wrong:<br>
><br>
> 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<br>
><br>
> Without having knowledge about the board, I guess the partition layout has to be:<br>
><br>
> spi0.0:256k(u-boot)ro,64k(nvram)...<br>
><br>
> 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.<br>
><br>
> Mathias</p>
<p dir="ltr">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. </p>
<p dir="ltr">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.</p>
<p dir="ltr">-M</p>