usrinit: add mount command
vfs: rig up more fs operations
sysinit: support stat / on bootstrapfs
Mercury is a userspace for the Helios micro-kernel which provides essential low-level userspace services and a framework for hardware drivers.
Mercury provides a number of features:
A few stock drivers are included, mainly for debugging purposes, such as a serial console. A broader collection of drivers based on Mercury is available in the Venus repository. A useful user system and user programming environment is provided by Gaia. See mercury-libc for C programming support.
Mercury has the same dependencies as Helios, plus ipcgen, which must be installed to your $PATH when building.
Copy config.def.mk
to config.mk
and edit it to taste. You need to provide
the path to a Helios source tree in the HELIOS variable; it will be
automatically compiled when building Mercury.
Run make
to build boot.iso, which can be written to a USB stick and booted on
hardware, or make run
to boot it in qemu. make nographic
will boot with a
serial console attached to stdin/stdout rather than opening a virtual display;
this is generally the more useful approach for testing.