1.openwrt尝试编译uboot

1.硬件配置

ram 华邦w971gg6 1gbits ,128mBytes
1.openwrt尝试编译uboot_第1张图片

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_第2张图片

最终下载的下面的这个

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源码

你可能感兴趣的:(openwrt)