Home/Support/Support Forum/additional partition
New and improved user forum site coming soon
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

additional partition

0 votes

I would like to change the partition table and add a new 'data' partition. I used the chapter 'Change the default NAND partition table (build-time)' as a blueprint and adjusted the following parts:

- mtdparts "40m(data),"
- bootargs "ubi.mtd=..."

After booting linux I can see the partition:
# cat /proc/mtd
mtd6: 02800000 00020000 "data"

The last step is to mount the partition in fstab. But how do I ubiformat/ubiattach/ubimkvol using yocto? Is there a default recipe available? My guess is to write my own multiubi_mkfs routine but as this looks like a standard problem I'm hesitating...

asked Apr 4, 2019 in Linux by mruetti New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
you should be able to create an empty ubifs volume on host and flash it via u-boot. it should be enough.
answered Apr 5, 2019 by LeonidM Veteran of the Digi Community (4,490 points)