Project

General

Profile

Load FPGA from uboot

Added by Anonymous almost 10 years ago

Hi,

I tried to follow the instruction in "http://rocketboards.org/foswiki/Documentation/LoadingFPGAFromUBoot".

But I ran into difficulties where it complains that my file format is not correct.

The development kit sd card image I used is from http://support.criticallink.com/files/mitysom-5csx/sd_image_mitysom_5csx_rev1B.zip.

I loaded my rbf FPGA file ("fpga.rbf") to the FAT partition (which is empty for some reason, about 250-260 MB).

I followed the instructions exactly as seen on the Rocket board webpage, and it returned the error complaining about format ("-4").

Thanks,

Jack


Replies (3)

RE: Load FPGA from uboot - Added by Daniel Vincelette almost 10 years ago

Hi Jack,

That SD card image will automatically load the rbf file that is on the second partition at /home/root/mityarm_5csx_dev_board.rbf during uboot.

If you would like to boot a different rbf then you will need to update the fpgaimage uboot variable to point to the new image.

For example if you have a rbf file called new_image.rbf in /home/root you would need to change fpgaimage to /home/root/new_image.rbf.

The rocketboards guide is meant for an SD card that has a FAT partition, which the Critical Link does not have. Instead we load it directly from the ext root file system partition.

RE: Load FPGA from uboot - Added by Anonymous almost 10 years ago

Hi Dan,

How do I change the fpgaimage uboot variable?

Thanks,

Jack

RE: Load FPGA from uboot - Added by Daniel Vincelette almost 10 years ago

Hi Jack,

You would use the editenv command.

editenv fpgafile

Then to save this change to the SD card you would use saveenv or you will lose this change after a reboot.

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)