imx reboot failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx reboot failed

2,518 Views
ilyyxfe
Contributor I

i use the imx6sllevk。

when i log in, and try to reboot. but sometimes it can not reboot successfully.

pls check the follow log.

root@imx6sllevk:~# reboot
[ OK ] Stopped target Multi-User System.
Stopping Login Service...
[ OK ] Stopped target Remote File Systems.
Stopping Kernel Logging Service...
Stopping System Logging Service...
Stopping D-Bus System Message Bus...
[ OK ] S 霳topping Serial Getty on ttymxc0...
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped target Containers.
[ OK ] Stopped target Timers.
[ OK ] Stopped target Sound Card.
Stopping Save/Restore Sound Card State...
[ OK ] Stopped Daily Cleanup of Temporary Directories.
Stopping Getty on tty1...
[ OK ] Stopped target Host and Network Name Lookups.
Stopping Network Name Resolution...
[ OK ] Stopped System Logging Service.
[ OK ] Stopped Serial Getty on ttymxc0.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Kernel Logging Service.
[ OK ] Stopped Login Service.
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped target Network.
Stopping Network Service...
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Stopped target Basic System.
[ 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 Sockets.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
Stopping Network Time Synchronization...
Stopping Load/Save Screen Backlight…ightness of backlight:backlight...
Stopping Load/Save Random Seed...
[ OK ] Stopped Update is Completed.
[ OK ] Stopped Rebuild Dynamic Linker Cache.
[ OK ] Stopped Rebuild Hardware Database.
[ OK ] Stopped Rebuild Journal Catalog.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Network Service.
[ OK ] Stopped Load/Save Screen Backlight Brightness of backlight:backlight.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Removed slice system-systemd\x2dbacklight.slice.
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /var/volatile...
Unmounting Temporary Directory (/tmp)...
Unmounting /boot...
Unmounting /usr/bin/ttm_ttts/a...
[FAILED] Failed unmounting /var/volatile.
[FAILED] Failed unmounting Temporary Directory (/tmp).
[FAILED] Failed unmounting /boot.
[FAILED] Failed unmounting /usr/bin/ttm_ttts/a.
[ 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.
systemd: 23 output lines suppressed due to ratelimiting
systemd-journald[148]: Failed to send WATCHDOG=1 notification message: Connection refused
random: crng init done
systemd-journald[148]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
systemd-journald[148]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
systemd-journald[148]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
systemd-journald[148]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
systemd-journald[148]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected

it will print the last sentense repeatly.

the two modification i think may cause this

i enable the wdt and set the timeoutsec 128(default 60) during the probe.

i make the system read-only by modifying the local.conf before build the .sdcard

pls give some advice why this happen and how to solute it.

best regards

zhang

0 Kudos
1 Reply

1,997 Views
igorpadykov
NXP Employee
NXP Employee

Hi xhang

reset is performed by WDOG_B signal on p.14 i.MX6SLL EVK schematic, by writing to

WDOGx_WCR register

MCIMX6SLL-EVK board Design files, including hardware schematics, Gerbers, and OrCAD files(REV 0)

Probably you icorrectly changed wdt settings and you can try to debug it with oscilloscope using

Chapter 49 Watchdog Timer (WDOG) i.MX 6SLL Applications Processor Reference Manual (REV 0)

and sect.2.11 Watchdog (WDOG) attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos