默认openwrt trunk编译出来的flash大小为8M,可是咱们手上的板子可能flash大小更大,本文以MT7620a为例,将其flash大小由8M修改成16M或者32Mlinux
路径为`openwrt/target/linux/ramips/dts/
在其中增长MT7620a_16M.dts和MT7620a_32M.dts文件,下载地址为百度云.markdown
路径为openwrt/target/linux/ramips/image/Makefile
将其中的Makefile文件替换为百度云中同名文件.code
再次编译后,bin文件路径为openwrt/bin/ramips
,文件名为openwrt-ramips-mt7620a-mt7620a_16M-squashfs-sysupgrade.bin和openwrt-ramips-mt7620a-mt7620a_32M-squashfs-sysupgrade.binip
但愿能够帮到你:)get