Skip to contentSkip to conversation

Cross Compiling a different architechture

DISCUSSION Ganesh B 3 participants 21 messages Jan 5, 2013 – Jan 10, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Ganesh B

author
#1 lore raw

Hello,

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

TnR,
Ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130104/1082df30/attachment.html

#2 lore raw
Quoted 11 lines · Ganesh B

Hello,

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports

specific tool chains)

Quoted 9 lines

TnR,
Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 6 lines
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130105/815be0bb/attachment.html 
author
#3 lore raw

Are there rapers for them, or any alternatives for my question? Did not find any relevant things in codeaurora and codesourcery. Let me check buildroot though.

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing issues making .config and make arch=xxxx for other architecture in i386. ?
Warm Regards,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B <[email protected]> wrote:

Hello,

Quoted 9 lines

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports specific tool chains)

TnR,

Quoted 8 lines

Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130105/b1b04376/attachment.html 
#4 lore raw
Quoted 8 lines · Ganesh B

Are there rapers for them, or any alternatives for my question? Did not find any relevant things in codeaurora and codesourcery. Let me check buildroot though.

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing issues making .config and make arch=xxxx for other architecture in i386.

you need a crosstool chain, which is provided by one of these sites. There are no wrappers(not that I am aware of). There may be few pre-compiled binary toolchans, and there may be few which can compile using the configuration like buildroot one.
And please do not top post.

Quoted 46 lines

Warm Regards,
Ganesh

------------------------------
*From:* Anuz Pratap Singh Tomar <[email protected]> *To:* Ganesh B <[email protected]>
*Cc:* "kernelnewbies at kernelnewbies.org" <[email protected]> *Sent:* Saturday, January 5, 2013 4:31 PM
*Subject:* Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B <[email protected]> wrote:

Hello,

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports specific tool chains)

TnR,
Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

--
Thank you
Warm Regards
Anuz

Signature · 6 lines
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130105/a1782007/attachment.html 
author
#5 lore raw

Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root folders, or as a?separate?folders and config file in the mainfolder chain. Just trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like an guided installer or any?separate?installer is needed?

TnR,

Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B <[email protected]> wrote:

Are there rapers for them, or any alternatives for my question? Did not find any relevant things in codeaurora and codesourcery. Let me check buildroot though.

Quoted 3 lines

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing issues making .config and make arch=xxxx for other architecture in i386.

you need a crosstool chain, which is provided by one of these sites. There are no wrappers(not that I am aware of). There may be few pre-compiled binary toolchans, and there may be few which can compile using the configuration like buildroot one. And please do not top post.

?

Quoted 49 lines

Warm Regards,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B <[email protected]> wrote:

Hello,

Quoted 9 lines

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports specific tool chains)

TnR,

Quoted 8 lines

Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130105/3a306e62/attachment-0001.html 
author
#6 lore raw

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders.

Never used the kernel image till now, so do I need an auto-configuration/ installer tool for an installation and?recovery?CD. This is for my system so do not want to take chance with Data. ?
Warm Regards,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:52 PM
Subject: Re: Cross Compiling a different architechture

Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root folders, or as a?separate?folders and config file in the mainfolder chain. Just trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like an guided installer or any?separate?installer is needed?

TnR,

Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B <[email protected]> wrote:

Are there rapers for them, or any alternatives for my question? Did not find any relevant things in codeaurora and codesourcery. Let me check buildroot though.

Quoted 3 lines

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing issues making .config and make arch=xxxx for other architecture in i386.

you need a crosstool chain, which is provided by one of these sites. There are no wrappers(not that I am aware of). There may be few pre-compiled binary toolchans, and there may be few which can compile using the configuration like buildroot one. And please do not top post.

?

Quoted 49 lines

Warm Regards,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B <[email protected]> wrote:

Hello,

Quoted 9 lines

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports specific tool chains)

TnR,

