[OpenWrt-Devel] RE:RE: [PATCH v4 1/3] ramips: add support for JS7628 development board

且听风吟 wurobinson at qq.com
Wed Oct 9 00:19:33 EDT 2019


Hi Adrian,
JS7628 use MT7628AN/NN chip
JS7688 use MT7688AN chip
ZTK7628P use MT7628DAN chip
Here are some differences between those chips and modules' shape. If I use "JS76x8-8m" the OpenWRT firmware name will be "openwrt-ramips-mt76x8-zhuotk_js76x8-8m". When users see this firmware name, the they will be confused what module this firmware should match to.
I think, the solution is "auto flash file system partition size detect in DTS",  by setting some DTS configurations, the system will auto set partition size for file system as the size of the file system is changeable. If the DTS has this feature, the "JS7628", "JS7688", "ZTK7628P" boards' configurations in DTS will be "mt7628an_zhuotk_js7628.dts", "mt7628an_zhuotk_js7688.dts", "mt7628an_zhuotk_ztk7628p.dts", and the "target/linux/ramips/image/mt76x8.mk" will be left "zhuotk_js7628", "zhuotk_js7688", "zhuotk_ztk7628p" too.
But I don't know how to do "auto flash file system partition size in DTS" yet, and I don't see any configuration in OpenWRT source like that. So I think, what I commited is better than yours.



Best 


Robinson Wu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191009/4068f372/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list