Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113 Tina reboot 无法重启

    D1系列-RISC-V
    5
    15
    524
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      令狐冲冲冲 LV 3 last edited by

      T113 在Tina下 加载8188eu驱动后,reboot在reboot: Restarting system
      卡住,无法重启
      21310275-e0a8-4802-a53c-95e765ae640a-image.png

      1 Reply Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 last edited by

        楼主你用什么flash ? 型号是什么?

        J 1 Reply Last reply Reply Quote Share 0
        • J
          令狐冲冲冲 LV 3 @whycan last edited by

          @whycan 晕哥好,
          用的MX35LF1GE4AB-Z4I,但是我系统是跑在TF卡里的

          W 1 Reply Last reply Reply Quote Share 0
          • W
            whycan晕哥 LV 9 @jihuacheng last edited by

            @jihuacheng 在 T113 Tina reboot 无法重启 中说:

            用的MX35LF1GE4AB-Z4I,但是我系统是跑在TF卡里的

            按复位键能正常启动吗?

            J 1 Reply Last reply Reply Quote Share 0
            • J
              令狐冲冲冲 LV 3 @whycan last edited by

              @whycan Reset引脚拉低是可以的

              W 1 Reply Last reply Reply Quote Share 0
              • W
                whycan晕哥 LV 9 @jihuacheng last edited by

                @jihuacheng
                如果reset按键可以重新, reboot命令不能重启, 感觉是是看门狗驱动问题.

                J 1 Reply Last reply Reply Quote Share 0
                • J
                  令狐冲冲冲 LV 3 @whycan last edited by

                  @whycan 如果没有加载wifi驱动,reboot是可以的

                  W 1 Reply Last reply Reply Quote Share 0
                  • W
                    whycan晕哥 LV 9 @jihuacheng last edited by

                    @jihuacheng 是USB接口吗?

                    J 2 Replies Last reply Reply Quote Share 0
                    • J
                      令狐冲冲冲 LV 3 @whycan last edited by

                      @whycan 对,是USB的 RTL8188

                      1 Reply Last reply Reply Quote Share 0
                      • J
                        令狐冲冲冲 LV 3 @whycan last edited by

                        @whycan 主要是不知道从哪找问题根源😖 ,除了加载Wifi驱动,跑一些应用程序也会导致这种现象

                        1 Reply Last reply Reply Quote Share 0
                        • Y
                          YterAA LV 7 last edited by

                          reboot的时候需要rmmod,检查一下是不是有模块的rmmod没有配置,或者rmmod有问题

                          a0a65fa5-451b-4855-b50a-4af92b108f7e-image.png

                          J 1 Reply Last reply Reply Quote Share 0
                          • J
                            令狐冲冲冲 LV 3 @YterAA last edited by

                            @yteraa 在 T113 Tina reboot 无法重启 中说:

                            rmmod

                            想过这个问题,手动rmmod掉,现象依旧
                            ceb64942-f523-4224-a0ca-1a5166b3f46f-image.png

                            1 Reply Last reply Reply Quote Share 0
                            • Q
                              qqqlb LV 5 last edited by

                              longon的sdk,也遇到过经常reboot卡死,主要是在充电发热的时候,后面把psci.c里面psci_sys_reset函数的else里面的屏蔽掉,然后就会执行看门狗重启,就不会卡死。也不知道什么问题。

                              J 1 Reply Last reply Reply Quote Share 0
                              • J
                                令狐冲冲冲 LV 3 @qinlinbin last edited by

                                @qinlinbin
                                一针见血!
                                65b7525e-db2b-496d-8dc9-85880ce7bed2-image.png
                                注释掉、reboot就OK了!

                                1 Reply Last reply Reply Quote Share 0
                                • C
                                  chengwei_peng LV 6 last edited by

                                  应该是wifi驱动中存在死锁,可以试试下面的补丁:
                                  相应的修改模组驱动即可。

                                  diff --git a/drivers/net/wireless/rtl8821cs/os_dep/osdep_service.c b/drivers/net/wireless/rtl8821cs/os_dep/osdep_service.c
                                  index 39b5345b9885..bb037d64add2 100755
                                  --- a/drivers/net/wireless/rtl8821cs/os_dep/osdep_service.c
                                  +++ b/drivers/net/wireless/rtl8821cs/os_dep/osdep_service.c
                                  @@ -1279,12 +1279,15 @@ u32 _rtw_down_sema(_sema *sema)
                                   {
                                  
                                   #ifdef PLATFORM_LINUX
                                  -
                                  +#if 0
                                          if (down_interruptible(sema))
                                                  return _FAIL;
                                          else
                                                  return _SUCCESS;
                                  -
                                  +#else
                                  +       down(sema);
                                  +       return _SUCCESS;
                                  +#endif
                                   #endif
                                   #ifdef PLATFORM_FREEBSD
                                          sema_wait(sema);
                                  
                                  1 Reply Last reply Reply Quote Share 0
                                  • 1 / 1
                                  • First post
                                    Last post

                                  Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                                  行为准则 | 用户协议 | 隐私权政策