Quoted 8 lines

Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130105/2b537004/attachment.html 
author
#7 lore raw

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders. I am talking about buildroot.

Never used the kernel image till now, so do I need an auto-configuration/ installer tool for an installation and?recovery?CD. This is for my system so do not want to take chance with Data. ?
Warm Regards,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 11:07 PM
Subject: Re: Cross Compiling a different architechture

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders.

Never used the kernel image till now, so do I need an auto-configuration/ installer tool for an installation and?recovery?CD. This is for my system so do not want to take chance with Data. ?
Warm Regards,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:52 PM
Subject: Re: Cross Compiling a different architechture

Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root folders, or as a?separate?folders and config file in the mainfolder chain. Just trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like an guided installer or any?separate?installer is needed?

TnR,

Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B <[email protected]> wrote:

Are there rapers for them, or any alternatives for my question? Did not find any relevant things in codeaurora and codesourcery. Let me check buildroot though.

Quoted 3 lines

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing issues making .config and make arch=xxxx for other architecture in i386.

you need a crosstool chain, which is provided by one of these sites. There are no wrappers(not that I am aware of). There may be few pre-compiled binary toolchans, and there may be few which can compile using the configuration like buildroot one. And please do not top post.

?

Quoted 49 lines

Warm Regards,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B <[email protected]> wrote:

Hello,

Quoted 9 lines

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports specific tool chains)

TnR,

Quoted 8 lines

Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130105/48966bdc/attachment-0001.html 
#9 lore raw
Quoted 4 lines · Ganesh B

Hello,

Can someone suggest any good auto installer for Installation CD and Recovery CD? I have seen Knoppix without any documentation. Any support?

you're aware that this is kernel related mailing list, right? but yet, you ask about installer?

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
author
#10 lore raw

Can someone help me with Knoppix, doc's, and installers? Just about building my first kernel. ?
TnR,
Ganesh

________________________________
From: Mulyadi Santosa <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 9:17 AM
Subject: Re: Cross Compiling a different architechture

Quoted 4 lines · Ganesh B

Hello,

Can someone suggest any good auto installer for Installation CD and Recovery CD? I have seen Knoppix without any documentation. Any support?

you're aware that this is kernel related mailing list, right? but yet, you ask about installer?

Signature · 10 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130108/44686526/attachment.html 
author
#11 lore raw
In reply to Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any?documentation?support for this in .Kconfig and .defconfig?

Any documentation for Knoppix or any other Installation and Recovery CD Creator extension with good documentation? ?
TnR,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 11:09 PM
Subject: Re: Cross Compiling a different architechture

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders. I am talking about buildroot.

Never used the kernel image till now, so do I need an auto-configuration/ installer tool for an installation and?recovery?CD. This is for my system so do not want to take chance with Data. ?
Warm Regards,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 11:07 PM
Subject: Re: Cross Compiling a different architechture

Anuz Singh Tomar,

Basically do I copy it in to separate folder or into specific folders.

Never used the kernel image till now, so do I need an auto-configuration/ installer tool for an installation and?recovery?CD. This is for my system so do not want to take chance with Data. ?
Warm Regards,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:52 PM
Subject: Re: Cross Compiling a different architechture

Anuz Singh Tomar,

Do I use the tool chain directly or do I need to compile them from their root folders, or as a?separate?folders and config file in the mainfolder chain. Just trying to download this.

Does this have an auto-configuration or rapper utility for installation CD like an guided installer or any?separate?installer is needed?

TnR,

Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:43 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 4:55 PM, Ganesh B <[email protected]> wrote:

Are there rapers for them, or any alternatives for my question? Did not find any relevant things in codeaurora and codesourcery. Let me check buildroot though.

Quoted 3 lines

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing issues making .config and make arch=xxxx for other architecture in i386.

