Then, I took the .rbf file (from the prev post) and put in (overwriting the older .rbf file) to the FAT partion of the SD Card, and set the MSEL [4:0] = '00000' (All are 'ON' ) , and powered up the board. And this time there were no errors when loading the .rbf.
U-Boot SPL 2024.07-36780-g67806ba5853-dirty (May 09 2026 - 16:08:17 +0300)
Trying to boot from MMC1
U-Boot 2024.07-36780-g67806ba5853-dirty (May 09 2026 - 16:08:17 +0300)
CPU: Altera SoCFPGA Platform
FPGA: Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
BOOT: SD/MMC Internal Transceiver (3.0V)
DRAM: 1 GiB
Core: 29 devices, 15 uclasses, devicetree: separate
MMC: dwmmc0@ff704000: 0
Loading Environment from MMC... Reading from MMC(0)... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: QMTECH C5SOC KFB Dual SDRAM
Net:
Error: ethernet@ff702000 No valid MAC address found.
No ethernet found.
Hit any key to stop autoboot: 0
=>
=> fpga info
Altera Device
Descriptor @ 0x3ffec7a0
Family: SoC FPGA
Interface type: Fast Passive Parallel (FPP)
Device Size: 4294967295 bytes
Cookie: 0x0 (0)
No Device Function Table.
=> fatls mmc 0:1
6275664 zImage
extlinux/
7007204 soc_system.rbf
25844 socfpga_cyclone5_kfb_dual_sdram.dtb
3 file(s), 1 dir(s)
=> oad mmc 0:1 ${loadaddr} soc_system.rbf;
Unknown command 'oad' - try 'help'
=> load mmc 0:1 ${loadaddr} soc_system.rbf;
7007204 bytes read in 363 ms (18.4 MiB/s)
=> fpga load 0 ${loadaddr} $filesize;
=>
And after the .rbf was loaded, the JTAG nodes showed up again when polled , through the NIOS shell with the USB Blaster:
~$ jtagconfig -n
1) USB-Blaster [1-4]
4BA00477 SOCVHPS
02D020DD 5CSEBA6(.|ES)/5CSEMA6/..
Design hash 385F96C94BBA3F772A79
+ Node 0C206E00 JTAG PHY #0
+ Node 0C206E01 JTAG PHY #1
+ Node 0C206E02 JTAG PHY #2
+ Node 0C006E00 JTAG UART #0
+ Node 00486E00 Source/Probe #0
So, at this point, I have a functioning FPGA configuration loading when UBooting. Note this is with uncompressed bitstream files.
I guess the next thing that remains to check - is why and how to make the original attempt with compressed bitstream file (.rbf) to work :?