From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 20 Sep 2006 10:18:57 +0100 (BST) Received: from web7909.mail.in.yahoo.com ([202.86.4.85]:18358 "HELO web7909.mail.in.yahoo.com") by ftp.linux-mips.org with SMTP id S20038430AbWITJS4 (ORCPT ); Wed, 20 Sep 2006 10:18:56 +0100 Received: (qmail 29619 invoked by uid 60001); 20 Sep 2006 09:18:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kk5/KflSobBvos6KdSLGTqRtQpLJ8U6S8PS3Uw1Dc2xgj7MnIR91bA/euTVSqN6TTrznhoM8FYvW2LTq+E6VrQ7cXQW/sxsCWDARua4RE9H3MlKA0KoJjcD1ExUKTh4QiJ6fjMrXxIi+ptXKFB44m2/nwrIHQEusw6G3gIugEKw= ; Message-ID: <20060920091846.29617.qmail@web7909.mail.in.yahoo.com> Received: from [61.246.223.98] by web7909.mail.in.yahoo.com via HTTP; Wed, 20 Sep 2006 10:18:46 BST Date: Wed, 20 Sep 2006 10:18:46 +0100 (BST) From: sathesh babu Subject: linux-libc-headers-2.6.17 To: linux-mips@linux-mips.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1148256633-1158743926=:28968" Content-Transfer-Encoding: 8bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 12604 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: sathesh_edara2003@yahoo.co.in Precedence: bulk X-list: linux-mips --0-1148256633-1158743926=:28968 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I would like build toolchain to port Linux-2.6.17 kernel on MIPS processor. Can you please tell me where can i get linux-libc-headers-2.6.17.0 sources to build toolchain using buildroot. Has anybody built toolchain for Linux-2.6.17 kernel ver. Regards, Sathesh --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-1148256633-1158743926=:28968 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi,
     I would like build toolchain to port Linux-2.6.17 kernel on MIPS
processor.
    Can you please tell me where can i get linux-libc-headers-2.6.17.0
