On Sat, Oct 5, 2019 at 2:51 AM JH <jupiter.hce@xxxxxxxxx> wrote: > Recently, one of my device is broken failed to boot up, I still don't > know what was the cause by hardware problem or software, to be > precaution in the future meltdown, I am going to separate all writing > data from ubi0 to to another ubi volume ubi1, to keep the rootfs in > ubi0 read only. How can I define the ubi0 volume size to 160 MB and > the ubi1 volume size to 30 MB? Don't setup multiple UBI instances on the same chip. The wear leveling domain should be as large as possible. If you want to have multiple UBIFS filesystems, just create more UBI volumes. -- Thanks, //richard ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/