Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

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.

Thanks in advance,

Aurelien

share|improve this question
add comment

1 Answer 1

up vote 3 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! :) –  Orelbé Dec 21 '12 at 23:44
add comment

Your Answer

 
discard

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.