Forums » Software Development »
Moving Forward with U-Boot and Quartus 22.1std
Added by Shahad Alrawi about 1 year ago
We are currently using 5CSX-H6-42A-RC with our own base board.
I have recently upgraded Quartus 18.1 to the more recent version Quartus Prime 22.1std. Additionally I made changes to the Platform designer in the HPS system.
So in order to be able to move forward with the latest Quartus version, I want to follow the workflow specified here:
https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10
The new workflow (latest one):
clipboard-202310020943-jafea.png
The instructions in the RocketBoards website is very well written. I was able to successfully compile it but with different device tree source (socfpga_cyclone5_socdk.dts). Now I need to modify it to be compatible with 5CSX-H6-42A-RC and my base board configuration. Since the board BSP is not included in this U-Boot, this had blocked me from compiling it.
I would like to ask if you provide a reference to start with for 5CSX-H6-42A-RC and any other hints to help us configuring the U-Boot especially for a one that is newer than in the wiki page (socfpga_v2020.04).
Looking forward for your help.
Replies (6)
RE: Moving Forward with U-Boot and Quartus 22.1std - Added by Daniel Vincelette about 1 year ago
Hello,
We do have a reference for building using the newer flow for the preloader/bootloader but it's for the socfpga_v2019.10 branch and Quartus 20.1, which can be found here: https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/Building_U-Boot_and_Pre-loader_2019. We have not brought our reference up to Quartus 22.1 or socfpga_v2020.04. A good starting place would be to cherry-pick the top 4 commits from our 2019.10 branch and apply them to Intel's2020.04 branch.
Our 2019.10 u-boot branch: https://support.criticallink.com/gitweb/?p=u-boot-socfpga.git;a=shortlog;h=refs/heads/socfpga_v2019.10
Commits that we applied to intel's 2019.10 branch:
Best regards,
Dan
picture670-1.png (304 KB) picture670-1.png |
RE: Moving Forward with U-Boot and Quartus 22.1std - Added by Shahad Alrawi about 1 year ago
Hello Dan,
Thank you so much!
I tried to compile the criticalLink repo of U-Boot (socfpga_v2019.10) as in the instruction: https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/Building_U-Boot_and_Pre-loader_2019
I compiled my FPGA with Quartus 22.1std and not with 20.1.
However, I used the SoC EDS tool 19.1 .
Do you know if this is due to Quartus version 22.1std (FPGA compilation only) or something is broken with the repo?
RE: Moving Forward with U-Boot and Quartus 22.1std - Added by Daniel Vincelette about 1 year ago
I've seen this error in the linux kernel, it's due to using a newer version of GCC (I think GCC 10 was were this broke). I beleive this patch should resolve the issue: https://github.com/altera-opensource/u-boot-socfpga/commit/018921ee79d3f30893614b3b2b63b588d8544f73
Dan
RE: Moving Forward with U-Boot and Quartus 22.1std - Added by Shahad Alrawi about 1 year ago
Great thanks Dan,
Worked with this warning!
===================== WARNING ======================
This board does not use CONFIG_WDT (DM watchdog support).
Please update the board to use CONFIG_WDT before the
v2019.10 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================
RE: Moving Forward with U-Boot and Quartus 22.1std - Added by Shahad Alrawi about 1 year ago
Is that ignorable?
Best,
Shahad
RE: Moving Forward with U-Boot and Quartus 22.1std - Added by Daniel Vincelette about 1 year ago
Yes, I would say that's ignorable. We don't plan on removing the driver from our 2019.10 branch. Though I'm not sure if it's still in any of the newer u-boot branches that Intel is hosting.
Dan