Reboot repeat problem when using imx8mm(p) and ubuntu.

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

Reboot repeat problem when using imx8mm(p) and ubuntu.

883 Views
seong-hyeonhong
Contributor I

Hello.

I installed Ubuntu on a custom board using imx8mm(p).
I had an issue with repeated reboots when rebooting using Ubuntu installed. Also, the frequency of occurrence of the problem is not constant and does not occur occasionally. To solve the problem, you need to turn the power off and then on again.

But if I install Open Embedded or Debian it works fine.

There is a difference in the messages when rebooting Ubuntu and Debian/Open Embedded.

 

Log 1. Open Embedded / Debian

-----------------------------------------------

[ OK ] Finished Reboot.
[ OK ] Reached target Reboot.
[ 237.538412] watchdog: watchdog0: watchdog did not stop!
[ 237.615781] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 237.624800] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 237.639811] systemd-journald[202]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 237.655970] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 237.668371] systemd-shutdown[1]: Using hardware watchdog 'imx2+ watchdog', version 0, device /dev/watchdog
[ 237.679418] systemd-shutdown[1]: Unmounting file systems.
[ 237.686464] [712]: Remounting '/' read-only in with options '(null)'.
[ 237.699177] EXT4-fs (mmcblk2p1): re-mounted. Opts: (null)
[ 237.710010] systemd-shutdown[1]: All filesystems unmounted.
[ 237.715608] systemd-shutdown[1]: Deactivating swaps.
[ 237.720706] systemd-shutdown[1]: All swaps deactivated.
[ 237.725961] systemd-shutdown[1]: Detaching loop devices.
[ 237.731642] systemd-shutdown[1]: All loop devices detached.
[ 237.737245] systemd-shutdown[1]: Stopping MD devices.
[ 237.743902] systemd-shutdown[1]: All MD devices stopped.
[ 237.749240] systemd-shutdown[1]: Detaching DM devices.
[ 237.754540] systemd-shutdown[1]: All DM devices detached.
[ 237.759976] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 237.773654] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 237.780693] systemd-shutdown[1]: Rebooting.*
[ 237.838531] imx2-wdt 30280000.watchdog: Device shutdown: Expect reboot!
[ 237.845428] reboot: Restarting system

-----------------------------------------------

 


Log 2. Ubuntu 

-----------------------------------------------

[ OK ] Reached target Final Step.
Starting Reboot...
watchdog: watchdog0: watchdog did not stop!
imx2-wdt 30280000.wdog: Device shutdown: Expect reboot!
reboot: Restarting system

-----------------------------------------------


I tried the following:


1. How to use nxp kernel for Ubuntu rootfs.

2. Compare and apply services configured in systemd.

3. Check and install installed packages.

4. Reboot.target sets umount and shutdown support as separate services in systemd.

5. Systemd build & upgrade

 

But the problem was not solved.

 

Please help in this regard.

 

thank you.

0 Kudos
Reply
0 Replies