Power & Source of Big Ideas

Are you getting this error if you have the USB device plugged in BEFORE you boot up? Or do you only get this error when you try to hot-plug the USB device, ie after booting? I suspect you get errors trying to do either task. Which use case do you need to do? If it is hotplugging you want then have a...
You are aware that you may have no over-voltage protection feeding power into the GPIO pins. I haven't checked the schematic of your device.

A series fuse followed by a 5V6 1 to 5 Watt Zener then to the target would offer some protection.
Just a few suggestions, as I had a lot of trouble firing up a Raspberry Pi 3 on my own power supply creations. Current is one thing, how will filtered and how the supply reacts to surge requirements are probably quite important as well. Have you got a oscilloscope that you can capture the voltage di...
Thanks for the added information. Maybe I will another go using two WiFi dongles, one to talk to my Smartphone Hotspot and the other talking via WiFi to a Solar Battery Management system.
Maybe do a :

Code: Select all

ifdown wlan0

then another

Code: Select all

iwconfig or iwlist scan

As well as the unassociated comment it looks like the signal level is non-existent or is that an expected result?

wpa_cli -iwlan0 scan_result showed nothing. Maybe try iwlist scan

Have a look in /etc/rc.local and post the contents. I stop Bluetooth in here, maybe somebody stopped networking.
Are you running the Debian image?

5.4 Wireless Connection I assume you have setup the wpa_supplicant.conf file.
Worked for me on a NanoPi2 running Debian. I just noticed you are running Android. Hope someone helps!
Oops, I see it is not mentioned on the M1 Plus wiki page. Maybe the OS for the AllWinner parts are set up differently?

What do you get with:

wpa_cli -iwlan0 scan_result

turn-wifi-into-apmode no

I haven't read the Wiki page on your device but many of the other models behave like this.

Most of the models I have played with are in AP mode. Have you turned that off?


I believe that for the NanoPi I would need a significantly different code base. For example, with the NanoPi everything is compiled-in and does not use modules.

I lose about 5% of my readings, which is not a significant problem for me.

Thanks anyhow.

Are you stopping the boot process within the 3 second window?
Try to install it again. apt-get will soon tell you if it is on your device.

If it doesn't appear try apt-get install dctrl-tools and then I'll give you some commands to run
I don't have your kernel source but I think if you look in something like this:
(this is for the original NanoPi) you might find something related to PPS.
Can the Smartphone operate as a Hotspot? I send files to my Samsung Galaxy Young Y using a web server running on the NanoPi (original model). suggests to me that you still have it operating as an access point (AP). To connect to the internet you have to run:

turn-wifi-into-apmode no

Don't know about that line in rc.local, perhaps it has something to do with operating in access mode.

But I don't see any 1 wire sensors in BakeBit, ie Nano Hub.


Thank you for confirming that.
Is it possible to slow the CPU down with cpu_frequency on this board?
I can't see anything useful on that page.
Could you link to or explain how loading up the CPU helps in 1wire comms? I found an interesting article called Raspberry Pi IoT In C - Almost Realtime Linux.html so I tried sched_scheduler(SCHED_FIFO) on my NanoPi (original model). Ran for a minute or so, then kernel panic -> ran out of memory. 64M...
Does apt-get update work?

Have you changed anything in /etc/apt/sources.list?
Has there been any further progress on this issue? On the NanoPi I periodically get: FAHW-Lib: Fail to read /sys/devices/w1_bus_master1/28-0000054e4ab5/w1_slave errors. Fortunately, when it fails it returns zero which I can eliminate in SW, but it would be nice to know what the problem is. Thanks, d...
I am trying to read DS18B20 1-wire sensors using code adapted from the Matrix Temperature sensor example, as found at Armworks. I have noticed that the current Wiki example is quite different and appears NOT to be suitable for the NanoPi. //temp sensors if ((devFD = ds18b20Init(GPIO_PIN1)) == -1) { ...
Got it working, one just needs to setup the files in /etc/network/interfaces and wpa_supplicant configuration correctly.
Has anyone managed to get WiFi roaming to work with AP6210 or similar WiFi module? Specifically, I am trying to get this to work on the NanoPi using Debian Jessie. However, if you have WiFi roaming working on any NanoPi variant using the AP6xxx WiFi/Bluetooth module I would like to compare notes. Th...
The problem is that /var/cache/apt/archives is too full.


