Advanced Operating Systems
Milestone 0: Familiarisation
This is a simple exercise designed to get you started on seL4. It contains very detailed instructions, together with the existing source code and the seL4 manual you should have no problem doing it.
Most of the 9242 binaries (eg. cross compilers) are in ~cs9242/crossdev/armv5teb. You can add this to your path with:
export PATH=$PATH:/home/cs9242/crossdev/armv5teb/bin export PATH=$PATH:/home/disy/bin # this one overrides cse's hg executable, so it needs to go at the front of your path export PATH=/home/cs9242/bin:$PATH
You should also modify your .hgrc (in your home directory, create one if you don't have it) to add the following lines, to avoid superfluous hg error messages:
[extensions] hgext/hbisect = ! hgext.imerge=!
If you are lazy you can just use the 9242 command for the cs9242 shell:
~ % 9242 newclass starting new subshell for class COMP9242... ~ % armeb-oe-linux-gnueabi-ld armeb-oe-linux-gnueabi-ld: no input files
Your minicom should default to 115200, 8N1, no hardware flow control. If it doesn't then you will have problems talking to your slug.
Getting SOS on non-lab machines
Getting it Going
Booting your NSLU2 for the first time is easy:
We have developed a few tools to speed the development cycle along. The makefile can copy the sos operating system, known as a bootimage to your tftp directory and reset the slug. Below is a typical development cycle, assuming the path changes to your login script:
The example skeleton operating system includes an application
The example includes a
The second part of milestone zero is to find a partner for the rest of the project. The project is to be completed, in pairs, unless prior permission has been obtained from the LiC.
You will need to demonstrate user applications printing to the 2nd console via libserial, running on the slug hardware to the tutor during the demonstration period. You should be prepared to show your tutor which files you modified in your solution, and explain any design decisions you made.
Note that since you do not have any form of memory management yet, your protocol will be fairly simple for now, but should be upgraded as more parts of the system are completed. Your tutor will be particularly interested in the details of your IPC interface with different sized blocks of data etc, and how you plan to improve it in future.
You will let the tutor know who your partner is so that group accounts can be created for you.
Last modified: 23 Jul 2012.