Power & Source of Big Ideas

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,
Think the Wiki is suggesting Compile lichee Source Code.
I am trying to use the framework in sd-fuse_nanopi/prebuilt to make another SD card. As in a previous posting http://www.friendlyarm.com/Forum/viewtopic.php?f=39&t=81 I have a custom rootfs.tgz file that I am trying to use with the Matrix kernel. I even tried splitting the rootfs file up like th...
Maybe repost this in the H3 section as not many people seem to get down to the bottom of this page.
Got rid of the long wait by changing /etc/network/interfaces eth0 entry to:

Code: Select all

iface eth0 inet static

reboot in 25 seconds.
I have been able to boot using the eMMC in spite of the long wait period at eth0: device MAC address 02:81:7f:36:69:9b as mentioned above and the message that I seemed to have loaded Ubuntu-core. No sign of Debian is fused successfully. All done. However, I will proceed to customise the rootfs.
Successful SD card operation so tried to put the images onto eMMC. So, downloaded debian-jessie-images.tgz untar that to SD card and when booting up using the SDcard I get: hub 1-1:1.0: hub_port status failed (err = -110) hub 1-1:1.0: hub_port status failed (err = -110) hub 1-1:1.0: hub_port status ...
see below ....
Ah, now I see "jet" must be some key word that I am not familiar with.
I assumed that all the images at that page were suitable for the NanoPC-T3. Seems there are many download events. How can you tell whether or not they are 64 bit without trying to run them?

Does not the section "Make Your Own OS Image" help you to make your own 64bit images?
Does not the link https://www.mediafire.com/folder/gg764iwvfm0mf/NanoPC-T3_Boardon the Wiki page work for you?:
Have tried running something like minicom on your host, connecting to the target using a interface like PSU-ONECOM and looking at the boot messages?
Maybe, go to /etc/apt/ and modify the sources.list to a Debian mirror in your country. If you can apt-get install dctrl-tools try: dpkg --configure -a sync-available Also, apt-get clean all dpkg --configure -a apt-get install -f (maybe look this one up before running as I forget what this one does)
If you can't download a specific package do a

apt-get update

first. If you haven't done that for awhile you may find the package manager needs to be updated before it will download anything.
One way would be to monitor one of the GPIO as an input and when it goes low have it run a Bash script to issue a shutdown command.

This probably requires another program running (PHP?) running as a background task.

Read up about the exec command for Bash and PHP.
Could these changes be applied to the NanoPi2? If so, could you tell us what the changes are?

Do you mean 6.3 and 6.4?
I haven't tried fastboot yet. But what normally happens is .... when you are connected to the target via the UART debug cable (PSU-ONECOM) and running a terminal program on the host , ie mincom ... as soon as you put power on the NanoPi2 you will see a few lines of script then it pauses for a few se...
The toolchain is installed where ever the tutorial asks you to put it (/opt/FriendlyARM/toolchain/) and then in Eclipse you will tell it where the toolchain is located. The NanoPi2 Wiki tutorial tells you which toolchain you want. (arm-cortexa9-linux-gnueabihf-4.9.3.tar.xz) You are aware that you ha...
The toolchain is available on GoogleDrive. Once you get Eclipse to point to your toolchain and get a successful cross-compilation you want to check your generated file with <readelf -a> and look at the last 5-10 lines. You may have to download elfutils or ? File extensions: I answered this question ...
Abel, One of the first projects beginners do on a microcontroller is blink an LED. Why not try the tutorial http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_LED ? It is quite a comprehensive guide and the amount of information on other peripheral devices seems quite extensive. If you haven't got ...
If the NanoPi2 did NOT overheat before when it was continually rebooting and now it does then I would say the unit is damaged. The similar thing happened to my NanoPC-T1... it would run for a few minutes, then overheat and reboot. This only happened a few times then it died. Watching what happens wh...
Found that by installing most of the tools mentioned in this post on the old forum http://www.friendlyarm.net/forum/topic/6519 that things started to work properly.

I am just guessing that it was <fakechroot>.
Posting the contents of bootargs and the bootup messages might provide insight.
Thanks for the suggestions. I missed this reply.
There are a few other threads under different products re getting WiFi to work.

Code: Select all

apt-get install iw
apt-get install wireless-tools

Some useful commands:

Code: Select all

wpa_cli -iwlan0 scan
wpa_cli -iwlan0 scan_result
iwlist scan

