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.

AM625: reboot is not working while booting linux through emmc.

Part Number: AM625
Other Parts Discussed in Thread: SYSCONFIG

Hello,

I booted the rootfs.ext4 through DFU into the EMMC. After logging in, when I type the 'reboot' command in the UART terminal, the reboot doesn't work, and the UART log shows the following.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Stopping topping Session c2 of User root...
Stopping Session c5 of User root...
[ OK ] Removed slice Slice /system/dropbear.
[ OK ] Removed slice Slice /system/modprobe.
[ OK ] Removed slice Slice /system/systemd-coredump.
[ OK ] Stopped target Graphical Interface.
[ OK ] Stopped target Multi-User System.
[ OK ] Stopped target Login Prompts.
[ OK ] Stopped target RPC Port Mapper.
[ OK ] Stopped target Sound Card.
[ 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 ] Stopped target Hardware activated USB gadget.
[ OK ] Closed Process Core Dump Socket.
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Stopping Job spooling tools...
Stopping Avahi mDNS/DNS-SD Stack...
Stopping Bluetooth service...
Stopping containerd container runtime...
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

please provide me the solution on how to reboot my device using soft reboot i.e reboot command.

Thanks,

Abhijeet

  • Hi Abhijeet,

    It is possible that is because the eMMC device RST_n signal is not enabled. Please refer to the instruction linked below to enable it.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1168342/faq-am62x-how-to-check-and-configure-emmc-flash-rst_n-signal-to-support-warm_reset-from-emmc-booting-on-am62x-sk-e2

  • Hello Bin,

    Thanks this solved my issue .

    I have a question regarding whether the changes I make will be retained when I update the OS filesystem or modify the U-boot of my device. Can these changes be implemented during the hardware design phase using the sysconfig utility?

    Thanks,

    Abhijeet 

  • Hello Bin,

    After implementing the above solution, our Ethernet continuously resets, as indicated in the following log.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    root@am62xx-evm:~# reb[ 45.292173] kauditd_printk_skb: 5 callbacks suppressed
    [ 45.292203] audit: type=1334 audit(1712898317.820:29): prog-id=12 op=UNLOAD
    [ 45.304810] audit: type=1334 audit(1712898317.820:30): prog-id=11 op=UNLOAD
    oot
    Stopping topping Session c2 of User root...
    [ OK ] Removed slice Slice /system/modprobe.
    [ OK ] Removed slice Slice /system/systemd-coredump.
    [ OK ] Stopped target Graphical Interface.
    [ OK ] Stopped target Multi-User System.
    [ OK ] Stopped target Login Prompts.
    [ OK ] Stopped target RPC Port Mapper.
    [ OK ] Stopped target Sound Card.
    [ 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 ] Stopped target Hardware activated USB gadget.
    [ OK ] Closed Process Core Dump Socket.
    [ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
    Stopping Job spooling tools...
    Stopping Avahi mDNS/DNS-SD Stack...
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    After power ON power OFF cycle IT works fine.

    How to solve this new problem ?

    Thanks,

    Abhijeet

  • Hi Abhijeet,

    I have a question regarding whether the changes I make will be retained when I update the OS filesystem or modify the U-boot of my device.

    This change is in the eMMC device, (and it is NOT reversible). So yes, it will be retained.

    After implementing the above solution, our Ethernet continuously resets, as indicated in the following log.

    This issue is irrelevant to eMMC RST_n change, likely a different issue which is just revealed after Linux reboot. Please create a new e2e thread for the issue, so that our Ethernet expert can assist.

  • Hello,

    Bin

    Thanks, I will creat a new e2e thread .

    Thanks,

    Abhijeet