Question: How do I create the same files (preloader-mkpimage.bin,u-boot.img) with 19.1 as with the previous version 18.1?
Until SoC EDS Standard version 18.1 I always used workflow below:
Link: https://rocketboards.org/foswiki/Documentation/GSRDPreloader
Tools Version(s):
17.0std, 17.1std, 18.0std, 18.1std, 17.0std, 17.1std, 18.0std, 18.1std
Result of workflow:
The following files are built in the ~/cv_soc_devkit_ghrd/software/spl_bsp/ folder:
File Description
uboot-socfpga/spl/u-boot-spl Preloader ELF file
uboot-socfpga/spl/u-boot-spl.bin Preloader binary file
preloader-mkpimage.bin Preloader image with the BootROM required header
Since SoC EDS Standard version 19.1 is this workflow no longer supported, instead you should use the following workflow:
Link: https://rocketboards.org/foswiki/Documentation/BuildingBootloader?validation_key=abd52cc6cb5396a493456fd23700aca8
Building Bootloader
Building latest bootloaders for SoC FPGA devices
13 Apr 2020 - 18:47 | Version 70 | Radu Bacrau | Agilex, Arria 10, Arria V, Cyclone V, SPL, SoC, Stratix 10, bootloader, u-boot
Since SoC EDS Pro version 19.3 and SoC EDS Standard version 19.1,
Cyclone V SoC - Boot from SD Card
B. Build U-Boot
The following files will be built in the $TOP_FOLDER/cv_soc_devkit_ghrd/software/bootloader/u-boot-socfpga folder:
Result:
File Description
spl/u-boot-spl SPL ELF executable
u-boot U-Boot ELF executable
u-boot-with-spl.sfp Bootable file: four copies of SPL and one copy on U-Boot image
Question: How do I create the same files (preloader-mkpimage.bin,u-boot.img) with 19.1 as with the previous version 18.1???
I tried u-boot-with-spl.sfp, but it don’t work !! Booting not possible!!!
U-Boot SPL 2019.04-00268-g6296fdb7da-dirty (Apr 14 2020 - 18:12:01 +0200)
Trying to boot from MMC1
U-Boot 2019.04-00268-g6296fdb7da-dirty (Apr 14 2020 - 18:12:01 +0200)
CPU: Altera SoCFPGA Platform
FPGA: Altera Cyclone V, SE/A5 or SX/C5 or ST/D5, version 0x0
BOOT: SD/MMC Internal Transceiver (3.0V)
Watchdog enabled
DRAM: 1 GiB
MMC: dwmmc0@ff704000: 0
Loading Environment from MMC… OK
In: serial
Out: serial
Err: serial
Model: Altera SOCFPGA Cyclone V SoC Development Kit
Net: eth0: ethernet@ff702000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
unrecognized JEDEC id bytes: ff, ff, ff
Failed to initialize SPI flash at 0:0 (error -2)
No SPI flash selected. Please run sf probe' No SPI flash selected. Please run
sf probe’
starting USB…
USB0: scanning bus 0 for devices… 2 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2