]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "Print version of the DM firmware"
authorTom Rini <trini@konsulko.com>
Wed, 18 Jun 2025 18:20:41 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 18 Jun 2025 21:54:48 +0000 (15:54 -0600)
Moteen Shah <m-shah@ti.com> says:

This patch series adds the functionality to print the DM firmware
version being used. Before requesting TISCI for the DM version we
first check if the DM split mode capability exists, if yes, we proceed
onto making the call to TISCI for retrieving the version information.

DM split mode capability indicates that the DM is a separate binary
altogether and has its own versioning information similar to TIFS.

Boot Logs: https://gist.github.com/Jamm02/37864f605445944a0c0caf426e0aba50

Link: https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html#tisci-msg-query-fw-caps
Link: https://lore.kernel.org/r/20250609081434.1000377-1-m-shah@ti.com
1  2 
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h
arch/arm/mach-k3/j721e/j721e_init.c
arch/arm/mach-k3/j721s2/j721s2_init.c
arch/arm/mach-k3/j784s4/j784s4_init.c

Simple merge
Simple merge
Simple merge
index 6342161f830aa7608d586b5f78154a712c794139,528590f0434f0405ce04694ecc67fd1e17ff6469..eee3d0440ac3e4af503deccb8ae0fd719d165a8e
@@@ -230,15 -230,12 +230,19 @@@ void k3_spl_init(void
                remove_fwl_configs(navss_cbass0_fwls, ARRAY_SIZE(navss_cbass0_fwls));
        }
  
 +      /* Shutdown MCU_R5 Core 1 in Split mode at A72 SPL Stage */
 +      if (IS_ENABLED(CONFIG_ARM64)) {
 +              ret = shutdown_mcu_r5_core1();
 +              if (ret)
 +                      printf("Unable to shutdown MCU R5 core 1, %d\n", ret);
 +      }
 +
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
  }
  
  bool check_rom_loaded_sysfw(void)
index 5c06632a5cae9df10e59d5b2309c607f291d6414,ccf298108490f8b4a25c16192f3a49efc80ed7bc..0f11511bda010e698800149e808eb5c39aae3413
@@@ -206,15 -206,12 +206,19 @@@ void k3_spl_init(void
  
        writel(AUDIO_REFCLK1_DEFAULT, (uintptr_t)CTRL_MMR_CFG0_AUDIO_REFCLK1_CTRL);
  
 +      /* Shutdown MCU_R5 Core 1 in Split mode at A72 SPL Stage */
 +      if (IS_ENABLED(CONFIG_ARM64)) {
 +              ret = shutdown_mcu_r5_core1();
 +              if (ret)
 +                      printf("Unable to shutdown MCU R5 core 1, %d\n", ret);
 +      }
 +
        /* Output System Firmware version info */
        k3_sysfw_print_ver();
+       /* Output DM Firmware version info */
+       if (IS_ENABLED(CONFIG_ARM64))
+               k3_dm_print_ver();
  }
  
  void k3_mem_init(void)