Differences in Revisions: Friendly Elec NanoPi R1

replace core135 with XXX
# Friendly Elec NanoPi R1
## Technical data
CPU: Allwinner H3 ARM Cortex-A7 Quad-Core
Storage: 1 microSD card slot + 8GB eMMC
1x Gigabit LAN
1x 100mBit LAN
2. USB 2.0
1x 802.11 b/g/n Wifi
There is also a 512MB Version which is not recommended.
## How to install IPFire on the NanoPi R1
Download the latest armv5tel IPFire image, (you need at least core135)
Download the latest armv5tel IPFire image, (you need at least coreXXX)
unpack the Image to a MicroSD Card
xzcat ipfire-2.23.2gb-ext4.armv5tel-full-core135.img.xz > /dev/mmcblk?
xzcat ipfire-2.23.2gb-ext4.armv5tel-full-coreXXX.img.xz > /dev/mmcblk?
# (or /dev/sd? depends on your card-reader)
### Prepare the serial console
To connect the NanoPi R1 to a computer you need a Serial-TTL to USB-Cable.
IPFire not use the internal Debug port so you not need to open the NanoPi R1. The console is routed to the external uart port.
Connect a USB-TTL uart cable like this:
G - Black
V - don't connect
T - White
R - Green
Now you can use the same procedure like other serial devices to setup.
The default bootloader in the image boot from mmc0 but the eMMC is connected to mmc2. For eMMC boot you need a special u-boot that switch mmc0 and mmc2.
To install IPFire on eMMC first build the uSD card and basic configure it to have an Internet connection to redownload the Image (or copy it after fist boot in the R1 to the card). Unpack it the the eMMC and switch the bootloader.
wget https://downloads.ipfire.org/releases/ipfire-2.x/2.23-coreXXX/ipfire-2.23.2gb-ext4.armv5tel-full-coreXXX.img.xz
xzcat ipfire-2.23.2gb-ext4.armv5tel-full-coreXXX.img.xz > /dev/mmcblk2
xzcat ipfire-2.23.2gb-ext4.armv5tel-full-core`XXX`.img.xz > /dev/mmcblk2
dd if=/usr/share/u-boot/nanopi-r1/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1K seek=8
* [](https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=248)
* [](http://wiki.friendlyarm.com/wiki/index.php/NanoPi_R1)