Post Go back to editing

Update the Linux boot image (SD card) of AD9082-FMCA-EBZ FMC board with a modified FPGA bitstream

Category: Software
Software Version: Xilinx Vitis/Petalinux 2021.1

I'm using the AD9082-FMCA-EBZ FMC board and Xilinx ZCU102 board to evaluate the DACs and ADCs. I followed the Quick Guide and Kuiper Linux SD Card Guide.

I managed to create the boot SD card and run the IIO oscilloscope on the PC to monitor and control the board.

I also cloned the HDL Ref Design and compiled and build it successfully.

Now, I need to manipulate the HDL reference ( only the data flow, not the Zynq part), produce a new FPGA bit file, and update the boot files on the SD card in such a way that it loads the new FPGA image but the same Linux driver and software. How can I do it?

Probably, what I need is the Petalinux project + Application. So I can use petalinux-package --prebuilt --fpga to pack the Linux kernel with my own FPAG bit stream.

Thanks for your help in advance.

Parents Reply
  • Thank you Travis for the reply.

    I read Xilinx Bootgen User Guid (UG1283). I couldn’t fine a command to repack the BOOT.BIN with the new FPGA bit file! Or any other command to extract u-boot.elf from the boot.bin! Could you please elaborate on the solution? Note that I don't have the u-boot.elf file to call in the bif file. It would be great if I could have all the required files to run bootgen. I mean, the bif file, u-boot.elf, .... 

    To clarify, what I have is the AD9082 boot SD card (including BOOT.BIN, image and system.dtb) + the HDL reference design. I need to replace the FPGA image in BOOT.BIN with the modified one. With Xilinx Petalinux however, it’s possible to do it file by rebuilding the Petalinux project, which I don’t have.

Children
No Data