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

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

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

3,741 次查看
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 项奖励
回复
4 回复数

3,590 次查看
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 项奖励
回复

3,714 次查看
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 项奖励
回复

3,720 次查看
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 项奖励
回复

3,728 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复