Hello,
could you please give an advice or any hint for the problem that the board hangs when trying to reboot it by software. Please find the description below.
Best regards
Uwe
Description
Suddenly with ConnectCore 6UL SBC Pro boards it isn’nt possible to reboot them with command
shutdown -r 0
Also other commands e.g. halt or poweroff fails
On the console the last output is
..
Deactivating swap...
Unmounting local filesystems...
Rebooting...
First detected this withboard serial no. I223802164658
U-Boot dub-2020.04-r4.2 (Jul 01 2021 - 14:35:15 +0000)
CPU: i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
I2C: ready
DRAM: 1 GiB
MCA: HW_VER=1 FW_VER=1.14
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
NAND: 1024 MiB
MMC: FSL_SDHC: 0
In: serial
Out: serial
Err: serial
Model: Digi International ConnectCore 6UL SBC.
ConnectCore 6UL SOM variant 0x04: Industrial Ultralite 528MHz, 1GB NAND, 1GB DDR3, -40/+85C, Wireless, Bluetooth
Board version 3, ID 136
Boot device: NAND
Net: FEC0 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
root@btc:~# uname -a
Linux btc 5.4.64-dey+g8086dc5f8e29 #1 PREEMPT Tue Nov 3 14:28:30 UTC 2020 armv7l GNU/Linux
root@btc:~# fw_printenv
BSCAN=PASS
SN=I223802164658
active_system=linux_a
arch=arm
baudrate=115200
board=ccimx6ulsbc
board_id=136
board_name=ccimx6ulsbc
board_version=3
boot_fdt=yes
bootargs_mmc_linux=setenv bootargs console=${console},${baudrate} ${bootargs_linux} root=${mmcroot} ${mtdparts}${bootargs_once} ${extra_bootargs}
bootargs_nand_linux=setenv bootargs console=${console},${baudrate} ${bootargs_linux} ${mtdparts} ubi.mtd=${mtdlinuxindex} ubi.mtd=${mtdrootfsindex} root=ubi1_0 rootfstype=ubifs rw ${bootargs_once} ${extra_bootargs}
bootargs_nfs=if test ${ip_dyn} = yes; then bootargs_ip="ip=dhcp";else bootargs_ip="ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off";fi;
bootargs_nfs_linux=run bootargs_nfs;setenv bootargs console=${console},${baudrate} ${bootargs_linux} root=/dev/nfs ${bootargs_ip} nfsroot=${serverip}:${rootpath},v3,tcp ${mtdparts} ${bootargs_once} ${extra_bootargs}
bootargs_tftp=if test ${ip_dyn} = yes; then bootargs_ip="ip=dhcp";else bootargs_ip="ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off";fi;
bootargs_tftp_linux=run bootargs_tftp;setenv bootargs console=${console},${baudrate} ${bootargs_linux} root=/dev/nfs ${bootargs_ip} nfsroot=${serverip}:${rootpath},v3,tcp ${mtdparts} ${bootargs_once} ${extra_bootargs}
bootcmd=if run loadscript; then source ${loadaddr};fi;
bootcmd_mfg=fastboot 0
bootcount=1
bootdelay=1
bootlimit=3
btaddr=00:04:F3:4C:7F:E1
console=ttymxc4
cpu=armv7
dboot_kernel_var=zimage
dualboot=no
eth1addr=00:04:F3:4C:7F:DF
ethact=FEC0
ethaddr=00:04:F3:4C:7F:DE
ethprime=FEC0
fdt_addr=0x83000000
fdt_file=imx6ul-ccimx6ulsbc.dtb
fdt_high=0xffffffff
fdtcontroladdr=bef06db8
hwid_0=40228332
hwid_1=5a600440
initrd_addr=0x83800000
initrd_file=uramdisk.img
initrd_high=0xffffffff
install_linux_fw_sd=if load mmc 0 ${loadaddr} install_linux_fw_sd.scr;then source ${loadaddr};fi;
install_linux_fw_usb=usb start;if load usb 0 ${loadaddr} install_linux_fw_usb.scr;then source ${loadaddr};fi;
ipaddr=192.168.57.20
linux_file=dey-image-qt-x11-ccimx6ulsbc.boot.ubifs
loadaddr=0x80800000
loadscript=if test ${dualboot} = yes; then if test -z "${mtdbootpart}"; then setenv mtdbootpart linux_a;fi;else if test -z "${mtdbootpart}"; then setenv mtdbootpart linux;fi;fi;if ubi part ${mtdbootpart}; then if ubifsmount ubi0:${mtdbootpart}; then ubifsload ${loadaddr} ${script};fi;fi;
mmcroot=/dev/mmcblk1p2 rootwait rw
module_variant=0x04
mtdbootpart=linux
mtdids=nand0=gpmi-nand
mtdlinux_a_index=3
mtdlinux_b_index=4
mtdlinuxindex=3
mtdparts=mtdparts=gpmi-nand:5m(bootloader),3m(environment),1m(safe),24m(linux),32m(recovery),512m(rootfs),-(update)
mtdrecoveryindex=4
mtdrootfs_a_index=5
mtdrootfs_b_index=6
mtdrootfsindex=5
mtdupdateindex=6
netmask=255.255.0.0
recovery_file=recovery.img
recoverycmd=setenv mtdbootpart recovery;boot
rootfs_file=dey-image-qt-x11-ccimx6ulsbc.ubifs
rootpath=/exports/nfsroot-ccimx6ulsbc
script=boot.scr
serial#=I223802164658
serverip=192.168.57.31
soc=mx6
soc_type=imx6ul
uboot_file=u-boot.imx
update_addr=0x80800000
vendor=digi
wlan1addr=12:04:f3:4C:7F:DE
wlanaddr=00:04:F3:4C:7F:E0
zimage=zImage-ccimx6ulsbc.bin