Openwrt Nanopi R2s Versions Save

OpenWrt support for FriendlyElec NanoPi R2S RK3328 SoC board with 2x1000Mbps ports. This repository is not a fork of friendlywrt but a fork of upstream/openwrt.

v2.0r1

3 years ago

Image release:

  • Fix irq_optimize script

v2.0

3 years ago

Forum discussion and information: openwrt-forums

Date: 24th June 2020

Link: https://github.com/jayanta525/openwrt-nanopi-r2s

  • Repository has been updated with the latest source from OpenWrt master.

  • Added CI/CD example for automated builds with cache enabled

  • LAN: rtl8152 (eth1)

  • WAN: rtl8211E (eth0)

Build from sources:

  1. Clone this repository: https://github.com/jayanta525/openwrt-nanopi-r2s.git (git pull won't work as i have force pushed some changes)

  2. Follow these commands:

git clone https://github.com/jayanta525/openwrt-nanopi-r2s.git openwrt/

cd openwrt/

./scripts/feeds update -a

./scripts/feeds install -a

make menuconfig

make -j5 #where 5 is the number of cores in your build system + 1

You'll find the images in openwrt/bin/targets/armv8/

Issues

  • You might come across a kernel config prompt (when verbosity is set), just ignore it with either Y or N, or you can build without verbosity to avoid this prompt.

Commits

CI/CD Guide with CircleCi:

Link: https://github.com/jayanta525/openwrt-nanopi-r2s/tree/circleci

  1. Fork the on repository

  2. Install CircleCi free plan from GitHub Marketplace

  3. Enable repository in CircleCi Projects

  4. The initial build will be on the default branch with dummy configuration.

  5. Switch to branch "circleci"

  6. Edit feeds.conf to your requirement (specify commit hash values or new feeds)

  7. Edit config.seed file to your requirements (leave the default configuration as is, contains openssl enhancements)

  8. Edit custom script in scripts/ if required.

  9. Commit the changes.

  10. Build in CircleCi will automatically start (if configured correctly, check for orange dot next to commit in GitHub)

  11. Cache is enabled, i.e. toolchains and packages will be cached for faster subsequent compilations (~20mins).

  12. To clear the cache, change $CACHE value in .circleci/config.yml

  13. IRQ_optimize initscript is added, check scrips/adjust-feeds.sh

  14. You'll find the compiled images in artifacts section:

v1.2

3 years ago

-sd card fixes -reboot issue fixed -preparing for PR

v1.1r2-openwrt

3 years ago

Changelog:

-openssl enhancements -crypto engine enhancements -dts modifications

v1.1-openwrt

4 years ago

Changelog:

-updated kernel to 5.4.40 -added crypto in kernel -added openssl-util in packages -added openssl benchmark in readme -included image builder -included openwrt-sdk

Issues: -doesn't boot in some specific SD cards. -if your card doesn't boot, create an issue in issues.

v1.0-openwrt

4 years ago

Initial support for OpenWrt

Tested and Working:

  • Ethernet Ports
  • LEDs