i.MX8QM Yocto adb issue

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

i.MX8QM Yocto adb issue

跳至解决方案
1,656 次查看
yifei_ren
Contributor III

Hello ,NXP developer:

I am working on Imx8qxp and yocto project.

I added adb on this linux project, but I found something wrong with adb permission.

When I use this command "# ifconfig can0 up".

If using serial port login,this command works .

But when I using adb login ,also I already get root permissions.

this command can not work and shows permission deny like below.

         root@imx8qxpmek:~# ifconfig can0 up
         ifconfig: SIOCSIFADDR: Operation not permitted

I alreay tried add shell to root group. 

In adb bash,using who like below

         root@imx8qxpmek:~# who
         root ttyLP0 Jun 13 08:10

Also tried chmod +s /sbin/ifconfig . but still not work.

Do you have any idea about this issue?

 

标记 (2)
1 解答
1,302 次查看
yifei_ren
Contributor III

adb drop privileges it self, in adb.c files just skip it

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,302 次查看
li_hong
Contributor III

Hi,yifei ren:

How to porting adb function to Yocto?

0 项奖励
回复
1,303 次查看
yifei_ren
Contributor III

adb drop privileges it self, in adb.c files just skip it

0 项奖励
回复
1,302 次查看
yifei_ren
Contributor III
  • Does anyone else have this problem?

0 项奖励
回复