If you change one of: fsbl, device tree or u-boot you need to regenerate the BOOT.BIN and copy it to SD card for the canges to take efect on next boot. Copy BOOT.BIN and image.ub on sd card (uEnv.txt in this case to boot image.ub from tftp thus image.ub on sd card is no longer needed) Do changes to device tree, rootfs or any other petalinux components if necessary.Ħ. Import it in petalinux (petalinux-config -get-hw-description=/path/to/hdf/directory)Ĥ. Generate hdf that includes the bitstreamģ. But since you need the tftp to boot the system from network your bootflow adds manual labour for every boot.Ģ. If your target is to develop fsbl or u-boot that is what you will do. You end up doing more work just to start the system over JTAG. and you won't need the uEnv.txt but you will have to recompile u-boot on any changes in u-boot environment. In this case you may want to change platform-top.h to do everything inside uEnv.txt. force is for overwriting BOOT.BIN file if exists.ĭo you understand the paradox of uEnv.txt in your context? "Run instructions in uEnv.txt before you obtain the uEnv.txt" "importbootenv=echo \"Importing environment from SD. The following extract from platform.h is responsible with importing the uEnv.txt from sd card: Platform-top.h is compiled into u-boot itself while uEnv.txt is imported at runtime if found on sd card. With uEnv.txt you can obtain a custom boot behavior without recompiling u-boot. Should I get rid of uEnv.txt and just use platform-top.h (attached) How do I read it from the tftp server I have? How do I know where to put the fpga bitstream?ģ. 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.Ģ. So I'm thinking after I get to the uboot prompt I need to load the fpga bitstream so my question is the following.ġ. I can see the tftp / image.ub process working as shown in screenshot 23.jpg. This downloads image.ub and extracts it but I think the fpga bitstream is left out. 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 is a very simple 'hello world' test project so I think I'm missing something obvious like this. 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. 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. My boot process hangs as shown in attached screenshot 22.jpg. I can verify the tftp server is working because I see uboot open image.ub, the kernel load and attempt to boot. A tftp server service is no longer provided by Microsoft for security reasons. Installing the tftp client is not recommended for systems connected to the Internet. Create petalinux project based on #4 vivado files. IMPORTANT The tftp protocol doesn't support any authentication or encryption mechanism, and as such can introduce a security risk when present. Validate design and build with no problems.Ĥ. Create vivado project for zedboard using the zedboard template (accessed by double clicking on zynq block in BD -> templates -> zed board.ģ. I have a basic zedboard design using the following steps.ġ.
0 Comments
Leave a Reply. |