| Project Wiki (Page: Home) |
|---|
| Last Changed 3 weeks ago, by xlq |
Getting startedMarionette is very immature, so unless you want to do some operating system development, there's no point in downloading it. BuildingFor building, you'll need SCons. Debian/Ubuntu users can run aptitude install scons while Slackware users can use the SCons slackbuild. Users of other operating systems will have to find out for themselves. [1] Fetch the tip, either using Mercurial: hg clone https://sharesource.org/hg/marionette Or not using Mercurial: wget --no-check-certificate https://sharesource.org/hg/marionette/archive/tip.tar.bz2 tar -xvvjf tip.tar.bz2 [2] Enter the project directory. [3] Run scons --help to show a list of build options. Although you can set the compiler and linker to use, toolchains other than GNU gcc/binutils haven't been tested, and probably won't understand the linkerscript (kernel/linker.ld). [4] Run scons to build the kernel. [5] If you get an error about __stack_chk_fail, run scons gcc4=yes. SCons will remember this option, and you can just run scons without this option later. [6] Hopefully, you will get a Multiboot/ELF image, kernel/kernel.img. Boot it with a multiboot-compliant bootloader (I use GRUB 0.97 and I haven't tested any others). If you don't know how to do this, this article might help (wiki.osdev.org). [7] You can run the kernel on an emulator, for example QEMU (wiki.osdev.org). Although, at the time of writing, the kernel doesn't attempt to write to the hard disk, I cannot accept any liability for damage, in hardware or software, caused by running the kernel, so I don't advise running it on expensive or important hardware. [8] There is a little bit of documentation about the kernel here (sharesource.org). SCons options
ContactPlease join #marionette on the ShareSource IRC network:
Or e-mail jp <dot> sittingduck <at> gmail <dot> com (public key) |