Skip to main content
mishuk
Associate III
Aug 6, 2021 2:03 PM UTC
Question

How can I customize eMMC partition layout ?

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 ?

This topic has been closed for replies.

3 replies

Christophe Guibout
ST Technical Moderator
Aug 23, 2021 1:22 PM UTC

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
mishukAuthor
Associate III
Aug 24, 2021 7:09 AM UTC

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 II
Aug 29, 2021 12:17 PM UTC

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*...