Power & Source of Big Ideas

WiringNP for NEO Core not working

Moderators: chensy, FATechsupport

Here's what I get:

fa@NanoPi-NEO-Core:/home/tools/WiringNP$ gpio readall
This NanoPi model is currently not supported. This NanoPi model is currently not supported.


Here's my source
sudo git clone https://github.com/friendlyarm/WiringNP
Hello. This software checks the content of /proc/cpuinfo, you can review the code at https://github.com/friendlyarm/WiringNP ... ndlyelec.c. Please dump the content of this file (cat /proc/cpuinfo).
fa@NanoPi-NEO-Core:~$ sudo cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 56.47
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5

processor : 1
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 56.47
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5

processor : 2
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 56.47
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5

processor : 3
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 56.47
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5

Hardware : sun8i
Revision : 0000
Serial : 02c0008165d3d74b
Thanks for the cpuinfo. I did a second review of the wiringpi of the code, it looks it also needs the file /sys/class/sunxi_info/sys_info, this is looking very specific to some sunxi kernels.

Could you check for /sys/class/sunxi_info/sys_info ? Could you type "uname -r" to get your kernel release ?

I suppose you are using a recent Ubuntu distribution with an "unsupported" kernel from a wiringpi point of view. I don't use wiringpi, but you may have to fix the source code to fix that issue.
Hello,
I have the same problem with the same board. I use Ubuntu (official ROM) with kernel 4.16.0-rc6

dickpushups wrote:
Here's what I get:

fa@NanoPi-NEO-Core:/home/tools/WiringNP$ gpio readall
This NanoPi model is currently not supported. This NanoPi model is currently not supported.


Here's my source
sudo git clone https://github.com/friendlyarm/WiringNP

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 47 on Wed Feb 21, 2018 7:00 am

Users browsing this forum: No registered users and 2 guests