[U-Boot] How to build mkimage tool on Solaris host ?

Hi,
We have a requirement to use p4080 based board in our application and I was able to down load and build the mkimage and other tools on Linux using the following steps
downloaded the latest u-boot source from ftp://ftp.denx.de/pub/u-boot/ i.e u-boot-2010.09
make CROSS_COMPILE=powerpc-eabi ARCH=ppc distclean make CROSS_COMPILE=powerpc-eabi- ARCH=powerpc P4080DS_config make CROSS_COMPILE=powerpc-eabi- ARCH=powerpc with these I was able to build the tools like mkimage and others required on Linux host.
However I see lot of build errors when I try the same on Solaris host. But we have the requirement to use a Solaris as the build environment and I need mkimage to build which can run on Solaris ( Solaris 9 or Solaris 10 )
$ make CROSS_COMPILE=powerpc-eabi- ARCH=powerpc P4080DS_config make: *** [P4080DS_config] Error 1
i.e the configuration fails for P4080DS_config
I have also tried to use the following command to build only the tools but observe errors from the Makefile
$ make tools make -C tools make[1]: -E: Command not found make[1]: Entering directory `/home/ekarana/UBOOT/uboot_solaris/tools' /bin/sh: syntax error at line 1: `;' unexpected make[1]: *** [.depend] Error 2 make[1]: Leaving directory `/home/ekarana/UBOOT/uboot_solaris/tools' make: *** [tools] Error 2 So please suggest how we can build mkimage tools on Solaris host for p4080.
Thanks, Anand

Dear Anand Karanam,
In message BC96682D7F206346B8F098EAD0C172EE04F82549@ESESSCMS0358.eemea.ericsson.se you wrote:
However I see lot of build errors when I try the same on Solaris host. But we have the requirement to use a Solaris as the build environment and I nee d mkimage to build which can run on Solaris ( Solaris 9 or Solaris 10 )
$ make CROSS_COMPILE=powerpc-eabi- ARCH=powerpc P4080DS_config make: *** [P4080DS_config] Error 1
I guess you will have to install a number of GNU tools in your SOlaris system, including GNU make, gcc, and binutils. Sorry, I have no idea what's available in Solatis these days - I stopped using this environment in the days of Solaris 2.6, i. e. _some_ time ago.
So please suggest how we can build mkimage tools on Solaris host for p4080.
U-Boot depends in a number of areas on GNU tools. Eventually you can find pre-built packages you just have to install (there used to be such repositories, long ago though). Otherwise you will have to build from the sources.
Alternatively, install Linux (eventually in a VM).
Best regards,
Wolfgang Denk
participants (2)
-
Anand Karanam
-
Wolfgang Denk