1.openwrt尝试编译uboot

1.硬件配置

ram 华邦w971gg6 1gbits ,128mBytes
image.png

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 解压
image.png

最终下载的下面的这个

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

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值