sgjava Posted January 25, 2018 Share Posted January 25, 2018 I noticed the Neo+ 2 has a blue LED: line 10: unnamed "nanopi:green:pwr" output active-high [used] line 20: unnamed "nanopi:blue:status" output active-high [used] It's not doing the heartbeat flash like the NanoPi Duo. uname -a Linux nanopineoplus2 4.14.15-sunxi64 #95 SMP Wed Jan 24 10:55:45 CET 2018 aarch64 GNU/Linux Link to comment Share on other sites More sharing options...
Andy Posted June 6, 2018 Share Posted June 6, 2018 any news to this problem. Still facing the same problem. I can control the RED led on my NanoPi NEO Core2 but not the blue one... Andy Link to comment Share on other sites More sharing options...
Igor Posted June 6, 2018 Share Posted June 6, 2018 23 minutes ago, Andy said: any news to this problem. Study:http://wiki.friendlyarm.com/wiki/images/6/6b/NanoPi_NEO_Core2-V1.0_1707.pdfhttp://wiki.friendlyarm.com/wiki/images/d/de/Allwinner_H5_Datasheet_V1.0.pdf Make and send a patch:https://docs.armbian.com/Process_Contribute/ And it's done. We have zillions of similar problems. Time is limited and not important and not urgent ones are consciously ignored. Link to comment Share on other sites More sharing options...
Andy Posted June 6, 2018 Share Posted June 6, 2018 hmm I would love to do that. but as I'm using a NanoPi NEO Core2 I don't wan't to code on the wrong image. For me it's currently a too hard start to first figure out how to develop the write image first for the Core 2 and then search start searching for the right LED pins etc to get it working. If someone could build a NanoPi NEO Core2 image I could definitely start helping in improving the side of the Core 2... Andy Link to comment Share on other sites More sharing options...
Igor Posted June 6, 2018 Share Posted June 6, 2018 2 minutes ago, Andy said: If someone could build a NanoPi NEO Core2 image I could definitely start helping in improving the side of the Core 2... The only difference is few bits in the device tree. This image should work just fine: https://dl.armbian.com/nanopineoplus2/ Link to comment Share on other sites More sharing options...
Andy Posted June 6, 2018 Share Posted June 6, 2018 hmm ok Currently I use the "Nanopi Neo 2" image. So is the nano pi neo plus2 closer to the "NanoPi NEO Core2"? I just thought the Neo Core 2 is the bare bone cpu board compared the the Neo 2 where USB and Ethernet Jack is present... Link to comment Share on other sites More sharing options...
5kft Posted June 6, 2018 Share Posted June 6, 2018 In case it is helpful, here's the DT addition that I use for the LEDs on both the NanoPi Neo Plus2 and the Core2 (both boards are the same in this regard): leds { compatible = "gpio-leds"; pwr { label = "nanopi:red:pwr"; gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; default-state = "on"; }; status { label = "nanopi:green:status"; gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; }; As a side note - for my own use, I made a custom board build configuration for the Core2 (DT); see https://github.com/5kft/build/blob/master/patch/kernel/sunxi-next/update-H5-board-config-support.patch and https://github.com/5kft/build/blob/master/patch/u-boot/u-boot-sunxi/update-nanopineocore2.patch. I'm sure there's a better way of managing all of this (e.g., DT overlays), but unfortunately I haven't had any time to spend on this. Perhaps you could extract what you need from this patchset if it might be useful to you. Link to comment Share on other sites More sharing options...
Recommended Posts