Re: Problem Installation rtlinux. Please I need help!
"Norm" <[email protected]>
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <415d01c4d972$5fc9b410$2f01a8c0@never> |
There are actually a few more steps to making a new kernel than the 4 that
DH listed. To make a kernel, IIRC these are all the steps you have to do;
1. Clean up the environment. To do this, use
make clean
or
make mrproper
I'm not sure what the differences are and sometimes I do both since it
doesn't take that much longer
2. Make the configuration file
make config # this is the most "primitive"
or
make menuconfig # this is what most people recommend
or
make xconfig # this is what I prefer -- it's really quite
equivalent to menuconfig but I like the format better
3. Create the list of dependencies
make dep
4. Create the kernel image file itself
make bzImage
5. Create any modules you configured
make modules
6. Install the modules
make modules_install
7. Copy the kernel file to the boot partition. For x86 systems, it's
copy arch/i386/boot/bzImage /boot/newkernel # or any other name
you want to give it
8. Edit the boot config file. If you're using LILO, you have to edit
{your favorite editor's name goes here} /etc/lilo.conf
If you're using something else, look it up.
9. Install the new boot configuration. If you're using LILO, you have to
run
/sbin/lilo
If you're using something else, look it up.
Now you can reboot the new kernel. Once you do that, then you can make and
install the RTLinux stuff
Norm
----- Original Message -----
From: "Der Herr Hofrat" <[email protected]>
To: "carmen Monroy" <[email protected]>
Cc: <[email protected]>
Sent: Friday, December 03, 2004 1:55 AM
Subject: Re: [Rtl] Problem Installation rtlinux. Please I need help!
> >
> > Hi Der!
> >
> > May you explain me how do that?
> >
> cd /usr/src/linux (or where ever your RTLinux patched kernel is)
>
> first you need to clean the sources, but retain your configuration in
> a safe place (note that all files starting with .config are removed so
> .cofnig.backup is a bad name to chose).
>
> cp .config config_rtl
> make mrproper
> cp config_rtl .config
>
> Next start menuconfig which will use the .config you restored above and
> change the settings in the block device section.
>
> make menuconfig
>
> Block devices --->
> ...
> <*> RAM disk support (not as a module - mkar it built in)
> (65536) Default RAM disk size
> [*] Initial RAM disk (initrd) support
>
> Now recompile the kernel
>
> make dep
> make modules
> make bzImage
>
> hope that helps
>
> hofrat
>
>
> _______________________________________________
> Rtl mailing list
> [email protected]
> http://www2.fsmlabs.com/mailman/listinfo/rtl
_______________________________________________
Rtl mailing list
[email protected]
http://www2.fsmlabs.com/mailman/listinfo/rtl