Hi Wolfgang Denk,
Thanks for your information.
Linux 3.14.25 has been compiled successfully without select the 64bit option
in the kernel configuration.
The following error was observed during compilation with enabled 64bit
option in the kernel configuration.
======================================================
make
<stdin>:1:0: error: -m64 not supported in this configuration
<stdin>:1:0: error: -m64 not supported in this configuration
/home/karuna/linux-3.14.25/scripts/gcc-version.sh: line 31: printf: #:
invalid number
/home/karuna/linux-3.14.25/scripts/gcc-version.sh: line 31: printf: #:
invalid number
<stdin>:1:0: error: -m64 not supported in this configuration
<stdin>:1:0: error: -m64 not supported in this configuration
/home/karuna/linux-3.14.25/scripts/gcc-version.sh: line 31: printf: #:
invalid number
/home/karuna/linux-3.14.25/scripts/gcc-version.sh: line 31: printf: #:
invalid number
<stdin>:1:0: error: -m64 not supported in this configuration
<stdin>:1:0: error: -m64 not supported in this configuration
<stdin>:1:0: error: -m64 not supported in this configuration
/home/karuna/linux-3.14.25/scripts/gcc-version.sh: line 29: printf: #:
invalid number
/home/karuna/linux-3.14.25/scripts/gcc-version.sh: line 29: printf: #:
invalid number
/home/karuna/linux-3.14.25/scripts/gcc-version.sh: line 29: printf: #:
invalid number
/bin/sh: line 0: test: 0001 6000 0160: integer expression expected
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
kernel/bounds.c:1:0: error: -m64 not supported in this configuration
/*
^
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
========================================================
Any -m64 flag dependency required for ELDK5.5.3?
Thanks and Regards
Karunakaran R
----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "karunakaran.krishnan" <[email protected]>
Cc: <[email protected]>
Sent: Monday, February 02, 2015 8:58 PM
Subject: Re: [ELDK] whether eldk 5.5.3 support 64bit cross compilation for
powerpc e6500 core?
Dear Karunakaran,
In message <[email protected]> you
wrote:
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).
This is actually not an ELDK related question. Both U-Boot and Linux
take great care to make sure they use the needed compiler options.
ELDK settings have no influence on whether you build a 32 or a 64 bit
Linux kernel.
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?
You have to select the correct Linux kernel configuration, i. e. you
have to select the CONFIG_PPC64 option when configuring the Linux
kernel. From the help page:
│ CONFIG_PPC64:
│
│ This option selects whether a 32-bit or a 64-bit kernel
│ will be built.
│
│ Symbol: PPC64 [=n]
│ Type : boolean
│ Prompt: 64-bit kernel
...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Old programmers never die, they just become managers.
**************** 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**********
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk