默認openwrt trunk編譯出來的flash大小為8M,但是我們手上的板子可能flash大小更大,本文以MT7620a為例,將其flash大小由8M修改為16M或者32M
路徑為`openwrt/target/linux/ramips/dts/
在其中增加MT7620a_16M.dts和MT7620a_32M.dts文件,下載地址為百度雲.
路徑為openwrt/target/linux/ramips/image/Makefile
將其中的Makefile文件替換為百度雲中同名文件.
再次編譯後,bin文件路徑為openwrt/bin/ramips
,文件名為openwrt-ramips-mt7620a-mt7620a_16M-squashfs-sysupgrade.bin和openwrt-ramips-mt7620a-mt7620a_32M-squashfs-sysupgrade.bin
希望可以幫到你:)
MT7620a OpenWrt barrier_breaker編譯後wan口dhcp無法獲得地址 http://www.linuxidc.com/Linux/2015-08/122062.htm