1 |
Thanks. I may end up trying that because I am still having difficulty |
2 |
using the reference I was first given. I will report to the whole list |
3 |
if I learn anything meaningful. My problem is that I am in a time |
4 |
crunch, and I have not yet learned the Gentoo process well enough to |
5 |
troubleshoot on my own. We have a commercial tool that we paid high $ |
6 |
for that does seem to have the ability to use uclibc, and thus is way |
7 |
bigger than I can tolerate in the onboard diagnostic tool. |
8 |
|
9 |
-----Original Message----- |
10 |
From: solar [mailto:solar@g.o] |
11 |
Sent: Monday, January 23, 2006 12:24 PM |
12 |
To: gentoo-embedded@l.g.o |
13 |
Subject: Re: [gentoo-embedded] FAQ / How To? |
14 |
|
15 |
On Fri, 2006-01-20 at 10:55 -0500, Dennis Taylor wrote: |
16 |
> I have tried various ways of building a root fs with uClibc, but to no |
17 |
|
18 |
> avail. I have monitored this list long enough to know that someone |
19 |
> out there has done it. I need to do it for and X86 target that must |
20 |
> fit in about 1.5 MB of flash that gets copied to RAM and started. |
21 |
> |
22 |
> |
23 |
> The "out of the box" configuration I linked to from the uClibc site |
24 |
> fails in various ways. I like the Gentoo way of doing things, but the |
25 |
|
26 |
> HOWTO link I saved a while back does not work. |
27 |
> |
28 |
> Any pointers to documents that would help me succeed would be greatly |
29 |
> appreciated. |
30 |
|
31 |
|
32 |
Sorry no docs but knowing your space constraints |
33 |
|
34 |
|
35 |
cat /etc/portage/root_install_mask |
36 |
*.a |
37 |
/usr/include |
38 |
/usr/lib/*.o |
39 |
/bin/bb |
40 |
|
41 |
Or just export what you want to mask via the INSTALL_MASK= env var. |
42 |
|
43 |
emerge -b busybox uclibc |
44 |
emerge -B baselayout-lite |
45 |
ROOT=/dev/shm/ROOT \ |
46 |
emerge -KO uclibc busybox baselayout-lite |
47 |
|
48 |
# let busybox set up it's symlinks. |
49 |
mount --bind /proc /dev/shm/ROOT/proc |
50 |
chroot /dev/shm/ROOT/ /bin/sh --login |
51 |
busybox --install -s |
52 |
exit |
53 |
umount /dev/shm/ROOT/proc |
54 |
|
55 |
# these three pkgs should be your base for everything else you need |
56 |
todo. |
57 |
|
58 |
good luck and dont forget to setup your inittab/fstab/init scripts. |
59 |
|
60 |
-- |
61 |
solar <solar@g.o> |
62 |
Gentoo Linux |
63 |
|
64 |
-- |
65 |
gentoo-embedded@g.o mailing list |
66 |
|
67 |
|
68 |
|
69 |
|
70 |
-- |
71 |
gentoo-embedded@g.o mailing list |