Forum Discussion
Building uboot for cyclone V SoC
imagetool.c:(.text+0xa): undefined reference to `__stop_image_type'
/usr/bin/ld: imagetool.c:(.text+0x12): undefined reference to `__start_image_type'
/usr/bin/ld: tools/imagetool.o: in function `imagetool_verify_print_header':
imagetool.c:(.text+0x73): undefined reference to `__stop_image_type'
/usr/bin/ld: imagetool.c:(.text+0x7a): undefined reference to `__start_image_type'
collect2: error: ld returned 1 exit status
make[1]: *** [scripts/Makefile.host:104: tools/dumpimage] Error 1
make: *** [Makefile:1900: tools] Error 2
Hi Snehal
Just to update the forum case.
The missing steps from the RBO page are the steps below:
1.Step to convert the sof to rbf. You could use the command below to convert the sof.
quartus_cpf -c -o bitstream_compression=on soc_system.sof soc_system.rbf
2.Missing u-boot.scr could be gotten from the gsrd page.
https://releases.rocketboards.org/2025.03/gsrd/c5_gsrd/u-boot.scr
3.Place both rbf and the u-boot.scr in the sdcard partition 1 (sdfs)
Regards
Jingyang, Teh
31 Replies
- tehjingy_Altera
Regular Contributor
Hi
Do you have any more follow up question on this issue?
Regards
Jingyang,Teh
- snehal_p
Contributor
Hello,
We are currently working with Quartus Prime Standard Edition v22.1 and have noticed that it no longer includes the embedded_command_shell file, which was previously available in earlier versions as part of the SoC-EDS. This shell was essential for launching tools like bsp-editor and mkpimage used to generate the preloader for the Cyclone V SoC.While following the "Building Bootloader for Cyclone V and Arria 10" guide, I am able to successfully boot the HPS and access all its peripherals. However, the FPGA does not get configured - only the HPS boots correctly, and the FPGA remains unconfigured, even when using an updated .rbf file.Interestingly, this issue does not occur when using Quartus v18.1 - in that version, both the HPS and FPGA configure as expected. This suggests that something may have changed or is missing in the newer version's flow.Could you please advise if there is a new procedure or an additional step required in v22.1 to ensure the FPGA bitstream is loaded properly during boot?Looking forward to your guidance on resolving this issue.Thanks,snehal_p
- tehjingy_Altera
Regular Contributor
Hi
Since there are no feedback for this case, I shall set this case to close pending. If you still need further assistance, you are welcome reopen this case within 20days or open a new case, someone will be right with you.
If you happened to close this case you will receive a survey. If you think you would rank your support experience less than 4 out of 5, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.
Regards
Jingyang
- KennyT_altera
Super Contributor
Case reopening.
- KennyT_altera
Super Contributor
case reopening
- tehjingy_Altera
Regular Contributor
Hi Snehal
Just to update the forum case.
The missing steps from the RBO page are the steps below:
1.Step to convert the sof to rbf. You could use the command below to convert the sof.
quartus_cpf -c -o bitstream_compression=on soc_system.sof soc_system.rbf
2.Missing u-boot.scr could be gotten from the gsrd page.
https://releases.rocketboards.org/2025.03/gsrd/c5_gsrd/u-boot.scr
3.Place both rbf and the u-boot.scr in the sdcard partition 1 (sdfs)
Regards
Jingyang, Teh
- tehjingy_Altera
Regular Contributor
Hi
I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Regards
Jingyang, Teh