This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Repeat stop and start R5 will fail on TDA4 platform

Part Number: TDA4VM

Repeat stop and start Cortex R5 will fail on TDA4 platform

Step: type following command on U-Boot shell,

  1. tftpboot 0x84000000 app_remoteswitchcfg_server.xer5f
  2. setenv rebootR5 rproc stop 2 \; rproc init 2\; rproc load 2 0x84000000 '${filesize}' \; rproc start 2\; sleep 2
  3. run rebootR5 (repeat will hang up)

U-Boot SPL 2019.01-g350f3927b8 (Feb 17 2020 - 09:46:23 +0000)
SYSFW ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

Starting ATF on ARM64 core...

NOTICE: BL31: v2.2(release):ti2019.05-rc1
NOTICE: BL31: Built : 09:32:00, Feb 17 2020
I/TC:
I/TC: OP-TEE version: ti2019.05-rc1-dev (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Mon Feb 17 09:40:16 UTC 2020 aarch64
I/TC: Initialized

U-Boot SPL 2019.01-g350f3927b8 (Feb 17 2020 - 09:48:06 +0000)
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC2


U-Boot 2019.01-g350f3927b8 (Feb 17 2020 - 09:48:06 +0000)

SoC: J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E7
DRAM: 4 GiB
Flash: 0 Bytes
MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Net: eth0: ethernet@046000000
Hit any key to stop autoboot: 0
=> tftpboot 0x84000000 swu/tda4/app_remoteswitchcfg_server.xer5f
link up on port 1, speed 100, full duplex
Using ethernet@046000000 device
TFTP from server 128.224.103.8; our IP address is 128.224.103.199
Filename 'swu/tda4/app_remoteswitchcfg_server.xer5f'.
Load address: 0x84000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
3.7 MiB/s
done
Bytes transferred = 3812680 (3a2d48 hex)
=> rproc init 2 ; rproc load 2 0x84000000 ${filesize} ; rproc start 2
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=> setenv rebootR5 rproc stop 2 \; rproc init 2\; rproc load 2 0x84000000 '${filesize}' \; rproc start 2\; sleep 2
=> run rebootR5
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=>
Load Remote Processor 2 with data@addr=0x84000000 3812680 bytes: Success!
=> (U-Boot hang up here and R5 failed to reboot)

app_remoteswitchcfg_server.zip