LegOS 0.2.6 - Instructions for installing on Win9x/NT/2000/XP

Paolo Masetti

Version 1.1, 19 Apr 2002
Revision History
Revision 1.119 Apr 2002Revised by: smm
Update for legOS 0.2.6
Revision 1.013 May 2001Revised by: pm
Initial Release after legOS 0.2.5

This document was originally an adaptation from the original version written by Peter Van der Beken . Many thanks to Luis Villa for his HOW-TO for Linux and his effort in documenting legOS.

If you have problems related to these instruction, you can write to Paolo Masetti .

Caution

These instruction works for me (I'm using NT Win2k Pro SP1). I can't be sure they'll do for you but I'm quite sure. They should get legOS working on your own PC, but they should be used at your own risk as with any other program installation, you may crash your computer, lose files, and generally make a mess of things. So, neither he nor I am responsible for what happens. :-)

These instruction give you a fully functional legOS 0.2.6 (probably a newer version too). You will be able to recompile the entire kernel image, the tools (dll, firmdl3 & so on). You will have to download a lot of MB. If you do not like that, please use WinlegOS that is a good porting of the minimal requirement to compile and upload .lx files with Windows.

Step by step instructions:

1. Install Cygwin

  • Install Cygwin 1.3.x or newer version (1.3.10 as of this writing) from Cygwin Site: http://www.cygwin.com/ .

  • You can install it on-line running the setup program directly from this url: Install Cygwin now . Save the file in a temporary directory and run it.

  • You can download all the files for a later install, or install directly from Internet. Choice the best for you:

  • Install in the directory that you prefer. Do not worry about it, this version of cygwin will mount directories as *nix later. I have done these choices:

  • Last setup I've tried let you choose which modules you need to download and setup. Here is a minimal list (but probably some modules could be removed too) that was tested to work:
    ash
    autoconf
    automake
    bash
    binutils
    cpio
    cygwin
    diff
    file
    fileutils
    findutils
    flex
    gcc
    grep
    less
    login
    make
    mingw
    patch
    sed
    shellutils
    tar
    textutils
    time
    w32api
    				

2. Build the Hitachi-H8 cross-compiler

3. Install the legOS files

Final Notes

If it doesn't work, consult lugnet.robotics.rcx.legos on lugnet.com .

Every command indicated is executed from the Cygwin environment. In the examples, the "$" is the prompt cygwin gives to you.

You can use Notetab Light to edit files instead of WordPad or VI. It's available from: http://www.notetab.com . It preserves the unix line-endings, and it can change between unix and dos line-endings.

Last update: Stephen Moraco 01/05/2002.

Initial Release: Paolo Masetti 13/05/2001.

SGML Source for document created for Paolo by Stephen Moraco 19/07/2001.