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.
Image release:
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:
Clone this repository: https://github.com/jayanta525/openwrt-nanopi-r2s.git (git pull won't work as i have force pushed some changes)
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
Commits
Latest forced pushed commit: f70064a8feb0e4156665dba2e589dbc2c0607eb2
RK3328 target prerequisite commit: 12546a0da7d5c4031e8b270b49827e05728f0846
CI/CD Guide with CircleCi:
Link: https://github.com/jayanta525/openwrt-nanopi-r2s/tree/circleci
Install CircleCi free plan from GitHub Marketplace
Enable repository in CircleCi Projects
The initial build will be on the default branch with dummy configuration.
Switch to branch "circleci"
Edit feeds.conf to your requirement (specify commit hash values or new feeds)
Edit config.seed file to your requirements (leave the default configuration as is, contains openssl enhancements)
Edit custom script in scripts/ if required.
Commit the changes.
Build in CircleCi will automatically start (if configured correctly, check for orange dot next to commit in GitHub)
Cache is enabled, i.e. toolchains and packages will be cached for faster subsequent compilations (~20mins).
To clear the cache, change $CACHE value in .circleci/config.yml
IRQ_optimize initscript is added, check scrips/adjust-feeds.sh
You'll find the compiled images in artifacts section:
-sd card fixes -reboot issue fixed -preparing for PR
Changelog:
-openssl enhancements -crypto engine enhancements -dts modifications
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.
Initial support for OpenWrt
Tested and Working: