Skip to content

Mebus/bootgo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootgo

A barebones OS kernel written in go

The kernel contains some code modified from osdev barebones tutorial http://wiki.osdev.org/Bare_Bones

setup

To compile bootgo You need a gccgo cross-compiler(my gccgo version is 5.2.0)

  1. build a target i386/i686 gcc cross-compiler with go enabled, follow the article http://wiki.osdev.org/GCC_Cross-Compiler (gcc 5.2.0 is recommended)

  2. install nasm from your repositories

  3. install qemu for test

compiler & run!

  1. compile: make GCC=i686-elf-gcc GCCGO=i686-elf-gccgo, replace GCC and GCCGO with your binary name

  2. run on qemu: make run-qemu QEMU=qemu-system-i386, replace QEMU with your target binary name

About

A barebones OS kernel written in go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 60.7%
  • Makefile 23.5%
  • Assembly 14.3%
  • C 1.5%