I have a basic zedboard design using the following steps.
1. Create vivado project for zedboard using the zedboard template (accessed by double clicking on zynq block in BD -> templates -> zed board.
2. I added a gpio for the LEDs
3. Validate design and build with no problems.
4. Export .bit and .xsa file to petalinux project.
5. Create petalinux project based on #4 vivado files.
6. Build petalinux project.
I am trying to use tftp boot. I can verify the tftp server is working because I see uboot open image.ub, the kernel load and attempt to boot. My boot process hangs as shown in attached screenshot 22.jpg.
I actually think my problem is that I'm not loading the FPGA bitstream and because there is an axi lite gpio block it is causing the boot process to hang. I know when I build images for the sd card I manually run a command that packages the fpga.bit file into the BOOT.bin. This is a very simple 'hello world' test project so I think I'm missing something obvious like this.
I am using xsct command console to load the ps7_init.tcl, dow u-boot.elf and then I execute the 'run netboot' command. This downloads image.ub and extracts it but I think the fpga bitstream is left out. I can see the tftp / image.ub process working as shown in screenshot 23.jpg.
So I'm thinking after I get to the uboot prompt I need to load the fpga bitstream so my question is the following.
1. How do I load the fpga bitstream - what command is it? I've found fpga loadb, but am confused as to how to use it.
Question
m3atwad
Hello,
I have a basic zedboard design using the following steps.
1. Create vivado project for zedboard using the zedboard template (accessed by double clicking on zynq block in BD -> templates -> zed board.
2. I added a gpio for the LEDs
3. Validate design and build with no problems.
4. Export .bit and .xsa file to petalinux project.
5. Create petalinux project based on #4 vivado files.
6. Build petalinux project.
I am trying to use tftp boot. I can verify the tftp server is working because I see uboot open image.ub, the kernel load and attempt to boot. My boot process hangs as shown in attached screenshot 22.jpg.
I actually think my problem is that I'm not loading the FPGA bitstream and because there is an axi lite gpio block it is causing the boot process to hang. I know when I build images for the sd card I manually run a command that packages the fpga.bit file into the BOOT.bin. This is a very simple 'hello world' test project so I think I'm missing something obvious like this.
I am using xsct command console to load the ps7_init.tcl, dow u-boot.elf and then I execute the 'run netboot' command. This downloads image.ub and extracts it but I think the fpga bitstream is left out. I can see the tftp / image.ub process working as shown in screenshot 23.jpg.
So I'm thinking after I get to the uboot prompt I need to load the fpga bitstream so my question is the following.
1. How do I load the fpga bitstream - what command is it? I've found fpga loadb, but am confused as to how to use it.
2. How do I know where to put the fpga bitstream?
3. How do I read it from the tftp server I have?
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.