Difference between revisions of "Uboot FPGA firmware update from Linux"
From ArmadeusWiki
(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: |
− | + | <pre class="apf"> | |
− | < | + | # 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: |
− | + | <pre class="apf"> | |
− | < | + | # flash_eraseall /dev/mtd2/ |
+ | </pre> | ||
− | Then your FPGA .bit file can be written | + | * Then your FPGA .bit file can be written: |
− | + | <pre class="apf"> | |
− | < | + | # 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 !