This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62A7:重新引导命令不起作用

Guru**** 2434950 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1535036/am62a7-reboot-command-dont-work

器件型号:AM62A7


工具/软件:

SDK 版本:10_00_00_08

最近、我一直在扩展库 tisdk-tiny-image-am62axx-evm.rootfs.tar.xz 、以缩短引导和刷写时间。

当我尝试使用 reboot 命令时、系统无法正常重新启动。 以下是日志:

root@am62axx-evm:~# reboot
root@am62axx-evm:~#          Stopping Session c1 of User root...
[  OK  ] Removed slice Slice /system/modprobe.
[  OK  ] Stopped target Multi-User System.
[  OK  ] Stopped target Login Prompts.
[  OK  ] Stopped target Host and Network Name Lookups.
[  OK  ] Stopped target System Time Set.
[  OK  ] Stopped target Timer Units.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Getty on tty1...
         Stopping Serial Getty on ttyS2...
         Stopping Load/Save OS Random Seed...
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS2.
[  OK  ] Stopped Load/Save OS Random Seed.
[  OK  ] Stopped Session c1 of User root.
[  OK  ] Removed slice Slice /system/getty.
[  OK  ] Removed slice Slice /system/serial-getty.
         Stopping User Login Management...
         Stopping Permit User Sessions...
         Stopping User Manager for UID 0...
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped target Network.
[  OK  ] Stopped target Remote File Systems.
         Stopping Network Configuration...
         Stopping User Runtime Directory /run/user/0...
[  OK  ] Unmounted /run/user/0.
[  OK  ] Stopped Network Configuration.
[  OK  ] Stopped User Login Management.
[  OK  ] Stopped User Runtime Directory /run/user/0.
[  OK  ] Removed slice User Slice of UID 0.
[  OK  ] Stopped target Preparation for Network.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped Generate network units from Kernel command line.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Path Units.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped target Slice Units.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Socket Units.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Closed Network Service Netlink Socket.
         Stopping Network Name Resolution...
         Stopping Network Time Synchronization...
[  OK  ] Stopped Network Name Resolution.
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Closed Process Core Dump Socket.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting Temporary Directory /tmp...
         Unmounting /var/volatile...
[  OK  ] Unmounted Temporary Directory /tmp.
[  OK  ] Unmounted /var/volatile.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Stopped target Swaps.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create Static Device Nodes in /dev gracefully.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Reboot.
[  OK  ] Reached target System Reboot.
[  721.620101] watchdog: watchdog0: watchdog did not stop!
[  721.741443] systemd-shutdown[1]: Failed to disable hardware watchdog, ignoring: Device or resource busy
[  721.750877] watchdog: watchdog0: watchdog did not stop!
[  721.865263] panel-simple panel-lvds: Skipping disable of already disabled panel
[  721.872587] panel-simple panel-lvds: Skipping unprepare of already unprepared panel
[  721.888168] reboot: Restarting system

同样,当我使用命令时 shutdown -h now,日志显示如下,但电路板的工作电流没有降低。 我的文件系统是否会丢失某些内容?

root@am62axx-evm:~# shutdown -h now
root@am62axx-evm:~#          Stopping Session c1 of User root...
[  OK  ] Removed slice Slice /system/modprobe.
[  OK  ] Stopped target Multi-User System.
[  OK  ] Stopped target Login Prompts.
[  OK  ] Stopped target Host and Network Name Lookups.
[  OK  ] Stopped target System Time Set.
[  OK  ] Stopped target Timer Units.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Getty on tty1...
         Stopping Serial Getty on ttyS2...
         Stopping Load/Save OS Random Seed...
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS2.
[  OK  ] Stopped Load/Save OS Random Seed.
[  OK  ] Stopped Session c1 of User root.
[  OK  ] Removed slice Slice /system/getty.
[  OK  ] Removed slice Slice /system/serial-getty.
         Stopping User Login Management...
         Stopping Permit User Sessions...
         Stopping User Manager for UID 0...
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped target Network.
[  OK  ] Stopped target Remote File Systems.
         Stopping Network Configuration...
         Stopping User Runtime Directory /run/user/0...
