Forum Discussion
N6000-PL MAX10 Build
- 2 years ago
Hi,
I had a discussion with one of our OFS-BMC team on the build issue and the srec_cat command and they are aware of the issue and due to release a new build script enhancement to resolve it.
Issue cause : new Quartus version added additional padding zeroes in .hex file compared to the older versions.
As the new build script is undergoing corporate release process, we could try this first by manually changing the ./build.sh script first to solve the padding issue on the hex file.
Change the command from this :
elf2hex -v bmc_bootloader.elf 0x00000000 0x0001ffff --width=32 --record=4 --little-endian-mem --no-zero-fill --create-lanes=0 bmc_bootloader.hex
To this in build.sh:
elf2hex -v bmc_bootloader.elf 0x00000000 0x0001ffff --width=8 --little-endian-mem --no-zero-fill --create-lanes=0 mem_init/max10_onchip_flash.hex
I haven't confirmed on the fix yet as I'm still currently building it on BMC v14 although they mentioned the new script is targeted for BMC v15 (max10_bmc_v3_15_0). Will let you know the result later as it will take take some time to build
Thanks
Regards
Kian
Hi ,
Thanks for contacting Intel Forum. I'm Kian and will be looking into this case.
First of all, thanks for the log file. I noticed that you don't have elf2hex installed
https://github.com/sifive/elf2hex?tab=readme-ov-file
installation instructions are located in the github.
I also noticed there is a lot of file not found which is concerning thus I will setup on my side Ubuntu to test out the build as well to see what's wrong with it.
I will get back to you once I found anything.
Thanks
Regards
Kian
- Beginner_in_FPGA2 years ago
Contributor
Hi @khtan,
I hadn't noticed that it required Standard version, I was trying to synthesize using Pro version. After doing this change I am able to go further in the script but still the build fails because the file "bmc_fw_user_retail.elf" is missing.I can't seem to figure out what's the exact issue with the script. Attached below is the log file of the latest running. Any ideas as what to do next would be very helpful.
Thank you,
Best Regards.
- Beginner_in_FPGA2 years ago
Contributor
Hi @khtan,
The above issue was just a license server issue, which was sorted out quickly.
But now the Script is stuck at another point, I have attached the log file below. If you have any idea as to what might be the cause of the same please do let me know.
Thank you,
Best Regards.