[ELDK] whether eldk 5.5.3 support 64bit cross compilation for powerpc e6500 core?

karunakaran.krishnan karunakaran.krishnan at industeqsite.com
Mon Feb 2 08:26:58 CET 2015


Hi Wolfgang Denk,

Thanks for your information.

Eldk5.5.3 e500v2 cross compiler has been installed on my 
fedora20(x86_64) host PC.

I wants to compile u-boot in 32bit mode(with Utilizing 36bit physical 
Addressing) and
linux in 64bit mode for the e6500 core(T2080 processor).

U-boot-2014.10 has been compiled sucessfully in eldk5.5.3 e500v2 cross 
compiler with the following environmental variable.
ARCH="powerpc"
CROSS_COMPILE="powerpc-linux-gnuspe-"
CC="powerpc-linux-gnuspe-gcc  -m32 -mcpu=8548 -mabi=spe -mspe 
-mfloat-gprs=double
  
--sysroot=/opt/eldk-5.5.3/powerpc-e500v2/sysroots/ppce500v2-linux-gnuspe"

As, I assumed that -m32 flag refers to 32bit compilation mode.

I have been unable to compile the linux in 64bit by changing the flag as 
-m64.

Kindly suggest me, How to compile the linux in 64bit mode for e6500 
based core?


Regards
Karunakaran R

On 2015-02-01 14:34, Wolfgang Denk wrote:
> Dear Karunakaran,
> 
> In message <019e185520ec3e7c5aafdfb099b3cbf9 at datapatterns.co.in> you 
> wrote:
>> 
>> whether ELDK 5.5.3 powerpc e500v2 cross compiler is support 64bit
>> compilation for freescale T2080 processor (T2080 is a e6500 64bit 
>> core)?
> 
> All versions of ELDK since at least v4.x have been verified to work on
> x86_64 systems.  You may need to install 32 bit compatibility
> libraries as documetned in the FAQ, see [1].
> 
> [1] http://www.denx.de/wiki/view/DULG/ELDKUsageIn64BitEnvironment
> 
> Best regards,
> 
> Wolfgang Denk


**************** CAUTION - Disclaimer *****************This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. 
*********** End of Disclaimer ***********DataPatterns ITS Group**********



More information about the eldk mailing list