Uboot FPGA firmware update from Linux
From ArmadeusWiki
The U-Boot FPGA firmware can be updated by means of U-Boot (Target_Software_Installation#FPGA_firmware_installation) or directly from Linux as described herewith.
Under Linux:
- At first download your FPGA firmware:
# tftp -g -r my_firmware.bit 192.168.0.2
- Once done, the U-Boot Firmware partition has to be erased:
# flash_eraseall /dev/mtd2/
- Then your FPGA .bit file can be written:
# nandwrite -p /dev/mtd2 my_firmware.bit
That's all !