sources to build toolchain using buildroot.
  
  Has anybody built toolchain for Linux-2.6.17 kernel ver.
  
  Regards,
  Sathesh
  


Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-1148256633-1158743926=:28968-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 20 Sep 2006 20:07:58 +0100 (BST) Received: from w099.z064220152.sjc-ca.dsl.cnc.net ([64.220.152.99]:38565 "EHLO bluesmobile.corp.specifix.com") by ftp.linux-mips.org with ESMTP id S20027678AbWITTHy (ORCPT ); Wed, 20 Sep 2006 20:07:54 +0100 Received: from localhost.localdomain (bluesmobile.specifix.com [64.220.152.99]) by bluesmobile.corp.specifix.com (Postfix) with ESMTP id 4C1173B896; Wed, 20 Sep 2006 12:02:48 -0700 (PDT) Subject: Re: linux-libc-headers-2.6.17 From: Jim Wilson To: sathesh babu Cc: linux-mips@linux-mips.org In-Reply-To: <20060920091846.29617.qmail@web7909.mail.in.yahoo.com> References: <20060920091846.29617.qmail@web7909.mail.in.yahoo.com> Content-Type: text/plain Date: Wed, 20 Sep 2006 12:07:09 -0700 Message-Id: <1158779230.2519.16.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 12612 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: wilson@specifix.com Precedence: bulk X-list: linux-mips On Wed, 2006-09-20 at 10:18 +0100, sathesh babu wrote: > Can you please tell me where can i get > linux-libc-headers-2.6.17.0 There is probably no such package. The linux headers are part of the linux kernel sources, and the glibc headers are part of the glibc sources. Both have convenient makefile targets so that you can install the headers when starting a build. Some distro vendors may extract out these headers into a separate package for convenience. In that case, you either get the package from the distro vendor, or if they don't have the package you are looking for, you make it yourself. I'd suggest looking at Dan Kegel's crosstool package, which provides scripts showing how to do a build from scratch. There is a pointer to it on the www.linux-mips.org wiki. See http://www.linux-mips.org/wiki/Toolchains -- Jim Wilson, GNU Tools Support, http://www.specifix.com From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 21 Sep 2006 05:21:47 +0100 (BST) Received: from jg555.com ([64.30.195.78]:4839 "EHLO jg555.com") by ftp.linux-mips.org with ESMTP id S20037670AbWIUEVp (ORCPT ); Thu, 21 Sep 2006 05:21:45 +0100 Received: from [192.168.1.157] ([::ffff:192.168.1.157]) (AUTH: PLAIN root, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by jg555.com with esmtp; Wed, 20 Sep 2006 21:21:42 -0700 id 000100D2.45121356.000007F2 Message-ID: <4512134B.40006@jg555.com> Date: Wed, 20 Sep 2006 21:21:31 -0700 From: Jim Gifford User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Jim Wilson CC: sathesh babu , linux-mips@linux-mips.org Subject: Re: linux-libc-headers-2.6.17 References: <20060920091846.29617.qmail@web7909.mail.in.yahoo.com> <1158779230.2519.16.camel@localhost.localdomain> In-Reply-To: <1158779230.2519.16.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 12614 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: maillist@jg555.com Precedence: bulk X-list: linux-mips Jim Wilson wrote: > I'd suggest looking at Dan Kegel's crosstool package, which provides > scripts showing how to do a build from scratch. There is a pointer to > it on the www.linux-mips.org wiki. See > http://www.linux-mips.org/wiki/Toolchains > Actually my Cross-LFS team has created a sanitation script to clean the headers, you can get the script from http://headers.cross-lfs.org, or you can download a bundle from http://ftp.jg555.com/headers From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 21 Sep 2006 13:32:12 +0100 (BST) Received: from web7913.mail.in.yahoo.com ([202.86.4.89]:36523 "HELO web7913.mail.in.yahoo.com") by ftp.linux-mips.org with SMTP id S20037816AbWIUMcG (ORCPT ); Thu, 21 Sep 2006 13:32:06 +0100 Received: (qmail 69747 invoked by uid 60001); 21 Sep 2006 12:31:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=wf6Qs7ZcGUIuq3yJkIv9+LtyevbB9WuKwbqwUCggcA6S1WGa6W8SzD2nTSlfoKAUrSIDhX/f6JQFY7TYEuZBPWL+cqsBSc0+1aHV+gaYZ+lPC/Jzj1sPsfhmNu2dEayS4u72w9GbO9463CF1QEU4LSsS9mUpJSdUdnjlWfVdoW4= ; Message-ID: <20060921123155.69745.qmail@web7913.mail.in.yahoo.com> Received: from [61.246.223.98] by web7913.mail.in.yahoo.com via HTTP; Thu, 21 Sep 2006 13:31:55 BST Date: Thu, 21 Sep 2006 13:31:55 +0100 (BST) From: sathesh babu Subject: Re: linux-libc-headers-2.6.17 To: Jim Gifford , Jim Wilson Cc: sathesh babu , linux-mips@linux-mips.org In-Reply-To: <4512134B.40006@jg555.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-503914352-1158841915=:68159" Content-Transfer-Encoding: 8bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 12615 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: sathesh_edara2003@yahoo.co.in Precedence: bulk X-list: linux-mips --0-503914352-1158841915=:68159 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Jim, Thanks alot. Does http://ftp.jg555.com/headers/ site already have sanitized headers?. That means can i use http://ftp.jg555.com/headers/linux-headers-2.6.17.tar.bz2 sources as sanitized headers to build toolchain for Linux-2.6.17. If Yes, can i directly use these sources in buildroot to build the toolchain? Regards, Sathesh Jim Gifford wrote: Jim Wilson wrote: > I'd suggest looking at Dan Kegel's crosstool package, which provides > scripts showing how to do a build from scratch. There is a pointer to > it on the www.linux-mips.org wiki. See > http://www.linux-mips.org/wiki/Toolchains > Actually my Cross-LFS team has created a sanitation script to clean the headers, you can get the script from http://headers.cross-lfs.org, or you can download a bundle from http://ftp.jg555.com/headers --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-503914352-1158841915=:68159 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi Jim,
   Thanks alot.
Does http://ftp.jg555.com/headers/ site already have sanitized headers?.
That means can i use http://ftp.jg555.com/headers/linux-headers-2.6.17.tar.bz2 sources as sanitized headers to build toolchain for Linux-2.6.17.
 
If Yes, can i directly use these sources in buildroot to build the toolchain?
 
Regards,
Sathesh  

