L4Linux/configurations: Difference between revisions
From TUDOS-Wiki
Jump to navigationJump to search
New page: == Possible configurations for L4Linux == === Consoles === Basically two modes are possible: * Direct access ** In this mode L4Linux will drive the keyboard and mouse controller and wil... |
|||
Line 9: | Line 9: | ||
** For console use, the l4con or DOpE is controlling the keyboard and mouse controller and the screen. And only l4con/DOpE is controlling the keyboard/mouse/screen. No one else. For the configuration of L4Linux this means that L4Linux does not need any keyboard/mouse driver nor any VGA driver. It _just_ needs the l4fb driver (which also does input handling). | ** For console use, the l4con or DOpE is controlling the keyboard and mouse controller and the screen. And only l4con/DOpE is controlling the keyboard/mouse/screen. No one else. For the configuration of L4Linux this means that L4Linux does not need any keyboard/mouse driver nor any VGA driver. It _just_ needs the l4fb driver (which also does input handling). | ||
==== PCI access within L4Linux ==== | |||
* To use PCI devices within L4Linux one has to grant the right privligies to L4Linux, otherwise all functions will pagefault while accessing the hardware | |||
* Add the ioport parameter to your l4linux.cfg file. | |||
task "vmlinuz" "mem=64M root=/dev/hda1 console=ttyLv0" | |||
all_sects_writable | |||
allow_vga | |||
ioport [0, 0xfffe] # all granted | |||
* Adjust allow_cli parameter to loader task in menu.lst | |||
module (nd)/modules/roottask task modname "loader" allow_cli | |||
=== UX === | === UX === |
Revision as of 08:55, 22 July 2009
Possible configurations for L4Linux
Consoles
Basically two modes are possible:
- Direct access
- In this mode L4Linux will drive the keyboard and mouse controller and will control the screen (e.g. VGA). And only L4Linux will do that, no one else. For the configuration of L4Linux this means that one needs to enable the keyboard and mouse controller driver and the VGA driver.
- l4con/DOpe consoles
- For console use, the l4con or DOpE is controlling the keyboard and mouse controller and the screen. And only l4con/DOpE is controlling the keyboard/mouse/screen. No one else. For the configuration of L4Linux this means that L4Linux does not need any keyboard/mouse driver nor any VGA driver. It _just_ needs the l4fb driver (which also does input handling).
PCI access within L4Linux
- To use PCI devices within L4Linux one has to grant the right privligies to L4Linux, otherwise all functions will pagefault while accessing the hardware
- Add the ioport parameter to your l4linux.cfg file.
task "vmlinuz" "mem=64M root=/dev/hda1 console=ttyLv0" all_sects_writable allow_vga ioport [0, 0xfffe] # all granted
- Adjust allow_cli parameter to loader task in menu.lst
module (nd)/modules/roottask task modname "loader" allow_cli
UX
To run L4Linux under Fiasco-UX, the L4Linux does not have any access to any hardware. This basically means the following:
- Disable PCI
- Disable Keyboard/Mouse (PS2) input
- Disable VGA/VESA/etc.
- Do not use serial drivers or similar
For Input/Output you need to use a console setup, see above.
When you start it and it crashes (Ooops), look at the backtrace to see the driver that is trying to access some hardware. Then disable this driver and try again.