You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile as usual the fbcp, tried without patching anything, here the output of cmake:
-- Board revision: d04170
CMake Warning at CMakeLists.txt:40 (message):
The board revision of this hardware is not known. Please add detection to
this board in CMakeLists.txt. (proceeding to compile against a generic
multicore CPU)
and I tried with a patched CMakeLists.txt (added d04170 to ARMV8A):
-- Board revision: d04170
-- Detected this Pi to be one of: Pi 2B rev. 1.2, 3B, 3B+, 3A+, CM3, CM3 lite, CM4, 4B(1GB,2GB,4GB,8GB RAM), Pi400 or 5B(4GB,8GB RAM), with 4 hardware cores and ARMv8-A instruction set CPU.
-- Enabling optimization flags that target ARMv8-A instruction set (Pi 2B >= rev. 1.2, 3B, 3B+, CM3 or CM3 lite)
It's always the same error mapping /dev/mem failed.
I also copied a successfully compiled file from another pi to the rpi5. Checked with ldd if everything is found (it is!), and started this file, but the same error:
I tried to compile as usual the fbcp, tried without patching anything, here the output of cmake:
and I tried with a patched
CMakeLists.txt
(added d04170 to ARMV8A):But after compiling and starting, I get this:
The pi5 also doesn't have a
/dev/fb0
.I tried to enable/disable this settings in
config.txt
:and added/removed this in
config.txt
:It's always the same error
mapping /dev/mem failed
.I also copied a successfully compiled file from another pi to the rpi5. Checked with
ldd
if everything is found (it is!), and started this file, but the same error:This was only a first try before I patch to 64bit, and I didn't expect any problems, but now I am here with this unexpected error...
And I tested also, so it shouldn't be the problem:
The text was updated successfully, but these errors were encountered: