PROCESSOR-SDK-AM62A: [AM62A7] BOOT FAIL : ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=36, clk=2, ret=-19

Part Number: PROCESSOR-SDK-AM62A
Other Parts Discussed in Thread: SK-AM62A-LP

Tool/software:

Hi. TI members

I am developing with the SK-AM62A-LP board and the PSDK10.00.00.05 Firmware Builder environment.

I wanted to modify the R5F firmware, so I conducted a simple test using only default tisdk image.

Please review the steps to see if I am missing anything:

  1. Installed the default PSDK10.00.00.05 Firmware Builder for AM62A.
  2. Flashed a new SD card.
  3. Checked booting --> OK.
  4. Changed the firmware link file in /lib/firmware
    1. original  modified
      lrwxrwxrwx  1 usami usami      62 Mar  9  2018 am62a-c71_0-fw -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_c7x_1.out
      lrwxrwxrwx  1 usami usami      78 Mar  9  2018 am62a-c71_0-fw-sec -> /usr/lib/firmware/ti-ipc/am62axx/ipc_echo_test_c7x_1_release_strip.xe71.signed
      lrwxrwxrwx  1 usami usami      73 Mar  9  2018 am62a-mcu-r5f0_0-fw -> /usr/lib/firmware/ti-ipc/am62axx/ipc_echo_test_mcu2_0_release_strip.xer5f
      lrwxrwxrwx  1 usami usami      80 Mar  9  2018 am62a-mcu-r5f0_0-fw-sec -> /usr/lib/firmware/ti-ipc/am62axx/ipc_echo_test_mcu2_0_release_strip.xer5f.signed
      lrwxrwxrwx  1 usami usami      44 Nov 28 02:14 am62a-c71_0-fw -> vision_apps_eaik/vx_app_rtos_linux_c7x_1.out
      lrwxrwxrwx  1 usami usami      78 Mar  9  2018 am62a-c71_0-fw-sec -> /usr/lib/firmware/ti-ipc/am62axx/ipc_echo_test_c7x_1_release_strip.xe71.signed
      lrwxrwxrwx  1 usami usami      45 Nov 28 02:14 am62a-mcu-r5f0_0-fw -> vision_apps_eaik/vx_app_rtos_linux_mcu1_0.out
      lrwxrwxrwx  1 usami usami      80 Mar  9  2018 am62a-mcu-r5f0_0-fw-sec -> /usr/lib/firmware/ti-ipc/am62axx/ipc_echo_test_mcu2_0_release_strip.xer5f.signed
       
  5. sync & reboot --> Booting FAIL. (Please see the logs)
    1. U-Boot 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
      
      SoC:   AM62AX SR1.0 HS-FS
      Model: Texas Instruments AM62A7 SK
      DRAM:  2 GiB (effective 4 GiB)
      Core:  87 devices, 30 uclasses, devicetree: separate
      MMC:   mmc@fa10000: 0, mmc@fa00000: 1
      Loading Environment from nowhere... OK
      In:    serial@2800000
      Out:   serial@2800000
      Err:   serial@2800000
      Net:   eth0: ethernet@8000000port@1
      Hit any key to stop autoboot:  0
      switch to partitions #0, OK
      mmc1 is current device
      SD/MMC found on device 1
      653 bytes read in 36 ms (17.6 KiB/s)
      Loaded env from uEnv.txt
      Importing environment from mmc1 ...
      773492 bytes read in 110 ms (6.7 MiB/s)
      Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
      ti_sci system-controller@44043000: Message not acknowledged
      ti-sci processor set_config failed: -19
      Load Remote Processor 0 with data@addr=0x82000000 773492 bytes: Failed!
      
      
      ...
      [ellipsis]
      ...
      
      
      
      [    0.995088] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
      [    1.015562] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=36, clk=2, ret=-19
      [    1.026201] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=36, clk=3, ret=-19
      [    1.036782] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=37, clk=2, ret=-19
      [    1.047411] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=37, clk=3, ret=-19
      [    1.058001] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=39, clk=2, ret=-19
      [    1.068594] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=39, clk=3, ret=-19
      [    1.079178] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=40, clk=2, ret=-19
      [    1.089758] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=40, clk=3, ret=-19
      [    1.100349] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=41, clk=2, ret=-19
      [    1.110929] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=41, clk=3, ret=-19
      [    1.121523] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=42, clk=2, ret=-19
      [    1.132103] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=42, clk=3, ret=-19
      [    1.142698] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=43, clk=2, ret=-19
      [    1.153276] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=43, clk=3, ret=-19
      [    2.189995] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_get_parent+0x48/0xb8)
      [    2.199897] ti-sci 44043000.system-controller: Mbox send fail -110
      [    2.206220] ti-sci-clk 44043000.system-controller:clock-controller: get-parent failed for dev=75, clk=7, ret=-110
      [    3.245982] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [    3.255957] ti-sci 44043000.system-controller: Mbox send fail -110
      [    3.262281] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=75, clk=8, ret=-110
      [    4.301981] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_get_parent+0x48/0xb8)
      [    4.311865] ti-sci 44043000.system-controller: Mbox send fail -110
      [    4.318188] ti-sci-clk 44043000.system-controller:clock-controller: get-parent failed for dev=75, clk=7, ret=-110
      [    5.357970] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [    5.367943] ti-sci 44043000.system-controller: Mbox send fail -110
      [    5.374265] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=75, clk=7, ret=-110
      [    6.413968] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [    6.423942] ti-sci 44043000.system-controller: Mbox send fail -110
      [    6.430264] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=75, clk=9, ret=-110
      [    7.469968] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [    7.479941] ti-sci 44043000.system-controller: Mbox send fail -110
      [    7.486264] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=77, clk=0, ret=-110
      [    8.525968] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [    8.535940] ti-sci 44043000.system-controller: Mbox send fail -110
      [    8.542263] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=78, clk=0, ret=-110
      [    9.581968] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [    9.591941] ti-sci 44043000.system-controller: Mbox send fail -110
      [    9.598263] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=79, clk=0, ret=-110
      [   10.637977] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [   10.647951] ti-sci 44043000.system-controller: Mbox send fail -110
      [   10.654273] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=102, clk=2, ret=-110
      [   11.693973] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [   11.703946] ti-sci 44043000.system-controller: Mbox send fail -110
      [   11.710268] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=103, clk=2, ret=-110
      [   12.749966] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [   12.759938] ti-sci 44043000.system-controller: Mbox send fail -110
      [   12.766261] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=104, clk=2, ret=-110
      [   13.805966] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [   13.815939] ti-sci 44043000.system-controller: Mbox send fail -110
      [   13.822261] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=114, clk=0, ret=-110
      [   14.861967] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [   14.871943] ti-sci 44043000.system-controller: Mbox send fail -110
      [   14.878266] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=116, clk=0, ret=-110
      [   15.917968] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [   15.927941] ti-sci 44043000.system-controller: Mbox send fail -110
      [   15.934263] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=117, clk=0, ret=-110
      [   16.973968] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_recalc_rate+0x4c/0xac)
      [   16.983940] ti-sci 44043000.system-controller: Mbox send fail -110
      [   16.990263] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=117, clk=6, ret=-110
      [   18.029968] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_get_parent+0x48/0xb8)
      [   18.039851] ti-sci 44043000.system-controller: Mbox send fail -110
      [   18.046174] ti-sci-clk 44043000.system-controller:clock-controller: get-parent failed for dev=125, clk=0, ret=-110