[  OK  ] Unmounted /run/user/0.
[  OK  ] Stopped Network Configuration.
[  OK  ] Stopped User Login Management.
[  OK  ] Stopped User Runtime Directory /run/user/0.
[  OK  ] Removed slice User Slice of UID 0.
[  OK  ] Stopped target Preparation for Network.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped Generate network units from Kernel command line.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Path Units.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped target Slice Units.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Socket Units.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Closed Network Service Netlink Socket.
         Stopping Network Name Resolution...
         Stopping Network Time Synchronization...
[  OK  ] Stopped Network Name Resolution.
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Closed Process Core Dump Socket.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting Temporary Directory /tmp...
         Unmounting /var/volatile...
[  OK  ] Unmounted Temporary Directory /tmp.
[  OK  ] Unmounted /var/volatile.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Stopped target Swaps.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create Static Device Nodes in /dev gracefully.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Power Off.
[  OK  ] Reached target System Power Off.
[  150.867173] panel-simple panel-lvds: Skipping disable of already disabled panel
[  150.874502] panel-simple panel-lvds: Skipping unprepare of already unprepared panel
[  150.887602] reboot: Power down

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    您对 AM62A 使用哪种引导方法?

    您是否尝试过其他预构建映像以查看是否也会发生此情况?

    谢谢、

    Anshu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Anshu

    我选择从 eMMC 引导。 以前、我们的主板使用 SD 卡引导、重启工作正常。 目前、当我们过渡到 eMMC 引导以进行大规模生产时、我们遇到了这个问题。

    BR、

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    从日志中、看门狗计时器似乎没有停止、这可能会阻止重新启动。

    Linux 应用程序是否使用看门狗计时器? 或者这是系统的 WTD 之一吗?

    谢谢、

    Anshu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    以下是错误来自的 Linux 驱动程序的链接: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/watchdog/watchdog_dev.c?h=ti-linux-6.12.y#n966

    谢谢、

    Anshu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Anshu

    我没有使用看门狗、从 SD 卡引导进行测试后、我运行了 reboot 命令。 打印日志仍显示监视程序错误、但系统可以正常重新启动。日志如下所示

    root@am62axx-evm:/opt/edgeai-gst-apps# reboot
    root@am62axx-evm:/opt/edgeai-gst-apps#          Stopping Session c2 of User root...
    [  OK  ] Removed slice Slice /system/modprobe.
    [  OK  ] Stopped target Graphical Interface.
    [  OK  ] Stopped target Multi-User System.
    [  OK  ] Stopped target Login Prompts.
    [  OK  ] Stopped target Host and Network Name Lookups.
    [  OK  ] Stopped target RPC Port Mapper.
    [  OK  ] Stopped target Timer Units.
    [  OK  ] Stopped Daily rotation of log files.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
    [  OK  ] Stopped target System Time Set.
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Stopping Job spooling tools...
             Stopping Avahi mDNS/DNS-SD Stack...
             Stopping containerd container runtime...
             Stopping Periodic Command Scheduler...
             Stopping Getty on tty1...
             Stopping irqbalance daemon...
             Stopping Reboot and dump vmcore via kexec...
             Stopping Netperf Benchmark Server...
             Stopping Telephony service...
    [  OK  ] Stopped Expand the rootfs partition to full size of the boot device..
             Stopping Serial Getty on ttyS2...
             Stopping Simple Network Management Protocol (SNMP) Daemon....
             Stopping strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf...
             Stopping Hostname Service...
             Stopping Load/Save OS Random Seed...
             Stopping Telnet Server...
    [  OK  ] Stopped Job spooling tools.
    [  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
    [  OK  ] Stopped Periodic Command Scheduler.
    [  OK  ] Stopped irqbalance daemon.
    [  OK  ] Stopped Telephony service.
    [  OK  ] Stopped strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Stopped Netperf Benchmark Server.
    [  OK  ] Stopped Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Stopped containerd container runtime.
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS2.
    [  OK  ] Stopped Hostname Service.
    [  OK  ] Stopped Reboot and dump vmcore via kexec.
    [  OK  ] Stopped Load/Save OS Random Seed.
    [  OK  ] Stopped Telnet Server.
    [  OK  ] Stopped Session c2 of User root.
    [  OK  ] Removed slice Slice /system/getty.
    [  OK  ] Removed slice Slice /system/serial-getty.
             Stopping User Login Management...
             Stopping Permit User Sessions...
             Stopping User Manager for UID 0...
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Network.
    [  OK  ] Stopped target Remote File Systems.
             Stopping Network Configuration...
             Stopping User Runtime Directory /run/user/0...
    [  OK  ] Stopped User Login Management.
    [  OK  ] Unmounted /run/user/0.
    [  OK  ] Stopped Network Configuration.
    [  OK  ] Stopped User Runtime Directory /run/user/0.
    [  OK  ] Removed slice User Slice of UID 0.
    [  OK  ] Stopped target Preparation for Network.
    [  OK  ] Stopped IPv6 Packet Filtering Framework.
    [  OK  ] Stopped IPv4 Packet Filtering Framework.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Path Units.
    [  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
    [  OK  ] Stopped target Slice Units.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Socket Units.
    [  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Closed Docker Socket for the API.
    [  OK  ] Closed dropbear.socket.
    [  OK  ] Closed PC/SC Smart Card Daemon Activation Socket.
    [  OK  ] Closed Network Service Netlink Socket.
    [  OK  ] Closed Weston socket.
             Stopping D-Bus System Message Bus...
    [  OK  ] Stopped Generate network units from Kernel command line.
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Stopped target System Initialization.
             Stopping Network Name Resolution...
             Stopping Network Time Synchronization...
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Closed Process Core Dump Socket.
    [  OK  ] Stopped Load Kernel Modules.
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting /run/media/BOOT-mmcblk1p1...
             Unmounting /run/media/mmcblk0p1...
             Unmounting Temporary Directory /tmp...
             Unmounting /var/volatile...
    [  OK  ] Unmounted /run/media/BOOT-mmcblk1p1.
    [  OK  ] Unmounted /run/media/mmcblk0p1.
    [  OK  ] Unmounted Temporary Directory /tmp.
    [  OK  ] Unmounted /var/volatile.
    [  OK  ] Stopped target Swaps.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped File System Check on /dev/mmcblk0p1.
    [  OK  ] Stopped File System Check on /dev/mmcblk1p1.
    [  OK  ] Removed slice Slice /system/systemd-fsck.
    [  OK  ] Stopped target Preparation for Local File Systems.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Stopped Create Static Device Nodes in /dev gracefully.
    [  OK  ] Reached target System Shutdown.
    [  OK  ] Reached target Late Shutdown Services.
    [  OK  ] Finished System Reboot.
    [  OK  ] Reached target System Reboot.
    [   35.494203] watchdog: watchdog0: watchdog did not stop!
    [   35.682802] systemd-shutdown[1]: Failed to disable hardware watchdog, ignoring: Device or resource busy
    [   35.692567] watchdog: watchdog0: watchdog did not stop!
    [   35.809405] panel-simple panel-lvds: Skipping disable of already disabled panel
    [   35.816744] panel-simple panel-lvds: Skipping unprepare of already unprepared panel
    [   35.842009] reboot: Restarting system
    
    U-Boot SPL 2024.04-dirty (Feb 28 2025 - 22:11:08 -0500)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 13568 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2024.04-dirty (Feb 28 2025 - 22:10:48 -0500)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04-dirty (Feb 28 2025 - 22:10:48 -0500)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  81 devices, 29 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    653 bytes read in 33 ms (18.6 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    53172 bytes read in 45 ms (1.1 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 0 with data@addr=0x82000000 53172 bytes: Success!
    11604048 bytes read in 259 ms (42.7 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 2 with data@addr=0x82000000 11604048 bytes: Success!
    20060672 bytes read in 855 ms (22.4 MiB/s)
    66306 bytes read in 37 ms (1.7 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feec000, end 000000008fffffff ... OK
    Working FDT set to 8feec000
    
    Starting kernel ...
    
    

    我想知道这是否与重新引导后的引导模式选择有关?

    BR、

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    我需要检查如何在软件中选择引导模式。 如果您尚未收到消息、请通过星期二 ping 此主题。

    谢谢、

    Anshu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    您能否查看以下有关 eMMC 引导热复位的 E2E 常见问题解答: e2e.ti.com/.../faq-am62x-how-to-check-and-configure-emmc-flash-rst_n-signal-to-support-warm_reset-from-emmc-booting-on-am62x-sk-e2

    谢谢、

    Anshu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Anshu:

    我的电路板上启用了 ECSD 功能。 但重新引导仍然无法正常工作。

    root@am62axx-evm:~# mmc extcsd read /dev/mmcblk0 | grep -i RST
    H/W reset function [RST_N_FUNCTION]: 0x01
    

    在我的 PCB 板中、RST_N 还具有一个上拉电阻器。

    BR、

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    eMMC RSTN 引脚连接到电路板上的什么位置?

    在 AM62Ax SK EVM 上、它连接到 SoC RESETz 引脚、以便在 Linux(重新)引导时、SoC 复位信号也会复位 eMMC、以便 ROM 可以重新初始化 eMMC。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    检查后、我发现 RESETSTATz 确实未连接到 eMMC RSTN 引脚。 但是、即使我们通过跳线将这两个信号连接在一起、系统仍然无法正常重新启动。

    BR、

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    您是否已探测 eMMC RSTn 引脚、看看 Linux 重新启动时它是否变为低电平?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Bin

    我们正在准备测试、它将在明天完成。 得到结果后、我会更新您。

    BR

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    我们尝试在修改后的电路板(使用飞线)上手动触发 eMMC 的 RSTN 引脚、并观察到它在重新启动期间确实拉至低电平。

    我尝试了从 AM62Ax SK EVM 上的 eMMC 引导。 将 tisdk-tiny-image-am62axx-evm.rootfs.tar.xz 刷写到 eMMC 后、我发现系统仍然无法正确重新启动。

    这是日志

    root@am62axx-evm:~# reboot
    root@am62axx-evm:~#          Stopping Session c1 of User root...
    [  OK  ] Removed slice Slice /system/modprobe.
    [  OK  ] Stopped target Multi-User System.
    [  OK  ] Stopped target Login Prompts.
    [  OK  ] Stopped target Host and Network Name Lookups.
    [  OK  ] Stopped target System Time Set.
    [  OK  ] Stopped target Timer Units.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
    [  OK  ] Stopped target Hardware activated USB gadget.
             Stopping Getty on tty1...
             Stopping Serial Getty on ttyS2...
             Stopping Hostname Service...
             Stopping Load/Save OS Random Seed...
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS2.
    [  OK  ] Stopped Hostname Service.
    [  OK  ] Stopped Load/Save OS Random Seed.
    [  OK  ] Stopped Session c1 of User root.
    [   24.111847] kauditd_printk_skb: 8 callbacks suppressed
    [   24.111860] audit: type=1334 audit(1709054784.539:21): prog-id=19 op=UNLOAD
    [   24.123999] audit: type=1334 audit(1709054784.539:22): prog-id=18 op=UNLOAD
    [   24.130968] audit: type=1334 audit(1709054784.539:23): prog-id=17 op=UNLOAD
    [  OK  ] Removed slice Slice /system/getty.
    [  OK  ] Removed slice Slice /system/serial-getty.
             Stopping User Login Management...
             Stopping Permit User Sessions...
             Stopping User Manager for UID 0...
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped target Network.
    [  OK  ] Stopped target Remote File Systems.
             Stopping Network Configuration...
             Stopping User Runtime Directory /run/user/0...
    [  OK  ] Unmounted /run/user/0.
    [  OK  ] Stopped Network Configuration.
    [  OK  ] Stopped User Login Management.
    [  OK  ] Stopped User Runtime Directory /run/user/0.
    [   24.520140] audit: type=1334 audit(1709054784.947:24): prog-id=8 op=UNLOAD
    [   24.527078] audit: type=1334 audit(1709054784.947:25): prog-id=14 op=UNLOAD
    [  OK  ] Removed slice User Slice of UID 0.
    [  OK  ] Stopped target Preparation for Network.
             Stopping D-Bus System Message Bus...
    [  OK  ] Stopped Generate network units from Kernel command line.
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Path Units.
    [  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
    [  OK  ] Stopped target Slice Units.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Socket Units.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Stopped target System Initialization.
    [  OK  ] Closed Network Service Netlink Socket.
             Stopping Network Name Resolution...
             Stopping Network Time Synchronization...
             Stopping Record System Boot/Shutdown in UTMP...
    [  OK  ] Stopped Network Name Resolution.
    [   24.865463] audit: type=1334 audit(1709054785.291:26): prog-id=9 op=UNLOAD
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Closed Process Core Dump Socket.
    [  OK  ] Stopped Record System Boot/Shutdown in UTMP.
    [  OK  ] Stopped Network Time Synchronization.
    [   25.771755] audit: type=1334 audit(1709054786.199:27): prog-id=10 op=UNLOAD
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting Temporary Directory /tmp...
             Unmounting /var/volatile...
    [  OK  ] Unmounted Temporary Directory /tmp.
    [  OK  ] Unmounted /var/volatile.
    [  OK  ] Stopped target Preparation for Local File Systems.
    [  OK  ] Stopped target Swaps.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Stopped Create Static Device Nodes in /dev gracefully.
    [  OK  ] Reached target System Shutdown.
    [  OK  ] Reached target Late Shutdown Services.
    [  OK  ] Finished System Reboot.
    [  OK  ] Reached target System Reboot.
    [   26.070849] audit: type=1334 audit(1709054786.495:28): prog-id=16 op=UNLOAD
    [   26.077946] audit: type=1334 audit(1709054786.495:29): prog-id=15 op=UNLOAD
    [   26.085010] audit: type=1334 audit(1709054786.503:30): prog-id=13 op=UNLOAD
    [   26.138500] systemd-shutdown[1]: Syncing filesystems and block devices.
    [   26.148744] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [   26.172515] systemd-journald[119]: Received SIGTERM from PID 1 (systemd-shutdow).
    [   26.183269] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [   26.201469] systemd-shutdown[1]: Unmounting file systems.
    [   26.209264] (sd-remount)[274]: Remounting '/' read-only with options ''.
    [   26.243229] EXT4-fs (mmcblk0p1): re-mounted f8dae58d-d551-4ca1-b72b-b9052f15d6fa ro. Quota mode: none.
    [   26.254580] systemd-shutdown[1]: All filesystems unmounted.
    [   26.260241] systemd-shutdown[1]: Deactivating swaps.
    [   26.265441] systemd-shutdown[1]: All swaps deactivated.
    [   26.270678] systemd-shutdown[1]: Detaching loop devices.
    [   26.280615] systemd-shutdown[1]: All loop devices detached.
    [   26.286210] systemd-shutdown[1]: Stopping MD devices.
    [   26.291562] systemd-shutdown[1]: All MD devices stopped.
    [   26.296891] systemd-shutdown[1]: Detaching DM devices.
    [   26.302238] systemd-shutdown[1]: All DM devices detached.
    [   26.307644] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
    [   26.320363] systemd-shutdown[1]: Syncing filesystems and block devices.
    [   26.327239] systemd-shutdown[1]: Rebooting.
    [   26.361496] reboot: Restarting system
    
    

    BR、

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    您是否会在重新启动 eMMC 上的超小型 rootfs 时看到 eMMC RSTn 引脚是否变为低电平?

    您是否计划在项目中使用超小型 rootfs? (我想几年前,我在 eMMC 上使用了超小型 rootfs、它没有重新启动、但来自 SDK 的其他 rootfs 没有这个问题。)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Bin

    我们还可以检测 EVM 上的 RSTN 引脚被拉低。

    我们当前的工程涉及使用 gstreamer 等库扩展超小型 rootfs、以运行我们的应用。 重新启动故障可能是由于超小型 rootfs 中缺少组件而导致的吗?

    BR

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Jason:

    让我在使用微型 rootfs 的 EVM 上重现问题并对其进行调试、以了解它为什么不会重新启动。

    我的队列中还有一些其他工作、可能需要一些时间来调查这个问题、可能会在下周晚些时候开始。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    非常感谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    是否有关于此问题的任何更新?  如果您重现了该问题?

    BR

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Jason 大家好、很抱歉、我还没有机会进行调试。 如果我有任何进展、我会继续向您发布内容。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Jason:

    我可以在 AM62A SKEVM 板上发现相同的行为。 我想您使用命令#shutdown -h 现在 AM62A EVM 板挂起在下图是正常行为。

    #shutdown -h 现在表示关闭 AM62A EVM 板电源。 但 EVM 板不会关闭第一个 12V-5V 至 3.3V 电源。 您可以在下面找到 UART 日志。

    #reboot 表示软件热复位 AM62A、因此 EVM 板将再次重新启动。

    下面是我的验证结果、您可以仔细检查一下。

    此致!

    Han Tao

    我使用 AM62A Linux RDK10.1 进行验证。 (https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-D37Ls3JjkT/10.01.00.05/ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05-Linux-x86-Install.bin)

    1. 在默认文件系统和微型文件系统中使用 (#reboot ) 命令。  

      通过 SD 卡引导 EVM 板经过 15 个圆圈的测试。 AM62A 现在可以成功重新启动。

    1.  在默认文件系统和微型文件系统中使用 (#shutdown -h now ) 命令。

      EVM 将在 shut.png 模式下停止。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Hi  Han Tao

    您是否可以使用 tisdk-tiny-image-am62axx-evm.rootfs.tar.xz 执行正常的重新启动? 我们在 EVM 上使用 SPL、使用此文件系统时、无法正确重新启动。 您能与我们分享您的刷写程序吗?

    BR

    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Jason:

    如果您需要遵循 Bin&Anshu 建议烧录 eMMC 使能热复位功能。

    我使用了 EVM 板、也可以试一下。 不刻录此位时、默认文件系统和微型文件系统无法重新启动。 当我刻录该位时、使用#reboot 命令 AM62A EVM 板可以成功从 eMMC 重新启动。 在微型文件系统上测试了 5 个圆圈。 请勿关闭外部 5V 电源、5 个圆圈全部可重新进入 Linux 系统。 请在您这边尝试。

    此致!

    Han Tao

    这是一次在 Uboot 上刻录 eMMC 复位功能位命令。  

    => MMC rst-Function 0 1. 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Hi Han Tao:

    非常感谢。 我会尝试一下、希望能为您提供有关星期五的反馈意见。


    BR


    Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Hi Han Tao:

     在 uboot 中输入 mmc rst-function 0 1 后、我的 EVM 通常可以重新启动。

    我们 在重启期间比较 RESETSTATz 的信号、最终确定电路板的 RSTN 引脚连接存在问题。 正确连接它并输入命令“mmc rst-function 0 1“后、reboot 命令现在可以正常运行。

    感谢大家在本主题中提供的支持和帮助。

    BR

    Jason