Jump to content

NanopiDuo2 WiringNP Unable to determine board revision


Guy

Recommended Posts

Armbianmonitor:

WiringNP does not work on NanopiDuo2, both in 18.04 and Ubuntu 20.04

 

Error

piBoardRev: Unable to determine board revision from /proc/cpuinfo
 -> Is not NanoPi based board.
 ->  You may want to check:
 ->  http://www.lemaker.org/
open /sys/class/su

 

 

Armbian /proc/cpuinfo content:

processor       : 0 model name  : ARMv7 Processor rev 5 (v7l) BogoMIPS  : 136.80 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        : 136.80
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        : 136.80
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        : 136.80
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        : Allwinner sun8i Family
Revision        : 0000
Serial          : 02c00181e49e909a

 

vs

 

friendlyarm OS /proc/cpuinfo content:

processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 22.85
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        : 22.85
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        : 22.85
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        : 22.85
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          : 02c00081af9196e6

 

 

 

Armbian /sys/class/sunxi_info/sys_info file does not exist.

 

vs

 

friendlyarm /sys/class/sunxi_info/sys_info file content:

 

sunxi_platform    : sun8iw7p1
sunxi_secure      : normal
sunxi_chipid      : unsupported
sunxi_chiptype    : unsupported
sunxi_batchno     : unsupported
sunxi_board_id    : 8(0)
board_manufacturer: FriendlyElec
board_name        : FriendlyElec NanoPi-Duo2

 

Link to comment
Share on other sites

3 hours ago, Guy said:

WiringNP does not work on NanopiDuo2, both in 18.04 and Ubuntu 20.04


We are missing a few (hacks) patches that exists in the friendlyarm kernel and not upstream. We need to be sure that bringing them in will not break some other boards functionality. 

 

Link to comment
Share on other sites

On 4/29/2020 at 11:40 PM, Igor said:


We are missing a few (hacks) patches that exists in the friendlyarm kernel and not upstream. We need to be sure that bringing them in will not break some other boards functionality. 

 

 

Is there a way that I can help, testing information gathering.

Is there estimation when it will work, like two three months?.

Link to comment
Share on other sites

7 hours ago, Guy said:

Is there a way that I can help


Study commits https://github.com/friendlyarm/linux/commits/sunxi-4.14.y Port missing things to modern kernel and send a patch with changes https://github.com/armbian/build/tree/master/patch/kernel/sunxi-current

... or use a workaround as @le51 suggested.

 

7 hours ago, Guy said:

Is there estimation when it will work, like two three months?


There are many others before you asked for something and we have hundreds of ongoing tasks, while there are just a few with very limited time. Perhaps 5-7 years?

 

Make use of advices we gave you in this topic. This way it can be done in two-three months. Or faster.

Link to comment
Share on other sites

On 5/1/2020 at 9:17 AM, le51 said:

Hi,

did you try that workaround:

 

 

Thanks @le51 it worked.

 

@Igor I will try to learn more about Linux kernel will start adding patch one day.
 

Thanks all

Link to comment
Share on other sites

40 minutes ago, Guy said:

I will try to learn more about Linux kernel will start adding patch one day.


It is not your fault and don't need to worry about :rolleyes: I am just trying to show you how things looks like from our perspective ... and if somebody else read this after and not waste our time by asking more and more. Forum will only have more unanswered topic.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines