Difference between revisions of "Uboot FPGA firmware update from Linux"

From ArmadeusWiki
Jump to: navigation, search
(New page: 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 fir...)
 
(Apply Wiki writing rules)
Line 3: Line 3:
 
Under Linux:
 
Under Linux:
  
At first download your FPGA firmware:
+
* At first download your FPGA firmware:
  [armadeus]$ tftp -g -r myFirmwareFile myServerIpAddress
+
<pre class="apf">
<br>
+
  # tftp -g -r my_firmware.bit 192.168.0.2
 +
</pre>
  
Once done the U-Boot Firmware partition has to be erased
+
* Once done, the U-Boot Firmware partition has to be erased:
  [armadeus]$ flash_eraseall /dev/mtd2/
+
<pre class="apf">
<br>
+
  # flash_eraseall /dev/mtd2/
 +
</pre>
  
Then your FPGA .bit file can be written
+
* Then your FPGA .bit file can be written:
  [armadeus]$ nandwrite -p /dev/mtd2 myFirmwareFile
+
<pre class="apf">
<br>
+
  # nandwrite -p /dev/mtd2 my_firmware.bit
 +
</pre>
  
That's all
+
That's all !

Revision as of 09:18, 12 October 2010

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 !