Power & Source of Big Ideas

NanoPi M4V2 WiringPi broken

Moderators: chensy, FATechsupport

Hi!
I installed the latest version rk3399-eflasher-friendlycore-bionic-4.4-arm64-20190926.img from SD to eMMC using eflasher.
Worked fine until I tested the wiringPi library with "gpio readall" command.
Then I got an error message "winringPiSetup: Unknown model".
Seems like the wiringpi library is compiled for M4 and not for M4V2.
Is there a fixed version or is it possible for me to compile a fitting version?
Thanks for the feedback. This issue has been fixed. Please try again.

wiki:
http://wiki.friendlyarm.com/wiki/index. ... for_RK3399
I followed your link to the wiki page and wondered why you suggested "Install WiringPi for Python".
Nevertheless I went through the install steps. At the end there was no change.
The command "gpio readall" gave the same error: "wiringPiSetup: Unknown model"
You can also download the latest firmware, which is already built-in wiringPi-python, no installation required, the latest version is 20191218
Then I got an error message "winringPiSetup: Unknown model".
Seems like the wiringpi library is compiled for auto clicker M4 and not for M4V2.
I see the same problem with "Unknown model".
The wiki still points to installing WiningPi which no longer exists.
The replacements work for the RaspberryPi 3 so may be it has to be made model aware of the M4v2.

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 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 5 guests