PiCW icon indicating copy to clipboard operation
PiCW copied to clipboard

Error: peri_base_virt mmap error!

Open giorgio-denunzio opened this issue 3 years ago • 0 comments

Hello, just installed on Raspberry Pi 3 Model B Plus Rev 1.3, with os: Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux (lite version, no GUI).

I had some errors during compilation: error: ‘makedev’ was not declared in this scope cast to pointer from integer of different size cast from ‘unsigned char*’ to ‘unsigned int’ loses precision

so I had to change in mailbox.c and PiCW.cpp as follows: #include <sys/sysmacros.h> #include (unsigned) -> (intptr_t) in various places.

Now, after compiling, giving sudo PiCW --freq 10.140e6 TEST DE N9NNN issues:

Detected Raspberry Pi version 1 PiCW parsed command line options: TX frequency: 10.140000 MHz WPM: 20 NTP will be used to periodically calibrate the transmission frequency Message to be sent: "TEST DE N9NNN" Error: peri_base_virt mmap error! Exiting with error; caught signal: 11 Segmentation fault

Any idea? Thanks Giorgio IU7RAW

giorgio-denunzio avatar Dec 15 '22 21:12 giorgio-denunzio