fwupd / firmware-lenovo

Missing firmware for Lenovo Thinkpad hardware
122 stars 4 forks source link

Can't install update ECFW T14/P14s Gen 4 #390

Open tststired opened 12 months ago

tststired commented 12 months ago

Hello,

Since https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadN3QHT.firmware are now on lvfs I thought I'd be able to update them but unfortunately when I run fwupdmgr refresh and get-updates nothing seems to happen.

fwupdmgr get-updates

Devices with no available firmware updates:
 • System Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • WD PC SN740 SDDQNQD-512G-1201
 • Integrated Camera
Devices with the latest available firmware version:
 • UEFI dbx
No updates available

fwupdmgr get-devices --show-all-devices

LENOVO 21K5CTO1WW
│
├─AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics:
│ │   Device ID:          4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│ │   Current version:    0x0a704103
│ │   Vendor:             Advanced Micro Devices, Inc.
│ │   GUIDs:              b9a2dd81-159e-5537-a7db-e7101d164d3f ← cpu
│ │                       22f9ecf4-588d-5c0a-8326-6ebff3655c6d ← CPUID\PRO_0&FAM_19
│ │                       2a1df9de-fe02-59c8-8af1-32c8bb011f94 ← CPUID\PRO_0&FAM_19&MOD_74
│ │                       5a4bca32-6547-584f-bb36-920d9adede25 ← CPUID\PRO_0&FAM_19&MOD_74&STP_1
│ │   Device Flags:       • Internal device
│ │
│ ├─GPIO controller:
│ │     Device ID:        f685512aa07369c9e77742acef941d779d31e766
│ │     GUID:             37b440a9-2473-5087-a39b-db84f32a8ed8 ← GPIO\ID_AMDI0030:00
│ │
│ ├─Graphics Processing Unit (GPU):
│ │ │   Device ID:        75dbd857f37f0f1aa3d5bf2fea25b876288fb415
│ │ │   Current version:  022.012.000.016.000001
│ │ │   Vendor:           Advanced Micro Devices, Inc. [AMD/ATI] (PCI:0x1002)
│ │ │   GUIDs:            74ecfd82-e883-519c-a56c-f7cd77dfc66e ← PCI\VEN_1002&DEV_15BF
│ │ │                     e6171682-816b-52d0-b219-40c5cf6a3619 ← PCI\VEN_1002&DEV_15BF&SUBSYS_17AA50DA
│ │ │                     6c23af4f-d6cd-5ffc-a502-0b85e472e7cb ← AMD\113-PHXGENERIC-001
│ │ │   Device Flags:     • Internal device
│ │ │
│ │ └─NE140WUM-NY1:
│ │       Device ID:      aec1a869eb0df71b7cea6b3ac71d39b830faf164
│ │       GUID:           1257dc02-3738-59ed-bcc4-87027cb604c2 ← DRM\VEN_BOE&DEV_0AB7
│ │       Device Flags:   • Internal device
│ │
│ ├─Secure Processor:
│ │     Device ID:        c54ab0237d7a8db8c717b68e0be78e4374a2a079
│ │     Vendor:           Advanced Micro Devices, Inc. (PCI:0x1022)
│ │     GUIDs:            9eb6a793-7f97-5fb5-b49c-139d2ce3ee46 ← PCI\VEN_1022&DEV_15C7
│ │                       ccdf3a32-442f-5c0b-ad12-2e7709eb8444 ← PCI\VEN_1022&DEV_15C7&SUBSYS_17AA50D9
│ │     Device Flags:     • Internal device
│ │
│ └─System Management Unit (SMU):
│       Device ID:        db0330716216c629bb2c07256e5d018f499eb6ce
│       Summary:          Microcontroller used within CPU/APU program 4
│       Current version:  76.25.107
│       Vendor:           Advanced Micro Devices, Inc.
│       GUID:             3ac3159e-6eef-5f6b-bc8d-67686b238747 ← /sys/devices/platform/AMDI0009:00
│       Device Flags:     • Internal device
│
├─Integrated Camera:
│     Device ID:          983c3cffc6fd36d32b00b62928d30721eaeb93db
│     Current version:    27.91
│     Vendor:             Chicony Electronics Co.,Ltd. (USB:0x04F2)
│     Serial Number:      0001
│     GUID:               1b9ce00f-4721-582f-a3d9-86987c27728f ← USB\VID_04F2&PID_B761
│     Device Flags:       • Updatable
│
├─System Firmware:
│ │   Device ID:          f95c9218acd12697af946874bfe4239587209232
│ │   Summary:            UEFI ESRT device
│ │   Current version:    65549
│ │   Vendor:             LENOVO (DMI:LENOVO)
│ │   Update State:       Success
│ │   Problems:           • Device requires AC power to be connected
│ │   GUIDs:              18cced7e-d108-41c4-9189-b0355c41450d
│ │                       230c8b18-8d9b-53ec-838b-6cfc0383493a ← main-system-firmware
│ │   Device Flags:       • Internal device
│ │                       • System requires external power source
│ │                       • Needs a reboot after installation
│ │                       • Cryptographic hash verification is available
│ │                       • Device is usable for the duration of the update
│ │                       • Updatable
│ │
│ ├─UEFI Platform Key:
│ │     Device ID:        6924110cde4fa051bfdc600a60620dc7aa9d3c6a
│ │     Summary:          Lenovo Ltd. PK CA 2012
│ │     Vendor:           Lenovo Ltd.
│ │     GUID:             71599d14-9b31-5270-b3bd-74c494585820 ← UEFI\CRT_9AEF2123F4DE7C19AFABD909BB2C8CAC4411E07E
│ │
│ └─UEFI dbx:
│       Device ID:        362301da643102b9f38477387e2193e57abaa590
│       Summary:          UEFI revocation database
│       Current version:  371
│       Minimum Version:  371
│       Vendor:           UEFI:Linux Foundation
│       Install Duration: 1 second
│       GUIDs:            14503b3d-73ce-5d06-8137-77c68972a341 ← UEFI\CRT_A9087D1044AD18F7A94916D284CBC01827CF23CD8F60B79072C9CAA1FEF4D649
│                         5971a208-da00-5fce-b5f5-1234342f9cf7 ← UEFI\CRT_A9087D1044AD18F7A94916D284CBC01827CF23CD8F60B79072C9CAA1FEF4D649&ARCH_X64
│                         c6682ade-b5ec-57c4-b687-676351208742 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503
│                         f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64
│       Device Flags:     • Internal device
│                         • Updatable
│                         • Supported on remote server
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Only version upgrades are allowed
│                         • Signed Payload
│
├─TPM:
│     Device ID:          c6a80ac3a22083423992a3cb15018989f37834d6
│     Current version:    1.769.0.0
│     Vendor:             ST Microelectronics (TPM:STM)
│     Problems:           • Device requires AC power to be connected
│     GUIDs:              ff71992e-52f7-5eea-94ef-883e56e034c6 ← system-tpm
│                         3680fbf1-593f-586f-91ac-c528b37e8373 ← TPM\VEN_STM&DEV_0000
│                         df479455-9790-58c9-b22a-bce5bc9eb149 ← TPM\VEN_STM&MOD_ST33TPHF2XSPI
│                         8d0b4adc-a42f-59eb-9df8-665923afa086 ← TPM\VEN_STM&DEV_0000&VER_2.0
│                         d565c809-9cf5-51c1-9ab7-d66b9d70ffbd ← TPM\VEN_STM&MOD_ST33TPHF2XSPI&VER_2.0
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device can recover flash failures
│                         • Full disk encryption secrets may be invalidated when updating
│                         • Signed Payload
│
├─UEFI Device Firmware:
│     Device ID:          a45df35ac0e948ee180fe216a5f703f32dda163f
│     Summary:            UEFI ESRT device
│     Current version:    10129
│     Minimum Version:    1
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     Problems:           • Device requires AC power to be connected
│     GUID:               ad799983-1e39-46b8-8923-36066970762e
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Updatable
│
├─UEFI Device Firmware:
│     Device ID:          349bb341230b1a86e5effe7dfe4337e1590227bd
│     Summary:            UEFI ESRT device
│     Current version:    196608
│     Minimum Version:    57374
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     Problems:           • Device requires AC power to be connected
│     GUID:               54cb734c-975c-4a74-9556-57ae6d9a2229
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Updatable
│
├─UEFI Device Firmware:
│     Device ID:          2292ae5236790b47884e37cf162dcf23bfcd1c60
│     Summary:            UEFI ESRT device
│     Current version:    3344935
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     Problems:           • Device requires AC power to be connected
│     GUID:               023a338b-246f-47e0-b4e5-304203184ec1
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Updatable
│
├─UEFI Device Firmware:
│     Device ID:          d96de5c124b60ed6241ebcb6bb2c839cb5580786
│     Summary:            UEFI ESRT device
│     Current version:    1
│     Minimum Version:    1
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     Problems:           • Device requires AC power to be connected
│     GUID:               ee2abbba-c403-4cf4-8a41-02f6217c204e
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Updatable
│
├─UEFI Device Firmware:
│     Device ID:          f37fb01122dd62c773f4e84ec89737e059712d59
│     Summary:            UEFI ESRT device
│     Current version:    65547
│     Minimum Version:    65547
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     Problems:           • Device requires AC power to be connected
│     GUID:               636ac64e-b398-4f2f-a16b-d7e38cf6e33c
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Updatable
│
├─UEFI Device Firmware:
│     Device ID:          36efb79c255f402f619fa9eb53cd659db51f2a04
│     Summary:            UEFI ESRT device
│     Current version:    16777222
│     Minimum Version:    1
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     Problems:           • Device requires AC power to be connected
│     GUID:               1ab00d49-5d28-4414-9ef5-d96ad9756ba9
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Updatable
│
└─WD PC SN740 SDDQNQD-512G-1201:
      Device ID:          3743975ad7f64f8d6575a9ae49fb3a8856fe186f
      Summary:            NVM Express solid state drive
      Current version:    73116101
      Vendor:             Sandisk Corp (NVME:0x15B7)
      Serial Number:      23276Q806892
      Problems:           • Device requires AC power to be connected
      GUIDs:              1524d43d-ed91-5130-8cb6-8b8478508bae ← NVME\VEN_15B7&DEV_5017
                          87cfda90-ce08-52c3-9bb5-0e0718b7e57e ← NVME\VEN_15B7&DEV_5017&SUBSYS_15B75017
                          8635fc59-d0a3-58d7-b16b-a460dd07b59a ← WD PC SN740 SDDQNQD-512G-1201
      Device Flags:       • Internal device
                          • System requires external power source
                          • Needs a reboot after installation
                          • Device is usable for the duration of the update
                          • Updatable

