Skip to contentSkip to conversation

dpll: zl3073x: Increase maximum size of flash utility

PATCH Applied Ivan Vecera 3 participants 3 messages Oct 8, 2025 – Oct 10, 2025

Subsystems (4)
lore
Share & tools
lore

Ivan Vecera

author maintainer
#0 lore raw

PATCH 1/1 dpll: zl3073x: Increase maximum size of flash utility

Newer firmware bundles contain a flash utility whose size exceeds the currently allowed limit. Increase the maximum allowed size to accommodate the newer utility version.

Without this patch:

 # devlink dev flash i2c/1-0070 file fw_nosplit_v3.hex
 Failed to load firmware
 Flashing failed
 Error: zl3073x: FW load failed: [utility] component is too big (11000 bytes)
Fixes ca017409da694 ("dpll: zl3073x: Add firmware loading functionality")
---
 drivers/dpll/zl3073x/fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dpll/zl3073x/fw.c +1 -1
index d5418ff74886..def37fe8d9b0 100644
@@ -37,7 +37,7 @@ struct zl3073x_fw_component_info {
 static const struct zl3073x_fw_component_info component_info[] = {
 	[ZL_FW_COMPONENT_UTIL] = {
 		.name		= "utility",
-		.max_size	= 0x2300,
+		.max_size	= 0x4000,
 		.load_addr	= 0x20000000,
 		.flash_type	= ZL3073X_FLASH_TYPE_NONE,
 	},
Signature · 1 line
2.49.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · Ivan Vecera

Newer firmware bundles contain a flash utility whose size exceeds the currently allowed limit. Increase the maximum allowed size to accommodate the newer utility version.

Without this patch:

  # devlink dev flash i2c/1-0070 file fw_nosplit_v3.hex
  Failed to load firmware
  Flashing failed
  Error: zl3073x: FW load failed: [utility] component is too big (11000 bytes)
Fixes ca017409da694 ("dpll: zl3073x: Add firmware loading functionality")
---
  drivers/dpll/zl3073x/fw.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dpll/zl3073x/fw.c +0 -0
index d5418ff74886..def37fe8d9b0 100644

drivers/dpll/zl3073x/fw.c struct zl3073x_fw_component_info { · line 43

Quoted 8 lines
drivers/dpll/zl3073x/fw.c +1 -1
@@ -37,7 +37,7 @@ struct zl3073x_fw_component_info {
  static const struct zl3073x_fw_component_info component_info[] = {
  	[ZL_FW_COMPONENT_UTIL] = {
  		.name		= "utility",
-		.max_size	= 0x2300,
+		.max_size	= 0x4000,
  		.load_addr	= 0x20000000,
  		.flash_type	= ZL3073X_FLASH_TYPE_NONE,
  	},
#2 lore raw
In reply to Ivan Vecera
This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:

Quoted 11 lines · On Wed, 8 Oct 2025 16:14:18 +0200 you wrote:

Newer firmware bundles contain a flash utility whose size exceeds the currently allowed limit. Increase the maximum allowed size to accommodate the newer utility version.

Without this patch:

 # devlink dev flash i2c/1-0070 file fw_nosplit_v3.hex
 Failed to load firmware
 Flashing failed
 Error: zl3073x: FW load failed: [utility] component is too big (11000 bytes)

[...]

Here is the summary with links:
- [net] dpll: zl3073x: Increase maximum size of flash utility

    https://git.kernel.org/netdev/net/c/f3426ac54c42

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html