Hi,
I don't have a Cyclone V SoC DK board, but a custom board that has a working Preloader, u-boot, fpga image, and vxworks written on the board's QSPI. Preloader and u-boot were generated using the old method (bsp gui).
I am only trying to generate a working preloader/u-boot image following the new steps from here:
https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Cyclone_V_SoC_45_Boot_from_QSPI
The link you sent is for creating a Device Tree, which doesn't appear to be involved in generating a pre-loader/u-boot. Or am i wrong?
Here are the steps i am doing:
Using our custom SOF and handoff files, i generated the u-boot-splx4.sfp and u-boot-with-spl.sfp using the socfpga_cyclone5_qspi_defconfig. I then programmed our custom board QSPI with the u-boot-splx4.sfp @ 0x0. The board's bootlog shows this error:
U-Boot SPL 2022.10-24687-g61ae22e548-dirty (May 05 2023 - 11:11:06 +0100)
DDR: Warning: DRAM size from device tree (1024 MiB)
mismatch with hardware (0 MiB).
DDR: Error: DRAM size from device tree is greater
than hardware size.
### ERROR ### Please RESET the board ###
Programming the QSPI with u-boot-with-spl.sfp shows the same error log.
I am guessing my error is using the socfpga_cyclone5_qspi_defconfig. If it is, is there a guide on how to edit/customize it?
Thanks!