cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a new partition to Stm32mp257 Yocto

bugman
Associate II

I need a partition as a backup partition for the root file system.

How can I add a new partition in stm32mp2?

1 REPLY 1
Christophe Guibout
ST Employee

Hello @bugman,

 

You need to add a partition into the flashlayout : feel free to look into this wiki page.

 

In Yocto, if you use a static flashlayout, I would recommand the add this in your machine:

ENABLE_FLASHLAYOUT_DEFAULT = "1"
FLASHLAYOUT_DEFAULT_src="<path of your flashlayout>.tsv"

Your flashlayout will be automatically deployed on build.

 

BR,

Christophe

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.