Hello @jackfrye11,
Yours script looks right, it has the form that it should have.
The error could happen due to many reasons:
-
The RBF file is generated in a form which does not corresponde with setting of Your hardware. The switches of the board need to be set in a proper positions. E.g. I use standard non-compressed RBF files, so I have to use FPGA MSEL switches “101011”.
-
Some U-boot variables used at Your script has got wrong value. Try to get to the U-boot command line and print variables with printenv command.
-
I have to use
run bridge_enable_handoff;
instead of Yours
bridge enable;
but it could depends on version of U-boot.
I just recommend to create new U-boot variable with name of target RBF file, e.g.
setenv RBF socfpga_test.rbf
and replace with it static RBF filename at boot script
fatload mmc 0:1 $fpgadata> $RBF
so You will not need to recompile and replace boot-script each time to change content of FPGA. Just change value of the variable. It is very fajn soution .
Hope it could help You a bit.
Best wishes,
Yours Jan Konečný.