I didn’t change any *.out file. The only file I changed was a symbolic link.

Do you think this error is related to the issue described in the following e2e link?

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1410928/am625-sdk-10-ti-sci-clk-recalc-rate-failed-for-dev-81-clk-20-ret--19?tisearch=e2e-sitesearch&keymatch=ti-sci-clk%2044043000.system-controller%3Aclock-controller%3A%20recalc-rate%20failed%20for%20dev%3D102%2C%20clk%3D2%2C%20ret%3D-110#

Best regards

Yongsig

  • Hi,

    I have assigned the thread to the concerned expert. Please expect a delay of 2-3 days in the response due to thanksgiving holidays.

    Regards,
    Aparna

  • Hello,

    We have very limited support for changes to the DM R5 firmware, which looks to be behaving strangely in your logs. This DM R5 is intended for booting, overall device management (SCI server) and drivers for part of the VPAC vision processing subsystem. It is not recommended to alter this firmware. The MCU R5 is open for use, but not the DM R5 (also called "WKUP R5" in some documents).

    The main Linux image for AM62A is the edgeai image, and the firmware builder is made to generate firmware that is compatible with the edgeai SDK image.  It looks like some compatibility there was broken. For AM62A, firmware builder can rebuilt C7x and DM R5 firmware. Our limited support here covers memory map changes only.

    I don't think this issue is related to the linked thread, because the TI SCI server fails to respond before the Linux kernel has even booted. This looks like something failed during the boot process such that the SCI server is not responding or setup correctly.

    A few questions: 

    • Was anything changed in the boot partition? The DM R5's firmware gets built into some of these boot-partition files
    • Which image did you originally flash on the SD card?
    • It looks like you changed the C7x and mcu-r5f firmware based on the symlnks. Can you revert either/both of these to return to a working version?

    Looking at your updating firmware symlinks, I think your am62a-mcu-r5f0_0-fw is pointing to a binary that is intended for the DM R5 (MCU_1_0) instead of the MCU R5 (MCU2_0). The firmware builder does not automatically build a binary for the MCU R5 (MCU2_0). 

    BR,
    Reese