Javier Urrutia | 4 Jun 17:16
Picon

how to use gentoo embedded project?

Hi,

I have interest in gentoo embedded project, I have surfed in the project homepage but I don't know how to use it.
I think there is not one ebuild for it, ¿how can I use it?

Jakub Ladman | 4 Jun 17:24
Picon

Re: how to use gentoo embedded project?

emerge crossdev
crossdev -t target

I think it is documented well.
But sometimes the whole toolchain is broken :-(

Jakub Ladman
Dne pondělí 04 červen 2007 17:16 Javier Urrutia napsal(a):
> Hi,
>
> I have interest in gentoo embedded project, I have surfed in the project
> homepage but I don't know how to use it.
> I think there is not one ebuild for it, ¿how can I use it?
rooot | 4 Jun 20:31
Picon
Favicon

Re: how to use gentoo embedded project?


Jakub Ladman wrote:
> emerge crossdev
> crossdev -t target
> 
> I think it is documented well.
> But sometimes the whole toolchain is broken :-(
> 
> Jakub Ladman
> Dne pondělí 04 červen 2007 17:16 Javier Urrutia napsal(a):
>> Hi,
>>
>> I have interest in gentoo embedded project, I have surfed in the project
>> homepage but I don't know how to use it.
>> I think there is not one ebuild for it, ¿how can I use it?

As Jakub said - first emerge crossdev and use it to make cross-toolchain
(emerge crossdev && emerge -t [target]) suitable to your architecture.
Next you can do it in two ways:
1) use embedded stage from one of the gentoo's mirrors
2) write make.conf and create make.profile symlink (like in normal
gentoo - but with embedded profile and [targer]-gcc as a CC compiler) in
new directory and using ROOT and PORTAGE_CONFIGROOT variables emerge
packages normally.

Łukasz Marszał
Ned Ludd | 4 Jun 20:07
Picon
Favicon

Re: how to use gentoo embedded project?

On Mon, 2007-06-04 at 17:16 +0200, Javier Urrutia wrote:
> Hi,
> 
> I have interest in gentoo embedded project, I have surfed in the
> project homepage but I don't know how to use it.
> I think there is not one ebuild for it, ¿how can I use it?

Our embedded project oversees several smaller projects. Some are
unformal projects and some are simply ongoing maintainence.

Now we can't really answer your question on how to use 
"Gentoo embedded" unless you properly define your goals for us. People 
might say crossdev but infact that might not be what you want/need at 
all. So before trying to get us to make guesses at what you are trying
to accomplish.. How about you tell us what your end goal is for what 
XYZ device.

-- 
Ned Ludd <solar@...>
Gentoo Linux

--

-- 
gentoo-embedded@... mailing list

Erik | 4 Jun 21:07
Picon

Re: how to use gentoo embedded project?

Hi!

I am trying to build an embedded system for my Arm 9-based (S3C2410)
Acer N30. I have been using Gentoo a few years and is comfortable with
it rather than with OpenEmbeded or other tools. I aim for Opie or
preferable Qtopia.

I have been trying to understund how to setup a Arm-system on my
X86/Amd64 as a subdirectory and build stuff without doing a emulated
chrooted environment where builds take place. My biggest concern is not
the crosscompiler tools (crossdev is easy) but the environment and void
messing with my real system.

I can guest but just for sure, what impact has the PORTAGE_CONFIGROOT
and ROOT variables? Is it possible to point out a directory as root and
another location of the make.conf? How do I properly set CHOST, ARCH and
other flags in the make.conf? How do a correctly point out the preferred
compiler?

As was asked before, are there any written guides or How-To's?

Regards,
Erik

rooot skrev:
> Jakub Ladman wrote:
> > emerge crossdev
> > crossdev -t target
>
> > I think it is documented well.
> > But sometimes the whole toolchain is broken :-(
>
> > Jakub Ladman
> > Dne pondlí 04  erven 2007 17:16 Javier Urrutia napsal(a):
> >> Hi,
> >>
> >> I have interest in gentoo embedded project, I have surfed in the
> project
> >> homepage but I don't know how to use it.
> >> I think there is not one ebuild for it, ¿how can I use it?
>
> As Jakub said - first emerge crossdev and use it to make cross-toolchain
> (emerge crossdev && emerge -t [target]) suitable to your architecture.
> Next you can do it in two ways:
> 1) use embedded stage from one of the gentoo's mirrors
> 2) write make.conf and create make.profile symlink (like in normal
> gentoo - but with embedded profile and [targer]-gcc as a CC compiler) in
> new directory and using ROOT and PORTAGE_CONFIGROOT variables emerge
> packages normally.
>
> Aukasz MarszaB

--

-- 
gentoo-embedded@... mailing list

KiberGus | 4 Jun 21:36
Picon

Re: how to use gentoo embedded project?



2007/6/4, Erik <paddlaren-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
Hi!

I am trying to build an embedded system for my Arm 9-based (S3C2410)
Acer N30. I have been using Gentoo a few years and is comfortable with
it rather than with OpenEmbeded or other tools. I aim for Opie or
preferable Qtopia.

Select gcc/glibc versions carefully. It seems, that for arm5 there is no stable combination, which would support EABI. Crosscompiled binaries work somehow, but tend to crash. Native compilation works much better. And not all packages can be crosscompiled.

I have been trying to understund how to setup a Arm-system on my
X86/Amd64 as a subdirectory and build stuff without doing a emulated
chrooted environment where builds take place. My biggest concern is not
the crosscompiler tools (crossdev is easy) but the environment and void
messing with my real system.

I can guest but just for sure, what impact has the PORTAGE_CONFIGROOT
and ROOT variables? Is it possible to point out a directory as root and
another location of the make.conf ? How do I properly set CHOST, ARCH and
other flags in the make.conf? How do a correctly point out the preferred
compiler?

As was asked before, are there any written guides or How-To's?

Regards,
Erik

http://arcanux.org/guidexml/cross-development.html
Heath Holcomb | 5 Jun 01:25
Picon

Re: how to use gentoo embedded project?

Javier Urrutia wrote:
> Hi,
>
> I have interest in gentoo embedded project, I have surfed in the 
> project homepage but I don't know how to use it.
> I think there is not one ebuild for it, ¿how can I use it?
>
Check out : http://www.bulah.com/embeddedgentoo.html.
It's for x86 (standard Intel/AMD hardware).  It should get you started, 
and then you can move on to the really cool stuff; much hardware but 
cool (ARM).   I haven't updated it in while but it should be still work.

For cross development see : 
http://arcanux.org/guidexml/cross-development.html

--
heath holcomb
bulah.com

--

-- 
gentoo-embedded@... mailing list

Luís Cargnini | 10 Jun 07:21
Picon
Gravatar

Help with embedded gentoo

Please How could I start to use embedded gentoo ?
How to create an egentoo base d system ??
how to port applications ?
how to use egentoo for my OMAP (ARM 926ejs + TI DSP C54x)  (don't worry assume it an armv5t == arm926ej-s)?

--
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty <at> PUCRS
Ipiranga Avenue, 6681 – Building 30  
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500  extension: 7696
---------------------------------------------------------------------------------

rooot | 10 Jun 11:45
Picon
Favicon

Re: Help with embedded gentoo


Luís Cargnini wrote:
> Please How could I start to use embedded gentoo ?
> How to create an egentoo base d system ??
> how to port applications ?
> how to use egentoo for my OMAP (ARM 926ejs + TI DSP C54x)  (don't worry
> assume it an armv5t == arm926ej-s)?
> 
Check out gentoo-embedded list archive:
http://archives.gentoo.org/gentoo-embedded/msg_05740.xml
it's very similar thread.

Łukasz Marszał
Alasdair Campbell | 13 Jun 19:51
Picon

Advice for pthread problems

Hi,

I used the x86 Gentoo Embedded guide from
www.bulah.com/embedded-guide.html to set up a pxe booted nfs rooted
uclibc based pvr box.

Now, I know that I'm not building for an embedded arch per se, but I'm
still really interested in the stripped down system I'll get out of
it. I'm actually really keen on moving to embedded systems in the
future once I can find one that is PVR orientated and not going to
cost the earth.

I've had problems installing some programs that are crucial to the
running of this system, notably VDR and many of it's plugins. (I've
been install other crucial apps: DirectFB, xine-lib with no problems)

the packages all seem to have problems with threading and declarations:

IE
thread.c: In member function 'bool cRwLock::Lock(bool, int)':
thread.c:161: error: 'pthread_rwlock_timedwrlock' was not declared in this scope
thread.c:163: error: 'pthread_rwlock_timedrdlock' was not declared in this scope

Is there a fix that I can apply globally to sort this problem or do I
need to patch each ebuild and declare pthread..foo.. ? I'm fairly
adept at searching and replacing(!) but the reasoning behind these
changes are less apparent to me.

thanks

A l a s d a i r   C a m p b e l l

r a g a w u @ g m a i l . c o m

Gmane