NanoPi NEO Board Gets Armbian Debian 8 & Ubuntu 16.04 with Linux 4.6 & 4.7 (Mainline), h3consumption Power Consumption Tool

We’ve been blessed with a wide range of low cost Allwinner H3 boards thanks to Shenzhen Xunlong Orange Pi and FriendylARM NanoPi boards. Recently, armbian developers have been focusing on NanoPi NEO board, and they’ve now released Debian Jessie and Ubuntu Xenial with Linux 4.6.7 and Linux 4.7.2. The latter is mainline kernel with some patchsets for Ethernet.

FriendlyARM_NanoPi_NEO_BoardYou can download the Linux 4.6.7 based “beta” images from armbian NanoPi NEO page, and selected the “Vanilla” versions, then flash then one a micro SD card as you would normally do. Linux 4.7.2 based “experimental” images with USB OTG support and schedutil cpufreq governor can be found on the separate server in a temporary directory.

Thomas Kaiser explains further:

Ethernet and throttling are working (the latter not as efficient as with legacy kernel but at least it protects the SoC from overheating). Please note that all vanilla kernel images currently suffer from random MAC addresses on reboot so better choose a static IP address configuration. Also keep in mind that current cpufreq scaling settings in mainline kernel don’t know the 912 MHz operating point so with our default /etc/defaults/cpufrequtils contents you end up with 816 MHz max cpufreq (feel free to adjust, throttling works with these images).

You can test the schedutil cpufreq governor in Linux 4.7, by changing /etc/default/cpufrequtils to something like:


They have not released equivalent “Vanilla” images for Allwinner H3 Orange Pi boards, but I guess it will done once NanoPi NEO images are proven to be working reasonably. Eventually, you’ll be able to download the Linux kernel directly from Kernel.org for your Allwinner H3 boards. I’ve been told this won’t happen in Linux 4.8, but I’d assume Linux 4.9 or 4.10 are realistic targets.

Since NanoPi NEO board has been designed for IoT applications with low load too, armbian community has also investigated how to lower power consumption, and after finding that disabling Ethernet PHY saved 200 mW, and disabling HDMI and the GPU 210 mW, they created a new tool (bash script) called h3consumption, and working on all Allwinner H3 boards. You can find more power savings tips and h3consumption options in the forums.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
14 Comments
oldest
newest
JotaMG
JotaMG
7 years ago

For a headless server, this FreeBSD 12.0-CURRENT image is probably a better choice:
https://www.mediafire.com/folder/bfbs771c3ajar/FreeBSD

tkaiser
tkaiser
7 years ago

@JotaMG Well, I really love FreeBSD on the NAS boxes (ZFS rulez 😉 ) but doubt that we’re talking about the same here. One thing is an idle OS, the other identifying hardware tweaks that improve performance and lower consumption (and to be able to easily adjust settings to your own needs!). On H3 performance depends somehow on lowering consumption since H3 tends to overheat (so by lowering Vcore voltage you lower chip temperature and increase performance when throttling starts). Same thing with hardware engines: Disabling GPU/HDMI does not only lower consumption by 210 mW, decreases SoC temperature by approx… Read more »

tkaiser
tkaiser
7 years ago

[x] done notifying FreeBSD developers. Now investigating the FreeNAS/FreeBSD ‘big iron’ stuff: https://bugs.freenas.org/issues/5904#change-85693 (already working perfectly on a few Linux based Orange Pi Plus 2E working as fileserver mirrors on remote locations 😉 )

JotaMG
JotaMG
7 years ago

tkaiser :
… but I’ve already on my TODO to ping Jared MC Neill and tell him about our findings so FreeBSD on H3 boards can also benefit

Thanks for that!
I made my comment based not on the NEO images per se but on the quality of the userland apps, like Apache or databases (not to mention ZFS).
I will not be surprised that in real life the FreeBSD image performs a little better.
Also I have no doubt that your Linux images are more refined and probably will be one step ahead.

Moises
Moises
7 years ago

Thanks for this release, Armbian team is making an great work with this linux distribuition, should be the default linux distro for Shenzhen Xunlong Orange Pi and FriendlyARM.

zoobab
7 years ago

Which driver have you taken for the ethernet? I tried it a while ago, and it was unstable at best.

Ondrej
Ondrej
7 years ago

@zoobab

This driver, by montjoie, is the latest: https://github.com/montjoie/linux/commits/sun8i-emac-wip-v3

It needs some changes in device tree to work with linux 4.7.x

I have it integrated in my branch here, with some other patches to enable USB OTG and dynamic voltage/frequency scaling: https://github.com/megous/linux/tree/orange-pi-4.7

tkaiser
tkaiser
7 years ago

@zoobab ‘A while ago’ things might have changed 😉 … the purpose of these test/beta images is to get feedback about situation now from different people than kernel developers. Armbian relies on Ondrej’s kernel branches and a few of our customers use GbE equipped H3 devices with 4.6.0-rc1 since 4 months — no complaints about network problems from them (I had concerns since with synthetic benchmarks/tests both performance and stability were a problem). BTW: ‘Server use case’ is an area where this whole consumption minimzation process we made now at Armbian gets somewhat absurd 🙂 While it’s nice to be… Read more »

Demetris
7 years ago

Thanks @Ondrej ,
it’s what i was looking for.
Good job there

tkaiser
tkaiser
7 years ago

@Ondrej Just FYI: I let cpuburn-a7 run on a NanoPi NEO with 4.7.2 and your dvfs settings for 2 days. With current settings cpufreq switches constantly between 624 and 1008 MHz, the possible 816 MHz in between are never used. Also the voltage generator has to constantly switch between 1.1 and 1.3V 🙁 An hour ago the NEO disappeared from network, unfortunately I forgot to prepare serial console access (I power it through FriendlyARM’s PSU-ONECOM connector and could not access serial console without cutting power to the board). So while your current dvfs/THS settings successfully prevent overheating (not exceeded 80°C)… Read more »

PoV
PoV
7 years ago

This is exciting news! Bargain H3 powered computers with nearly the mainline kernel!

Thank you Armbian team for everything you do!

mahesh nanavalla
mahesh nanavalla
6 years ago

What is nanopi neo login Details:

mahesh nanavalla
mahesh nanavalla
6 years ago


Thanks,
anyone tested USB OTG NanoPI NEO…
can anyone sujjest how to enable Nanopi Neo as dual functionality..

I am using armbian Armbian_5.27.170523_Nanopineo_Ubuntu_xenial_dev_4.11.1.img

Khadas VIM4 SBC