FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Embedded

 
 
LinkBack Thread Tools
 
Old 01-10-2008, 04:58 PM
"Phani Babu Giddi"
 
Default Fwd: using gentoo-embedded on Fedora 8

---------- Forwarded message ----------
From: Phani Babu Giddi <phanig@gmail.com>
Date: Jan 10, 2008 9:39 AM

Subject: Re: [gentoo-embedded] using gentoo-embedded on Fedora 8
To: Mike Frysinger <vapier@gentoo.org>


Hi Mike,

Is this the document that you are referring to..
http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml. I was going through multiple documentations and since none of them was completely appliable for my environment I was doing a mix and match and endded up in trouble.


I think I should be modifying the make.conf of sysroot i.e $SYSROOT/etc/make.conf. This I need to do after running the crossdev utility right.

Let me see how it goes.

Regards,

Phani


On Jan 9, 2008 10:42 PM, Mike Frysinger <vapier@gentoo.org> wrote:


On Wednesday 09 January 2008, Phani Babu Giddi wrote:
> Can you tell me how does your /etc/make.conf look like. The Gentoo embedded
> documentation says that CHOST is that of the host which in my case is

> i686-pc-linux-gnu and that for CTARGET its i586-gentoo-linux-uclibc.
>
> But when I go through the Gentoo x86 documentation it refers CHOST as that
> of the target.
>
> My host is i686 and the target processor is Geode LX 800 which is i586 with

> mmx.

you're mixing things. */etc/make.conf is for the normal Gentoo host. *so if
you installed an x86 system, it's most likely i686-pc-linux-gnu.

if you review the embedded handbook, you'll need to create a *different*

make.conf which contains settings for the target board. *in that file, you
would set CBUILD to i686/glibc and CHOST to i586/uclibc.
-mike
 
Old 01-10-2008, 05:46 PM
Mike Frysinger
 
Default Fwd: using gentoo-embedded on Fedora 8

On Thursday 10 January 2008, Phani Babu Giddi wrote:
> Is this the document that you are referring to..
> http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml. I was going
> through multiple documentations and since none of them was completely
> appliable for my environment I was doing a mix and match and endded up in
> trouble.

all documentation should be centered in the handbook. what other documents
were you looking at ?
-mike
 
Old 01-10-2008, 06:50 PM
"Phani Babu Giddi"
 
Default Fwd: using gentoo-embedded on Fedora 8

Hi Mike,

I was looking at http://www.bulah.com/embedded-guide.html and then
http://www.rugludallur.com/index.php?id=138.

BTW, I tried using the crossdev tool and I got the following error.. any idea ?

Regards,
Phani

Listing 2
ishift 1* tshift 9* size 14472
ishift 2* tshift 9* size 14448

ishift 1* tshift 10* size 20560
ishift 2* tshift 10* size 20556
smallest = 3604
setting ishift 5* tshift 2
make: *** [wctables.h] Segmentation fault

!!! ERROR: cross-i586-gentoo-linux-uclibc/uclibc-
0.9.28.3-r2 failed.
Call stack:
* ebuild.sh, line 1614:** Called dyn_compile
* ebuild.sh, line 971:** Called qa_call 'src_compile'
* environment, line 3413:** Called src_compile
* uclibc-0.9.28.3-r2.ebuild
, line 390:** Called die

!!! make locales failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/cross/i586-gentoo-linux-uclibc/portage/cross-i586-gentoo-linux-uclibc/uclibc-
0.9.28.3-r2/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'



On Jan 10, 2008 10:46 AM, Mike Frysinger <

vapier@gentoo.org> wrote:
On Thursday 10 January 2008, Phani Babu Giddi wrote:

> Is this the document that you are referring to..
> http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml

. I was going
> through multiple documentations and since none of them was completely
> appliable for my environment I was doing a mix and match and endded up in
> trouble.

all documentation should be centered in the handbook. *what other documents

were you looking at ?
-mike
 
Old 01-10-2008, 07:34 PM
Mike Frysinger
 
Default Fwd: using gentoo-embedded on Fedora 8

On Thursday 10 January 2008, Phani Babu Giddi wrote:
> I was looking at http://www.bulah.com/embedded-guide.html and then
> http://www.rugludallur.com/index.php?id=138.

those were largely obsoleted by the handbook, but we dont have any handbook
guide that takes you from a to z. we give you the toolkit and let you build.
perhaps if someone wanted to integrate a step by step guide into the
handbook, that'd be reasonable.

> make: *** [wctables.h] Segmentation fault

search bugzilla and you'll find it commonly asked. do not use locale in
uClibc unless you set things up ahead of time.
-mike
 
Old 01-10-2008, 08:05 PM
"Phani Babu Giddi"
 
Default Fwd: using gentoo-embedded on Fedora 8

This command did the trick for me.

USE="-*" crossdev --target i586-gentoo-linux-uclibc

-Phani

On Jan 10, 2008 12:34 PM, Mike Frysinger <
vapier@gentoo.org> wrote:
On Thursday 10 January 2008, Phani Babu Giddi wrote:

> I was looking at http://www.bulah.com/embedded-guide.html and then
>
http://www.rugludallur.com/index.php?id=138.

those were largely obsoleted by the handbook, but we dont have any handbook
guide that takes you from a to z. *we give you the toolkit and let you build.

perhaps if someone wanted to integrate a step by step guide into the
handbook, that'd be reasonable.

> make: *** [wctables.h] Segmentation fault

search bugzilla and you'll find it commonly asked. *do not use locale in

uClibc unless you set things up ahead of time.
-mike
 

Thread Tools




All times are GMT. The time now is 07:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org