Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4990

Bare metal, Assembly language • Re: Accessing ISP functionality on Raspberry Pi 3 Model B

$
0
0
When I mmap 0x3FA00000:

Code:

Printing ISP registers:ID=0xDEADBEEF
I guess this means it won't let me read those registers from the Linux user side.

But then as I follow the memory laid out in the second comment, that starts at 0x3C something, it looks like what should be the BCM21654 architecture. And if the VC4 register layout is continuous then:

Code:

   BCM2835                BCM2835                BCM21654               BCM21654ISP regs               V3D regs               ISP regs               V3D regs                        x                      0x7EC00000             0x3C080000             0x3C00B000                                 
so

Code:

x - 0x7EC00000 = 0x3C080000 - 0x3C00B000               = 0x75000=> x = 0x7EC75000
Mmapping 0x3FC75000 from userspace in Linux I also read 0xDEADBEEF. Apparently something important there too and it all looks like some kind of read protection?

Statistics: Posted by MaximBondaruk — Fri Apr 19, 2024 7:02 pm



Viewing all articles
Browse latest Browse all 4990

Trending Articles