ZYNQ学习笔记(一): uboot 编译

ZYNQ 需用uboot来作为启动的引导

下载地址:https://pan.baidu.com/s/1i5FwRGD 提取码:2y66

1、下载地址:https://github.com/Xilinx/u-boot-xlnx
2、在 ubuntu 中执行:git clone https://github.com/Xilinx/u-boot-xlnx.git


3、在下载的uboot目录中执行

     make zynq_zc702_config

     make


4、mkimage工具

     cd tools

     export  PATH=`pwd`:$PATH

    如果不想每次输入以上内容,也可将tools 路径加入到环境变量中

    例如:编辑/etc/bash.bashrc,加入export PATH=uboot路径/tools:$PATH(待测)


5、在uboot下生成一个名为uboot的二进制文件,将名字改成uboot.elf,在SDK中使用;


问题:在make的过程中,遇到了下面问题:

include/image.h:1024:27: fatal error: openssl/evp.h: 没有那个文件或目录
compilation terminated.
scripts/Makefile.host:116: recipe for target 'tools/aisimage.o' failed
make[1]: *** [tools/aisimage.o] Error 1
Makefile:1217: recipe for target 'tools' failed
make: *** [tools] Error 2

 通过 安装 libssl 解决:sudo apt-get install libssl-dev






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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值