First, I wanted to quickly say thanks to the group at Marvell for sharing an organized, well documented, and buildable BSP for the ESPRESSObin hardware to the open source community. It was very quick and straightforward to build the BSP with my custom embedded linux system.
Using the Yocto Project tool & the Marvell metadata layers, I was able to build a bootable microSD card image for the ESPRESSObin.
When using provided target images, I encountered a kernel error when attempting to shut down via console command line.
Command: root@cb-88f3720-ddr3-espressobin:~# shutdown -h 0 now
Error: ERROR: a3700_systPANIC at PC : 0x0000000004023248
(posted console logs on bottom).
Is this a known issue or is there a system method to properly shutdown hardware?
As our development continues on the ESPRESSObin, it will be a product/system requirement to have the device properly shutdown & power-off.
It is probably good to note that I did not have any problems invoking the reboot command.
Linux version 4.4.52-armada-17.10.1-armada-17.10.1+g96fdc8e
root@cb-88f3720-ddr3-espressobin:~# shutdown -h 0 now
Broadcast message from root@cb-88f3720-ddr3-espressobin (ttyMV0) (Tue Nov 28 now
The system is going down for system halt NOW!
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
root@cb-88f3720-ddr3-espressobin:~# Stopping OpenBSD Secure Shell server: sshdstopped /usr/sbin/sshd (pid 1583)
Stopping system message bus: dbus.
stopping DNS forwarder and DHCP server: dnsmasq... stopped /usr/bin/dnsmasq (pid 1590)
hwclock: can't open '/dev/misc/rtc': No such file or directory
Stopping syslogd/klogd: stopped syslogd (pid 1596)
stopped klogd (pid 1599)
Deconfiguring network interfaces... done.
Sending all processes the TERM signal...
Sending all processes the KILL signal...
Unmounting remote filesystems...
Unmounting local filesystems...
[ 261.179199] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ 264.261878] kvm: exiting hardware virtualization
[ 264.267672] xhci-hcd d0058000.usb3: remove, state 4
[ 264.272668] usb usb3: USB disconnect, device number 1
[ 264.278223] xhci-hcd d0058000.usb3: USB bus 3 deregistered
[ 264.283930] xhci-hcd d0058000.usb3: remove, state 4
[ 264.288910] usb usb2: USB disconnect, device number 1
[ 264.294557] xhci-hcd d0058000.usb3: USB bus 2 deregistered
[ 264.300689] reboot: Power down
ERROR: a3700_systPANIC at PC : 0x0000000004023248
Please let me know if I can help by posting any addition information or steps to reproduce.
Any feedback or comments is appreciated.