Skip to contentSkip to conversation

thunderbolt: Bring the firmware upgrade documentation up-to-date

PATCH In review Mika Westerberg 1 participant 4 messages Oct 28, 2025 – Nov 3, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover thunderbolt: Bring the firmware upgrade documentation up-to-date

Hi all,

The recommended way to apply Thunderbolt/USB4 firmware upgrades is through Linux Vendor Firmware Service (LVFS) and fwupd that are present in most distros. These patches update the documentation to mention this too.

Alan Borzeszkowski (2):
thunderbolt: Update NVM firmware upgrade documentation
thunderbolt: Update deprecated firmware update site in icm.c

 Documentation/admin-guide/thunderbolt.rst | 50 ++++++++++++++++-------
 drivers/thunderbolt/icm.c                 |  2 +-
 2 files changed, 36 insertions(+), 16 deletions(-)
Signature · 1 line
2.50.1
#1 lore raw

PATCH 1/2 thunderbolt: Update NVM firmware upgrade documentation

From: Alan Borzeszkowski <[email protected]>

Update guide about firmware upgrade of Thunderbolt devices, replacing outdated recommendations with the use of modern "fwupd" tool.

---
 Documentation/admin-guide/thunderbolt.rst | 50 ++++++++++++++++-------
 1 file changed, 35 insertions(+), 15 deletions(-)
Documentation/admin-guide/thunderbolt.rst +35 -15
index 102c693c8f81..07303c1346fb 100644
@@ -203,10 +203,10 @@ host controller or a device, it is important that the firmware can be
 upgraded to the latest where possible bugs in it have been fixed.
 Typically OEMs provide this firmware from their support site.
 
-There is also a central site which has links where to download firmware
-for some machines:
-
-  `Thunderbolt Updates <https://thunderbolttechnology.net/updates>`_
+Currently, recommended method of updating firmware is through "fwupd" tool.
+It uses LVFS (Linux Vendor Firmware Service) portal by default to get the
+latest firmware from hardware vendors and updates connected devices if found
+compatible. For details refer to: https://github.com/fwupd/fwupd.
 
 Before you upgrade firmware on a device, host or retimer, please make
 sure it is a suitable upgrade. Failing to do that may render the device
@@ -215,18 +215,40 @@ tools!
 
 Host NVM upgrade on Apple Macs is not supported.
 
-Once the NVM image has been downloaded, you need to plug in a
-Thunderbolt device so that the host controller appears. It does not
-matter which device is connected (unless you are upgrading NVM on a
-device - then you need to connect that particular device).
+Fwupd is installed by default. If you don't have it on your system, simply
+use your distro package manager to get it.
+
+To see possible updates through fwupd, you need to plug in a Thunderbolt
+device so that the host controller appears. It does not matter which
+device is connected (unless you are upgrading NVM on a device - then you
+need to connect that particular device).
 
 Note an OEM-specific method to power the controller up ("force power") may
 be available for your system in which case there is no need to plug in a
 Thunderbolt device.
 
-After that we can write the firmware to the non-active parts of the NVM
-of the host or device. As an example here is how Intel NUC6i7KYK (Skull
-Canyon) Thunderbolt controller NVM is upgraded::
+Updating firmware using fwupd is straightforward - refer to official
+readme on fwupd github.
+
+If firmware image is written successfully, the device shortly disappears.
+Once it comes back, the driver notices it and initiates a full power
+cycle. After a while device appears again and this time it should be
+fully functional.
+
+Device of interest should display new version under "Current version"
+and "Update State: Success" in fwupd's interface.
+
+Upgrading firmware manually
+---------------------------------------------------------------
+If possible, use fwupd to updated the firmware. However, if your device OEM
+has not uploaded the firmware to LVFS, but it is available for download
+from their side, you can use method below to directly upgrade the
+firmware.
+
+Manual firmware update can be done with 'dd' tool. To update firmware
+using this method, you need to write it to the non-active parts of NVM
+of the host or device. Example on how to update Intel NUC6i7KYK
+(Skull Canyon) Thunderbolt controller NVM::
 
   # dd if=KYK_TBT_FW_0018.bin of=/sys/bus/thunderbolt/devices/0-0/nvm_non_active0/nvmem
 
@@ -235,10 +257,8 @@ upgrade process as follows::
 
   # echo 1 > /sys/bus/thunderbolt/devices/0-0/nvm_authenticate
 
-If no errors are returned, the host controller shortly disappears. Once
-it comes back the driver notices it and initiates a full power cycle.
-After a while the host controller appears again and this time it should
-be fully functional.
+If no errors are returned, device should behave as described in previous
+section.
 
 We can verify that the new NVM firmware is active by running the following
 commands::
Signature · 1 line
2.50.1
#2 lore raw

PATCH 2/2 thunderbolt: Update deprecated firmware update site in icm.c

In reply to Mika Westerberg

From: Alan Borzeszkowski <[email protected]>

Update leftover reference to Thunderbolt firmware upgrade site (thunderbolttechnology.net) with the preferred method described in Documentation/admin-guide/thunderbolt.rst.

---
 drivers/thunderbolt/icm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thunderbolt/icm.c +1 -1
index f213d9174dc5..66092febb40d 100644
@@ -2000,7 +2000,7 @@ static int icm_driver_ready(struct tb *tb)
 	if (icm->safe_mode) {
 		tb_info(tb, "Thunderbolt host controller is in safe mode.\n");
 		tb_info(tb, "You need to update NVM firmware of the controller before it can be used.\n");
-		tb_info(tb, "For latest updates check https://thunderbolttechnology.net/updates.\n");
+		tb_info(tb, "Use fwupd tool to apply update. Check Documentation/admin-guide/thunderbolt.rst for details.\n");
 		return 0;
 	}
 
Signature · 1 line
2.50.1
#3 lore raw
In reply to Mika Westerberg
Quoted 9 lines · Mika Westerberg

Hi all,

The recommended way to apply Thunderbolt/USB4 firmware upgrades is through Linux Vendor Firmware Service (LVFS) and fwupd that are present in most distros. These patches update the documentation to mention this too.

Alan Borzeszkowski (2):
thunderbolt: Update NVM firmware upgrade documentation
thunderbolt: Update deprecated firmware update site in icm.c

Both applied to thundergolt.git/next.