public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] FAQ / How To?
@ 2006-01-20 15:55 Dennis Taylor
  2006-01-20 16:16 ` Joshua ChaitinPollak
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Dennis Taylor @ 2006-01-20 15:55 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

I have tried various ways of building a root fs with uClibc, but to no
avail.  I have monitored this list long enough to know that someone out
there has done it.  I need to do it for and X86 target that must fit in
about 1.5 MB of flash that gets copied to RAM and started.


The "out of the box" configuration I linked to from the uClibc site
fails in various ways.  I like the Gentoo way of doing things, but the
HOWTO link I saved a while back does not work.

Any pointers to documents that would help me succeed would be greatly
appreciated. 

Dennis Taylor

[-- Attachment #2: Type: text/html, Size: 1083 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: [gentoo-embedded] FAQ / How To?
@ 2006-01-20 16:23 Dennis Taylor
  0 siblings, 0 replies; 14+ messages in thread
From: Dennis Taylor @ 2006-01-20 16:23 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]

Thanks.

________________________________

From: Joshua ChaitinPollak [mailto:jpollak@kivasystems.com] 
Sent: Friday, January 20, 2006 11:16 AM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] FAQ / How To?


This is what I use: 

http://www.bulah.com/embeddedgentoo.html

My installation is 6 mb, since I'm installing into 32 mb, I haven't
tried too hard to pair it down. I'm installing on Soekris net4526
boards. Keep in mind there are somethings you can do after you build you
filesystem with Gentoo to make the install even smaller:

Remove /usr/include
Remove all .keep files
Audit the rest of the file system for unnecessary files, expecially /etc
and /var

I have a series of scripts I've written to automate the process
described in the above howto, and I would like to publish them shortly,
but please don't hold your breath. :)

-Josh

On Jan 20, 2006, at 10:55 AM, Dennis Taylor wrote:


	I have tried various ways of building a root fs with uClibc, but
to no avail.  I have monitored this list long enough to know that
someone out there has done it.  I need to do it for and X86 target that
must fit in about 1.5 MB of flash that gets copied to RAM and started.


	The "out of the box" configuration I linked to from the uClibc
site fails in various ways.  I like the Gentoo way of doing things, but
the HOWTO link I saved a while back does not work.

	Any pointers to documents that would help me succeed would be
greatly appreciated. 

	Dennis Taylor 


-- 
Joshua ChaitinPollak
Software Engineer
Kiva Systems



[-- Attachment #2: Type: text/html, Size: 2998 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: [gentoo-embedded] FAQ / How To?
@ 2006-01-23 18:25 Dennis Taylor
  0 siblings, 0 replies; 14+ messages in thread
From: Dennis Taylor @ 2006-01-23 18:25 UTC (permalink / raw
  To: gentoo-embedded

Thanks.  I may end up trying that because I am still having difficulty
using the reference I was first given. I will report to the whole list
if I learn anything meaningful.  My problem is that I am in a time
crunch, and I have not yet learned the Gentoo process well enough to
troubleshoot on my own.  We have a commercial tool that we paid high $
for that does seem to have the ability to use uclibc, and thus is way
bigger than I can tolerate in the onboard diagnostic tool. 

-----Original Message-----
From: solar [mailto:solar@gentoo.org] 
Sent: Monday, January 23, 2006 12:24 PM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] FAQ / How To?

On Fri, 2006-01-20 at 10:55 -0500, Dennis Taylor wrote:
> I have tried various ways of building a root fs with uClibc, but to no

> avail.  I have monitored this list long enough to know that someone 
> out there has done it.  I need to do it for and X86 target that must 
> fit in about 1.5 MB of flash that gets copied to RAM and started.
> 
> 
> The "out of the box" configuration I linked to from the uClibc site 
> fails in various ways.  I like the Gentoo way of doing things, but the

> HOWTO link I saved a while back does not work.
> 
> Any pointers to documents that would help me succeed would be greatly 
> appreciated.


Sorry no docs but knowing your space constraints 


cat /etc/portage/root_install_mask
*.a
/usr/include
/usr/lib/*.o
/bin/bb

Or just export what you want to mask via the INSTALL_MASK= env var.

emerge -b busybox uclibc
emerge -B baselayout-lite
ROOT=/dev/shm/ROOT \
 emerge -KO uclibc busybox baselayout-lite

# let busybox set up it's symlinks.
mount --bind /proc /dev/shm/ROOT/proc
chroot /dev/shm/ROOT/ /bin/sh --login
busybox --install -s
exit
umount /dev/shm/ROOT/proc

# these three pkgs should be your base for everything else you need
todo.

good luck and dont forget to setup your inittab/fstab/init scripts.

--
solar <solar@gentoo.org>
Gentoo Linux

--
gentoo-embedded@gentoo.org mailing list




-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: [gentoo-embedded] FAQ / How To?
@ 2006-01-23 18:28 Dennis Taylor
  2006-01-23 18:32 ` Heath Holcomb
  0 siblings, 1 reply; 14+ messages in thread
From: Dennis Taylor @ 2006-01-23 18:28 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 2109 bytes --]

Having followed the other link to
http://www.bulah.com/embedded-guide.html, which seems to be more up to
date, am still having problems.  At step 3 I get the following response.
 
clwsapp07 root # ROOT=/embedded_rootfs emerge -K uclibc
Calculating dependencies
!!! There are no packages available to satisfy: "uclibc"
!!! Either add a suitable binary package or compile from an ebuild.
 
I thought all the previous steps went OK.  Even some of the workarounds
seem to no longer be needed.  Any ideas?
 
 

________________________________

From: Joshua ChaitinPollak [mailto:jpollak@kivasystems.com] 
Sent: Friday, January 20, 2006 11:16 AM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] FAQ / How To?


This is what I use: 

http://www.bulah.com/embeddedgentoo.html

My installation is 6 mb, since I'm installing into 32 mb, I haven't
tried too hard to pair it down. I'm installing on Soekris net4526
boards. Keep in mind there are somethings you can do after you build you
filesystem with Gentoo to make the install even smaller:

Remove /usr/include
Remove all .keep files
Audit the rest of the file system for unnecessary files, expecially /etc
and /var

I have a series of scripts I've written to automate the process
described in the above howto, and I would like to publish them shortly,
but please don't hold your breath. :)

-Josh

On Jan 20, 2006, at 10:55 AM, Dennis Taylor wrote:


	I have tried various ways of building a root fs with uClibc, but
to no avail.  I have monitored this list long enough to know that
someone out there has done it.  I need to do it for and X86 target that
must fit in about 1.5 MB of flash that gets copied to RAM and started.


	The "out of the box" configuration I linked to from the uClibc
site fails in various ways.  I like the Gentoo way of doing things, but
the HOWTO link I saved a while back does not work.

	Any pointers to documents that would help me succeed would be
greatly appreciated. 

	Dennis Taylor 


-- 
Joshua ChaitinPollak
Software Engineer
Kiva Systems



[-- Attachment #2: Type: text/html, Size: 4202 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: [gentoo-embedded] FAQ / How To?
@ 2006-01-23 20:45 Dennis Taylor
  2006-01-23 20:48 ` Heath Holcomb
  2006-01-23 21:20 ` solar
  0 siblings, 2 replies; 14+ messages in thread
From: Dennis Taylor @ 2006-01-23 20:45 UTC (permalink / raw
  To: gentoo-embedded

Well, I blew that one.  I decided to start over just in case I had
missed something.  Unfortunately, I failed to umount portage before I
did rm -rf on the staging area.  Now, I do not have /usr/portage.  Some
days are like that. :-(

Does anyone know if it is possible to recover just portage without
starting all over?

-----Original Message-----
From: Heath Holcomb [mailto:liquidcable@bulah.com] 
Sent: Monday, January 23, 2006 1:32 PM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] FAQ / How To?

I wrote the how-to.  I haven't built a system in several weeks, so
portage has changed a bit (and ebuilds).  I plan on updating the how-to
in a week or two, if I discover new problems (looks like there are
some).

--
heath holcomb
liquidcable at bulah.com
www.bulah.com

On Monday 23 January 2006 12:28, Dennis Taylor wrote:
> Having followed the other link to
> http://www.bulah.com/embedded-guide.html, which seems to be more up to

> date, am still having problems.  At step 3 I get the following
response.
>
> clwsapp07 root # ROOT=/embedded_rootfs emerge -K uclibc Calculating 
> dependencies !!! There are no packages available to satisfy: "uclibc"
> !!! Either add a suitable binary package or compile from an ebuild.
>
> I thought all the previous steps went OK.  Even some of the 
> workarounds seem to no longer be needed.  Any ideas?
>
>
>
> ________________________________
>
> From: Joshua ChaitinPollak [mailto:jpollak@kivasystems.com]
> Sent: Friday, January 20, 2006 11:16 AM
> To: gentoo-embedded@lists.gentoo.org
> Subject: Re: [gentoo-embedded] FAQ / How To?
>
>
> This is what I use:
>
> http://www.bulah.com/embeddedgentoo.html
>
> My installation is 6 mb, since I'm installing into 32 mb, I haven't 
> tried too hard to pair it down. I'm installing on Soekris net4526 
> boards. Keep in mind there are somethings you can do after you build 
> you filesystem with Gentoo to make the install even smaller:
>
> Remove /usr/include
> Remove all .keep files
> Audit the rest of the file system for unnecessary files, expecially 
> /etc and /var
>
> I have a series of scripts I've written to automate the process 
> described in the above howto, and I would like to publish them 
> shortly, but please don't hold your breath. :)
>
> -Josh
>
> On Jan 20, 2006, at 10:55 AM, Dennis Taylor wrote:
>
>
> 	I have tried various ways of building a root fs with uClibc, but
to 
> no avail.  I have monitored this list long enough to know that someone

> out there has done it.  I need to do it for and X86 target that must 
> fit in about 1.5 MB of flash that gets copied to RAM and started.
>
>
> 	The "out of the box" configuration I linked to from the uClibc
site 
> fails in various ways.  I like the Gentoo way of doing things, but the

> HOWTO link I saved a while back does not work.
>
> 	Any pointers to documents that would help me succeed would be
greatly 
> appreciated.
>
> 	Dennis Taylor

--
gentoo-embedded@gentoo.org mailing list




-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-01-27 15:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-20 15:55 [gentoo-embedded] FAQ / How To? Dennis Taylor
2006-01-20 16:16 ` Joshua ChaitinPollak
2006-01-27  1:46   ` Ow Mun Heng
2006-01-27 15:41     ` Joshua ChaitinPollak
2006-01-23 17:24 ` solar
2006-01-24  7:13 ` Stanisław Raczyński
  -- strict thread matches above, loose matches on Subject: below --
2006-01-20 16:23 Dennis Taylor
2006-01-23 18:25 Dennis Taylor
2006-01-23 18:28 Dennis Taylor
2006-01-23 18:32 ` Heath Holcomb
2006-01-23 20:45 Dennis Taylor
2006-01-23 20:48 ` Heath Holcomb
2006-01-23 21:20 ` solar
2006-01-23 21:38   ` Joshua ChaitinPollak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox