Skip to contentSkip to conversation

nanopi-r2s: add

PATCH Applied Trevor Woerner 2 participants 3 messages Oct 2, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nanopi-r2s: add

The NanoPi R2S is a mini router with edge computing and dual GbE ports by FriendlyElec. It is based on the Rockchip RK3328 - a quad A53 core, 64-bit SoC running at 1.2GHz with at least 1GB of DDR4 RAM. It has one USB 2.0 host and is powered via a USB type-C connector (5V/2A).

https://www.friendlyelec.com/index.php?route=product/product&product_id=282

---
 README                                      |  1 +
 conf/machine/nanopi-r2s.conf                | 11 +++++++++++
 recipes-kernel/linux/linux-yocto_%.bbappend |  1 +
 3 files changed, 13 insertions(+)
 create mode 100644 conf/machine/nanopi-r2s.conf
README +1 -0
index e815fb47ff5f..8451b4778c37 100644
@@ -32,6 +32,7 @@ Status of supported boards:
 		nanopi-r4s
 		rock-5b
 		rock-pi-s
+		nanopi-r2s
 	builds:
 		marsboard-rk3066
 		radxarock
conf/machine/nanopi-r2s.conf new file +11 -0
new file mode 100644
index 000000000000..4472c21f0217
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: NanoPi R2S
+#@DESCRIPTION: The NanoPi R2S is a mini router with edge computing and dual GbE ports by FriendlyElec
+#https://www.friendlyelec.com/index.php?route=product/product&product_id=282
+
+require conf/machine/include/rk3328.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3328-nanopi-r2s.dtb"
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
+
+UBOOT_MACHINE = "nanopi-r2s-rk3328_defconfig"
recipes-kernel/linux/linux-yocto_%.bbappend +1 -0
index 61c89f70d8dc..456182ee473d 100644
@@ -14,6 +14,7 @@ COMPATIBLE_MACHINE:rock64 = "rock64"
 COMPATIBLE_MACHINE:rock-pi-e = "rock-pi-e"
 COMPATIBLE_MACHINE:nanopi-r4s = "nanopi-r4s"
 COMPATIBLE_MACHINE:rock-pi-s = "rock-pi-s"
+COMPATIBLE_MACHINE:nanopi-r2s = "nanopi-r2s"
 
 SRC_URI:append = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
 SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"
Signature · 1 line
2.41.0.327.gaa9166bcc0ba
Reviewed-by on v1 1/1
#1 lore raw

Hi Trevor,

Quoted 20 lines · Trevor Woerner via lists.yoctoproject.org

The NanoPi R2S is a mini router with edge computing and dual GbE ports by FriendlyElec. It is based on the Rockchip RK3328 - a quad A53 core, 64-bit SoC running at 1.2GHz with at least 1GB of DDR4 RAM. It has one USB 2.0 host and is powered via a USB type-C connector (5V/2A).

https://www.friendlyelec.com/index.php?route=product/product&product_id=282

---
  README                                      |  1 +
  conf/machine/nanopi-r2s.conf                | 11 +++++++++++
  recipes-kernel/linux/linux-yocto_%.bbappend |  1 +
  3 files changed, 13 insertions(+)

create mode 100644 conf/machine/nanopi-r2s.conf

README +0 -0
index e815fb47ff5f..8451b4778c37 100644

README Status of supported boards: · line 35

Quoted 4 lines
README +1 -0
@@ -32,6 +32,7 @@ Status of supported boards:
  		nanopi-r4s
  		rock-5b
  		rock-pi-s
+		nanopi-r2s

Was about to "complain" that this was not alphabetically sorted anymore... but it's already the case above the git context :)

Looking good :)

Cheers,
Quentin

Quoted 43 lines
README +0 -0
  	builds:
  		marsboard-rk3066
  		radxarock
conf/machine/nanopi-r2s.conf new file +11 -0
new file mode 100644
index 000000000000..4472c21f0217
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: NanoPi R2S
+#@DESCRIPTION: The NanoPi R2S is a mini router with edge computing and dual GbE ports by FriendlyElec
+#https://www.friendlyelec.com/index.php?route=product/product&product_id=282
+
+require conf/machine/include/rk3328.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3328-nanopi-r2s.dtb"
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
+
+UBOOT_MACHINE = "nanopi-r2s-rk3328_defconfig"
recipes-kernel/linux/linux-yocto_%.bbappend +1 -1
index 61c89f70d8dc..456182ee473d 100644
@@ -14,6 +14,7 @@ COMPATIBLE_MACHINE:rock64 = "rock64"
  COMPATIBLE_MACHINE:rock-pi-e = "rock-pi-e"
  COMPATIBLE_MACHINE:nanopi-r4s = "nanopi-r4s"
  COMPATIBLE_MACHINE:rock-pi-s = "rock-pi-s"
+COMPATIBLE_MACHINE:nanopi-r2s = "nanopi-r2s"
 
  SRC_URI:append = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
  SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#61191): https://lists.yoctoproject.org/g/yocto/message/61191
Mute This Topic: https://lists.yoctoproject.org/mt/101712596/6293953
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author Applied
#2 lore raw
In reply to Trevor Woerner
Quoted 7 lines · Trevor Woerner

The NanoPi R2S is a mini router with edge computing and dual GbE ports by FriendlyElec. It is based on the Rockchip RK3328 - a quad A53 core, 64-bit SoC running at 1.2GHz with at least 1GB of DDR4 RAM. It has one USB 2.0 host and is powered via a USB type-C connector (5V/2A).

https://www.friendlyelec.com/index.php?route=product/product&product_id=282

Quoted 7 lines
---
 README                                      |  1 +
 conf/machine/nanopi-r2s.conf                | 11 +++++++++++
 recipes-kernel/linux/linux-yocto_%.bbappend |  1 +
 3 files changed, 13 insertions(+)
 create mode 100644 conf/machine/nanopi-r2s.conf

Applied to meta-rockchip, master branch.