How to partitions MMC for nvram

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to partitions MMC for nvram

987 次查看
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 项奖励
回复
3 回复数

883 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

883 次查看
xj916ch
Contributor I

Hi, Rita:

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

2. emmc.

0 项奖励
回复

883 次查看
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 项奖励
回复