1.openwrt尝试编译uboot

1.硬件配置

ram 华邦w971gg6 1gbits ,128mBytes
1.openwrt尝试编译uboot

flash w25q128 128mbits ,16MBytes
cpu mtk7628

2.下载uboot

 git clone https://github.com/widora/u-boot-mt7688.git
 git clone https://github.com/liupeng08304/mt7628_uboot
git clone  [https://github.com/qdk0901/openwrt-uboot-mt7628.git](https://github.com/qdk0901/openwrt-uboot-mt7628.git)

如果下载不了就直接到网页去下载,然后unzip 解压
1.openwrt尝试编译uboot

最终下载的下面的这个

How to use

查看readme.md,发现需要到openwrt源码中编译

1.  git clone [https://github.com/qdk0901/openwrt-uboot-mt7628.git](https://github.com/qdk0901/openwrt-uboot-mt7628.git)

2.  copy openwrt-uboot-mt7628 folder to openwrt_source/package/boot/

3.  select uboot-mt7628 package under menuconfig in bootloadopenwrter category

4.  building uboot with under commands


   make package/uboot-mt7628/prepare V=s
   make package/uboot-mt7628/compile V=s



5.  uboot.bin will generated under openwrt_source/bin folder

下一步编译openwrt源码

上一篇:树莓派4b安装openwrt做副路由


下一篇:openwrt编译ipk包提示缺少feeds.mk文件