How to add a new partition ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to add a new partition ?

1,255件の閲覧回数
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,017件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Hello Snail Qian,

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

0 件の賞賛
返信

1,017件の閲覧回数
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,017件の閲覧回数
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,017件の閲覧回数
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 件の賞賛
返信