How to partitions MMC for nvram

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to partitions MMC for nvram

855 Views
xj916ch
Contributor I

Yocto Linux for imx8mm evk Board.

I`ll store some info into nvram, such as SN number. While the partition cann`t be ereased when download again.

Two workarounds would be thought of.

One is to store info before download, and download all with SN again.

The another workaround is to reserve the partition all the time.

I prefer the second way.

Could you give me some tips?

How to position the u-boot address in the MMC using uuu? How to create parition while using u-boot or other ways?

....

Anything would be appreciated.

0 Kudos
3 Replies

751 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which version BSP are you using? And are you using emmc or SD card?

0 Kudos

751 Views
xj916ch
Contributor I

Hi, Rita:

1. Linux imx8mmevk 4.14.98-imx_4.14.98_2.0.0_ga.

2. emmc.

0 Kudos

751 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You can refer to  the chapter 4.3.3 Partitioning the SD/MMC card of enclosed file.

you can find your sdcard layout here, then you can set as you need,generate new class file

meta-fsl-arm/image_types_fsl.bbclass at master · Freescale/meta-fsl-arm · GitHub

0 Kudos