use for programming questions specifics to NanoPi boards
Questions tagged [nanopi]
36 questions
0
votes
0 answers
Pyinstaller can't find target architecture when building bootloader
Let me explain what I did first. As most people do, I first used pip to install pyinstaller.
pip3 install pyinstaller
Everything seemed fine. It exited with "finished successfully" message. I then tested it with a simply python code. It went all…

Oliver
- 65
- 1
- 2
- 9
0
votes
0 answers
Problem with using RPi.GPIO_NP python-lib on NanoPi NEO Air
I use NanoPi NEO Air Version: Linux version 4.19.20-sunxi (root@armbian.com) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) and when I try to import this lib in my code I have an import error.
root@PC_22:# sudo apt-get install…
0
votes
0 answers
How to make MPI sending cross platform
I have a program that I am writing in python that utilizes multiple different PI boards. The main one is a raspberry pi running on raspios-buster-lite-armhf. However, the nodes are all Nano Pi's running on sd-friendlycore-xenial-4.4-arm64. I would…

Sam Moldenha
- 463
- 2
- 11
0
votes
0 answers
Can you Desolder and replace RAM in Pi boards?
Friendly Electronics has come out with a great small compact but very powerful board. It is called the Nano Pi fire 3. It has 8 cores which is great for programers like myself who want to utilize the cores for clusters and multiprocessing AI…

Sam Moldenha
- 463
- 2
- 11
0
votes
0 answers
Is using swap space a good idea in a python program?
I am currently writing a python program that uses up a lot of RAM. I am aware that I could use the garbage collector to "free up" the ram and avoid this problem. However, I am using Numba to speed up my code, which makes the part where I would need…

Sam Moldenha
- 463
- 2
- 11
0
votes
0 answers
How to add appArmor to linux distributions
I am trying to add appArrmor to my img (instructions).
This is the .config file that my device use.
I have add CONFIG_SECURITY_APPARMOR=y CONFIG_SECURITY_APPARMOR_HASH=y CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y…

Guy Luz
- 3,372
- 20
- 43
0
votes
1 answer
Hardware and Network issue related to NanoPi NEO Core2
I am developing a video streaming device that streams video to youtube.
For this, I am using NanoPi NEO Core2 as an SBC. It runs on
"Base on UbuntuCore, Kernel: Linux-4.14" os version as mentioned on…

Shubham Bahl
- 1
- 1
0
votes
0 answers
Image is greenish in opencv capture
I am using NanoPi-M4 board with friendly elec camera and in the guide manufacture tells to use rkisp not V4L2 in gstreamer pipeline in order to get the image. However, I encountered some problems install rkisp in docker container and want to use…

AlexKaravaev
- 45
- 5
0
votes
1 answer
How to control GPIO without sysfs/library
I am playing with NanoPi NEO Core2 . I installed Ubuntu Core, sysfs is working for GPIO control. But, it seems slow to read/write gpio. I checked WiringNP, but that seems using sysfs system.
Can I control the GPIO pin with C/C++/Assembly language?…

Wang Liang
- 4,244
- 6
- 22
- 45
0
votes
0 answers
Copy/Transfer files from local mac to local linux using python
I am trying to automate copy/transfer a file from my local mac machine to a local nanopi-neo-linux machine. The two machine are connected via serial cable using VCP driver of Silicon Labs
scp username@192.168.1.111:/path/to/myfile.txt…

Ricky Aguilar
- 329
- 1
- 8
- 19
0
votes
0 answers
insmod: ERROR: could not insert module dvb-usb-it913x.ko: Unknown symbol in module
I am trying the device driver for nanopi.
I can download the linux source code with
git clone https://github.com/friendlyarm/linux.git -b sunxi-4.14.y --depth 1
Also, the make command is work, and genereated the dvb-usb-it913x.ko file, but, I…

Tom Woods
- 9
- 4
0
votes
1 answer
How reset number of PiD
One thread in my python program check CPU use, in big simplification it look like this:
import time
import commands
while 1:
example=commands.getstatusoutput('iostat')
time.sleep(1)
after few days of work, program stop working,…

Cierniostwor
- 339
- 2
- 4
- 15
0
votes
1 answer
How to connect Adafruit SPH0645 I2S to nanopi neo air board
I'm trying to connect an Adafruit SPH0645 I2S microphone to a nanopi neo air board.
What are the steps to follow in order to get this mic working on this board?
Thanks a lot!

Mihai
- 11
- 3
0
votes
0 answers
Why is my OV5640 camera picture vertical bars when using Python and OpenCV?
I have a CAM500B OV5640 camera connected to a NanoPi NEO Air board. When using the mjpg-streamer demo that comes with the board, the camera output looks correct. However when trying to take a still picture using OpenCV in Python, the image output…

Nobody Special
- 1
- 3
0
votes
1 answer
Cannot connect bluetooth remote control to SBC running linux
I am running a buildroot-generated linux image (kernel 4.11.2) on a nanopi NEO air board, and I struggle to connect to my ruwido remote control.
I can see it when I scan the devices using hcitool :
# hcitool lescan
LE Scan…

Prewitt
- 33
- 2
- 10