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.

AM62P: MCU-R5F early start

Part Number: AM62P

Hello,

I'm trying to perform an early boot of the MCU-R5F (boot MCU-R5F before linux) without success.
Basically, I'm trying to replicate the booting method showed in the below image, where the WKUP-R5F releases the MCU reset before booting Linux.


I modified my R5 device tree with the alias of my new remoteproc and added the R5F driver in the SPL defconfig, but I can't get it to initialize.

I have this log:


U-Boot SPL 2023.04 (Feb 28 2024 - 18:30:33 +0000)                                                                                                                                   
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')                                                                                                                
SPL initial stack usage: 17040 bytes                                                                                                                                                
Trying to boot from MMC1                                                                                                                                                            
Authentication passed                                                                                                                                                               
Authentication passed                                                                                                                                                               
Authentication passed                                                                                                                                                               
rproc_pre_probe: 'a53@0': using fdt                                                                                                                                                 
k3_arm64 a53@0: k3_arm64_probe                                                                                                                                                      
k3_arm64 a53@0: k3_arm64_of_to_priv                                                                                                                                                 
k3_arm64 a53@0: ti_sci_proc_of_to_priv                                                                                                                                              
k3_arm64 a53@0: Remoteproc successfully probed                                                                                                                                      
k3_arm64 a53@0: k3_arm64_init                                                                                                                                                       
k3_arm64 a53@0: k3_arm64_init: rproc successfully initialized                                                                                                                       
rproc_load: Loading to 'a53@0' from address 0x00000000 size of 2658664448 bytes                                                                                                     
k3_arm64 a53@0: k3_arm64_load addr = 0x9e780000, size = 0x200                                                                                                                       
ti_sci_proc_request: proc_id = 32                                                                                                                                                   
k3_arm64 a53@0: GTC RATE= 200000000                                                                                                                                                 
ti_sci_proc_set_config: proc_id = 32, boot_vector = 0xx, cfg_set = 0x43c12c61, cfg_clr = 0x9e780000                                                                                 
Authentication passed                                                                                                                                                               
Authentication passed                                                                                                                                                               
Starting ATF on ARM64 core...

Are the steps executed correct? I couldn't find documentation regarding this.

Thanks,

Franco