Other Parts Discussed in Thread: DRA829, AM69,
Tool/software:
Hello experts,
In this thread:
AM69A: Intermittent Boot Failures - Frequency Handshake Timeout and SPL Hang
there is a discussion about a hang issue just as the SPL is about to hand over to U-Boot proper. We have seen the same on our device, and I have now been able to reproduce it on the j721e_evm platform.
Boot log:
U-Boot SPL 2025.01-00551-g743712b9ee4b (Jul 31 2025 - 11:32:44 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.8--v11.01.08 (Fancy Rat)') Trying to boot from SPI Skipping authentication on GP device Skipping authentication on GP device Skipping authentication on GP device Skipping authentication on GP device Skipping authentication on GP device Loading Environment from nowhere... OK Starting ATF on ARM64 core... NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025 I/TC: I/TC: OP-TEE version: 4.6.0-dev (gcc version 13.4.0 (GCC)) #1 Fri Apr 25 11:17:53 UTC 2025 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html I/TC: Primary CPU initializing I/TC: GIC redistributor base address not provided I/TC: Assuming default GIC group status and modifier I/TC: SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.8--v11.01.08 (Fancy Rat)') I/TC: Activated SA2UL device I/TC: Fixing SA2UL firewall owner for GP device I/TC: Enabled firewalls for SA2UL TRNG device I/TC: SA2UL TRNG initialized I/TC: SA2UL Drivers initialized I/TC: HUK Initialized I/TC: Primary CPU switching to normal world boot U-Boot SPL 2025.01-00551-g743712b9ee4b-dirty (Jul 31 2025 - 11:32:44 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.8--v11.01.08 (Fancy Rat)') DM ABI: 3.0 (firmware ver 0x000b 'PSDK.11.01.00.04--v11.01.08a' patch_ver: 8) Detected: J7X-BASE-CPB rev A Detected: J7X-GESI-EXP rev A Trying to boot from SPI k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235 k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled cadence_spi spi@47040000: Pattern not found. Skipping calibration Skipping authentication on GP device Skipping authentication on GP device (hangs here)
I downloaded the latest (ti-processor-sdk-linux-adas-j721e-evm-11_01_00_03) version and burned the pre-built image to an SD card. I then flashed the four boot files to the QSPI flash and bootstrapped it to QSPI (to mimic our own custom device). I then created systemd scripts to perform a MCU_PORz reset (using a GPIO pin to the push button) 10 seconds after Linux has loaded. 919 reboots later I see the behavior above.
Do you have any insight as to what can be the problem, or better yet, any workarounds to keep it from happening?
Regards,
/Bo