EMMC with two rootfs partitions
Posted: Wed Feb 26, 2020 10:00 am
Hi!
I'm trying to create two rootfs partitions on my nanopi neo4 emmc.
My starting point is this instruction: https://github.com/friendlyarm/sd-fuse_ ... lasher-rom.
It shows how to prepare SD card for flashing emmc, however I couldn't find out how to customize the build of the image to achieve what I need. Have tried experimenting with parameter.txt file which seems to describe layout of partitions on EMMC (mtdparts parameter), but without success.
When emmc is flashed according to the instruction, it has 7 or 8 raw partitions (idbloader, uboot, trust, kernel, rootfs etc). But I also did not find a way to to update these partitions afterwards.
Does anybody know how to make two rootfs on emmc? I guess, bootloader needs to be somehow updated too so it can boot with either of the two?
I'm trying to create two rootfs partitions on my nanopi neo4 emmc.
My starting point is this instruction: https://github.com/friendlyarm/sd-fuse_ ... lasher-rom.
It shows how to prepare SD card for flashing emmc, however I couldn't find out how to customize the build of the image to achieve what I need. Have tried experimenting with parameter.txt file which seems to describe layout of partitions on EMMC (mtdparts parameter), but without success.
When emmc is flashed according to the instruction, it has 7 or 8 raw partitions (idbloader, uboot, trust, kernel, rootfs etc). But I also did not find a way to to update these partitions afterwards.
Does anybody know how to make two rootfs on emmc? I guess, bootloader needs to be somehow updated too so it can boot with either of the two?