This page is a copy of edu/course/homepage/realtid/p1ht08/lego/BrickosAtHome (Mon, 27 Oct 2008 13:44:27)
Running BrickOS/LegOS at Home
BrickOS on Windows
When running BrickOS/LegOS at home in your Microsoft Windows 95/98/NT/2K/Something environment you need to install a cygwin shell and a Hitachi-H8 cross compiler (i.e., a compiler that can generate code for another processor).
You can use the same pre-packaged cygwin-legos.zip used in the lab-computers. Then you need to:
- Download the cygwin-legos.zip package (56 MB). Unpack it into the root of C:. This will unpack a cygwin installation into the directory C:\cygwin-legos. It is important to unpack exactly to this place, otherwise the paths will not work.
- Download the registry patch cygwin.reg. This file contains data that cygwin needs to find its paths. Either run it directly when it is fetched or double-click on it afterwards, this will add the needed keys to the registry.
- Copy (or rename) the directory legos-0.2.6 to legos.
- Run Cygwin (double-click on cygwin.bat in the cygwin-legos directory).
- Go to the legos directory and type:
- make realclean
- make depend
- cd util
- make strip
- Hopefully everything should be compiled without any problems.
- Follow the rest of the instructions in the Programming Lego Mindstorms using LegOS assignment on how to compile and download the kernel and your written programs.
BrickOS on Linux
To run BrickOS/LegOS at home on a Linux environment see the LegOS on Linux installing instructions page. The instructions should work, but the tools mentioned are a very old.
If you run Debian more recent instructions are available in http://brickos.sourceforge.net/docs/install-Debian.html.