Manual installation of the cab file shows no supported devices found

fwupdmgr install 06d854e328983af525e018c8d6c1d5bafb9955cec2464433730bb218dc4af204-N3QET38W.cab
Decompressing…           [            /                          ]
No supported devices found
Oposum01 commented 10 months ago

To my understanding the referenced "N3QHT.firmware" is not suitable for P14s Gen 4 AMD (21K5) - N3QHT.firmware is for the Intel variants for the P14s. The right BIOS Package ID R2FUJ36W containing v1.16 (R2FET36W) with v1.14 (R2FHT30W) has been released on 2023/11/24 on Lenovos site, but I can not find any reference to this in the fwupd/LFVS metadata. Maybe the entry for the P14s Gen 4 AMD (21K5, which I am having too) is still missing? @mrhpearson The GUIDs for the System Firmware on my P14s Gen4 AMD (21K5) are identical to the ones from @tststired :18cced7e-d108-41c4-9189-b0355c41450d and 230c8b18-8d9b-53ec-838b-6cfc0383493a

tststired commented 10 months ago

Isn't N3Q for the embedded controller? https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadR2FET.firmware This one should be for the BIOS. I'm still not able to find the N3QHT for the EC but am able to install the 1.16 lvfs.

Oposum01 commented 10 months ago

