chengyi818

前言

默认openwrt trunk编译出来的flash大小为8M,但是我们手上的板子可能flash大小更大,本文以MT7620a为例,将其flash大小由8M修改为16M或者32M


增加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


希望可以帮到你:)

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
  • 2021-12-15
  • 2021-07-04
  • 2021-10-02
  • 2022-12-23
  • 2021-07-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
相关资源
相似解决方案