Forum Discussion

sraus's avatar
sraus
Icon for New Contributor rankNew Contributor
5 years ago
Solved

Cannot create ITB files on RedHat 7.x

Hi,

I'm following the steps from rocketboards.org -> Arria_10_SoC -> Boot_from_SD_Card and last step from building u-boot doesn't work:

tools/mkimage -E -f board/altera/arria10-socdk/fit_spl_fpga.its fit_spl_fpga.itb

giving next issue:

FATAL ERROR: Couldn't open "board/altera/arria10-socdk/fit_spl_fpga.its": No such file or directory
tools/mkimage: Can't open fit_spl_fpga.itb.tmp: No such file or directory

I'm using Quartus PRO 20.4 and 'socfpga_v2020.10' branch from u-boot-socfpga repository.

I have verified that the files exists, file permissions and ownership. I have even copied fit_spl_fpga.its files near mkimage, and tried to create fit_spl_fpga.itb.tmp and give all permissions.

I have tried also with default mkimage (the one installed in /usr/bin), instead of mkimage from tools. I have tried with given its files ( created by following steps from rocketboards.org -> Arria_10_SoC -> Boot_from_SD_Card) and also with custom its files with custom RBFs.

For all situations above I'm getting the same issue.

The issue is reproducible on RHEL 7.x (most of the experiments were done on Red Hat 7.7) , I successfully manage to run all commands and generate all necessary files but only on Ubuntu.

Any thoughts?

Thanks,

Stefan

  • Hi,

    Currently, we only tested Ubuntu and we recommend what have been used and tested working which is Ubuntu, version 18.04 was used in the example.

3 Replies