cancel
Showing results for 
Search instead for 
Did you mean: 

How can I customize eMMC partition layout ?

mishuk
Associate III

ST provides eMMC partitions (besides fsbl and u-boot) : boot, root, vendor, user.

I need new partition /home and want removing vendor partition.

How can I get this customization ?

3 REPLIES 3
Christophe Guibout
ST Employee

Hi @mishuk​ ,

You need to update your flashlayout file (*.tsv)

I would suggest to have a look into the wiki, the page STM32CubeProgrammer flashlayout could help.

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.
mishuk
Associate III

Flashlayout file (*.tsv) is not a source file but is result of cooking Yocto recipes. My question was about proper Yocto recipes, but I have already done them by myself.

HLee.21
Associate III

Haven't done it myself, but I guess the comments here are a good start:

https://github.com/STMicroelectronics/meta-st-stm32mp/blob/dunfell/classes/flashlayout-stm32mp.bbclass

@ST: A nice docu/wiki-article about adding a custom-board-layer with all kinds of changes (like changing partition layout) would be great *hint* *hint*...