Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to make a small os on my Raspberry Pi.

I have good assembly and strong c/c++ knowledges but I need some help.

For my first experiments I worked with Qemu and it's serial output but now I would like to launch it on a real raspberry pi, draw pixels on screen, etc... I've heard that the GPU OpenGL support was coded in the Raspberry Pi Linux boot loader. I'm not using a "linux" kernel, i'm doing all from scratch, so is it possible to launch my code by replacing the linux kernel by my kernel, do I have to comply to specific requirements (like entry point function name for exemple) for that, and how can I replace the arm vector table and use OpenGL to show something on screen.

share|improve this question
up vote 6 down vote accepted

Here is a 12 part course about writing an OS for the Raspberry Pi from scratch. Part 6 is about graphics. I did not see OpenGL described there, but the examples talk about drawing pixels, then lines, and then text. The first lessons describe how to get the Raspberry to load and run your code.

share|improve this answer
Whoa! That's exactly what I need, and maybe more! Thanks a lot! :) – Aureo Dec 21 '12 at 23:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.