OpenWrt modify the flash size

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.