I'm a high level app developer (C#, python) and I'd like to get my hands dirty with low level embedded application development. Cambridge University has posted a series of tutorials teaching you how to create an operating system for the Raspberry Pi called Baking Pi. I've intended to post my question regarding this tutorial here and update the answers as I go along. Maybe even post some points that I figured out myself.
So I've been following along with lesson 1 and I'm confused already. Here is the page link.
The first part of the tutorial say we need to (I assume) turn on the GPIO controller by writing the value 0x20200000 to register r0. I cannot find such relevant information anywhere in the data sheet. (link). I've looked at the GPIO section but I didn't see any indication of 16 registers or r0. Where is this information?
First of all, the tutorial talks about turning on the OK LED, which is the status LED. You might be wondering where in the Manual does it say GPIO 16 is connected to the OK LED. It won't. You need to look at the Raspberry Schematics and find which GPIO is the status_led connected to. Here is the link the the schematics. Page 2, Block BCM2835.
So the goal is to select the GPIO16 pin. (more updates to come...)