Subversion Repositories HelenOS-doc

Compare Revisions

Ignore whitespace Rev 149 → Rev 150

/usrman/trunk/running/running.tex
75,8 → 75,8
problems in the communication chain
{\em keboard driver} - {\em console} - {\em output driver}.
As long that at least the keyboard driver works, pressing Escape key three
times transfers control to the KConsole immediately. Screen is not updated,
the user should press Enter to see the kconsole prompt.
times transfers control to the KConsole immediately. If the screen is not
updated, the user should press Enter to see the kconsole prompt.
 
If a kernel panic occurs, the error handling automatially switches control
to the KConsole and allows users to inspect the failed kernel online.
/usrman/trunk/boot/boot.tex
84,19 → 84,21
\begin{verbatim}
add dcpu mips1
 
add rwm mainmem 0x0 8M load "/dev/zero"
add rwm mainmem 0x0 8M load "/dev/zero"
add rom startmem 0x1fc00000 1024k load "image.boot"
add rwm ns 0x01000000 1M load "../uspace/ns/ns"
add rwm kbd 0x01100000 1M load "../uspace/fb/fb"
add rwm fb 0x01200000 1M load "../uspace/kbd/kbd"
add rwm console 0x01300000 1M load "../uspace/console/console"
add rwm init 0x01400000 1M load "../uspace/init/init"
add rwm tetris 0x01500000 1M load "../uspace/tetris/tetris"
add rwm ns 0x01000000 1M load "ns"
add rwm kbd 0x01100000 1M load "fb"
add rwm fb 0x01200000 1M load "kbd"
add rwm console 0x01300000 1M load "console"
add rwm init 0x01400000 1M load "init"
add rwm tetris 0x01500000 1M load "tetris"
\end{verbatim}
 
Sample gxemul command line arguments
Sample gxemul command line arguments:
\begin{verbatim}
gxemul -E testmips -X 0x81800000:../uspace/ns/ns 0x81900000:../uspace/kbd/kbd 0x81a00000:../uspace/fb/fb 0x81b00000:../uspace/init/init 0x81c00000:../uspace/console/console 0x81d00000:../uspace/tetris/tetris kernel.bin
gxemul -E testmips -X 0x81800000:../uspace/ns/ns 0x81900000:../uspace/kbd/kbd \
0x81a00000:../uspace/fb/fb 0x81b00000:../uspace/init/init \
0x81c00000:../uspace/console/console 0x81d00000:../uspace/tetris/tetris kernel.bin
\end{verbatim}
 
The kernel can boot on the SGI Indy (and probably other SGI computers
/usrman/trunk/building/building.tex
1,4 → 1,25
\chapter{Building HelenOS}
\section{First time}
HelenOS features a user friendly configuration system.
\section{Requirements}
To build HelenOS, the following build tools must be installed:
\begin{itemize}
\item GCC 4.1.1 + binutils 2.16.1 cross compiler environment for target platform
\item python 2.3 or higher
\item GNU make
\item mkisofs
\end{itemize}
The GNU build environment is best downloaded, compiled and installed
automatically using the shell scripts located in the
{\em kernel/contrib/toolchain} directory.
 
\section{Building}
HelenOS features a user friendly configuration system. Once
a {\em make} command is run from the {\em boot/} directory, a
{\em dialog} driven application is started and the developer is asked several
questions regarding build configuration parameters. The answers are saved
in the file {\em Makefile.config} in the boot/, kernel/ and uspace/
directories and are automatically used for each subsequent build.
 
To change the parameters, the user should change to the particular subsystem
directory and type {\em make config}. When the build configuration parameter
are changed, the whole subsystem should be completely rebuilt. The
configuration system offers user to do this automatically.