This is an old revision of the document!


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

  1. In Makefile point INCLUDE = -isystem parameter to a 2.4.21-pre4 kernel header files!
  2. Fix gcc and ld entry in Makefile to meet your cross compiled toolchain.
  3. Apply initrd patch if you like.
  4. 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

FIXME For now look readme inside loader.o source tarball.


Personal Tools