you need a crosstool chain, which is provided by one of these sites. There are no wrappers(not that I am aware of). There may be few pre-compiled binary toolchans, and there may be few which can compile using the configuration like buildroot one. And please do not top post.

?

Quoted 49 lines

Warm Regards,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B <[email protected]> wrote:

Hello,

Quoted 9 lines

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports specific tool chains)

TnR,

Quoted 8 lines

Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130107/f3386d31/attachment-0001.html 
#12 lore raw

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
author
#13 lore raw

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation. ?
TnR,
Ganesh

________________________________
From: Mulyadi Santosa <[email protected]>
To: Ganesh B <[email protected]>
Cc: Anuz Pratap Singh Tomar <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 9:18 AM
Subject: Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

Signature · 10 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130108/fb6fb175/attachment.html 
#14 lore raw
Quoted 4 lines · Ganesh B

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation.

there is extensive documentation under Documentation/ directory in kernel source.
on simple search I got this link about building kernel on knoppix:
http://www.informit.com/articles/article.aspx?p=422949&seqNum=3
pretty much on most distribution, you can install ncurses and go for make menuconfig and then just make(i.e. if you are native compiling the kernel). However the config for distributions are fairly complex these days, so you may require to build few other things like initrd and create devices files and all. Please refer to distro documentation for knoppix:
http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on this list
http://kernelnewbies.org/mailinglistguidelines

Quoted 42 lines

TnR,
Ganesh

------------------------------
*From:* Mulyadi Santosa <[email protected]>
*To:* Ganesh B <[email protected]>
*Cc:* Anuz Pratap Singh Tomar <[email protected]>; " kernelnewbies at kernelnewbies.org" <[email protected]> *Sent:* Tuesday, January 8, 2013 9:18 AM

*Subject:* Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 6 lines
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130108/835949a1/attachment.html 
author
#15 lore raw

I do not know why but whether ncurses or menuconfig the build fails at some modules (specially hardware architecture ones), specially at cross compiling architecture build stage. It went smoothly for same system architecture like i386 or x86 but not for arm or arm64.

Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am trying to make and edit each manually for each?architecture?and then run make all. The problem is it is not allowing me to assemble all sub-architectures for say arm or arm64 as a dynamic module. I have to specify and select each option (sub-hardware architecture) specifically during build of defconfig for the architecture. My x86 is also blocking the build at times.?I did not get anything good on my google search.

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture and usage relevance.? ?
TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: Mulyadi Santosa <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 8:44 PM
Subject: Re: Cross Compiling a different architechture

On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B <[email protected]> wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation.
there is extensive documentation under Documentation/ directory in kernel source.
on simple search I got this link about building kernel on knoppix:
?http://www.informit.com/articles/article.aspx?p=422949&seqNum=3
pretty much on most distribution, you? can install ncurses and go for make menuconfig and then just make(i.e. if you are native compiling the kernel).
However the config for distributions are fairly complex these days, so you may require to build few other things like initrd and create devices files and all.? Please refer to distro documentation for knoppix: http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on this list
http://kernelnewbies.org/mailinglistguidelines

?

Quoted 44 lines

TnR,
Ganesh

________________________________
From: Mulyadi Santosa <[email protected]>
To: Ganesh B <[email protected]>
Cc: Anuz Pratap Singh Tomar <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 9:18 AM

Subject: Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

Signature · 14 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130108/97705525/attachment-0001.html 
#16 lore raw
Quoted 13 lines · Ganesh B

I do not know why but whether ncurses or menuconfig the build fails at some modules (specially hardware architecture ones), specially at cross compiling architecture build stage. It went smoothly for same system architecture like i386 or x86 but not for arm or arm64.

Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am trying to make and edit each manually for each architecture and then run make all. The problem is it is not allowing me to assemble all sub-architectures for say arm or arm64 as a dynamic module. I have to specify and select each option (sub-hardware architecture) specifically during build of defconfig for the architecture. My x86 is also blocking the build at times. I did not get anything good on my google search.

