imx8: read only file system error while pushing file to "/vendor/etc" directory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8: read only file system error while pushing file to "/vendor/etc" directory

3,737 Views
SGPT31
Contributor I

Hi,

Thanks!

I could flash android 12.1.0 in imx8qxp-mek(emmc) target. I am pushing GNSS driver gps.default.so & gps_cfg.inf into "/vendor/lib64/hw" & "/vendor/etc" directory respectively. As by default file system is read only, so i remount the file system by following below link.

https://community.nxp.com/t5/i-MX-Processors/How-to-remount-system-8-1-imx8m/m-p/854381

I could push gps.default.so file but showing "/vendor/etc" as read only while pushing gps_cfg.inf file. Do I need to follow any other steps to remount "/vendor/etc" directory.

0 Kudos
Reply
4 Replies

3,586 Views
napster_k
Contributor II

Restart abd as root : "adb root"

Rmount : "abd remount"

Restart is required.

Remount again : "adb remount"

Now you can push pull files form the device 

0 Kudos
Reply

3,710 Views
SGPT31
Contributor I

Hi,

Thanks!

Followed the steps as per section 6.2.3 but still same issue. Could push file in "/vendor/lib64/hw" but couldn't push it in "/vendor/etc". Attaching logs for the same:

 

0 Kudos
Reply

3,716 Views
SGPT31
Contributor I

Hi,

Thanks for your response. we have followed the same section 6.2.3 DM-verity configuration and we could push gps.default.so successfully under  "/vendor/lib64/hw". This means we have followed the steps correctly. However, "/vendor/etc" is still read only where we have to push other file "gps_cfg.inf". 

0 Kudos
Reply

3,724 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please refer the 6.2.3 DM-verity configuration to unlock device in Android user guide.

0 Kudos
Reply