Power & Source of Big Ideas

Setup: NanoPi R1 - How to Flash eMMC w/ OpenWRT/FriendlyWRT

Moderators: chensy, FATechsupport

Hello! Linux veteran, but new to this SBC stuff.
I'm having trouble setting up my NanoPi R1.

I followed instructions from http://wiki.friendlyarm.com/wiki/index.php/NanoPi_R1
Stuck at this step: 4.3.1.1 Flash to eMMC
If your board doesn't support HDMI or no monitor is connected you can select an OS by running the following command:
$ su root
$ eflasher


I plugged in my NanoPi to my computer, powered it up.
It gets an IP address but I can't connect to SSH.
I did nmap on it and only port 8200 is open.

I tried:
-to login to ssh many ways: ssh root@[IP address] / ssh root@ [ip address] -p 8200
-tried plugging it into WAN ethernet port, it can't get IP
-tried connecting to FriendlyElec wifi network that appeared.

Is my NanoPi R1 broken? It's weird that it's so hard to connect to it. What is port 8200 for?
arkadi wrote:
Hello! Linux veteran, but new to this SBC stuff.

arkadi wrote:
I tried:


Also try OS made by Linux veterans: https://www.armbian.com/nanopi-r1/
arkadi wrote:
I tried:
-to login to ssh many ways: ssh root@[IP address] / ssh root@ [ip address] -p 8200
-tried plugging it into WAN ethernet port, it can't get IP
-tried connecting to FriendlyElec wifi network that appeared.


I was using the wrong ip address. The Nano was giving my computer address: 192.168.2.176.

The actual address of the Nano is 192.168.2.1

SO...now I CAN login to SSH. When I login i see this screen:

Code: Select all

$ ssh root@192.168.2.1
BusyBox v1.28.3 () built-in shell (ash)
 _____                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06.1, r7258-5eb055306f
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@FriendlyWrt:~# eflasher
-ash: eflasher: not found


how do I flash the eMMC with the image file? i type eflasher and nothing happens.

i tried flashing both: friendlywrt_4.14_armhf.tgz and nanopi-r1_eflasher_friendlywrt_4.14_armhf_20191109.img (both take me to that OpenWRT screen)

Do I install it through the web interface? System/Backup-Flash Firmware menu?
igorp wrote:
arkadi wrote:
Hello! Linux veteran, but new to this SBC stuff.

arkadi wrote:
I tried:


Also try OS made by Linux veterans: https://www.armbian.com/nanopi-r1/


thank you! looks cool.

downloading to give it a go. shouldn't be this hard to flash eMMC eh?
arkadi wrote:
shouldn't be this hard to flash eMMC eh?

With Armbian? Trivial.
igorp wrote:
arkadi wrote:
shouldn't be this hard to flash eMMC eh?

With Armbian? Trivial.


awesome! thank you. i'm running armbian now. super easy and documentation is so clear.

friendly elec's english documentation is anything but friendly :/

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 1 guest