Quoted 1 line

I would say a wiser choice would be getting a .config from somewhere and

editing options which you really need to change.
I am not sure if you understand this or not, but you need to have a series of toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different directories of same source code. Generally make clean or distclean should get rid of most binaries, but starting a clean build is always the best idea.
Toolchains can be bit of a pain to get right.

Quoted 90 lines

w.r.t. Knoppix, Thank you, let me check the informit link for the
architecture and usage relevance.

TnR,
Ganesh

------------------------------
*From:* Anuz Pratap Singh Tomar <[email protected]> *To:* Ganesh B <[email protected]>
*Cc:* Mulyadi Santosa <[email protected]>; " kernelnewbies at kernelnewbies.org" <[email protected]> *Sent:* Tuesday, January 8, 2013 8:44 PM

*Subject:* Re: Cross Compiling a different architechture

On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B <[email protected]> wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation.

there is extensive documentation under Documentation/ directory in kernel source.
on simple search I got this link about building kernel on knoppix:
http://www.informit.com/articles/article.aspx?p=422949&seqNum=3
pretty much on most distribution, you can install ncurses and go for make menuconfig and then just make(i.e. if you are native compiling the kernel). However the config for distributions are fairly complex these days, so you may require to build few other things like initrd and create devices files and all. Please refer to distro documentation for knoppix:
http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on this list
http://kernelnewbies.org/mailinglistguidelines

TnR,
Ganesh

------------------------------
*From:* Mulyadi Santosa <[email protected]>
*To:* Ganesh B <[email protected]>
*Cc:* Anuz Pratap Singh Tomar <[email protected]>; " kernelnewbies at kernelnewbies.org" <[email protected]> *Sent:* Tuesday, January 8, 2013 9:18 AM

*Subject:* Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

--
Thank you
Warm Regards
Anuz

Signature · 6 lines
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/2366a297/attachment-0001.html 
author
#17 lore raw

Okay makes sense let me try clean before building different arch. I am not doing this at the moment. Would I need to have different toolchains for same architecture, I was trying to build for all processor types for an arch using a different toolchain but it failed? Ones that passed the different cross-compile arch failed at some modules speciially the net, sound, video, or built_in sections. Let me check this and revert.

Have you ever compiled a complete end to end allyesconfig for a same or cross-compile build? allyesconfig gave me dependency/ missing/ invalid entry errors for cross-compile arch like arm.

?
TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Wednesday, January 9, 2013 11:19 AM
Subject: Re: Cross Compiling a different architechture

On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B <[email protected]> wrote:

I do not know why but whether ncurses or menuconfig the build fails at some modules (specially hardware architecture ones), specially at cross compiling architecture build stage. It went smoothly for same system architecture like i386 or x86 but not for arm or arm64.

Quoted 5 lines

Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am trying to make and edit each manually for each?architecture?and then run make all. The problem is it is not allowing me to assemble all sub-architectures for say arm or arm64 as a dynamic module. I have to specify and select each option (sub-hardware architecture) specifically during build of defconfig for the architecture. My x86 is also blocking the build at times.?I did not get anything good on my google search.

I would say a wiser choice would be getting a .config from somewhere and editing options which you really need to change.
I am not sure if you understand this or not, but you need to have a series of toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different directories of same source code. Generally make clean or distclean should get rid of most binaries, but starting a clean build is always the best idea. Toolchains can be bit of a pain to get right.

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture and usage relevance.?

Quoted 87 lines

?
TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: Mulyadi Santosa <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 8:44 PM

Subject: Re: Cross Compiling a different architechture

On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B <[email protected]> wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation.
there is extensive documentation under Documentation/ directory in kernel source.
on simple search I got this link about building kernel on knoppix:
?http://www.informit.com/articles/article.aspx?p=422949&seqNum=3
pretty much on most distribution, you? can install ncurses and go for make menuconfig and then just make(i.e. if you are native compiling the kernel).
However the config for distributions are fairly complex these days, so you may require to build few other things like initrd and create devices files and all.? Please refer to distro documentation for knoppix: http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on this list
http://kernelnewbies.org/mailinglistguidelines

?

Quoted 44 lines

TnR,
Ganesh

________________________________
From: Mulyadi Santosa <[email protected]>
To: Ganesh B <[email protected]>
Cc: Anuz Pratap Singh Tomar <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 9:18 AM

Subject: Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

Signature · 14 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/2fbd2764/attachment.html 
#18 lore raw
Quoted 5 lines · Ganesh B

Okay makes sense let me try clean before building different arch. I am not doing this at the moment. Would I need to have different toolchains for same architecture, I was trying to build for all processor types for an arch using a different toolchain but it failed?

You _may_ require different toolchains for different processor with same arch types, for example under x86, i386 and i586 toolchains _may_ be used interchangably but not ia64 or x86_64 or may not even for atom. Similarly in ARM, there are different families of processor and there may be big endian or small endian processor. So you may have to find the correct toolchain for the given config.

Quoted 8 lines

Ones that passed the different cross-compile arch failed at some modules speciially the net, sound, video, or built_in sections. Let me check this and revert.

Have you ever compiled a complete end to end allyesconfig for a same or cross-compile build? allyesconfig gave me dependency/ missing/ invalid entry errors for cross-compile arch like arm.

Why would you do enable all config options? There may be incompatible dependencies, which will ofcourse lead to compilation errors.
I generally get .config files from elsewhere, sometimes there are files inside the source somewhere or sometimes you just do make ARCH=XXX menuconfig and then configure the options selectively.
I may try to build toolchain for raspberry pi in few days and see if I face such issues or not(but that is highly tentative. )

Quoted 139 lines

TnR,
Ganesh

------------------------------
*From:* Anuz Pratap Singh Tomar <[email protected]> *To:* Ganesh B <[email protected]>
*Cc:* "kernelnewbies at kernelnewbies.org" <[email protected]> *Sent:* Wednesday, January 9, 2013 11:19 AM

*Subject:* Re: Cross Compiling a different architechture

On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B <[email protected]> wrote:

I do not know why but whether ncurses or menuconfig the build fails at some modules (specially hardware architecture ones), specially at cross compiling architecture build stage. It went smoothly for same system architecture like i386 or x86 but not for arm or arm64.

Where is the doc's for Kernel defconfig and kconfig in Kernel.org<http://kernel.org/>? I am trying to make and edit each manually for each architecture and then run make all. The problem is it is not allowing me to assemble all sub-architectures for say arm or arm64 as a dynamic module. I have to specify and select each option (sub-hardware architecture) specifically during build of defconfig for the architecture. My x86 is also blocking the build at times. I did not get anything good on my google search.

I would say a wiser choice would be getting a .config from somewhere and editing options which you really need to change.
I am not sure if you understand this or not, but you need to have a series of toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different directories of same source code. Generally make clean or distclean should get rid of most binaries, but starting a clean build is always the best idea.
Toolchains can be bit of a pain to get right.

w.r.t. Knoppix, Thank you, let me check the informit link for the
architecture and usage relevance.

TnR,
Ganesh

------------------------------
*From:* Anuz Pratap Singh Tomar <[email protected]> *To:* Ganesh B <[email protected]>
*Cc:* Mulyadi Santosa <[email protected]>; " kernelnewbies at kernelnewbies.org" <[email protected]> *Sent:* Tuesday, January 8, 2013 8:44 PM

*Subject:* Re: Cross Compiling a different architechture

On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B <[email protected]> wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation.

