Hi,
I want to program my PL from PS in my Ultrazed board that has Zynq Ultrascale+.
I have enabled FPGA manager in kernel configuration and made available FPGA manager driver in my kernel ( using petalinux 2016.3). When I initially tried writing .bin file of bitstream to firmware, it said " write error: invalid argument" . Can someone shed some light on this error?
I have referred to other forums and AR like https://www.xilinx.com/support/answers/68246.html and did those tweeks. Still getting this error called "invalid argument" error when I echo the binary format of bitfile to /sys/class/fpga_manager/fpga0/firmware.
$mount /dev/mmcblk0p1 /media $ mkdir /lib/firmware $cp /media/bitstream.bin /lib/firmware/ $echo bitstream.bin > /sys/class/fpga_manager/fpga0/firmware
right after echoing bitstream.bin, I am getting
[ 1625.057033] fpga_manager fpga0: writing bitstream.bin to Xilinx ZynqMp FPGA Manager [ 1625.079420] fpga_manager fpga0: Error while writing image data to FPGA -sh: echo: write error: Invalid argument
Can someone help me out here?