AnsweredAssumed Answered

i.MX8QM Yocto adb issue

Question asked by yifei ren on Jun 27, 2019
Latest reply on Dec 23, 2019 by hong li

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?