there is extensive documentation under Documentation/ directory in kernel source.
on simple search I got this link about building kernel on knoppix:
http://www.informit.com/articles/article.aspx?p=422949&seqNum=3
pretty much on most distribution, you can install ncurses and go for make menuconfig and then just make(i.e. if you are native compiling the kernel). However the config for distributions are fairly complex these days, so you may require to build few other things like initrd and create devices files and all. Please refer to distro documentation for knoppix:
http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on this list
http://kernelnewbies.org/mailinglistguidelines

TnR,
Ganesh

------------------------------
*From:* Mulyadi Santosa <[email protected]>
*To:* Ganesh B <[email protected]>
*Cc:* Anuz Pratap Singh Tomar <[email protected]>; " kernelnewbies at kernelnewbies.org" <[email protected]> *Sent:* Tuesday, January 8, 2013 9:18 AM

*Subject:* Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

--
Thank you
Warm Regards
Anuz

--
Thank you
Warm Regards
Anuz

Signature · 6 lines
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/6554df8b/attachment-0001.html 
author
#19 lore raw

Yes, you touch the pain area I am facing. I could build x86 as well as i386 toolchain. Though I have not tried the image yet.

But when cross compiling arm and arm64 say for example, I receive .config related errors which either does not create the .config or gives errors like I mentioned. Would I be able to do a allyesconfig for this? If yes, what options needs to be missed or edited to get the processor selection at runtime.

Quoted 1 line
Quoted 1 line

using i386 machine

$make ARCH=arm defconfig? -> ends up with errors of hardware conpatibility of i386, .config not created

$make ARCH=arm allyesconfig? -> ends up with errors of hardware conpatibility specially sub-architecture of processor, .config not created

$make ARCH=arm menuconfig -> all options enabled gives while building, .config created but kernel not built while using make

TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Wednesday, January 9, 2013 12:20 PM
Subject: Re: Cross Compiling a different architechture

On Wed, Jan 9, 2013 at 12:06 PM, Ganesh B <[email protected]> wrote:

Okay makes sense let me try clean before building different arch. I am not doing this at the moment. Would I need to have different toolchains for same architecture, I was trying to build for all processor types for an arch using a different toolchain but it failed?
You _may_ require different toolchains for different processor with same arch types, for example under x86, i386 and i586 toolchains _may_ be used interchangably but not ia64 or x86_64 or may not even for atom. Similarly in ARM, there are different families of processor and there may be big endian or small endian processor. So you may have to find the correct toolchain for the given config.

Ones that passed the different cross-compile arch failed at some modules speciially the net, sound, video, or built_in sections. Let me check this and revert.

Quoted 5 lines

Have you ever compiled a complete end to end allyesconfig for a same or cross-compile build? allyesconfig gave me dependency/ missing/ invalid entry errors for cross-compile arch like arm.

Why would you do enable all config options? There may be incompatible dependencies, which will ofcourse lead to compilation errors.
I generally get .config files from elsewhere, sometimes there are files inside the source somewhere or sometimes you just do make ARCH=XXX menuconfig and then configure the options selectively. I may try to build toolchain for raspberry pi in few days and see if I face such issues or not(but that is highly tentative. )

?

?

Quoted 128 lines

TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Wednesday, January 9, 2013 11:19 AM

Subject: Re: Cross Compiling a different architechture

On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B <[email protected]> wrote:

I do not know why but whether ncurses or menuconfig the build fails at some modules (specially hardware architecture ones), specially at cross compiling architecture build stage. It went smoothly for same system architecture like i386 or x86 but not for arm or arm64.

Quoted 5 lines

Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am trying to make and edit each manually for each?architecture?and then run make all. The problem is it is not allowing me to assemble all sub-architectures for say arm or arm64 as a dynamic module. I have to specify and select each option (sub-hardware architecture) specifically during build of defconfig for the architecture. My x86 is also blocking the build at times.?I did not get anything good on my google search.

