Code Monkey home page Code Monkey logo

vanilla's Introduction

Summary

Vanilla is a single-core operating system for the ARMv7 architecture.

Building

Build the bootloader by cd bootloader && make

Flash the bootloader binary at address 0x00400000

Change the serial port in line 92 in the Makefile

Build and upload the kernel with cd kernel && make

Coming soon

  • Safe bootloader w/hash check ✓
  • Python kernel programmer ✓
  • Basic driver support ✓
  • Multiclass scheduler w/FPU support and lazy stacking
  • System calls
  • Runtime program execution (.elf .bin)
  • LCD support with video playback (raw format)
  • FAT32 stack
  • TCP/IP stack
  • Server support

Bootloader

The software embeds a flash bootloader residing inside flash at address 0x00400000. It can open a serial connection with a host computer in order to download the new kernel. The bootloader will load the kernel image to address 0x00404000. The first page of the image must consist of the kernel header. Therefore the actual application and vector table starts at address 0x00404200. The bootloader is accessed in the following ways

  • kernel info struct not matching the bootloader info struct
  • kernel image not valid (SHA256 mismatch)
  • boot signature at address 0x20400000 says "StayInBootloader"

vanilla's People

Contributors

strawberryhacker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.