默認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