[Code environment]
U-Boot version 2018.03
BSP version: Linux version 4.14.98-2.3.3
[Issue description]
After boot finished, I tried to reboot my device through "systemctl reboot" but then got failure.
[Expected behavior]
OK to reboot through "systemctl reboot" command without error.
[Log]
root@imx8dxptbox:~# systemctl reboot
[ OK ] S Stopping Session c1 of user root.
Stopping TEE Supplicant...
Stopping Time & Date Service...
Stopping User Manager for UID 0...
[ OK ] Stopped target Timers.
....
....
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
Starting Reboot...
[ 283.156075] systemd-shutdow: 28 output lines suppressed due to ratelimiting
[ 283.173137] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 283.186022] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 283.202802] systemd-journald[2160]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 283.223851] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 283.239057] systemd-shutdown[1]: Hardware watchdog 'i.MX8 watchdog timer', version 0
[ 283.248862] systemd-shutdown[1]: Unmounting file systems.
[ 283.264661] systemd-shutdown[1]: All filesystems unmounted.
[ 283.270352] systemd-shutdown[1]: Deactivating swaps.
[ 283.275512] systemd-shutdown[1]: All swaps deactivated.
[ 283.280859] systemd-shutdown[1]: Detaching loop devices.
[ 283.289821] systemd-shutdown[1]: All loop devices detached.
[ 284.319960] kvm: exiting hardware virtualization
[ 284.351256] reboot: Restarting system
U-Boot SPL 2018.03-4.14.98-2.3.3+gaa956987cf (Jun 01 2021 - 05:49:03 +0000)
Normal Boot
Trying to boot from MMC1
Load image from MMC/SD 0x4cc00
U
U-Boot 2018.03-4.14.98-2.3.3+gaa956987cf (Jun 01 2021 - 05:49:03 +0000)
CPU: Freescale i.MX8QXP revC A35 at 1200 MHz at 33C
Model: ARC TBox - Freescale i.MX8DXP
Board: iMX8QXP MEK
Boot: MMC0
DRAM: 4 GiB
setup_typec lookup gpio@1a_7 failed ret = -22
Failed to set secvio configuration
initcall sequence 00000000fdeed310 failed at call 000000008002a838 (err=-5)
### ERROR ### Please RESET the board ###
Hi
May I know what caused this issue? Any patches need to check-in?
As my experience, when I disable secure boot, this issue disappears.
Thanks.
Hi Syuan
L4.14.98-2.3.3 is very old version, recommended to try latest Linux 5.10.9_1.0.0, before building
use latest RPA tool and ddr test
Best regards
igor
Hi igor,
Currently we are using L4.14.98-2.3.3 as the code base. We don't have plan to upgrade to Linux 5.10.9_1.0.0.
May I know what caused this issue? Any patches need to check-in?
Thanks,
Syuan