i.MX8QM Yocto adb issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8QM Yocto adb issue

ソリューションへジャンプ
1,658件の閲覧回数
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,304件の閲覧回数
yifei_ren
Contributor III

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

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,304件の閲覧回数
li_hong
Contributor III

Hi,yifei ren:

How to porting adb function to Yocto?

0 件の賞賛
返信
1,305件の閲覧回数
yifei_ren
Contributor III

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

0 件の賞賛
返信
1,304件の閲覧回数
yifei_ren
Contributor III
  • Does anyone else have this problem?

0 件の賞賛
返信