can I make a image sd card read only?

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

can I make a image sd card read only?

1,617件の閲覧回数
gonewithwind-peter
Senior Contributor I

Hi all,

my imx8 boards ,for example , maaxboard and iwave board start up from sd card.

can I make my sd card read only?  if we want to write it, we need to input password.

I know in rootfs /etc /inittab, we can mount it as read only.

but we can use  sd card reader to open the image in it.

 

how I can do?

 

Thank you.

0 件の賞賛
返信
4 返答(返信)

1,599件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

 

One way to make it Read-only would be through the physical switch. The other one would require encrypting the data which is what you mentioned. It is necessary to authenticate with the right key to be able to see the data.

 

BR,

Ivan.

0 件の賞賛
返信

1,590件の閲覧回数
gonewithwind-peter
Senior Contributor I

@IvanRuiz 

thank you very much.

 

do you have some more detail or links about your suggestions: "The other one would require encrypting the data which is what you mentioned"

do I need to encrypt the whole image (eg: only rootfs not including kernel ,uboot ),

but after encrypting, how to start up ? (do I need to add some code in kenrel? it seem I need to input password every time to start up)

thank you

0 件の賞賛
返信

1,568件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

 

I believe it would be helpful to refer to the following thread where this topic has been addressed: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Encrypted-boot-loader-on-SabreSD-i-MX6q-...

 

Hope it helps!

 

BR

Ivan.

0 件の賞賛
返信

1,559件の閲覧回数
gonewithwind-peter
Senior Contributor I

@IvanRuiz 

thank you

0 件の賞賛
返信