I’ve attempted to stop the boot there, but the “press any key” prompt happens after it flashes socfpga.rbf to the FPGA. Removing socfpga.rbf from the disk causes UBoot to loop with this output:
U-Boot 2014.10 (May 03 2016 - 09:43:56)
CPU : Altera SOCFPGA Arria 10 Platform
BOARD : Altera SOCFPGA Arria 10 Dev Kit
DRAM: WARNING: Caches not enabled
SOCFPGA DWMMC: 0
Error - socfpga.rbf not found within SDMMC
cff_from_mmc_fat: error reading rbf header
INFO : Skip relocation as SDRAM is non secure memory
Reserving 2048 Bytes for IRQ stack at: ffe2db10
data abort
pc : [<ffe00b1a>] lr : [<ffe01d4d>]
sp : ffe3bf00 ip : 0000001c fp : 00000001
r10: ffd02078 r9 : ffe3bf60 r8 : ffe00054
r7 : ffe20b60 r6 : ffe3c000 r5 : 00000000 r4 : ffffd000
r3 : ffcfb000 r2 : 00000002 r1 : 00000001 r0 : 00000001
Flags: nzcv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
Replacing socfpga.rbf with my hello world file does what I expect it to (displays a binary counter on the LEDS), however u-boot does not proceed beyond flashing the FPGA.
Hi jophish,
What is your problem now? It seems that you already replace the original .rbf file with your helloworld rbf file successfully, right?
If you want to continue to boot linux kernel and rootfs. You can type “run mmcload” and “run mmcboot” in u-boot prompt if you are using a SD image.
I’d like to be able to reconfigure the FPGA from Linux.
I think that /dev/fpga is deprecated now, and programming has to be done using device tree overlays. I’ve not found a comprehensive example of doing that.