How to add a new partition ?

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

How to add a new partition ?

1,945 次查看
snailqian
Contributor I

Hi, experts :

I need to add a new partition for special purpose,

Could you like to tell me which code/files should be add/modify ?

Thank you very much.

标签 (4)
0 项奖励
回复
4 回复数

1,707 次查看
SergioSolis
NXP Employee
NXP Employee

Hello Snail Qian,

Can you please give us more information?, are you referring to linux or android?

0 项奖励
回复

1,707 次查看
snailqian
Contributor I

Hi, expert:

Thank you for your reply.

Our platform is iMXDL and it is related to linux/android.

In our project ,we want to protect some important data, such as BT address ,Serial No. ,and so on. We hope those data can never be modified after factory written.

Therefore ,we plan to add a new special partition to store the important data, and this partition will be locked and not allow to write unless user know how to unlock it.

However ,we just begin to study your platform ,not very familiar with it. So ,I need your help to learn how to add a new partition which can be set to write-protect . Thanks a lot

0 项奖励
回复

1,707 次查看
jimmychan
NXP TechSupport
NXP TechSupport

you can use 'fdisk' command  to setup the partition.

if you are using MFGtool, you can modify the partitioning script "mksdcard.sh.tar" or "mksdcard-android.sh.tar".

1,707 次查看
snailqian
Contributor I

Dear Jimmy :

Thank you very much. get it :smileyhappy:

Additionally, one issue I need your information:

This partition is for storing important data, so we hope it can provide "write-protect" feature. In some other platforms which we developed on,

write-protect partitions should be aligned (it meas the size of this partition should be multiple of a special value).

I want to know ,whether iMXDL has such size limitation for "write-protect"partition ? Thanks.

0 项奖励
回复