问题:petalinux-package --boot --fpga xxx.bit --u-boot ERROR: This tool requires 'bootgen'
来源:互联网 发布:淘宝网131458 编辑:程序博客网 时间:2024/05/22 12:03
问题:
petalinux-package --boot --fpga xxx.bit --u-boot
ERROR: This tool requires 'bootgen' and it is missing. Please source Xilinx Tools settings first
老外的解决方法:
1. sourced settings with: cd <xilinx>; source settings.sh
2. Embarked on the workflow:
petalinux-create —type project —template zynq —name <myproject>
cd <xilinx>/etc/template/project/template-zynq/subsystems/linux/hw-description
petalinux-config --get-hw-description -p <myproject - absolute path>
petalinux-build
petalinux-boot —qemu —kernel
3. the last command just complained about IP address but the system actually booted up and seemed to work
4. The workflow manual (the same webpage where you download Petalinux from) says to run this to create a bin file for SD card:
petalinux-package —boot —format BIN —fsbl images/linux/zynq_fsbl.elf —u-boot
unfortunately, you need a "bootgen" utility that is only available in SDK
5. I downloaded "Vivado full image for Linux with SDK" from http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vivado-design-tools.html
6. 5GB later and 20 minutes of installation time I was able to run the petalinux-package
export PATH=$PATH:/<SDK inst. folder>/Xilinx/SDK/2014\.4/bin
cd <myproject>
petalinux-package —boot —format BIN —fsbl images/linux/zynq_fsbl.elf —u-boot
7. success and there is a BOOT.BIN file in <myproject>/images/linux as well as in "/tftpboot"
参考:http://forum.trenz-electronic.de/index.php?topic=368.0
- 问题:petalinux-package --boot --fpga xxx.bit --u-boot ERROR: This tool requires 'bootgen'
- BOOT Petalinux with JTAG
- U-BOOT问题讨论
- U-Boot 移植问题
- u-boot编译问题
- U-Boot网络问题
- U-boot编译问题
- u-boot中***没有规则可以创建“XXX”需要的目标“XXX”问题的解决方案
- Petalinux boot from QSPI flash
- make: execvp: /xxx/u-boot-xxx/mkconfig: Permission denied .
- U-BOOT移植问题小结
- U-boot 移植问题解析
- u-boot 启动内核问题
- U-Boot中的地址问题
- U-boot移植问题记录
- u-boot:CONFIG_COMMANDS的问题
- 烧写U-boot问题
- U-boot启动问题问答
- 如何转载CSDN博客
- webpack英文文档阅读--样式表的处理
- linux安装jdk
- ZCMU—1625
- C++二进制文件读写
- 问题:petalinux-package --boot --fpga xxx.bit --u-boot ERROR: This tool requires 'bootgen'
- Mysql 5.6主从同步配置与解决方案
- android_16_笔记
- Eclipse项目转AndroidStudio和AndroidStudio的坑
- 自定义标签
- Linux(CentOS发行版)LAMP配置
- 常用adb命令
- 逐心
- elasticsearch 安装中遇到的坑