Hi all,
I have an Efika MX smartbook running the Fedora 13 images on http://ausil.us/smartbook/. I would like to build kernels using a cross compiler as described on http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain because the workstation is much faster than the 800MHz arm in the smartbook. However, the cross compiler suggested (http://mirrorlist.fedora-arm.wantstofly.org/?repo=cross&arch=x86_64) is relative old (April 2008) and does not understand the the "-mcpu=cortex-a8" option required to build the newer kernel. Is there a newer cross compiler packages somewhere?
-Will
On Thursday, July 14, 2011 09:15:19 AM William Cohen wrote:
Hi all,
I have an Efika MX smartbook running the Fedora 13 images on http://ausil.us/smartbook/. I would like to build kernels using a cross compiler as described on http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain because the workstation is much faster than the 800MHz arm in the smartbook. However, the cross compiler suggested (http://mirrorlist.fedora-arm.wantstofly.org/?repo=cross&arch=x86_64) is relative old (April 2008) and does not understand the the "-mcpu=cortex-a8" option required to build the newer kernel. Is there a newer cross compiler packages somewhere?
What kernel are you trying to build? there is a slightly newer kernel available that fully supports the efika but nothing newer than a 2.6.31 based kernel.
Dennis
On 07/14/2011 10:20 AM, Dennis Gilmore wrote:
On Thursday, July 14, 2011 09:15:19 AM William Cohen wrote:
Hi all,
I have an Efika MX smartbook running the Fedora 13 images on http://ausil.us/smartbook/. I would like to build kernels using a cross compiler as described on http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain because the workstation is much faster than the 800MHz arm in the smartbook. However, the cross compiler suggested (http://mirrorlist.fedora-arm.wantstofly.org/?repo=cross&arch=x86_64) is relative old (April 2008) and does not understand the the "-mcpu=cortex-a8" option required to build the newer kernel. Is there a newer cross compiler packages somewhere?
What kernel are you trying to build? there is a slightly newer kernel available that fully supports the efika but nothing newer than a 2.6.31 based kernel.
Dennis
Hi Dennis,
I am trying to build a kernel from git://gitorious.org/efikamx/linux-kernel.git. The "newer" might have been misleading; the main reason I am doing this is because I am working with systemtap that needs some addition build kernel tree and debuginfo to build instrumentation modules, like what is described in http://omappedia.org/wiki/Systemtap .
If was possible to make this an rpm like the omap one mentioned in http://fedoraproject.org/wiki/Architectures/Fedora_ARM_Kernels, that would be great.
-Will
On Thu, Jul 14, 2011 at 11:15 AM, William Cohen wcohen@redhat.com wrote:
Hi all,
I have an Efika MX smartbook running the Fedora 13 images on http://ausil.us/smartbook/. I would like to build kernels using a cross compiler as described on http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain because the workstation is much faster than the 800MHz arm in the smartbook. However, the cross compiler suggested (http://mirrorlist.fedora-arm.wantstofly.org/?repo=cross&arch=x86_64) is relative old (April 2008) and does not understand the the "-mcpu=cortex-a8" option required to build the newer kernel. Is there a newer cross compiler packages somewhere?
-Will
we must create a git repo in somewhere and write a spec file for smartbook kernel, so we can use arm buildservers to build the kernel.
gitourius may be a good place, we can create a clone of the repo with a spec file.
------------
Itamar Reis Peixoto msn, google talk: itamar@ispbrasil.com.br +55 11 4063 5033 (FIXO SP) +55 34 9158 9329 (TIM) +55 34 8806 3989 (OI) +55 34 3221 8599 (FIXO MG)
Is there a newer cross compiler packages somewhere?
If you don't mind building it yourself, see my bootstrap.git repo at:
http://djdelorie.fedorapeople.org/
The stage1 script can be invoked as "./stage1 binutils; ./stage1 gcc-host" to just get the raw compiler (no libraries).
Or add "exit 0" around line 265 and just "./stage1" and you also get glibc and a kernel :-)
On 07/14/2011 10:52 AM, DJ Delorie wrote:
Is there a newer cross compiler packages somewhere?
If you don't mind building it yourself, see my bootstrap.git repo at:
http://djdelorie.fedorapeople.org/
The stage1 script can be invoked as "./stage1 binutils; ./stage1 gcc-host" to just get the raw compiler (no libraries).
Or add "exit 0" around line 265 and just "./stage1" and you also get glibc and a kernel :-)
Hi DJ,
Thanks, this is what I am looking for. I now have the cross compiler working.
-Will
On 07/14/2011 10:52 AM, DJ Delorie wrote:
Is there a newer cross compiler packages somewhere?
If you don't mind building it yourself, see my bootstrap.git repo at:
http://djdelorie.fedorapeople.org/
The stage1 script can be invoked as "./stage1 binutils; ./stage1 gcc-host" to just get the raw compiler (no libraries).
I got some errors when building the kernel:
armv7hl-redhat-linux-gnueabi-ld: cannot find libgcc.a: No such file or directory
Looks like also need to do
./stage1 gcc-libgcc
Just went through the list in stage1:
go kernel-headers go binutils go gcc-host go glibc-headers go gcc-libgcc go glibc
Looks like I have a kernel built.
Now time to figure out how to install it on a sd card. :)
-Will
William Cohen píše v Čt 14. 07. 2011 v 10:15 -0400:
Hi all,
I have an Efika MX smartbook running the Fedora 13 images on http://ausil.us/smartbook/. I would like to build kernels using a cross compiler as described on http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain because the workstation is much faster than the 800MHz arm in the smartbook. However, the cross compiler suggested (http://mirrorlist.fedora-arm.wantstofly.org/?repo=cross&arch=x86_64) is relative old (April 2008) and does not understand the the "-mcpu=cortex-a8" option required to build the newer kernel. Is there a newer cross compiler packages somewhere?
if I see correctly then your question was answered and problem resolved, so just for completeness - John Linville created an updated cross-compiler some time ago - http://linville.fedorapeople.org/armv5tel/
Dan