Coder Social home page Coder Social logo

Comments (9)

fpgadeveloper avatar fpgadeveloper commented on July 3, 2024

I just tried this on my hardware without any problem. Here is my output:

jeffrey@linux-pc:/media/opsero/vivado-2019-2/fpga-drive-aximm-pcie/PetaLinux/zcu106_hpc0$ petalinux-boot --jtag --fpga --bitstream ./images/linux/system.bit
INFO: sourcing build tools
INFO: Launching XSDB for file download and boot.
INFO: This may take a few minutes, depending on the size of your image.
rlwrap: warning: your $TERM is 'xterm-256color' but rlwrap couldn't find it in the terminfo database. Expect some problems.: Inappropriate ioctl for device
INFO: Configuring the FPGA...                                                   
INFO: Downloading bitstream: ./images/linux/system.bit to the target.
INFO: Downloading ELF file: /media/opsero/vivado-2019-2/fpga-drive-aximm-pcie/PetaLinux/zcu106_hpc0/images/linux/bl31.elf to the target.

Does your bl31.elf file exist? What version of the tools are you using? Do you have the FPGA Drive FMC installed on your HPC0 connector? What is the serial number? Does the bitstream succeed in downloading? Please provide more information.

Jeff

from fpga-drive-aximm-pcie.

yu-zou avatar yu-zou commented on July 3, 2024

Hi thanks for the reply.

  1. bl31.elf indeed exists.
  2. I'm using Vivado 2019.2.
  3. FPGA drive is installed, and I tested by inserting SD card.
  4. ZCU106 I'm using is a newer version, which has different DDR settings from the previous version. Do I need to modify the PS DDR setting before generating bitstream?
  5. Bitstream is successfully downloaded.

from fpga-drive-aximm-pcie.

fpgadeveloper avatar fpgadeveloper commented on July 3, 2024

The newer version ZCU106 should not cause problems because you are using 2019.2. What is the serial number of your FPGA Drive FMC? What is the model and type of SSD that you are using?

from fpga-drive-aximm-pcie.

yu-zou avatar yu-zou commented on July 3, 2024

The serial number of FMC is: 470354
SSD: Samsung 970 EVO.

I also tried the FMC and SSD on KC705 using Vivado 2018.2. There was no problem downloading using either JTAG or SD.

I will let you know if I find more issues.

from fpga-drive-aximm-pcie.

fpgadeveloper avatar fpgadeveloper commented on July 3, 2024

Have you tried booting the ZCU106 PetaLinux BSP via JTAG? Does it work or do you get the same error? Have you tried re-building the entire PetaLinux project (delete it and re-run build-petalinux script)? I am not able to reproduce the error, so I suspect this is an issue with your hardware or with your setup.

from fpga-drive-aximm-pcie.

yu-zou avatar yu-zou commented on July 3, 2024

Could I ask how to boot BSP via JTAG?

I tried deleting and rebuilding, but it did not work.
We have two ZCU106, I will try this on the other one.

Thx.

from fpga-drive-aximm-pcie.

fpgadeveloper avatar fpgadeveloper commented on July 3, 2024

Download the ZCU106 BSP from here:
https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html

Then follow the PetaLinux user guide for instructions on installing the BSP. That will create a PetaLinux project for the ZCU106 with basic components. You can then try to boot the BSP project with the same command as you are using above.

from fpga-drive-aximm-pcie.

fpgadeveloper avatar fpgadeveloper commented on July 3, 2024

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug1144-petalinux-tools-reference-guide.pdf
PetaLinux user guide

from fpga-drive-aximm-pcie.

yu-zou avatar yu-zou commented on July 3, 2024

Thanks for the reply. But I tried that approach, also failed. The same error. I gave up. I'll continue using SD card to boot.

from fpga-drive-aximm-pcie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.