Forum Discussion
Hi
Any update on this case?
Regards
Jingyang, Teh
Hi,
>Have you tried compiling and running the uboot version 2017.03-rc2 ?
>Is it able to work?
I would have done this before even posting here if it made sense (and was possible). Unfortunately, this is not practical and would likely not reveal much. As described here, the U-Boot build flow changed considerably starting with SoC EDS Standard version 19.1. Furthermore, the U-Boot source code was integral to SoC EDS prior to this and later removed. To compile U-Boot 2017.03-rc2, I would have to locate an old version of SoC EDS Standard that contained U-Boot 2017.03-rc2. Then I would need to backdate my installation of SoC EDS to this version (rendering the current version unusable). Even if I could get to this step, the output would not be comparable to U-Boot 2022.01 since, according to everything I have read, there has been a number of under-the-hood changes to U-Boot between these releases.
>Could you share me the file "socfpga_cyclone5_de10_nano"?
The only files with this name that I could find have a dts and dtb extension. My understanding is that these are device tree files for Linux and thus not relevant to the current discussion.
In terms of building U-Boot, "socfpga_cyclone5_de10_nano" denotes a configuration, not a particular file. From what I can tell this configuration information is buried within some number of files scattered throughout the U-Boot project.
>Could you point me the link where to get the uboot version of 2017.03-rc2?
Your guess is probably better than mine as to where to find this. All I have is the SD Card image containing the prebuilt U-Boot files (https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=1046&PartNo=4).
>Lets try to compare the u boot changes between the latest and 2017, starting from the config file.
As stated above, this is not possible/practical or I would have done it already.
One new thing that I have discovered is that the example projects in HWLibs will run on the newer U-Boot releases (2022.04 and 2022.01). I should note that it is the GNU compiler versions that are working (I am unable to compile the ARMCC versions). So evidently there is something different in the startup code that makes these projects work and my Arm Compiler 6 project to not work.
So to recap as to what works and what doesn't:
| U-Boot Version | |||
| 2017.03-rc2 | 2022.04 | 2022.01 | |
| Bare-metal app - Arm Compiler 6 | YES | NO | NO |
| HWLibs demo app Altera-SoCFPGA-HardwareLib-Timer-CV-GNU |
YES | YES | YES |
Can anyone at Intel confirm that a bare-metal project compiled in Arm DS 2022.0 using Arm Compiler 6 can be succesfully executed on a recent release of U-Boot?
Thanks,
Brett