Tool/software: Linux
Hi,
PART NUMBER: TMDSEVM437X REV1.5B
SW: ti-processor-sdk-linux-am437x-evm-05.02.00.10
Now, I use NAND as the boot device with MLO,u-boot.img,dtb file,zimage,file system on NAND,the file system is arago-base-tisdk-image-am437x-evm.ubi on ~/ti-processor-sdk-linux-am437x-evm-05.02.00.10/filesystem. The TMDSEVM437X can work, but when I poweroff, it can not shutdown the PMIC normally,with the message.
root@am437x-evm:~# poweroff
Stopping User Manager for UID 0...
Stopping NFS status monitor for NFSv2/3 locking....
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Stopped target Multi-User System.
Stopping Kernel Logging Service...
Stopping Periodic Command Scheduler...
[ OK ] Stopped target Containers.
Stopping Hardware RNG Entropy Gatherer Daemon...
Stopping System Logging Service...
[ OK ] Stopped target Login Prompts.
Stopping Getty on tty1...
Stopping thermal-zone-init.service...
Stopping Job spooling tools...
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily rotation of log files.
[ OK ] Stopped target System Time Synchronized.
[ OK OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped Job spooling tools.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Hardware RNG Entropy Gatherer Daemon.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped Kernel Logging Service.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped NFS status monitor for NFSv2/3 locking..
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped thermal-zone-init.service.
[ OK ] Stopped Session c1 of user root.
Stopping rng-tools.service...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
Stopping RPC Bind Service...
[ OK ] Stopped target Host and Network Name Lookups.
Stopping Network Name Resolution...
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Login Service.
[ OK ] Stopped RPC Bind Service.
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped rng-tools.service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Remote File Systems.
Stopping thttpd.service...
[ OK ] Stopped target Network.
Stopping Network Service...
[ OK ] Stopped thttpd.service.
[ OK ] Stopped Network Service.
Stopping telnetd.service...
[ OK ] Stopped telnetd.service.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Closed RPCbind Server Activation Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped target System Initialization.
Stopping Load/Save Random Seed...
[ OK ] Stopped Update is Completed.
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped Rebuild Dynamic Linker Cache.
Stopping Load/Save Screen Backlight��…ightness of backlight:backlight..
Stopping Network Time Synchronization...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Rebuild Journal Catalog.
[ OK ] Stopped Rebuild Hardware Database.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Load/Save Screen Backlight Brightness of backlight:backlight.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Removed slice system-systemd\x2dbacklight.slice.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /media/ram...
Unmounting Temporary Directory (/tmp)...
Unmounting /var/volatile...
Unmounting /run/user/0...
[ OK ] Unmounted /media/ram.
[ OK ] Unmounted Temporary Directory (/tmp).
[ OK ] Unmounted /var/volatile.
[ OK ] Unmounted /run/user/0.
[ OK ] Stopped target Swap.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Create System Users.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.
[ 58.263531] systemd-shutdow: 26 output lines suppressed due to ratelimiting
[ 58.360072] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 58.376297] systemd-journald[69]: Received SIGTERM from PID 1 (systemd-shutd.
[ 58.443593] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 58.460374] systemd-shutdown[1]: Unmounting file systems.
[ 58.467889] systemd-shutdown[1]: Remounting '/' read-only with options 'ubi=.
[ 58.502393] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[ 58.518096] systemd-shutdown[1]: Remounting '/' read-only with options 'ubi=.
[ 58.531366] systemd-shutdown[1]: All filesystems unmounted.
[ 58.538926] systemd-shutdown[1]: Deactivating swaps.
[ 58.545433] systemd-shutdown[1]: All swaps deactivated.
[ 58.550723] systemd-shutdown[1]: Detaching loop devices.
[ 58.560634] systemd-shutdown[1]: All loop devices detached.
[ 58.582432] reboot: System halted
But, when I use micro SD as the boot device,It can shutdown the PMIC normally,with the message:
root@am437x-evm:~# poweroff
Stopping NFS status monitor for NFSv2/3 Stopping Session c1 of user root.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Job spooling tools.
[ OK ] Stopped Wait for Network to be Configured.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped NFS status monitor for NFSv2/3 locking..
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped thermal-zone-init.service.
[ OK ] Stopped Session c1 of user root.
Stopping rng-tools.service...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
Stopping RPC Bind Service...
[ OK ] Stopped target Host and Network Name Lookups.
Stopping Network Name Resolution...
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Login Service.
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped RPC Bind Service.
[ OK ] Stopped rng-tools.service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Remote File Systems.
Stopping thttpd.service...
[ OK ] Stopped target Network.
Stopping Network Service...
[ OK ] Stopped thttpd.service.
[ OK ] Stopped Network Service.
Stopping telnetd.service...
[ OK ] Stopped telnetd.service.
Stopping uim-sysfs.service...
[ OK ] Stopped uim-sysfs.service.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Sockets.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed dropbear.socket.
[ OK ] Closed RPCbind Server Activation Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target Paths.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped target System Initialization.
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped Update is Completed.
[ OK ] Stopped Rebuild Hardware Database.
Stopping Load/Save Random Seed...
Stopping Load/Save Screen Backlight��…ightness of backlight:backlight...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
[ OK ] Stopped Rebuild Dynamic Linker Cache.
[ OK ] Stopped Rebuild Journal Catalog.
Stopping Network Time Synchronization...
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Screen Backlight Brightness of backlight:backlight.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Removed slice system-systemd\x2dbacklight.slice.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /media/ram...
Unmounting Temporary Directory (/tmp)...
Unmounting /var/volatile...
Unmounting /run/media/mmcblk1p1...
Unmounting /run/user/0...
[ OK ] Unmounted /media/ram.
[ OK ] Unmounted Temporary Directory (/tmp).
[ OK ] Unmounted /var/volatile.
[ OK ] Unmounted /run/user/0.
[FAILED] Failed unmounting /run/media/mmcblk1p1.
[ OK ] Stopped target Swap.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Create System Users.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
Starting Power-Off...
[ 39.948531] systemd-shutdow: 22 output lines suppressed due to ratelimiting
[ 40.209372] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 40.232177] systemd-journald[72]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 40.276000] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 40.299378] systemd-shutdown[1]: Unmounting file systems.
[ 40.306167] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[ 40.370329] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[ 40.385165] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[ 40.394161] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[ 40.400174] systemd-shutdown[1]: All filesystems unmounted.
[ 40.406364] systemd-shutdown[1]: Deactivating swaps.
[ 40.411813] systemd-shutdown[1]: All swaps deactivated.
[ 40.417403] systemd-shutdown[1]: Detaching loop devices.
[ 40.427551] systemd-shutdown[1]: All loop devices detached.
[ 40.455308] reboot: Power down
[ 40.458456] System will go to power_off state in approx. 1 second
Best wishes!
Jianhua Yuan