Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Tobias,
> How can i compile mkimage or where can i get the compiled one? You can get the pre-built binary here: http://www.psyent.com/download/u-boot-mkimage-bin.zip (http://www.psyent.com/download/u-boot-mkimage-bin.zip) Or, you can port the code to cygwin. The mkimage sources in the u-boot source tree won't build properly under the nios2 cygwin (as you have already discovered). That's why the tools tree is not included in the default make target from psyent. Or, if you work on a linux host ... you can just add the tools tree back into the default make target. It'll build under linux just fine. If I can ever find the mkimage sources that were already ported, I'll add it in to the u-boot source tree at psyent. But it is *highly* unlikely it will ever make it into the main u-boot git repository. Regards, --Scott