curaga
Group: Members
Posts: 2163
Joined: Feb. 2007 |
|
Posted: Mar. 30 2008,16:26 |
|
To summarize 2.4 kernel compiling along with DSL procedures and your rt2500 driver:
- unpack the wanted kernel to /usr/src/linux-2.4.xx. The directory is not set in stone, it's just a habit to have 2.4 kernelsource there (which these out-of-tree drivers follow btw) - have gcc1-with-libs and gnu-utils installed, without gcc 2.95 for gains (re-add gcc1-with-libs to overwrite it and symlink cc to gcc) - cd there and copy the base DSL .config there from kernelsource.dsl (to the root of the unpacked linux-2.4.xx directory)
Quote | make menuconfig make dep make bzImage modules sudo make modules_install
| At the first step you will get to the configuration utility; you can select all parts in, out, or as a module, and get a description of each. First go to processor settings and set the cpu type to yours; this will get you the largest speed gains. Then drop a multitude of drivers not needed to save space
Quote | sudo cp arch/i386/boot/bzImage /boot/mykernel |
Then just edit your bootloader to point to the new kernel, and your all set to reboot. If you chose grub, the file is /boot/grub/menu.lst.
After reboot you can compile the rt2500 driver (as it selects the running kernel on what to build for)
-------------- There's no such thing as life. Those mean little jocks invented it ;) - Windows is not a virus. A virus does something!
|