Skip to main content
mishuk
Associate III
August 6, 2021
Question

How can I customize eMMC partition layout ?

  • August 6, 2021
  • 3 replies
  • 1685 views

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 Employee
August 23, 2021

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
August 24, 2021

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
August 29, 2021

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