Author |
Topic |
|
ziozanna
Pulcino
Italy
19 Posts |
Posted - 12/06/2023 : 23:22:40
|
Good morning everyone
a little help to make LK run on PI
On raspberry native , last OS I ran this commands $ make TARGET=$ $ make TARGET=PI install
Process complete as a charm
launching the app zanna@raspberrypi:~/LK8000 $ ./LK8000-PI * failed to add service - already in use?
Here the LOG [016046406] . Starting LK8000 v7.4.5 Jun 12 2023 LINUX [016046406] . System Name: Linux raspberrypi [016046406] . Kernel Version: 6.1.32-v7+ [016046406] . Kernel Build: #1656 SMP Wed Jun 7 11:31:19 BST 2023 [016046406] . Machine Arch: armv7l [016046406] . Free ram=380648 K storage=1974720 K [016046829] . Host and Cpu informations not available [016046829] . Program execution path : </home/zanna/LK8000/> [016046829] . Program system directory : </home/zanna/LK8000/> [016046829] . Program data directory : </home/zanna/LK8000/> [016046851] .... LoadProfile </home/zanna/LK8000/_Configuration/DEFAULT_AIRCRAFT.acf> open failed [016046851] .... LoadProfile </home/zanna/LK8000/_Configuration/DEFAULT_PILOT.plt> open failed [016046851] .... LoadProfile </home/zanna/LK8000/_Configuration/DEFAULT_DEVICE.dvc> open failed [016046851] .... LoadProfile </home/zanna/LK8000/_Configuration/DEFAULT_PROFILE.prf> open failed
Launching with help zanna@raspberrypi:~/LK8000 $ ./LK8000-PI -help
**************** LK8000 command line help ****************** -help -profile=filename load filename as StartProfileFile -x=n -y=n use specified screen resolution, example -x=480 -y=272 -lcdsize=n assume monitor size is n inches. The value must be multiplied by 10 and must be integer. Example for 4.5 inches, use -lcdsize=45 -dpi=n assume screen density has n dpi , example -dpi=144 This value ovverrides -lcdsize -refdpi=n set reference DPI, default to 80. -quant=n force terrain quantization=n -sysop start with sysop mode active
Segmentation fault
Here the log [016182447] [System exception] cannot create named mutex (lockfile): LOCK8000 [016182685] ------------------------------------------------------------ [016182685] . Starting LK8000 v7.4.5 Jun 12 2023 LINUX [016182685] . System Name: Linux raspberrypi [016182685] . Kernel Version: 6.1.32-v7+ [016182685] . Kernel Build: #1656 SMP Wed Jun 7 11:31:19 BST 2023 [016182685] . Machine Arch: armv7l [016182685] . Free ram=379892 K storage=1974716 K [016183116] . Host and Cpu informations not available [016183116] . Program execution path : </home/zanna/LK8000/> [016183116] . Program system directory : </home/zanna/LK8000/> [016183116] . Program data directory : </home/zanna/LK8000/>
Any helps will be really apreciated
Andrea |
|
brunotl
Pterodattilo
France
1138 Posts |
Posted - 12/06/2023 : 23:56:20
|
build it with "DEBUG=y" in make command line ans run it in debbuger to see where is the segfault ...
|
|
|
ziozanna
Pulcino
Italy
19 Posts |
Posted - 14/06/2023 : 00:55:58
|
quote: Originally posted by brunotl
build it with "DEBUG=y" in make command line ans run it in debbuger to see where is the segfault ...
Bruno thanks for the suggestion, I rebuild with debug but I don't know how to run in debugger mode. If you can help I execute Anyway , apart of Segmentation Fault what does means
zanna@raspberrypi:~/LK8000 $ ./LK8000-PI * failed to add service - already in use?
Thanks |
|
|
brunotl
Pterodattilo
France
1138 Posts |
|
brunotl
Pterodattilo
France
1138 Posts |
Posted - 14/06/2023 : 14:20:34
|
TIPS : PI target can't run on desktop environment, you need to stop X server before ... |
|
|
ziozanna
Pulcino
Italy
19 Posts |
Posted - 14/06/2023 : 22:20:43
|
quote: Originally posted by brunotl
TIPS : PI target can't run on desktop environment, you need to stop X server before ...
Yep I know thanks.
PI Starts on init 3 , multitasking with no graphics at all
Andrea |
|
|
|
Topic |
|