Code: Select all

apt-get autoclean 
I have a NanoPi running some fairly big applications, ie PHP5 and Apache2 and when I do free I have about 5M. I can do a sync-available on this unit. I want to incorporate the Matrix code, so I am building a system on another NanoPi. This unit has PHP5 but no Apache2. I updated Debian Jessie on it a...
Found some more notes. Seems to you have to have software PWM enabled. If you can re-compile the kernel I can give you the boxes you have to tick.

Best to check you have a /sys/class/leds/backlight first
When I was using the Pengutronix BSP for the mini2440 there was a /sys/class/leds/backlight and you could do: echo timer > /sys/class/leds/backlight/trigger echo 5 > /sys/class/leds/backlight/delay_off echo 5 > /sys/class/leds/backlight/delay_on for 50% of full brightness. Maybe, you can change the ...
Do you need to fix the Permission denied, near the beginning?
Try <swap debian> on the old forum.
For the NanoPi:


it tells you how to turn in ON. That is a start.

It must either be a recognised kernel driver in Debian Jessie or FA have written some code to interface to it. Still that would only give you the API that they have used.

Try asking FA directly if they would release it.

Good luck,
Check the M3 schematic. If is a AP6210 go to the bottom of the NanoPI Wiki page
Two things: a) there have been some measurements made on how effective the current heatsinking arrangement works. Which exact 3M thermal tape are you using? And how thick? b) I see you have feet on the Odroid unit, will you have feet on this unit? Will you get some air flow through the unit? Nice wo...
Right, there seem to be many missing links. Perhaps start another thread that will catch the attention of the FriendlyArm tech people.

Sorry, can't help any further on this problem.
Did you get to this page? http://wiki.friendlyarm.com/wiki/index.php/Ubuntu_Core_with_Qt-Embedded and find this file: nanopi2-ubuntucore-with-qt-embedded-sd4g.img.zip ? I see the download link does not take you to it. Check out the other products mentioned as I have downloaded this before. I tried r...
You could do it without an OS but it is going to be a long painful process. I would suggest starting on a Debian linux system using the Qt-embedded images There were lots of tutorials around for Qt on the mini2440, search <mini2440vietnam> he produced some good stuff. Searching < nanopi qt-embedded>...
Even on the smallest FriendlyARM unit, the NanoPi, there is enough RAM and flash to run Qt programs. Using Qt Creator to make your menus is going to be a lot less painful then writing your own menus in C or C++. See Qt-embedded images for most of their product. If this is a learning experience then ...
Are you driving a relay directly from a GPIO? Have you got a diode across the relay?
I have no Allwinner experience, but

[ 19.965201] [DISP] disp_ioctl,line:1584:para err in disp_ioctl, cmd = 0x0,screen id = 65536

the ID looks suspect? Are you using a recommended display?

Power supply probably OK, normally poor supply results in repeated re-boots.
No problem on my Debian NanoPC-T3 with external display.

Might be helpful to connect up the UART port using a PSU-ONECOM and run minicom on a host computer and watch the bootup messages.

You can stop the boot process and look at bootargs, maybe there is a clue in there.
The thermal pad on my NanoPC-T3 is about 0.2 to 0.5mm thick. Maybe try a thermal pad used for mounting a TO-220 or bigger transistor package and use some copper or ally sheet to make up the difference.
What is the thermal resistance of that very thick blue thermal(?) pad?
Change /etc/interfaces to: iface eth0 inet static There are other ways, but this works for me. hostname I changed to NanoPC-T3 and in /etc/hosts I changed the first line to localhost localhost.localdomain NanoPC-T3 to get rid of an error when you tried to sudo A minor assembly issue when m...
Did you change /etc/interfaces to:

eth0 .... ..... static

There is another way to do this but this sorts the problem for me.
More searching ... and I think running the mkimage.sh file in the sd-fuse_nanopi folder, after you apt-get install kpartx is the solution.
NanoPi-fuser-win32 requires a .img file. Could you explain how to generate a .img file from a rootfs or rootfs.tgz file?

I how found a utility called make_ext4fs but an usage example would be helpful, say for a 8G microSD card.

Thank you,