I would say a wiser choice would be getting a .config from somewhere and editing options which you really need to change.
I am not sure if you understand this or not, but you need to have a series of toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different directories of same source code. Generally make clean or distclean should get rid of most binaries, but starting a clean build is always the best idea. Toolchains can be bit of a pain to get right.

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture and usage relevance.?

Quoted 87 lines

?
TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: Mulyadi Santosa <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 8:44 PM

Subject: Re: Cross Compiling a different architechture

On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B <[email protected]> wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation.
there is extensive documentation under Documentation/ directory in kernel source.
on simple search I got this link about building kernel on knoppix:
?http://www.informit.com/articles/article.aspx?p=422949&seqNum=3
pretty much on most distribution, you? can install ncurses and go for make menuconfig and then just make(i.e. if you are native compiling the kernel).
However the config for distributions are fairly complex these days, so you may require to build few other things like initrd and create devices files and all.? Please refer to distro documentation for knoppix: http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on this list
http://kernelnewbies.org/mailinglistguidelines

?

Quoted 44 lines

TnR,
Ganesh

________________________________
From: Mulyadi Santosa <[email protected]>
To: Ganesh B <[email protected]>
Cc: Anuz Pratap Singh Tomar <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 9:18 AM

Subject: Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

Signature · 14 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/63be09d6/attachment-0001.html 
author
#20 lore raw
Quoted 1 line

x86 build is done but wont boot up using the build using the vmlinux image. using usb stick. any tips?

?
TnR,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Wednesday, January 9, 2013 1:09 PM
Subject: Re: Cross Compiling a different architechture

Yes, you touch the pain area I am facing. I could build x86 as well as i386 toolchain. Though I have not tried the image yet.

But when cross compiling arm and arm64 say for example, I receive .config related errors which either does not create the .config or gives errors like I mentioned. Would I be able to do a allyesconfig for this? If yes, what options needs to be missed or edited to get the processor selection at runtime.

Quoted 1 line
Quoted 1 line

using i386 machine

$make ARCH=arm defconfig? -> ends up with errors of hardware conpatibility of i386, .config not created

$make ARCH=arm allyesconfig? -> ends up with errors of hardware conpatibility specially sub-architecture of processor, .config not created

$make ARCH=arm menuconfig -> all options enabled gives while building, .config created but kernel not built while using make

TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Wednesday, January 9, 2013 12:20 PM
Subject: Re: Cross Compiling a different architechture

On Wed, Jan 9, 2013 at 12:06 PM, Ganesh B <[email protected]> wrote:

Okay makes sense let me try clean before building different arch. I am not doing this at the moment. Would I need to have different toolchains for same architecture, I was trying to build for all processor types for an arch using a different toolchain but it failed?
You _may_ require different toolchains for different processor with same arch types, for example under x86, i386 and i586 toolchains _may_ be used interchangably but not ia64 or x86_64 or may not even for atom. Similarly in ARM, there are different families of processor and there may be big endian or small endian processor. So you may have to find the correct toolchain for the given config.

Ones that passed the different cross-compile arch failed at some modules speciially the net, sound, video, or built_in sections. Let me check this and revert.

Quoted 5 lines

Have you ever compiled a complete end to end allyesconfig for a same or cross-compile build? allyesconfig gave me dependency/ missing/ invalid entry errors for cross-compile arch like arm.

Why would you do enable all config options? There may be incompatible dependencies, which will ofcourse lead to compilation errors.
I generally get .config files from elsewhere, sometimes there are files inside the source somewhere or sometimes you just do make ARCH=XXX menuconfig and then configure the options selectively. I may try to build toolchain for raspberry pi in few days and see if I face such issues or not(but that is highly tentative. )

?

?

Quoted 128 lines

TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Wednesday, January 9, 2013 11:19 AM

Subject: Re: Cross Compiling a different architechture

On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B <[email protected]> wrote:

I do not know why but whether ncurses or menuconfig the build fails at some modules (specially hardware architecture ones), specially at cross compiling architecture build stage. It went smoothly for same system architecture like i386 or x86 but not for arm or arm64.

