i.MX8QM Yocto adb issue

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

i.MX8QM Yocto adb issue

Jump to solution
1,848 Views
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?

 

Tags (2)
1 Solution
1,494 Views
yifei_ren
Contributor III

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

View solution in original post

0 Kudos
Reply
3 Replies
1,494 Views
li_hong
Contributor III

Hi,yifei ren:

How to porting adb function to Yocto?

0 Kudos
Reply
1,495 Views
yifei_ren
Contributor III

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

0 Kudos
Reply
1,494 Views
yifei_ren
Contributor III
  • Does anyone else have this problem?

0 Kudos
Reply