How to run SELF without Hardhat 2.0?
Hi Wolfgang and list,
I just installed ELDK and compiled the kernel, I don't know how to make a ramdisk,
and I searched the list find that you have made a SELF can build kernel with ramdisk,
so I want to try, but I found that the SELF just use Hardhat 2.0 as develop environment,
I don't have Hardhat 2.0 now, only ELDK, so can I use SELF?
If can't, can you give a ramdisk build script? I need to make a ramdisk for our
MPC750+MPC8260 platform.
Thanks in advance,
Luo Yanjun,
09/09/2002.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Dear Luo Yanjun,
Quoted 8 lines · in message <[email protected]> you wrote:
I just installed ELDK and compiled the kernel, I don't know how to make a ramdisk,
and I searched the list find that you have made a SELF can build kernel with ramdisk,
so I want to try, but I found that the SELF just use Hardhat 2.0 as develop environment,
I don't have Hardhat 2.0 now, only ELDK, so can I use SELF?
Of course you can.
You should see the SELF package as a construction kit for your own envrionment; all you need to do to use SELF with our ELDK (version 1.x) is to create a new file "config/LIB_LIST.ELDK-1.0" with the following content:
----- cut here -----lib/ld-2.2.1.solib/ld.so.1lib/libc-2.2.1.solib/libc.so.6lib/libcrypt-2.2.1.solib/libcrypt.so.1lib/libdl-2.2.1.solib/libdl.so.2lib/libnsl-2.2.1.solib/libnsl.so.1lib/libnss_compat-2.2.1.solib/libnss_compat.so.2lib/libnss_files-2.2.1.solib/libnss_files.so.2lib/libresolv-2.2.1.solib/libresolv.so.2lib/libutil-2.2.1.solib/libutil.so.1
----- cut here -----
Then make your board's config file look like this:
CROSS_PREFIX = ppc_8xx- CDK_DIR = /opt/eldk/usr LIB_DIR = /opt/eldk/ppc_8xx LIBRARIES = LIB_LIST.ELDK-1.0
That's all.
BTW: The next version of our ELDK will contain an adapted version of SELF, with pre-build images for all supported arcitectures. ELDK-2.0 is based on YD-2.3 and will be available in 2 or 3 weeks from now.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] When you die, the first thing you lose is your life. The next thing
is the illusions. - Terry Pratchett, _Pyramids_
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hi Wolfgang,
I successfully build all of the images, thanks very much.
Regards,
Luo Yanjun.
Quoted 5 lines
Dear Luo Yanjun,
Quoted 2 lines · in message <[email protected]> you wrote:
I just installed ELDK and compiled the kernel, I don't know how to make
a
Quoted 2 lines
Quoted 2 lines
ramdisk,
and I searched the list find that you have made a SELF can build kernel
with
Quoted 2 lines
Quoted 2 lines
ramdisk,
so I want to try, but I found that the SELF just use Hardhat 2.0 as
develop
Quoted 45 lines
Quoted 2 lines
environment,
I don't have Hardhat 2.0 now, only ELDK, so can I use SELF?Of course you can.
You should see the SELF package as a construction kit for your own envrionment; all you need to do to use SELF with our ELDK (version 1.x) is to create a new file "config/LIB_LIST.ELDK-1.0" with the following content:
----- cut here -----
lib/ld-2.2.1.solib/ld.so.1lib/libc-2.2.1.solib/libc.so.6lib/libcrypt-2.2.1.solib/libcrypt.so.1lib/libdl-2.2.1.solib/libdl.so.2lib/libnsl-2.2.1.solib/libnsl.so.1lib/libnss_compat-2.2.1.solib/libnss_compat.so.2lib/libnss_files-2.2.1.solib/libnss_files.so.2lib/libresolv-2.2.1.solib/libresolv.so.2lib/libutil-2.2.1.solib/libutil.so.1
----- cut here -----Then make your board's config file look like this:
CROSS_PREFIX = ppc_8xx- CDK_DIR = /opt/eldk/usr LIB_DIR = /opt/eldk/ppc_8xx LIBRARIES = LIB_LIST.ELDK-1.0That's all.
BTW: The next version of our ELDK will contain an adapted version of SELF, with pre-build images for all supported arcitectures. ELDK-2.0 is based on YD-2.3 and will be available in 2 or 3 weeks from now.
Quoted 7 lines
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] When you die, the first thing you lose is your life. The next thing
is the illusions. - Terry Pratchett, _Pyramids_
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/