I'm pretty sure "N3Q" is for the Intel devices, only.

Nevertheless I'm able to confirm fwupdmgr found the R2FET v1.16 update now (which has been released 4 days ago according to your link. thanks!) on a P14s Gen4 AMD.

tststired commented 10 months ago

Hmm I'm not sure because I always assumed that EC and BIOS have separate firmware, can @mrhpearson confirm this? https://fwupd.org/lvfs/search?value=t14+gen+4 because here when i search, there's 2 BIOS system firmware update paths, and only one EC path.

Oposum01 commented 10 months ago

There is no (standalone) Embedded Controller Update for the AMD variants available on LVFS for now, as far as I understand. See the titles in https://fwupd.org/lvfs/search?value=t14+gen+4 where they mention "AMD" if it is suitable for the AMD variant:

tststired commented 10 months ago

https://pcsupport.lenovo.com/au/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-4-type-21k5-21k6/21k5/21k5cto1ww/

Ah appears you're right in the details of the 1.16 release it mentions the "This package updates the UEFI BIOS (including system program and Embedded Controller program) stored in the ThinkPad computer to fix problems, add new functions, or expand functions."

Interesting that intel variants get a split EC update

mrhpearson commented 10 months ago

Just to clarify on the nomenclature: The first three chars are the platform - N3Q is the intel variant and R2F is the AMD variant. The next two chars is the FW type. ET is BIOS, HT is EC (and others have different codes) After that is the version.

For the G4 AMD EC FW - I just checked and version 1.15 was uploaded 6 days ago but is still under embargo and hasn't been tested yet. Can someone bug me if it's not been released by the end of the week and I'll nag them for an update, but it looks like it's just working it's way thru the process right now.