Questions tagged [nanopi]

use for programming questions specifics to NanoPi boards

36 questions
1
vote
0 answers

GPIO Emulator in Ubuntu for gpioset command

I have an Ubuntu 20.04 desktop operating system. I run the following code: gpioset gpio3 8=0 This is a GPIO set command which I run it successfully in NanoPI. How can I run this code in my Ubuntu desktop OS, without getting the below…
Abolfazl Diyanat
  • 397
  • 2
  • 13
1
vote
1 answer

Nanopi M4V2 UART debugging

I have a SBC Nanopi M4V2 (the board link is given below so as to read the specification). I want to use the UART port to debug/console to check what is wrong and why my board is not booting from micro SD. I am new to SBC after searching through…
user3048027
  • 387
  • 1
  • 5
  • 24
1
vote
0 answers

How to deploy OpenBSD on NanoPi R1?

I have a task to deploy OpenBSD on the NanoPI R1 microcomputer, which has an Allwinner H3 processor armv7 architecture family. The official documentation does not say anything about the support of this board. But there are similar ones. For one,…
1
vote
0 answers

WiringNG: How I can use interupt?

I have raspberry pi driver code for Some device. The driver code is using wiringPy , and use wiringPiISR function for gpio interupt. I am trying use this driver code in NanoPi. The NanoPi use WiringNG instead of wiringPy. But in WiringNG, gpio…
Scott Long
  • 11
  • 2
1
vote
2 answers

yocto sunxi machine name

While running nanopi-neo image in yocto it throws the following error. In local.conf MACHINE ??= "nanopi-neo ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk…
Mohammed Harris
  • 326
  • 6
  • 25
1
vote
0 answers

We want to get h264 encode full HD video at 30 FPS (nanoPi NEO Air)

We are using NanoPi NEO Air board with CAM500B camera. We want to get h264 encode Full HD video at 30 FPS, but get 7FPS as a maximum. We are using the following command to use the hardware acceleration of the H3 processor: sudo ./ffmpeg -f v4l2…
1
vote
1 answer

Running docker container on nanoPI leads to "exec format error"

The goal is to run docker containers on my nanoPI in the same manner as on a ubuntu server machine. I have recently run into the following error when attempting docker run -it kylemanna/openvpn: standard_init_linux.go:185: exec user process caused…
Ben Behar
  • 364
  • 3
  • 12
1
vote
1 answer

Hardware encoding with nanopi2 fire under linux

I am trying to encode raw frames with nanoPi 2 fire board computer. I have founded api for it: https://github.com/friendlyarm/nexell_linux_platform Accroding to nx_video_api.h I need to open device, init it, alocate memory for input and output…
AdamsP
  • 17
  • 4
0
votes
0 answers

NanoPi NEO - Sharing files inside linux file system over micro USB port

I would like to transfer files from NanoPi NEO to PC over USB A (PC) - Micro USB (NanoPi) connection. I have files inside linux file system which i would like to be reachable to PC when connected over USB. When i connect NanoPi NEO to the PC, the…
0
votes
1 answer

Load onboard RTC device on NanoPi NEO from NAS kit

I have this NanoPi NEO LTS device which I'm using in conjunction with NAS Kit. This article states that Allwinner H3 (CPU) has an inbuilt RTC which is loaded to /dev/rtc0 which I can confirm by running ls -al /dev Output: lrwxrwxrwx 1 root root …
0
votes
1 answer

Flashing STM32F1 from NanoPi Neo over openocd

I am trying to flash STM32F1 from linux on the NanoPi Neo with openocd. The problem i have is i can't use any of the interfaces such as interface/raspberrypi2-native.cfg because i use NanoPi and not Raspberry Pi and I don't have the knowledge to…
0
votes
0 answers

How to seprate two EC25 Quectel module connected to a NanoPi?

I have two EC25-EUX modules and they're connected to a 4-way USB hub and the hub is connected to a NanoPi with Ubuntu server 20.04. By entering ls /dev/ command 8 ttyUSB ports are shown(from 0 to 7) and with udevadm info --name=/dev/ttyUSBx…
0
votes
1 answer

Nano Pi R2S Status LEDS Configuration

I have a Nano Pi R2S on Ubuntu 20.04 and I am trying to configure the WAN and LAN led of the unit. Please excuse my low skill set. According to the guide (https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2S#Config_status_LEDs) I need to put the…
0
votes
0 answers

Cross-compile OpenSSL for ARM64 BSD-generic32

I'm using freebsd AMD64 and tried to cross compile openssl for my nanopi R2S running on ARM64 BSD-generic32. This is what I've tried so far: I tried to run different command since im building for bare metal aarch64 as below: pkg install…
0
votes
0 answers

Issues creating a Linux device driver to manage NanoPI TWI (I2C) registers

I'm trying to develop a Linux device driver to manage the GPIO registers of a NanoPI Neo card (Allwinner H3). I'm using a simple approach to understand the GPIO registers behaviour by means the use of only two driver functions: open and ioctl. My…
Sir Jo Black
  • 2,024
  • 2
  • 15
  • 22
1
2 3