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

2010-11-29 Thread Wolfgang Denk
Dear Anand Karanam,

In message 
 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

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Faith may be defined briefly as an illogical belief in the  occurence
of the improbable.- H. L. Mencken
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2010-11-29 Thread Anand Karanam
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


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot