buildroot/board/friendlyarm/nanopi-r2s
Gilles Talis 9c78c8c0d7 configs/friendlyarm_nanopi_r2s: new defconfig
The NanoPi R2S is a FriendlyElec mini-router based on:

- Rockchip RK3328 SoC
- 1GB (or 2GB) DDR4 RAM
- Gigabit Ethernet (WAN)
- Gigabit Ethernet (USB3) (LAN)
- USB 2.0 Host Port
- MicroSD slot
- Reset button
- WAN - LAN - SYS LED

https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=282

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Arnout:
 - explicitly set BR2_cortex_a53=y;
 - remove unused mtools and dosfstools;
 - add BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y;
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-12 13:56:38 +01:00
..
extlinux.conf configs/friendlyarm_nanopi_r2s: new defconfig 2022-02-12 13:56:38 +01:00
genimage.cfg configs/friendlyarm_nanopi_r2s: new defconfig 2022-02-12 13:56:38 +01:00
post-build.sh configs/friendlyarm_nanopi_r2s: new defconfig 2022-02-12 13:56:38 +01:00
readme.txt configs/friendlyarm_nanopi_r2s: new defconfig 2022-02-12 13:56:38 +01:00

Intro
=====

This default configuration will allow you to start experimenting with the
buildroot environment for the Nanopi R2S. With the current configuration
it will bring-up the board, and allow access through the serial console.

Nanopi R2S link:
https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=282

This configuration uses ATF, U-Boot mainline and kernel mainline.

How to build
============

    $ make friendlyarm_nanopi_r2s_defconfig
    $ make

Note: you will need access to the internet to download the required
sources.

Files created in output directory
=================================

output/images

├── bl31.elf
├── boot.vfat
├── extlinux
├── idbloader.img
├── Image
├── rk3328-nanopi-r2s.dtb
├── rootfs.ext2
├── rootfs.ext4 -> rootfs.ext2
├── rootfs.tar
├── sdcard.img
├── u-boot.bin
└── u-boot.itb

How to write the SD card
========================

Once the build process is finished you will have an image called "sdcard.img"
in the output/images/ directory.

Copy the bootable "sdcard.img" onto an SD card with "dd":

  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
  $ sudo sync

Insert the micro SDcard in your Nanopi R2S and power it up. The console
is on the serial line, 1500000 8N1.

Notes
=====

This configuration can also be used to drive the Friendlyarm Nanopi Neo3 board.