Giter VIP home page Giter VIP logo

Comments (3)

ExileInParadise avatar ExileInParadise commented on July 17, 2024 5

Changes will need to be made to adapt these Pi1 A/B tutorials for Pi2 and Pi3.
The first change is that the memory mapped I/O space moved from 0x2000000 on early Pi up to 0x3f000000 to allow for the larger memory being added to these.
Second, the GPIO header went from 26 to 40 pins, which resulted in the OK/ACT LED moving from GPIO 16 to GPIO47 (i think).
I think there may be some more code changes will be needed when it comes to the screen series tutorials.
Please see Issue 12 and Issue 16 for more tips on how to get these working.
Also take a look at the excellent bare metal code examples from Dave Welch also here on github and referred to be the bare metal forum on the Raspberry Pi site.
It is cool to see more people interested in these tutorials, and with some experimentation and research, as well as a lot of testing, hopefully we can figure out how to update these for newer Pi and add more and more OS features....

from bakingpi-www.

NeoFahrenheit avatar NeoFahrenheit commented on July 17, 2024

I would like it too. :)

I'm doing Computer Science in my university here in Brazil and I would love to see an update in this tutorial. I think my biggest difficulty would be to make the Pi "see and execute" my code.

I guess that would be setting the Program counter to the code, the stack and data pointer correctly...
I'm tryng to the see the processor manual to see where all these adresses are. :)

Thank you. :D

from bakingpi-www.

mdvthu avatar mdvthu commented on July 17, 2024

Has anyone managed to identify the precise memory addresses for the Raspberry Pi 4 LED (not just an estimate: I think 0x2000000 is possibly out by a factor of 10??)?

In the tutorial, there is this additional unexplained caveat that means I really don't know where to start when trying to figure out the memory mapped addresses on the Pi 4: For added confusion, the manual uses a different addressing system. An address listed as 0x7E200000 would be 0x20200000 in our OS.

Any hints most appreciated!

from bakingpi-www.

Related Issues (20)

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.