openwrt修改flash大小

增加dts文件

路径为`openwrt/target/linux/ramips/dts/
在其中增加MT7620a_16M.dtsMT7620a_32M.dts文件,下载地址为百度云.

修改dts的Makefile文件

路径为openwrt/target/linux/ramips/image/Makefile
将其中的Makefile文件替换为百度云中同名文件.

再次编译

再次编译后,bin文件路径为openwrt/bin/ramips,文件名为openwrt-ramips-mt7620a-mt7620a_16M-squashfs-sysupgrade.binopenwrt-ramips-mt7620a-mt7620a_32M-squashfs-sysupgrade.bin


希望可以帮到你:)

posted @ 2015-08-18 11:46  铁马丶冰河  阅读(1539)  评论(0编辑  收藏  举报