Then start posting error messages.
I see the NanoPi2 wiki page has been updated and in section FAQ there is a download link which does not work.

Where are the new Debian images for international users?
I still see 27th Feb (as date created) for both Debian files on Google Drive. Am I looking in the right place and at the right files?
Thank you. I won't be able to try it out until Next Tuesday.
It is not really a .zip file. Rename to HDMI boot problem.txt

I only showed the first error message, which seemed to indicate a microSD card problem. (mmcblk0p2)
Yes, it is a 64bit machine running 14.04LTS
After a month or two of proper operation the "Debian booting problem", when using the HDMI display, has returned. After a few seconds one gets a boot message that says it is going to reboot in 5 seconds. Looking further up the boot messages one sees this : [ 0.000000] Kernel command line: ...
I believe I have done everything in that section correctly.

When I do a printenv the correct toolchain path is displayed.
From the Compile U-Boot section: make CROSS_COMPILE=arm-linux- gives me the error: make: arm-linux-gcc: Command not found From the Compile Debian Kernel section: make uImage gives me the error: rm: cannot remove ‘include/config/kernel.release’: Permission denied make: *** [include/config/kernel.rele...
It would be much quicker to stuff a ammeter in series with the battery to determine current consumption. However, you found a work-around! Maybe you don't need an operating system. I run FatFS on a ATmega32 /ATmega88, as a datalogger. There are P versions of the 88, I think and they have various sle...
Any results re turning off WiFi?

Had a look through the datasheet for a way of turning down the WiFi power level, My NanoPi is about 1 metre away from my Smartphone/hotspot.

Is there a register description or API or some command for doing this?

Do you need to run Linux in your application?

I turn off Bluetooth by adding this to /etc/rc.local

rfkill block bluetooth

I would try:

rfkill block wifi

and see what happens. Haven't wanted to do that ... yet.
I have had a few hours to think about this. When I first started looking at the NanoPi I recall that there was a RTC timer. However, being used to externally battery-backup RTCs I came to the conclusion, perhaps incorrectly, was how was running this off the main 5V supply and without a PMU going to ...
Isn't one of the problems the lack of an RTC? Assuming you want to run Linux what about the NanoPi2 Fire. It has a PMU,maybe you will need an external RTC unit. I am running the NanoPi in a power-constrained application because it has much lower current consumption than the mini2440. However, no mat...
I also see something similar happening on the standard Debian build as well. I will document some of the error messages.
Spent a lot of time building a custom rootfs and now you want to change something in the kernel? The Wiki explains how to generate your own kernel and insert it into /sd-fuse_nanopi/prebuilts. For the rootfs it explains how to "edit its components" and then re-compress the rootfs. But I al...
Sorry, just realised that:

USB Modem (CDC ACM) support is still in menuconfig, see:

Code: Select all

USB support
-> *** USB Device Class driver***
-> -> USB Modem (CDC ACM) support
GothAck, Thanks for the hints to enabling this port. I might have to investigate. FATech support, I want to talk to some Teensy boards via USB. In my previous system, using the Pengutronix mini2440 BSP, USB MODEM (CDC ACM) support was enabled in the kernel. Looking at make menuconfig in linux-4.x.y ...
The fundamental issue was I needed an entry in fstab before the mount command would work properly in /etc/rc.local

Problem solved.
Well I found this https://www.debian-administration.org/article/28/Making_scripts_run_at_boot_time_with_Debian which appears to be out-of date. Looking in /etc/init.d I find a file called skeleton , which looks like a template for writing user scripts. If someone has a favourite tutorial specificall...
Even though I seem to be able to do the following in rc.local: rfkill block bluetooth when I tried to put other commands like: mount -t vfat /dev/sda1 /mnt/USB_FLASHDRIVE I got the following error: [FAILED] Failed to start /etc/rc.local Compatibility. See 'systemctl status rc-local.service' for deta...
Thought it might be a good idea to have a closer look at the PCB! I think using two soldering irons with small tips would be a good approach. Or you could use some solder wick to suck the solder off each terminal. That might "break" the solder connection on one or both ends and the part sh...
I would remove the antenna. Hot-air gun from a SMT re-work station and some skill should enable you to remove it. Had a look at the schematic and I would be asking if the chip antenna actually works to its capability with an open-circuit stub (the transmission line to the on-board connector) "h...