Legato restart command

#1

we made board based on wp76 and if i do restart in linux console
its stucks with next log

088823] reboot: Restarting system
[ 168.092520] Failed to disable secure wdog debug: -4
[ 168.096386] Calling SCM to disable SPMI PMIC arbiter
please explain how to disable it.
Thanks
Vladimir

0 Likes

#2

how about sending AT!RESET to /dev/ttyAT?

0 Likes

#3

its embedded system must restart by itself
please ask r&d team
thanks

0 Likes

#4

you reset or system reset ?

0 Likes

#5

you write reset in linux console

0 Likes

#6

how about sending AT!RESET to /dev/ttyAT?
how about using “reboot” in linux console?

0 Likes

#7

but reboot its basic linux command why its stucks?
its legato problem

wi-mdm9x28-wp login: root
root@swi-mdm9x28-wp:~# reboot
roÿrcK: Executing run_K_scripts…
Stopping linkmon: no linkmon found; none killed
done
Stopping port_bridge: no port_bridge found; none killed
Stopping qmi_ip: no qmi_ip_multiclient found; none killed
Stopping netmgrd: stopped netmgrd (pid 908)
done
Stopping qmuxd: stopped qmuxd (pid 839)
done
no QCMAP_ConnectionManager found; none killed
Stopping fs-scrub-daemon: no fs-scrub-daemon found; none killed
Stopping thermal-engine: stopped thermal-engine (pid 861)
done
stopped qti (pid 1202)
Stopping reboot daemon: stopped reboot-daemon (pid 783)
done
Legato shutdown sequence
Stopping Legato.
DONE.
Finished Legato stop Sequence
stopping time daemon
Stopping time_services: stopped time_daemon (pid 600)
done
stopping ntpd
no ntpd found; none killed
Stopping diagrebootapp: stopped diagrebootapp (pid 587)
done
stopping DNS forwarder and DHCP server: dnsmasq… stopped /usr/bin/dnsmasq (pid 1549)
done.
"econfiguring network interfaces… ifdown: unknown method "loopback
Stopping syslogd/klogd: stopped syslogd (pid 578)
stopped klogd (pid 579)
done
Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 1160)
dropbear.
K96mount_unionfs: RO rootfs fudge allowed.
Stopping system message bus: dbus.
K98mount_early: Executing mount_early_user_stop…
K98mount_early: RO rootfs fudge allowed.
sh: /mnt/flash: unknown operand
K98mount_early: Executing mount_early_legato_stop…
Can’t get valid SMEM, init DSSD SMEM
Linux sub system 1
K98mount_early: Executing mount_early_userrw_stop…
rcK: Executing kill_all_proc…
rcK: Executing umount_fs_generic…
rcK: Executing print_shutdown_msg…
** SYSTEM SHUTDOWN COMPLETE **
The system is going down NOW!
wlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
rmdir[ctrl_interface=/var/run/hostapd]: Read-only file system
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sent SIGTERM to all processes
[ 422.883227] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister bridge0
[ 422.930511] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister bridge0
Sent SIGKILL to all processes
Requesting system reboot
[ 424.685553] reboot: Restarting system
[ 424.689187] Failed to disable secure wdog debug: -4
[ 424.693072] Calling SCM to disable SPMI PMIC arbiter

0 Likes

#8

do you see this with official FW?
I remember there is no problem of “reboot” command.

how about sending AT!RESET to /dev/ttyAT?

0 Likes

#9

i tryed its stuck in the same place

0 Likes

#10

i cannot reproduce this issue. is this related to your image?

0 Likes