导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    T113 Tina reboot 无法重启

    MR Series
    6
    16
    6448
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • J
      令狐冲冲冲 LV 3 最后由 编辑

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

      1 条回复 最后回复 回复 引用 分享 0
      • whycan
        whycan晕哥 LV 9 最后由 编辑

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

        J 1 条回复 最后回复 回复 引用 分享 0
        • J
          令狐冲冲冲 LV 3 @whycan 最后由 编辑

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

          whycan 1 条回复 最后回复 回复 引用 分享 0
          • whycan
            whycan晕哥 LV 9 @jihuacheng 最后由 编辑

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

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

            按复位键能正常启动吗?

            J 1 条回复 最后回复 回复 引用 分享 0
            • J
              令狐冲冲冲 LV 3 @whycan 最后由 编辑

              @whycan Reset引脚拉低是可以的

              whycan 1 条回复 最后回复 回复 引用 分享 0
              • whycan
                whycan晕哥 LV 9 @jihuacheng 最后由 编辑

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

                J 1 条回复 最后回复 回复 引用 分享 0
                • J
                  令狐冲冲冲 LV 3 @whycan 最后由 编辑

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

                  whycan 1 条回复 最后回复 回复 引用 分享 0
                  • whycan
                    whycan晕哥 LV 9 @jihuacheng 最后由 编辑

                    @jihuacheng 是USB接口吗?

                    J 2 条回复 最后回复 回复 引用 分享 0
                    • J
                      令狐冲冲冲 LV 3 @whycan 最后由 编辑

                      @whycan 对,是USB的 RTL8188

                      1 条回复 最后回复 回复 引用 分享 0
                      • J
                        令狐冲冲冲 LV 3 @whycan 最后由 编辑

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

                        1 条回复 最后回复 回复 引用 分享 0
                        • Y
                          YterAA LV 7 最后由 编辑

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

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

                          J 1 条回复 最后回复 回复 引用 分享 0
                          • J
                            令狐冲冲冲 LV 3 @YterAA 最后由 编辑

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

                            rmmod

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

                            1 条回复 最后回复 回复 引用 分享 0
                            • Q
                              qqqlb LV 6 最后由 编辑

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

                              J 1 条回复 最后回复 回复 引用 分享 0
                              • J
                                令狐冲冲冲 LV 3 @qinlinbin 最后由 编辑

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

                                1 条回复 最后回复 回复 引用 分享 1
                                • C
                                  chengwei_peng LV 6 最后由 编辑

                                  应该是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 条回复 最后回复 回复 引用 分享 0
                                  • radxiaohe
                                    radxiaohe LV 4 最后由 编辑

                                    感谢大佬分享,帮忙解决了这个问题,我的系统是存储在eMMC里的,反正现在系统可以reboot成功了。
                                    在mangopi开发板和自己做的开发板上均有这个错误,搞不清除是怎么回事?

                                    # reboot
                                    # Stopping input-event-daemon: done
                                    Stopping sshd: killall: sshd: no process killed
                                    OK
                                    Initializing postgresql data base...
                                    su: unknown user postgres
                                    done
                                    Stopping postgresql: su: unknown user postgres
                                    OK
                                    Stopping mosquitto: start-stop-daemon: warning: killing process 1110: No such process
                                    FAIL
                                    Stopping ntpd: OK
                                    Stopping Xorg: start-stop-daemon: warning: killing process 1100: No such process
                                    FAIL
                                    Stopping network: OK
                                    Stopping system message bus: done
                                    Saving random seed... done.
                                    Stopping klogd: OK
                                    Stopping syslogd: OK
                                    Stopping rsyslogd: OK
                                    umount: can't remount adb read-only
                                    umount: devtmpfs busy - remounted read-only
                                    umount: can't unmount /dev/shm: No such file or directory
                                    [  418.626260] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
                                    The system is going down NOW!
                                    Sent SIGTERM to all processes
                                    [  418.645468] android_work: did not send uevent (0 0 00000000)
                                    logout
                                    Sent SIGKILL to all processes
                                    Requesting system reboot
                                    [  420.643189] [DEBUG-20240721] --func--: __do_sys_reboot, --cmd--: 19088743
                                    [  420.650820] reboot_callback(): empty arg
                                    [  420.655300] [ohci1-controller]: ohci shutdown start
                                    [  420.660817] [ohci1-controller]: ohci shutdown end
                                    [  420.666134] [ehci1-controller]: ehci shutdown start
                                    [  420.671627] [ehci1-controller]: ehci shutdown end
                                    [  420.676938] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown
                                    [  420.685548] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown
                                    [  420.702275] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
                                    [  421.472063] ------------[ cut here ]------------
                                    [  421.477263] WARNING: CPU: 1 PID: 3145 at /works/work-local/t113/longan-infolink/kernel/linux-5.4/drivers/clk/clk.c:960 clk_core_disable+0x64/0xac
                                    [  421.491890] mipi-dsi already disabled
                                    [  421.495994] Modules linked in: sunxi_ce
                                    [  421.496009] CPU: 1 PID: 3145 Comm: init Not tainted 5.4.61+ #39
                                    [  421.506931] Hardware name: Generic DT based system
                                    [  421.512317] [<c010e378>] (unwind_backtrace) from [<c010a934>] (show_stack+0x10/0x14)
                                    [  421.521005] [<c010a934>] (show_stack) from [<c07381f0>] (dump_stack+0x7c/0x98)
                                    [  421.529108] [<c07381f0>] (dump_stack) from [<c01196b8>] (__warn+0xac/0xdc)
                                    [  421.536819] [<c01196b8>] (__warn) from [<c0119758>] (warn_slowpath_fmt+0x70/0x9c)
                                    [  421.545217] [<c0119758>] (warn_slowpath_fmt) from [<c03c02ac>] (clk_core_disable+0x64/0xac)
                                    [  421.545229] [<c03c02ac>] (clk_core_disable) from [<c03c03c8>] (clk_core_disable_lock+0x18/0x24)
                                    [  421.564337] [<c03c03c8>] (clk_core_disable_lock) from [<c0395000>] (clk_disable_unprepare+0xc/0x18)
                                    [  421.574485] [<c0395000>] (clk_disable_unprepare) from [<c0398d68>] (disp_lcd_disable+0x1cc/0x2cc)
                                    [  421.584443] [<c0398d68>] (disp_lcd_disable) from [<c03882bc>] (disp_shutdown+0x64/0x84)
                                    [  421.593427] [<c03882bc>] (disp_shutdown) from [<c0410de8>] (device_shutdown+0x170/0x1c4)
                                    [  421.593440] [<c0410de8>] (device_shutdown) from [<c0136644>] (kernel_restart+0xc/0x50)
                                    [  421.611380] [<c0136644>] (kernel_restart) from [<c013688c>] (__do_sys_reboot+0x100/0x1f0)
                                    [  421.620559] [<c013688c>] (__do_sys_reboot) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
                                    [  421.629628] Exception stack(0xc5bdbfa8 to 0xc5bdbff0)
                                    [  421.635295] bfa0:                   00000000 000cb880 fee1dead 28121969 01234567 00000010
                                    [  421.644469] bfc0: 00000000 000cb880 00000000 00000058 00000000 00000000 b6f76000 00000000
                                    [  421.644475] bfe0: 000cb168 beeb1b6c 0008797c b6ea98b0
                                    [  421.659300] ---[ end trace 45b44c62c2806f00 ]---
                                    [  421.682331] reboot: Restarting system
                                    [  421.686454] [DEBUG-20240721] --func--: machine_restart, --line1--: 143
                                    [29]HELLO! BOOT0 is starting!
                                    [32]BOOT0 commit : 5224261
                                    [34]set pll start
                                    [40]periph0 has been enabled
                                    [43]set pll end
                                    [45][pmu]: bus read error
                                    [47]board init ok
                                    [49]enable_jtag
                                    [51]ZQ value = 0x31
                                    [52]get_pmu_exist() = -1
                                    [55]DRAM BOOT DRIVE INFO: V0.32
                                    [58]DRAM CLK = 792 MHz
                                    [60]DRAM Type = 3 (2:DDR2,3:DDR3)
                                    [63]DRAMC read ODT  off.
                                    [66]DRAM ODT value: 0x42.
                                    [68]ddr_efuse_type: 0xa
                                    [71]mark_id: 0x60
                                    [73]DRAM SIZE =128 M
                                    [75]PLL_DDR_CTRL_REG:0xf8004100
                                    [78]DRAM_CLK_REG:0xc0000000
                                    [81][TIMING DEBUG] MR2= 0x18
                                    [89]DRAM simple test OK.
                                    [91]rtc standby flag is 0x0, super standby flag is 0x0
                                    [96]dram size =128
                                    [99]card no is 2
                                    [100]sdcard 2 line count 4
                                    [103][mmc]: mmc driver ver 2021-05-21 14:47
                                    [112][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
                                    [118][mmc]: ***Try MMC card 2***
                                    [142][mmc]: RMCA OK!
                                    [144][mmc]: mmc 2 bias 0
                                    [147][mmc]: MMC 5.1
                                    [149][mmc]: HSSDR52/SDR25 4 bit
                                    [152][mmc]: 50000000 Hz
                                    [154][mmc]: 7456 MB
                                    [156][mmc]: ***SD/MMC 2 init OK!!!***
                                    [247]Loading boot-pkg Succeed(index=0).
                                    [250]Entry_name        = u-boot
                                    [258]Entry_name        = optee
                                    [262]Entry_name        = dtb
                                    [264]tunning data addr:0x430003e8
                                    [268]Jump to second Boot.
                                    M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm
                                    
                                    
                                    U-Boot 2018.05-g5b4bafa (Oct 18 2021 - 01:53:36 +0000) Allwinner Technology
                                    
                                    [00.324]CPU:   Allwinner Family
                                    [00.327]Model: sun8iw20
                                    [00.329]DRAM:  128 MiB
                                    [00.332]Relocation Offset is: 04ec5000
                                    [00.359]secure enable bit: 0
                                    [00.361]smc_tee_inform_fdt failed with: -65526[00.365]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
                                    [00.372]gic: sec monitor mode
                                    [00.374]flash init start
                                    [00.376]workmode = 0,storage type = 2
                                    
                                    
                                    1 条回复 最后回复 回复 引用 分享 1
                                    • 1 / 1
                                    • First post
                                      Last post

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

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