i want to use nanopi r5s device, but its partition layout and final image creation process is confusing.
it’s official image has 9 partitions that has diffrent partitions for kernel, dtb.
how can i use mender in this device?
is such partitioning can be used by mender?
or can i use mender partitioning for this device?
Thanks for reaching out! What means are you planning to create the image? Looking at the wiki, there seems to be no Yocto support, and I also could not spot anything in the various Rockchip-related public layers.
Once you have decided upon a strategy to proceed, you can look into integration details. I’m pretty sure the high partition count is just a particular design decision and you can replace it with a much simpler scheme.
The integration of Mender requires a bit of bootloader integration to do the A/B strategy, so you need a way to get that into your build at least. On top, Mender prefers to have kernel and devicetree on the rootfs partition to make it self-contained for a system update. You can work around that, but its always error-prone and reduces the features you can use, so definitely discouraged.
Generally speaking, the support is best when going the Yocto route, probably you can get started by looking at meta-rockchip and meta-mender-rockchip. The latter requires bumping to kirkstone too, though. Maybe I can help with that.
I have meta-mender-rockchip updated to kirkstone as I’m currently working on support for rk3328 (rock-pi-e board) and push it shortly.
Quick look at meta-rockchip show that r5s device is not supported by mainline. Use proprietary u-boot can be tricky. Which layers do you use for building image ATM? Thanks.
As stated in commend on meta-rockchip you would need to use mainline u-boot instead of rockchip one. At least I’m not sure if this would be possible to backport to mainline u-boot.
Hi, I am using Friendlyelec armhf OS version with these details -
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
I have added few files in this system and trying to create an image of the same OS. Following are the details -
udev 390M 0 390M 0% /dev
tmpfs 98M 6.0M 92M 7% /run
overlay 3.2G 3.0G 37M 99% /
tmpfs 492M 0 492M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 492M 0 492M 0% /sys/fs/cgroup
tmpfs 99M 4.0K 99M 1% /run/user/1000
/dev/mmcblk0p1 60M 13M 43M 23% /media/pi/boot1
tmpfs 99M 0 99M 0% /run/user/0
I am trying to create the custom image of my OS version but the resultant image is not bootable.
I am using the following command to create the image = sudo dd if=/dev/mmcblk0 of=/home/myimage.img