Uboot FPGA firmware update from Linux

From ArmadeusWiki
Revision as of 10:18, 12 October 2010 by WikiSysop (Talk | contribs) (Apply Wiki writing rules)

Jump to: navigation, search

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 !