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?
解決済! 解決策の投稿を見る。
Hi,yifei ren:
How to porting adb function to Yocto?
adb drop privileges it self, in adb.c files just skip it
Does anyone else have this problem?