When I mmap 0x3FA00000: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:so 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?
Code:
Printing ISP registers:ID=0xDEADBEEF
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
Code:
x - 0x7EC00000 = 0x3C080000 - 0x3C00B000 = 0x75000=> x = 0x7EC75000
Statistics: Posted by MaximBondaruk — Fri Apr 19, 2024 7:02 pm