# Is there any mender support for friendlyelec nanopi R5S device?

**URL:** <https://hub.mender.io/t/is-there-any-mender-support-for-friendlyelec-nanopi-r5s-device/5767>\
**Category:** General Discussions\
**Tags:** yocto\
**Created:** [April 17, 2023, 2:25am UTC](https://hub.mender.io/t/is-there-any-mender-support-for-friendlyelec-nanopi-r5s-device/5767 "2023-04-17T02:25:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![chezgi](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/chezgi/32/1887_2.png) [@chezgi](https://hub.mender.io/u/chezgi)\
**Post date:** [April 17, 2023, 10:58am UTC](https://hub.mender.io/t/is-there-any-mender-support-for-friendlyelec-nanopi-r5s-device/5767/5 "2023-04-17T10:58:05Z")

</div>

i used meta-rockchip and some bbappend files for kernel and uboot in my layer.  
it creates kernel and uboot successfully.  
linux-rockchip\_5.10.bbappend:

```auto

SRC_URI = "git://github.com/friendlyarm/kernel-rockchip.git;protocol=https;nobranch=1;branch=nanopi5-v5.10.y_opt;"
SRCREV = "${AUTOREV}"

```

u-boot-rockchip.bbappend:

```auto

SRC_URI = " \
	git://github.com/friendlyarm/uboot-rockchip.git;protocol=https;branch=nanopi5-v2017.09;\
	git://github.com/JeffyCN/mirrors.git;protocol=https;branch=rkbin;name=rkbin;destsuffix=rkbin; \
"
SRCREV = "${AUTOREV}"

```

machine/nanopi-r5s.conf:

```auto
SOC_FAMILY ?= "rk3568"
PREFERRED_VERSION_linux-rockchip ?= "5.10%"
LINUXLIBCVERSION ?= "5.10-custom%"

require conf/machine/include/rockchip-arm64-common.inc

MALI_GPU := "bifrost-g52"
MALI_VERSION ?= "g2p0"

RK_ISP_VERSION := "2.1"

UBOOT_MACHINE = "nanopi5_defconfig"

RK_WIFIBT_FIRMWARES = ""

MACHINE_EXTRA_RRECOMMENDS:append = " \
	drm-cursor \
"

KERNEL_DEVICETREE = "rockchip/rk3568-nanopi5-rev01.dtb"

```

---

_[View the full topic](https://hub.mender.io/t/is-there-any-mender-support-for-friendlyelec-nanopi-r5s-device/5767)._
