* SELF: ramdisk which required libraries if ...?
@ 2003-01-11 19:47 James Don
2003-01-11 20:18 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: James Don @ 2003-01-11 19:47 UTC (permalink / raw)
To: 'linuxppc embedded'
Hi,
I am looking at SELF right now for a embedded PPC platform.
I am wondering what libraries are required if you compile with uclibc that
has shared libraries compiled out ...
Do I need some, none, or all?
To make my life easy here is a list of libraries ... which would I need ?
Regards,
Jim
lib/ld-2.1.2.so
lib/ld.so.1
lib/libc-2.1.2.so
lib/libc.so
lib/libc.so.6
lib/libcrypt-2.1.2.so
lib/libcrypt.so
lib/libcrypt.so.1
lib/libdl-2.1.2.so
lib/libdl.so
lib/libdl.so.2
lib/libnsl-2.1.2.so
lib/libnsl.so
lib/libnsl.so.1
lib/libnss_compat-2.1.2.so
lib/libnss_compat.so
lib/libnss_compat.so.2
lib/libnss_files-2.1.2.so
lib/libnss_files.so
lib/libnss_files.so.2
lib/libresolv-2.1.2.so
lib/libresolv.so
lib/libresolv.so.2
lib/libutil-2.1.2.so
lib/libutil.so
lib/libutil.so.1
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SELF: ramdisk which required libraries if ...?
2003-01-11 19:47 SELF: ramdisk which required libraries if ...? James Don
@ 2003-01-11 20:18 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-01-11 20:18 UTC (permalink / raw)
To: James Don; +Cc: 'linuxppc embedded'
Dear Jim,
in message <DB0585C9F6F9D411BE8F00D0B7896A4CC0602F@SNCMAIL> you wrote:
>
> I am wondering what libraries are required if you compile with uclibc that
> has shared libraries compiled out ...
> Do I need some, none, or all?
I'm afraid you will have to try this out yourself.
> To make my life easy here is a list of libraries ... which would I need ?
Making your life easy and saving memory footprint by compiling
against uclibc are two ends of the scale.
Basicly you have three options:
* Use the SELF that comes with our ELDK, and the commands from
SELF.spec to build it yourself.
This gives you most of "making your life easy" as it will include
only such tools and libraries that are already present in the ELDK,
i. e. there is no compilation eeded at all, and since we use
"genext2fs" to build the ramdisk image you don't need any root
permissions.
You will pay for this comfort by the memory footprint: we include
standard tools like login with PAM support, xinetd, etc.
On the other hand, this also gives you extended functionality and
security.
* Use the SELF from our FTP server.
Here you will have to spend much more work, as you will need to
download a couple of packages, and the Makefile will compile every-
thing that goes into the ramdisk image fresh from scratch.
You benefit from this additional work with a somewhat smaller
memory footprint.
* Modify SELF to build against ulibc.
This is where you give up "making your life easy" and go for low
memory footprint. I'm looking forward to receiving your patches :-)
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Heavier than air flying machines are impossible.
-- Lord Kelvin, President, Royal Society, c. 1895
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SELF: ramdisk which required libraries if ...?
[not found] <DB0585C9F6F9D411BE8F00D0B7896A4CC06030@SNCMAIL>
@ 2003-01-11 21:03 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-01-11 21:03 UTC (permalink / raw)
To: James Don; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
Dear Jim,
in message <DB0585C9F6F9D411BE8F00D0B7896A4CC06030@SNCMAIL> you wrote:
>
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 48k init
> Warning: unable to open an initial console
> <board hangs here>
Are you sure there is a proper /dev/ directory (especially
/dev/console) in your ramdisk image?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Just go with the flow control, roll with the crunches, and, when you
get a prompt, type like hell.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: SELF: ramdisk which required libraries if ...?
@ 2003-01-12 0:57 James Don
0 siblings, 0 replies; 4+ messages in thread
From: James Don @ 2003-01-12 0:57 UTC (permalink / raw)
To: 'Wolfgang Denk', James Don
Cc: 'linuxppc-embedded@lists.linuxppc.org'
Yes your right ... thnx ;-)
-----Original Message-----
From: Wolfgang Denk [mailto:wd@denx.de]
Sent: Saturday, January 11, 2003 4:03 PM
To: James Don
Cc: 'linuxppc-embedded@lists.linuxppc.org'
Subject: Re: SELF: ramdisk which required libraries if ...?
Dear Jim,
in message <DB0585C9F6F9D411BE8F00D0B7896A4CC06030@SNCMAIL> you wrote:
>
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 48k init
> Warning: unable to open an initial console
> <board hangs here>
Are you sure there is a proper /dev/ directory (especially
/dev/console) in your ramdisk image?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Just go with the flow control, roll with the crunches, and, when you
get a prompt, type like hell.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-12 0:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-11 19:47 SELF: ramdisk which required libraries if ...? James Don
2003-01-11 20:18 ` Wolfgang Denk
[not found] <DB0585C9F6F9D411BE8F00D0B7896A4CC06030@SNCMAIL>
2003-01-11 21:03 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2003-01-12 0:57 James Don
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).