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.
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...
Stopping Periodic Command Scheduler...
[ OK ] Stopped DEMO.
Stopping Getty on tty1...
Stopping irqbalance daemon...
Stopping Reboot and dump vmcore via kexec...
Stopping Netperf Benchmark Server...
Stopping NFS status monitor for NFSv2/3 locking....
Stopping Telephony service...
Stopping PulseAudio Sound System...
[ OK ] Stopped Expand the rootfs …full size of the boot device..
Stopping Serial Getty on ttyS2...
Stopping Seva Launcher Service...
Stopping Simple Network Ma…ent Protocol (SNMP) Daemon....
Stopping strongSwan IPsec …Ev2 daemon using ipsec.conf...
Stopping Load/Save Random Seed...
Stopping TEE Supplicant...
Stopping Telnet Server...
Stopping Daemon for power management...
Stopping Weston, a Wayland…ositor, as a system service...
[ OK ] Stopped Job spooling tools.
[ OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped irqbalance daemon.
[ OK ] Stopped Telephony service.
[ OK ] Stopped PulseAudio Sound System.
[ OK ] Stopped Seva Launcher Service.
[ OK ] Stopped strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
[ OK ] Stopped TEE Supplicant.
[ OK ] Stopped Avahi mDNS/DNS-SD Stack.
[ OK ] Stopped Netperf Benchmark Server.
[ OK ] Stopped NFS status monitor for NFSv2/3 locking..
[ OK ] Stopped Simple Network Man…ement Protocol (SNMP) Daemon..
[ OK ] Stopped containerd container runtime.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS2.
[ OK ] Stopped Weston, a Wayland …mpositor, as a system service.
[ 7508.213234] detected fb_set_par error, error code: -16
[ OK ] Stopped Bluetooth service.
[ OK ] Stopped Daemon for power management.
[ OK ] Stopped Reboot and dump vmcore via kexec.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Telnet Server.
[ OK ] Stopped Session c5 of User root.
[ OK ] Stopped Session c1 of User weston.
[ OK ] Stopped Session c2 of User root.
[ 7508.478308] audit: type=1334 audit(1712832467.910:950): prog-id=14 op=UNLOAD
[ 7508.485511] audit: type=1334 audit(1712832467.910:951): prog-id=13 op=UNLOAD
[ OK ] Removed slice Slice /system/getty.
[ OK ] Removed slice Slice /system/serial-getty.
[ OK ] Stopped target Host and Network Name Lookups.
Stopping Save/Restore Sound Card State...
Stopping User Login Management...
[ 7508.637877] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000057] -121
[ 7508.650058] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000003b] -121
Stopping User Manager for UID 0...
[ 7508.662617] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000042] -121
[ 7508.679514] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000050] -121
[ 7508.692194] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000002d] -121
[ 7508.692586] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000034] -121
[ 7508.692835] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000049] -121
[ 7508.693129] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000004f] -121
Stopping User Manager for UID 1000...[ 7508.697543] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000004f] -121
[ 7508.756325] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000002b] -121
[ 7508.768093] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000002c] -121
[ 7508.780336] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000051] -121
[ OK ] Stopped User Manager for UID 1000 7508.792249] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000002e] -121
0m.
[ 7508.809539] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000056] -121
[ 7508.821232] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000005d] -121
[ OK ] Stopped User Manager for UID 0.[ 7508.833107] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000056] -121
[ 7508.850220] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000005d] -121
[ 7508.861977] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000033] -121
[ 7508.873677] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000041] -121
[ 7508.885524] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000033] -121
[ 7508.897193] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000041] -121
[ 7508.908920] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000003a] -121
[ 7508.920723] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000048] -121
Stopping User Runtime Directory /run/user/0 7508.932617] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000003a] -121
m...
[ 7508.949638] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000048] -121
[ 7508.962033] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000000c] -121
[ 7508.973718] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000000c] -121
Stopping User Runtime Directory /run/user/1000[ 7508.985818] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000000c] -121
...
[ 7509.003305] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000025] -121
[ 7509.015460] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000026] -121
[ 7509.027260] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000013] -121
[ OK ] Unmounted /run/user/0.[ 7509.039140] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000016] -121
[ 7509.055654] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000013] -121
[ 7509.067377] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000014] -121
[ OK ] Unmounted /run/user/1000.[ 7509.079246] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000014] -121
[ 7509.095978] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000016] -121
[ 7509.107736] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000017] -121
[ 7509.119463] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000017] -121
[ 7509.131284] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000051] -121
[ OK ] Stopped User Runtime Directory /run[ 7509.143062] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000050] -121
/user/0.
[ 7509.160197] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000057] -121
[ 7509.172682] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000002e] -121
[ 7509.184484] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000002d] -121
[ OK ] Stopped User Runtime Directory /run[ 7509.196430] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x0000003b] -121
/user/1000.
[ 7509.213693] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000034] -121
[ 7509.226496] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000042] -121
[ 7509.238364] tlv320aic3x 1-001b: ASoC: error at soc_component_read_no_lock on tlv320aic3x.1-001b for register: [0x00000049] -121
[ OK ] Removed slice User Slice of UID 0.
[ OK ] Removed slice User Slice of UID 1000.
Stopping Permit User Sessions...
[ OK ] Stopped User Login Management.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Network.
[ OK ] Stopped target Remote File Systems.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
Stopping Network Configuration...
[ OK ] Stopped Network Configuration.
[ OK ] Stopped target Preparation for Network.
[ OK ] Stopped IPv6 Packet Filtering Framework.
[ OK ] Stopped IPv4 Packet Filtering Framework.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Path Units.
[ OK ] Stopped Dispatch Password …ts to Console Directory Watch.
[ OK ] Stopped Forward Password R…uests to Wall Directory Watch.
[ OK ] Stopped target Slice Units.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Socket Units.
[ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Closed Docker Socket for the API.
[ OK ] Closed dropbear.socket.
[ OK ] Closed PC/SC Smart Card Daemon Activation Socket.
[ OK ] Closed Network Service Netlink Socket.
[ OK ] Closed Weston socket.
Stopping D-Bus System Message Bus...
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
Stopping Network Time Synchronization...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /media/ram...
Unmounting Temporary Directory /tmp...
Unmounting /var/volatile...
[ OK ] Unmounted /media/ram.
[ OK ] Unmounted Temporary Directory /tmp.
[ OK ] Unmounted /var/volatile.
[ OK ] Stopped target Preparation for Local File Systems.
[ OK ] Stopped target Swaps.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Reached target System Shutdown.
[ OK ] Reached target Late Shutdown Services.
[ OK ] Finished System Reboot.
[ OK ] Reached target System Reboot.
[ 7510.754270] audit: type=1334 audit(1712832470.186:952): prog-id=8 op=UNLOAD
[ 7510.761401] audit: type=1334 audit(1712832470.186:953): prog-id=7 op=UNLOAD
[ 7510.768471] audit: type=1334 audit(1712832470.186:954): prog-id=6 op=UNLOAD
[ 7510.775515] audit: type=1334 audit(1712832470.186:955): prog-id=5 op=UNLOAD
[ 7510.782559] audit: type=1334 audit(1712832470.198:956): prog-id=4 op=UNLOAD
[ 7510.789573] audit: type=1334 audit(1712832470.198:957): prog-id=3 op=UNLOAD
[ 7510.796667] audit: type=1334 audit(1712832470.198:958): prog-id=10 op=UNLOAD
[ 7510.800998] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[ 7510.803791] audit: type=1334 audit(1712832470.198:959): prog-id=9 op=UNLOAD
[ 7510.810721] watchdog: watchdog0: watchdog did not stop!
[ 7510.845162] systemd-shutdown[1]: Using hardware watchdog 'K3 RTI Watchdog', version 0, device /dev/watchdog0
[ 7510.855955] systemd-shutdown[1]: Modifying watchdog timeout is not supported, reusing the programmed timeout.
[ 7510.866186] systemd-shutdown[1]: Watchdog running with a timeout of 1min.
[ 7510.901034] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 7510.915727] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 7510.941696] systemd-journald[172]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 7510.966136] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 7510.996314] systemd-shutdown[1]: Unmounting file systems.
[ 7511.005611] [5609]: Remounting '/' read-only with options 'n/a'.
[ 7511.103704] EXT4-fs (mmcblk0p1): re-mounted. Quota mode: none.
[ 7511.136632] systemd-shutdown[1]: All filesystems unmounted.
[ 7511.142382] systemd-shutdown[1]: Deactivating swaps.
[ 7511.147838] systemd-shutdown[1]: All swaps deactivated.
[ 7511.153124] systemd-shutdown[1]: Detaching loop devices.
[ 7511.162849] systemd-shutdown[1]: All loop devices detached.
[ 7511.168548] systemd-shutdown[1]: Stopping MD devices.
[ 7511.174145] systemd-shutdown[1]: All MD devices stopped.
[ 7511.179485] systemd-shutdown[1]: Detaching DM devices.
[ 7511.184926] systemd-shutdown[1]: All DM devices detached.
[ 7511.190358] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 7511.208658] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 7511.215623] systemd-shutdown[1]: Rebooting.
[ 7511.319531] reboot: Restarting system
please provide me the solution on how to reboot my device using soft reboot i.e reboot command.
Thanks,
Abhijeet