Part Number: AM3352
Other Parts Discussed in Thread: AM3359,
Hello,
We are facing a strange problem with AM3352BZCZD60-based custom design PCB. System seems to be working otherwise fine, but when I run reboot the system hangs:
Arago Project http://arago-project.org am335x-evm ttyS3
Arago 2019.11 am335x-evm ttyS3
am335x-evm login: root
root@am335x-evm:~# reboot
root@am335x-evm:~# Unmounting /run/media/mmcblk1p4...
Unmounting /run/media/mmcblk1p2...
Stopping Session c1 of user root.
Stopping User Manager for UID 0...
Unmounting /run/media/mmcblk1p1...
Stopping NFS status monitor for NFSv2/3 locking....
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily rotation of log files.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped Serial Getty on ttyS3.
...
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
Starting Reboot...
[ 327.458349] watchdog: watchdog0: watchdog did not stop!
[ 327.475070] systemd-shutdow: 29 output lines suppressed due to ratelimiting
[ 327.520955] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 327.540341] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 327.570333] systemd-journald[77]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 327.603411] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 327.626189] systemd-shutdown[1]: Hardware watchdog 'OMAP Watchdog', version 0
[ 327.640817] systemd-shutdown[1]: Unmounting file systems.
[ 327.658243] [881]: Remounting '/' read-only in with options '(null)'.
[ 327.696609] EXT4-fs (mmcblk1p3): re-mounted. Opts: (null)
[ 327.719348] systemd-shutdown[1]: All filesystems unmounted.
[ 327.725546] systemd-shutdown[1]: Deactivating swaps.
[ 327.731221] systemd-shutdown[1]: All swaps deactivated.
[ 327.737208] systemd-shutdown[1]: Detaching loop devices.
[ 327.757021] systemd-shutdown[1]: All loop devices detached.
<STAYS HERE FOR 10 MINUTES 8 SECONDS>
<WAKES UP, BOOTS UP TO U-BOOT AND SYSTEM JUST FINE: >
U-Boot 2019.01 (Mar 01 2022 - 03:11:13 +0200)
CPU : AM335X-GP rev 2.1
Model: TI AM3359 ICE-V2
DRAM: 256 MiB
ETH0, PRU
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
Net: eth0: ethernet@4a100000
Hit any key to stop autoboot: 0
Trying to load uEnv.txt from mmc 1:1 (internal)
1304 bytes read in 1 ms (1.2 MiB/s)
Trying to load uEnv.txt from mmc 0:1 (external)
26 bytes read in 1 ms (25.4 KiB/s)
Loading correct boot bank info from FW_bank_uEnv.txt
** Unable to read file /flags/1ST_FULL_BOOT **
** Unable to read file /flags/1ST_UBOOT **
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
4280832 bytes read in 360 ms (11.3 MiB/s)
36957 bytes read in 4 ms (8.8 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8df2d000, end 8df3905c ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.94-gbe5389fd85 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Sun Feb 20 15:14:05 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM3352 PROPRIETARY AP1 - i2c eeprom added
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x8a800000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon)
<BOOTS JUST FINE FROM THIS POINT>
...
Where does the reboot wait 10 minutes and why?