<br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B <span dir="ltr">&lt;<a href="mailto:ganeshsurfs@yahoo.com" target="_blank">ganeshsurfs@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-size:10pt;font-family:Courier New,courier,monaco,monospace,sans-serif"><div><span style="font-size:13px;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif">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.</span></div>

<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><span style="font-size:13px;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br>

</span></div><div style="background-color:transparent"><span style="font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif;font-size:13px">Where is the
 doc&#39;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.</span></div>

<div style="font-style:normal;background-color:transparent"><span style="font-size:13px;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br></span></div></div></div></blockquote><div>I would say a wiser choice would be getting a .config from somewhere and editing options which you really need to change. <br>

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.<br>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. <br>

Toolchains can be bit of a pain to get right. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:Courier New,courier,monaco,monospace,sans-serif">

<div style="font-style:normal;background-color:transparent"><span style="font-size:13px;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"></span></div><div style="font-style:normal;background-color:transparent">

<span style="font-size:13px;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif">w.r.t. Knoppix, Thank you, let me check the informit link for the
 architecture and usage relevance. </span></div><div></div><div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"> </span></div><div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif">TnR,<br>

Ganesh<br></span></div><div class="hm HOEnZb"><div style="font-style:normal;background-color:transparent"><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br></span></div>

  </div><div style="font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><div class="hm HOEnZb"> </div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div class="hm HOEnZb">

 </div><div dir="ltr"><div class="hm HOEnZb"> </div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><div class="hm HOEnZb"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Anuz Pratap Singh Tomar &lt;<a href="mailto:chambilkethakur@gmail.com" target="_blank">chambilkethakur@gmail.com</a>&gt;<br>

 <b><span style="font-weight:bold">To:</span></b> Ganesh B &lt;<a href="mailto:ganeshsurfs@yahoo.com" target="_blank">ganeshsurfs@yahoo.com</a>&gt; <br><b><span style="font-weight:bold">Cc:</span></b> Mulyadi Santosa &lt;<a href="mailto:mulyadi.santosa@gmail.com" target="_blank">mulyadi.santosa@gmail.com</a>&gt;; &quot;<a href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a>&quot; &lt;<a href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a>&gt; <br>

 <b><span style="font-weight:bold">Sent:</span></b> Tuesday, January 8, 2013 8:44 PM</div><div><div class="h5"><br> <b><span style="font-weight:bold">Subject:</span></b> Re: Cross Compiling a different architechture<br>  </div>

</div></span></div><div><div class="h5"> <span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br>
</span><div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br><br></span><div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif">On Tue, Jan 8, 2013 at 2:39 PM, Ganesh B <span dir="ltr">&lt;<a rel="nofollow" href="mailto:ganeshsurfs@yahoo.com" target="_blank">ganeshsurfs@yahoo.com</a>&gt;</span> wrote:<br>

</span><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><div><span style="font-size:small">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.</span></div>



<div></div><div></div></div></div></blockquote><div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif">there is extensive documentation under Documentation/ directory in kernel source.<br>

on simple search I got this link about building kernel on knoppix:<br> <a href="http://www.informit.com/articles/article.aspx?p=422949&amp;seqNum=3" target="_blank">http://www.informit.com/articles/article.aspx?p=422949&amp;seqNum=3</a><br>



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). <br>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: <a href="http://knoppix.net/wiki/Main_Page" target="_blank">http://knoppix.net/wiki/Main_Page</a><br>



<br>I would recommend that you read these guidelines before asking any question on this list<br><a href="http://kernelnewbies.org/mailinglistguidelines" target="_blank">http://kernelnewbies.org/mailinglistguidelines</a><br>

<br></span></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><div><span style="font-size:small"> </span></div><div><span style="font-size:small">TnR,<br>Ganesh<br></span></div><div style="font-style:normal;background-color:transparent">



<span style="font-size:small"><br></span></div>  <div> <div> <div dir="ltr">

 <span style="font-size:small"><div> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Mulyadi Santosa &lt;<a rel="nofollow" href="mailto:mulyadi.santosa@gmail.com" target="_blank">mulyadi.santosa@gmail.com</a>&gt;<br>

 <b><span style="font-weight:bold">To:</span></b> Ganesh B &lt;<a rel="nofollow" href="mailto:ganeshsurfs@yahoo.com" target="_blank">ganeshsurfs@yahoo.com</a>&gt; <br>

</div><b><span style="font-weight:bold">Cc:</span></b> Anuz Pratap Singh Tomar &lt;<a rel="nofollow" href="mailto:chambilkethakur@gmail.com" target="_blank">chambilkethakur@gmail.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a>&quot; &lt;<a rel="nofollow" href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a>&gt; <br>



 <b><span style="font-weight:bold">Sent:</span></b> Tuesday, January 8, 2013 9:18 AM<div><br> <b><span style="font-weight:bold">Subject:</span></b> Re: Cross Compiling a different architechture<br> </div> </span></div>

 <span style="font-size:small"><br>
Hi</span><div><span style="font-size:small"><br><br>On Tue, Jan 8, 2013 at 10:36 AM, Ganesh B &lt;<a rel="nofollow" href="mailto:ganeshsurfs@yahoo.com" target="_blank">ganeshsurfs@yahoo.com</a>&gt; wrote:<br>&gt; Hello,<br>

&gt;<br></span></div><span style="font-size:small">&gt; Any help with some doc&#39;s. I see a defconfig for all, but the tree is not<br>

&gt; clear. Any documentation support for this in .Kconfig and .defconfig?<br><br>Which config option you&#39;re not clear? Asking like this will only put<br>you in the blue, you know....</span><div><span style="font-size:small"><br>

<br>-- <br>regards,<br>

<br>Mulyadi Santosa<br>Freelance Linux trainer and consultant<br><br>blog: <a rel="nofollow" href="http://the-hydra.blogspot.com/" target="_blank">the-hydra.blogspot.com</a><br>training: <a rel="nofollow" href="http://mulyaditraining.blogspot.com/" target="_blank">mulyaditraining.blogspot.com</a><br>



<br><br> </span></div></div> </div>  </div></div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a rel="nofollow" href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></span></blockquote></div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br><br clear="all"><br>-- <br>Thank you <br>Warm Regards<br>Anuz<br>
</span></div><span style="font-size:small;font-family:&#39;Courier New&#39;,courier,monaco,monospace,sans-serif"><br></span><br> </div></div></div> </div>  </div></div></blockquote></div><br><br clear="all"><br>-- <br>Thank you <br>

Warm Regards<br>Anuz<br>