Quoted 5 lines

Where is the doc's for Kernel defconfig and kconfig in Kernel.org? I am trying to make and edit each manually for each?architecture?and then run make all. The problem is it is not allowing me to assemble all sub-architectures for say arm or arm64 as a dynamic module. I have to specify and select each option (sub-hardware architecture) specifically during build of defconfig for the architecture. My x86 is also blocking the build at times.?I did not get anything good on my google search.

I would say a wiser choice would be getting a .config from somewhere and editing options which you really need to change.
I am not sure if you understand this or not, but you need to have a series of toolchains for each arch you need to cross compile at different locations.
For different binaries of different arch, I would suggest you use different directories of same source code. Generally make clean or distclean should get rid of most binaries, but starting a clean build is always the best idea. Toolchains can be bit of a pain to get right.

w.r.t. Knoppix, Thank you, let me check the informit link for the architecture and usage relevance.?

Quoted 87 lines

?
TnR,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: Mulyadi Santosa <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 8:44 PM

Subject: Re: Cross Compiling a different architechture

On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B <[email protected]> wrote:

Creating Defconfig and menuconfig (options) for all in one system from kernel. I want a clean build rather than an external mount, most I found did not have documentation.
there is extensive documentation under Documentation/ directory in kernel source.
on simple search I got this link about building kernel on knoppix:
?http://www.informit.com/articles/article.aspx?p=422949&seqNum=3
pretty much on most distribution, you? can install ncurses and go for make menuconfig and then just make(i.e. if you are native compiling the kernel).
However the config for distributions are fairly complex these days, so you may require to build few other things like initrd and create devices files and all.? Please refer to distro documentation for knoppix: http://knoppix.net/wiki/Main_Page

I would recommend that you read these guidelines before asking any question on this list
http://kernelnewbies.org/mailinglistguidelines

?

Quoted 44 lines

TnR,
Ganesh

________________________________
From: Mulyadi Santosa <[email protected]>
To: Ganesh B <[email protected]>
Cc: Anuz Pratap Singh Tomar <[email protected]>; "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Tuesday, January 8, 2013 9:18 AM

Subject: Re: Cross Compiling a different architechture

Hi

Quoted 4 lines · Ganesh B

Hello,

Any help with some doc's. I see a defconfig for all, but the tree is not clear. Any documentation support for this in .Kconfig and .defconfig?

Which config option you're not clear? Asking like this will only put you in the blue, you know....

Signature · 14 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 3 lines
Thank you 
Warm Regards
Anuz
Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/c4308ecb/attachment-0001.html 
author
#21 lore raw
In reply to Ganesh B

Anuz Singh Tomar,

Buildroot has the details of config I need. let me see if I am able to use this. ?
TnR,
Ganesh

________________________________
From: Ganesh B <[email protected]>
To: Anuz Pratap Singh Tomar <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 10:25 PM
Subject: Re: Cross Compiling a different architechture

Are there rapers for them, or any alternatives for my question? Did not find any relevant things in codeaurora and codesourcery. Let me check buildroot though.

What I need actually is how to compile a ARM or ARM64 from i386 Machine. Facing issues making .config and make arch=xxxx for other architecture in i386. ?
Warm Regards,
Ganesh

________________________________
From: Anuz Pratap Singh Tomar <[email protected]>
To: Ganesh B <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org" <[email protected]>
Sent: Saturday, January 5, 2013 4:31 PM
Subject: Re: Cross Compiling a different architechture

On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B <[email protected]> wrote:

Hello,

Quoted 9 lines

I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work.

Is there a method to compile all architectures at the same to save time? I have not been able to do that.

try buildroot or codesourcery or codeaurora(I think it only supports specific tool chains)

TnR,

Quoted 8 lines

Ganesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 6 lines
Thank you 
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130105/9f2bc6af/attachment.html