Download

From Go-OS
Jump to: navigation, search

You can download and test Go-OS. All informations are given on this page.

Contents

Download

Follow this link.

Older versions are also available here.

Test

Please note that 五OS won't run on 32bit systems anymore. 64bit or nothing!

Run with QEmu (for example) :

qemu-system-x86_64 -vga std -serial stdio -net nic,model=rtl8139 -net user -k fr mini.bin

If you don't use -vga std, the system won't be able to find a valid graphic card, and will fallback to VESA drivers (which are slower because of BIOS emulation)

What can I do with the image ?

The following interesting commands exists in the sample shell application.

  • modp <module> Load a module in the kernel. Try for example: modp network/log to load the auto-logging module (will send all log messages to broadcast UDP port 1337). You can also load misc/helloworld for some C++ examples
  • lsmod List loaded modules
  • help Shows help
  • ls
  • cd <directory>
  • cat <file>

Hard disk Data

You can extract the parition-space (ext2), and mount it on linux. Once you mounted it, you can edit it, umount it and write it back to the image.

Note: Mounting anything usually requires root privileges.

Extract and mount

dd if=mini.bin of=disk.img bs=512 skip=64k
mkdir disk
mount -o loop disk.img disk

Umount and pack back

umount disk
dd if=disk.img of=mini.bin bs=512 seek=64k
rm -rf disk.img disk

Recompile a new test.elf

Yes, you can now run your own applications using the Go-OS kernel ! Just replace test.elf inside the disk image by your own home-compiled application, and it'll work.

You will need the 五SDK (System SDK).

Sample code available from The first Go-OS external C program.

Personal tools