we have just implemented a dirty trick in the uClinux kernel in order
to provide the capability to load in RAM a new kernel image from NFS,
and then rebooting it.
Probably this is not the best way to do that, but it works, and solves the
The attached file contains a kernel patch and a user program.
The patch modifies the reboot system-call allowing a user program
running a piece of itself in super-user mode.
This is required since iopl() is currently not implemented.
The user program loads the new image from a disk, kills all the other
processes and, through reboot(), it runs one procedure in super-user mode.
This procedure stops the running kernel, puts the new one in the right RAM
addresses, and jumps to it.
We have tested it only on uCsimm.
This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:44 EST