Jim Gifford <maillist@jg555.com> wrote:
Jim Wilson wrote:
> I'd suggest looking at Dan Kegel's crosstool package, which provides
> scripts showing how to do a build from scratch. There is a pointer to
> it on the www.linux-mips.org wiki. See
> http://www.linux-mips.org/wiki/Toolchains
>
Actually my Cross-LFS team has created a sanitation script to clean the
headers, you can get the script from http://headers.cross-lfs.org, or
you can download a bundle from http://ftp.jg555.com/headers



Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-503914352-1158841915=:68159-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 03 Oct 2006 15:35:59 +0100 (BST) Received: from web7913.mail.in.yahoo.com ([202.86.4.89]:56987 "HELO web7913.mail.in.yahoo.com") by ftp.linux-mips.org with SMTP id S20038873AbWJCOfw (ORCPT ); Tue, 3 Oct 2006 15:35:52 +0100 Received: (qmail 37397 invoked by uid 60001); 3 Oct 2006 14:35:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MY9tr2kuW6EfQZedwCAhtDSFt7DUQXuxVssnTZ1TzQvfbFdumxondJFp5ZVV01YwXahHsuBa+MgfCOKuJICDvYBNKTf2DHwlHCiZpCWFxEJ6C2zin49giS6ToJwKVYcxFY1HtPAii+xw9kkmaHlXZZrM+gZLyGjNTp0/0LmXjO0= ; Message-ID: <20061003143545.37395.qmail@web7913.mail.in.yahoo.com> Received: from [61.246.223.98] by web7913.mail.in.yahoo.com via HTTP; Tue, 03 Oct 2006 15:35:44 BST Date: Tue, 3 Oct 2006 15:35:44 +0100 (BST) From: sathesh babu Subject: Re: linux-libc-headers-2.6.17 To: Jim Gifford , Jim Wilson Cc: sathesh babu , linux-mips@linux-mips.org In-Reply-To: <4512134B.40006@jg555.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1092621611-1159886144=:35963" Content-Transfer-Encoding: 8bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 12777 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: sathesh_edara2003@yahoo.co.in Precedence: bulk X-list: linux-mips --0-1092621611-1159886144=:35963 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Jim, I have downloaded 2.6.18 sanitized headers from the following link which was suggested by you. http://ftp.jg555.com/headers I am trying to build the toolchain for MIPS for linux-2.6.18 kernel using these headers and uClibc-0.9.28 and gcc-3.4.3. When i tried to compile busybox-1.00 i get the following error "undefined reference to `getpageshift' ". Then i searched in the mailing list and found your article http://linuxfromscratch.org/pipermail/lfs-dev/2006-July/057591.html I added the following definition for getpageshift(), suggested in the above link in the asm-mips/page.h file Here is a santized version > #define PAGE_SIZE (getpagesize()) > static __inline__ int getpageshift() > { > int pagesize = getpagesize(); > return (__builtin_clz(pagesize) ^ 31); > } I am not able to find definition for getpagesize().Can you please help me finding the definition for same. Is it in kernel or in userland?. BTW: I tried the same thing on Linux-2.6.17.13. I could build the toolchain by modifying the page.h as mentioned above. I could build the images for both Linux-2.6.17.13 and root file system for MIPS processor.But when i tried to execute any command pointing to busybox i was getting kernel crash. When i tried to debug this issue i found that "asm/page.h" file is included in some of the files in the busybox. Is this crash because of getpageshift() which is defined in asm-mips/page.h.?. What is the expected output of getpagesize()?. Could you advise a solution for this?. Regards, Sathesh Jim Gifford wrote: Jim Wilson wrote: > I'd suggest looking at Dan Kegel's crosstool package, which provides > scripts showing how to do a build from scratch. There is a pointer to > it on the www.linux-mips.org wiki. See > http://www.linux-mips.org/wiki/Toolchains > Actually my Cross-LFS team has created a sanitation script to clean the headers, you can get the script from http://headers.cross-lfs.org, or you can download a bundle from http://ftp.jg555.com/headers --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-1092621611-1159886144=:35963 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi Jim,
   
I have downloaded 2.6.18 sanitized headers from the following link which was suggested by you.
 
I am trying to build the toolchain for MIPS for linux-2.6.18 kernel using these headers and uClibc-0.9.28 and gcc-3.4.3.
When i tried to compile busybox-1.00 i get the following error
"undefined reference to `getpageshift' ".
 
Then i searched in the mailing list and found your article
 
I added the following definition for getpageshift(), suggested in the above link in the asm-mips/page.h file
 
 Here is a santized version
> #define PAGE_SIZE       (getpagesize())
> static __inline__ int getpageshift()
> {
>     int pagesize = getpagesize();
>     return (__builtin_clz(pagesize) ^ 31);
> }
I am not able to find definition for getpagesize().Can you please help me finding the definition for same. Is it in kernel or in userland?.
 
BTW:
 
  I tried the same thing on Linux-2.6.17.13. I could build the toolchain by modifying the page.h as mentioned above. I could build the images for both Linux-2.6.17.13 and root file system for MIPS processor.But when i tried to execute any command pointing to busybox i was getting kernel crash.
 
When i tried to debug this issue i found that "asm/page.h" file is included in some of the files in the busybox.
 
Is this crash because of getpageshift() which is defined in asm-mips/page.h.?.
 
What is the expected output of getpagesize()?.
 
Could you advise a solution for this?.
 
 
Regards,
Sathesh
 
 

Jim Gifford <maillist@jg555.com> wrote:
Jim Wilson wrote:
> I'd suggest looking at Dan Kegel's crosstool package, which provides
> scripts showing how to do a build from scratch. There is a pointer to
> it on the www.linux-mips.org wiki. See
> http://www.linux-mips.org/wiki/Toolchains
>
Actually my Cross-LFS team has created a sanitation script to clean the
headers, you can get the script from http://headers.cross-lfs.org, or
you can download a bundle from http://ftp.jg555.com/headers




Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-1092621611-1159886144=:35963--