README 952 B

12345678910111213141516171819202122232425
  1. Elksemu is an emulator for the environment that elks will provide on a
  2. real ELKS machine. The emulator only runs on linux-i386 or similar.
  3. If you're using a 2.0.36, 2.1.43, 2.2.0 or later kernel then the
  4. binfmt_misc driver is in the stock kernel and all you need to do is
  5. add the following line into the relevent /etc/rc* file.
  6. echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:' \
  7. > /proc/sys/fs/binfmt_misc/register
  8. Note, however, if binfmt_misc is compiled as a module it will not auto
  9. load so you will have to do this manually.
  10. If your kernel version is 1.2.13 then apply the patch in the Kernel_patch
  11. file.
  12. If you're using one of the other 2.0.X series then the binfmt_elks.c module
  13. should be able to compile and install. BUT do note you need the modules
  14. and probably modversions options and you _may_ have to alter the compile
  15. command to match those seen when you compile modules that come with the
  16. kernel.
  17. Rob.