Community
cancel
Showing results for 
Search instead for 
Did you mean: 
PHJ
New Contributor I
2,550 Views

mkimage for Windows

Jump to solution

I'm following the instructions in ​Intel® Arria® 10 SoC UEFI Boot Loader User Guide for getting the QSPI UEFI boot loader working.

It has steps to run a tool called mkimage.

Where do I find a windows version of this tool ?

0 Kudos
1 Solution
949 Views

Hi,

 

As a workaround you can install Standard Version of SoC EDS and copy the "mkimage" directory to Pro SoC EDS install directory.

Let me know if you are able to proceed with this.

 

Thanks,

Arslan

View solution in original post

10 Replies
949 Views

Hi,

 

You need to launch SoC EDS command shell to use "mkimage" command in windows.

 

Thanks,

Arslan

PHJ
New Contributor I
949 Views

Thanks MUsman - however this does not work for me -  is it meant to be part of the Quartus 18.0 distribution ?

I just get:

​$ mkimage

bash: mkimage: command not found

 

 

949 Views

Hi,

 

No it doesn't come with Quartus installation package.

 

This is part of Soc EDS package

http://fpgasoftware.intel.com/soceds/18.1/?edition=standard&platform=windows&download_manager=dlm3

 

You should be able to find "Soc EDS Command shell" different from windows command prompt.

 

Thanks,

Arslan

 

PHJ
New Contributor I
949 Views

Hi Arslan -

 

I installed SoCEDSProSetup-18.0.0.219 when I first got the A10 dev kit.

Should this have included the mkimage tool - if so, where is it installed ?

I can run the SoC EDS command shell no problem - it is just mkimage that I cannot find.

 

Thanks !​

949 Views

I attached a screenshot for SoC EDS command shell, using Quartus Standard 17.1

 

Can you share your screenshot ?

 

Inkedmkimage_windows_LI.jpg

PHJ
New Contributor I
949 Views

It looks like I have something missing from my install - I have no mkimage folder in embedded\host_tools\altera....

SoCEDSCmdShell.jpgSoCEDSAlteraHostTools.jpg

950 Views

Hi,

 

As a workaround you can install Standard Version of SoC EDS and copy the "mkimage" directory to Pro SoC EDS install directory.

Let me know if you are able to proceed with this.

 

Thanks,

Arslan

View solution in original post

PHJ
New Contributor I
949 Views

Thanks Arslan - this has worked for me.....​

PHJ
New Contributor I
949 Views

With the new mkimage, I still could not get the instructions from ​Intel® Arria® 10 SoC UEFI Boot Loader User Guide to work correctly.

I tried the following steps:

$ mkimage -A arm -T firmware -C none -O u-boot -a 0 -e 0 -n "RBF" -d

ghrd_10as066n2.rbf ghrd_10as066n2.rbf.mkimage

$ quartus_hps -c1 -oP --addr=0x00720000 ghrd_10as066n2.rbf.mkimage

 

The boot code reported:

Programmed RBF is not peripheral

 

The length of the RBF was ~15MB and therefore failed the check against the max 512k size.

 

I've tried doing the following to program the periph and core RBFs separately and this has got me past this error:

$ mkimage -A arm -T firmware -C none -O u-boot -a 0 -e 0 -n "RBF" -d output_files/ghrd_10as066n2.periph.rbf ghrd_10as06

6n2.periph.rbf.mkimage

$ quartus_hps -c1 -oP --addr=0x00720000 ghrd_10as066n2.periph.rbf.mkimage

$ mkimage -A arm -T firmware -C none -O u-boot -a 0 -e 0 -n "RBF" -d output_files/ghrd_10as066n2.core.rbf ghrd_10as066n

2.core.rbf.mkimage

$ quartus_hps -c1 -oP --addr=0x00820000 ghrd_10as066n2.core.rbf.mkimage

 

Does this look correct ?

Is this related to the version of mkimage, or are the instructions in the doc wrong ?

PHJ
New Contributor I
949 Views

Have read back and I guess that the instructions are assuming Automatically Loaded Combined RBF

 

 

Reply