OpenWrt modify the flash size
Preface
By default, the size of the flash compiled by openwrt trunk is 8 M, but the size of the Board on our hand may be larger. In this article, MT7620a is used as an example to change the flash size from 8 M to 16 M or 32 M.
Add dts files
Path: 'openwrt/target/linux/ramips/dts/
Add the MT7620a_16M.dts and MT7620a_32M.dts files, which are Baidu cloud.
Modify the Makefile file of dts
Path:Openwrt/target/linux/ramips/image/Makefile
Replace the Makefile with a file of the same name in Baidu cloud.
Recompile
After re-compilation, the binfile path isOpenwrt/bin/ramips
, File name is openwrt-ramips-mt7620a-mt7620a_16M-squashfs-sysupgrade.bin and openwrt-ramips-mt7620a-mt7620a_32M-squashfs-sysupgrade.bin
Hope to help you :)
MT7620a OpenWrt barrier_breaker after compilation, the wan port dhcp cannot obtain the address
This article permanently updates the link address: