can I make a image sd card read only?

cancel
Showing results for 
Search instead for 
Did you mean: 

can I make a image sd card read only?

116 Views
Contributor IV

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 Kudos
4 Replies

98 Views
NXP TechSupport
NXP TechSupport

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 Kudos

89 Views
Contributor IV

@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 Kudos

67 Views
NXP TechSupport
NXP TechSupport

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 Kudos

58 Views
Contributor IV

@IvanRuiz 

thank you

0 Kudos