Firefly开源社区

标题: ROC-RK3399-PC PRO 以太网设置静态ip,重启后无法获取IP的问题 [打印本页]

作者: zzx    时间: 2022-12-29 18:04
标题: ROC-RK3399-PC PRO 以太网设置静态ip,重启后无法获取IP的问题
ROC-RK3399-PC PRO 以太网设置静态ip,重启后无法获取IP的问题,使用ifconfig eth0 down + ifconfig eth0 up 来开关一次设备后,就能正常获取到ip
tchip_askquestions

bugreport.rar

10.25 KB, 下载次数: 3, 下载积分: 灯泡 -1 , 经验 -1


作者: Oliver_Li    时间: 2022-12-30 09:43
你好,目前我试了一下,基于最新的 SDK,使用 Settings -> NetWork & internet ->  Ethernet  去设置 static ip 是可以正常设置的,无论软重启还是硬重启。

SDK  bundle 是否更新到了最新?
作者: zzx    时间: 2022-12-30 10:21
Oliver_Li 发表于 2022-12-30 09:43
你好,目前我试了一下,基于最新的 SDK,使用 Settings -> NetWork & internet ->  Ethernet  去设置 stati ...

SDK  bundle  是百度网盘下载的最新的,没有从GIT上获取,GIT 获取失败
作者: zzx    时间: 2022-12-30 10:25
Oliver_Li 发表于 2022-12-30 09:43
你好,目前我试了一下,基于最新的 SDK,使用 Settings -> NetWork & internet ->  Ethernet  去设置 stati ...

我从网盘下载的最新的SDK bundle,编译以后还是无法设置静态IP,断电后重启就获取不到 ip
作者: Oliver_Li    时间: 2022-12-30 10:30
zzx 发表于 2022-12-30 10:25
我从网盘下载的最新的SDK bundle,编译以后还是无法设置静态IP,断电后重启就获取不到 ip

麻烦发一下 bundle 的 git log 我看看
作者: zzx    时间: 2022-12-30 10:37
Oliver_Li 发表于 2022-12-30 10:30
麻烦发一下 bundle 的 git log 我看看

怎么给你发LOG文件,我在帖子开头已经发过这个LOG文件了
作者: Oliver_Li    时间: 2022-12-30 10:45
就是 cd  .bundle 目录,然后 git log 看看 bundle 的提交历史,我想看看是否是最新的 sdk ,不是你机器上的 Log。
作者: zzx    时间: 2022-12-30 10:54
Oliver_Li 发表于 2022-12-30 10:45
就是 cd  .bundle 目录,然后 git log 看看 bundle 的提交历史,我想看看是否是最新的 sdk ,不是你机器上的 ...

我按照你说的操作的
zzx@ubuntu:~/proj/firefly-rk3399-Industry$ cd .bundle/
zzx@ubuntu:~/proj/firefly-rk3399-Industry/.bundle$ ls
0.bundle   13.bundle  17.bundle  2.bundle  6.bundle  README.md
10.bundle  14.bundle  18.bundle  3.bundle  7.bundle  README_zh.md
11.bundle  15.bundle  19.bundle  4.bundle  8.bundle  update
12.bundle  16.bundle  1.bundle   5.bundle  9.bundle
zzx@ubuntu:~/proj/firefly-rk3399-Industry/.bundle$ git log
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi :...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo
:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800
:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

    update: 16.bundle
:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

    update: 16.bundle

:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

    update: 16.bundle

    5c0b18122c 1.Add RK628D support 2.Update HDMIIN apk 3.Update RKdoc file
:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

    update: 16.bundle

    5c0b18122c 1.Add RK628D support 2.Update HDMIIN apk 3.Update RKdoc file

:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

    update: 16.bundle

    5c0b18122c 1.Add RK628D support 2.Update HDMIIN apk 3.Update RKdoc file

commit 61a2fa962dac4cfd12144c9df6e9f54b7df95c8e
:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

    update: 16.bundle

    5c0b18122c 1.Add RK628D support 2.Update HDMIIN apk 3.Update RKdoc file

commit 61a2fa962dac4cfd12144c9df6e9f54b7df95c8e
Author: cjp <service@t-firefly.com>
:...skipping...
commit 69a8ffe13f8cbeb4f52af989a70ace58ea6d77c9 (HEAD -> master, origin/master)
Author: cjp <service@t-firefly.com>
Date:   Wed Oct 26 17:34:01 2022 +0800

    update: 19.bundle

    8316883266 1.Optimize mipi dsi1 2.Update dongle lib 3.Fix sdio clock

commit 5181b09385aecd4ca9ed8343b952473316b4fc3e
Author: cjp <service@t-firefly.com>
Date:   Wed Aug 31 16:47:57 2022 +0800

    update: 18.bundle

    455e8b0766 1.Add AIO-3399C(AI) JDM101014_BC45_A1 10.1 mipi srceen support 2.Fix rotation issue 3.Fix apk compile issue

commit b4589a82e7df191bb470ea3e54ead70634fad341
Author: cjp <service@t-firefly.com>
Date:   Fri Jul 22 15:56:52 2022 +0800

    update: 17.bundle

    81d7a46c0f 1.Add touch ft8201 support 2.Fix touch issue 3.Update Fireflyapi demo

commit 0ae699544d8689162e8072a8b1173971759afd47
Author: cjp <service@t-firefly.com>
Date:   Fri Jan 21 09:56:52 2022 +0800

    update: 16.bundle

    5c0b18122c 1.Add RK628D support 2.Update HDMIIN apk 3.Update RKdoc file

commit 61a2fa962dac4cfd12144c9df6e9f54b7df95c8e
Author: cjp <service@t-firefly.com>
Date:   Wed Dec 8 14:58:49 2021 +0800
zzx@ubuntu:~/proj/firefly-rk3399-Industry/.bundle$


logcat.rar

1.25 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1


作者: Oliver_Li    时间: 2022-12-30 11:00
你是在哪个地方设置静态 IP 的?在 Settings 里面么?
作者: zzx    时间: 2022-12-30 11:27
Oliver_Li 发表于 2022-12-30 11:00
你是在哪个地方设置静态 IP 的?在 Settings 里面么?

是的,在安卓里面设置静态IP,然后连接没有反应,断电重启以后就是,0000  。然后在adb 里面  ifconfig 获取不到IP

静态设置图片.rar

60.93 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1


作者: Oliver_Li    时间: 2022-12-30 14:40
我这边先复现问题,如果问题存在,修复该问题后会提供补丁
作者: Oliver_Li    时间: 2022-12-30 15:15
我这边基于 Bundle 最新的 SDK 测试,无论是软硬重启,设置 static ip 是否接入网线,之后都是可以正确获取到自设置的 IP 的。

1. 首先确定 SDK 的最新提交是合并 bundle 之后的。
2. 在确定 SDK 已经合并最新的 bundle 后,把复现问题的步骤详细一步步列出来。把出现问题的 logcat  日志上传一份。
作者: zzx    时间: 2023-1-3 14:25
我在网盘上下载的最新的bundle,编译就是不行,不是每次都获取不到,有时上电可以获取到,有时候获取不到
作者: Oliver_Li    时间: 2023-1-3 15:43
把你上电获取不到 ip 的 logcat 以及 dmesg  的 日志发一下

adb shell logcat  > logcat.txt
adb shell dmesg  > dmesg.txt




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1