Git Product home page Git Product logo

elks's Introduction

(1) Introduction
(2) Trying out ELKS using the disk images
(3) Compiling your own kernel



(1) Introduction

Hello, and welcome to the exciting world of Linux-8086, ELKS, or the
Embeddable Linux Kernel Subset! This is a project which will eventually
produce a Linux-like OS for the 8086 (186, 286) as well as for the Psion
series of processors. But, as you have this file, you probably already
know that, so let's get down to business.



(2) Trying out ELKS using the images

So you want to give ELKS a try, but you don't want all the fuss and bother
of compiling the kernel and the tools yourself. No problem. All you need
to do is grab the images.zip file from the download section of
http://www.elks.ecs.soton.ac.uk/ and save it to its own directory. These
files can be copied to disks and used to boot ELKS. For details of which
files you want and how to use them, please see the INSTALL file included
in this distribution.



(3) Compiling your own kernel

Compiling your own kernel is a bit more involved, but we'll get through
it. First, you're going to need a few files from the download section of
http://www.elks.ecs.soton.ac.uk/

	elks-x.x.xx.tar.gz
	images.zip
	elkscmd-xxxxxxxx.tar.gz
	Dev86bin-x.xx.x.tar.gz

Okay, so you've got the files. Personally, I like to keep them in /ELKS/
so that's what I'll assume you're doing. So cd to /ELKS and let's get
started. The first thing we need to do is install the development tools.

	cp Dev86bin-x.x.xx.tar.gz /
	cd /
	tar xvzf Dev86bin-x.x.xx.tar.gz
	rm Dev86bin-x.x.xx.tar.gz

Now you should have the 8086 development tools installed. Next, we need to
cd back to /ELKS/ and untar the ELKS kernel sources.

	cd /ELKS
	tar xvzf elks-x.x.xx.tar.gz
	cd ./elks

Now that we're in the source directory, we can start setting up the
kernel. The first thing that needs to be done is

	make config

You'll be asked a few questions about how you want the kernel set up. For
now, we'll accept the defaults and just keep hitting enter until we get to
the end, then

	make

You'll see a lot of warnings go by for a few minutes, and then we'll
assume a perfect compile. So we'll now have a diskette image file with our
new kernel on it. We'll assume we built for the 8086. The image is a
little buried, so we'll have to dig into the source tree to find it.

	cd /ELKS/elks/arch/i86/
	ls

If the compile was successful, you'll have an "Image" file here, and
you'll have to get it onto a diskette. I'll assume "/dev/fd0".

	dd if=Image of=/dev/fd0 bs=8192

This will be your boot disk, but you'll need a root disk, too, so

	cd /ELKS/
	unzip images.zip
	dd if=root of=/dev/fd0 bs=8192

After that, you should be able to use the boot and root disks and watch
ELKS work its Linux-like magic on your machine. Have fun!

---------------------------------------------------------------------

If you have any suggestions for this readme send your comments to
[email protected] or [email protected]

--Phillip J Rhoades

elks's People

Contributors

harkal avatar segin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.