Skip to content

Instantly share code, notes, and snippets.

@nehamalcom
Created September 3, 2024 11:26
Show Gist options
  • Save nehamalcom/63e94dbfc8a9b9fcaba6f45210e20cea to your computer and use it in GitHub Desktop.
Save nehamalcom/63e94dbfc8a9b9fcaba6f45210e20cea to your computer and use it in GitHub Desktop.
[RFC PATCH] Add support for K3 BIST
U-Boot SPL 2024.10-rc4-00348-ge797830a533a (Sep 03 2024 - 16:26:06 +0530)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
Initialized 4 DRAM controllers
ti_pd_wait: psc2, pd39 failed to transition.
k3_bist bist@33c0000: failed to power OFF the core -110
SPL initial stack usage: 13464 bytes
Trying to boot from MMC2
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.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE: BL31: Built : 16:09:05, Feb 9 2024
I/TC:
I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Apr 12 09:51:21 UTC 2024 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 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
I/TC: HUK Initialized
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: Primary CPU switching to normal world boot
U-Boot SPL 2024.10-rc4-00348-ge797830a533a (Sep 03 2024 - 16:26:22 +0530)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
Trying to boot from MMC2
Skipping authentication on GP device
Skipping authentication on GP device
U-Boot 2024.10-rc4-00348-ge797830a533a (Sep 03 2024 - 16:26:22 +0530)
SoC: J784S4 SR1.0 GP
Model: Texas Instruments J784S4 EVM
DRAM: 2 GiB (effective 32 GiB)
Core: 104 devices, 32 uclasses, devicetree: separate
Flash: 0 Bytes
MMC: mmc@4f80000: 0, mmc@4fb0000: 1
Loading Environment from nowhere... OK
In: serial@2880000
Out: serial@2880000
Err: serial@2880000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
Net: eth0: ethernet@46000000port@1
Hit any key to stop autoboot: 0
=>
=>
=> rproc init
k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
k3_r5f_rproc r5f@5900000: Core 10 is already in use. No rproc commands work
k3_r5f_rproc r5f@5a00000: Core 11 is already in use. No rproc commands work
=> load mmc 1:2 0x90000000 /lib/firmware/j784s4-main-r5f2_0-fw
82136 bytes read in 63 ms (1.2 MiB/s)
=> rproc load 6 0x90000000 0x${filesize}
k3_r5f_rproc r5f@5900000: Invalid op: Trying to load/start on already running core 10
Load Remote Processor 6 with data@addr=0x90000000 82136 bytes: Failed!
=> rproc stop 6
=> rproc load 6 0x90000000 0x${filesize}
Load Remote Processor 6 with data@addr=0x90000000 82136 bytes: Success!
=> rproc start 6
=>
CTRL-A Z for help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment