This is an old revision of the document!
Table of Contents
How-to loader.o to preform a kexec like operations
loader.o allow you to run a custom kernel, without the danger of having to reprogram your Flash ROM. It loads a new kernel into memory and jumps to it directly.
Compiling loader.o
- Get loader.o original source and optionally patch for initrd problem.
- In Makefile point
INCLUDE = -isystem
parameter to a 2.4.21-pre4 kernel header files! - Fix
gcc
andld
entry in Makefile to meet your cross compiled toolchain. - Apply initrd patch if you like.
- Run
make
Use pre-compiled loader.o
If you think that compiling loader.o by yourself is too much hassle then you can use a pre-compiled loader.o
Using loader.o to load a kernel image
For now look readme inside loader.o source tarball.