Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I would like to communicate with the VideoCore using the mailbox, and can so pre-MMU. However, starting from the last tutorial, I cannot figure out how to get a pointer accessible by the VideoCore mailbox. I did find the DMA example within the previous version of the tutorials, based on which I managed to define a non-cacheable memory region (master...daft-panda:rust-raspberrypi-OS-tutorials:master#diff-24c0e4c84c820d58e9a59613c2e7bef643da6b79a3db7dacedcfc6d3b5358b3dL37), memory map it with the MMU and create an dedicated rust allocator for that region.

However getting a physical memory address pointer eludes me. Failing this I tried to identity map the DMA region by rummaging in the Ruby code, however upon boot the isValid flag becomes false in the stage 1 page descriptor for unknown reasons.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.