Power & Source of Big Ideas

NanoPi M4V2 WiringPi broken

Moderators: chensy, FATechsupport

Hi!
I encountered a problem using wiringPi on a new NanoPi M4V2.
4.4.179 #1 SMP Thu Aug 29 17:08:23 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

Using the following command
gpio -v
this gives me the following output
gpio version: 2.44
Copyright (c) 2012-2017 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

FriendlyELEC Board Details:
Type: Unknown, Revision: 00, Memory: 256MB
Maker: Hardkernel, Chip-Vendor: Unknown
* Device tree is enabled.
*--> FriendlyElec NanoPi M4 Ver2.0
* Root or sudo required for GPIO access.

Note the unknown type. Seems like WiringPi does not recognize the new NanoPi M4V2 hardware.

When compiling a C program and executing the program (which has worked on previous NanoPi M4 hardware) now it shows the following error:
wiringPiSetup: Unknown model

And the expected normal operation is broken too.
gpio readall
This also gives me the following output
wiringPiSetup: Unknown model

Is this problem known? Is there maybe a fix already available?
I see exactly the same problem on the M4v2.
Any progress on this matter? Were you able to solve it? I have also the same problem, latest friendlycore installed
It only supports FriendlyCore and FriendlyDesktop firmware and is not compatible with armbian.

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 4 guests