diff mbox series

[SRU,linux-firmware,F,PULL,v2] Add MT7921 WiFi/Bluetooth firmware

Message ID 20210721090517.559504-1-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,linux-firmware,F,PULL,v2] Add MT7921 WiFi/Bluetooth firmware | expand

Commit Message

You-Sheng Yang July 21, 2021, 9:05 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1936452

[Impact]
No support for MT7921 wifi/bluetooth card.

[Fix]
MT7921 needs both driver and firmware, driver is almost ready,
add firmware first, then get driver bug fixed later.

[Test]
Verified on hardware, cold boot system wifi works fine.
Reboot make it fail, but I will fix it in SRU of kernel patch.
After that, it works fine.

[Where problems could occur]
The MT7921 wifi may not work.

v2:
  - add bluetooth fw to Focal as well. Hirsute/Impish already have BT fw.
    Skipped.
  - sent as PULL format

----------------------------------------------------------------

The following changes since commit ddaffc5e0774186fa62d0e592072971a715dce80:

  iwlwifi: add new FWs from core60-51 release (2021-07-13 14:37:15 -0500)

are available in the Git repository at:

  https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1936452/add-mt7921-fw/focal-pull

for you to fetch changes up to 852fa7e6ae7865f181e49e9190ab3a517a8ece26:

  linux-firmware: add frimware for mediatek bluetooth chip (MT7921) (2021-07-21 14:49:31 +0800)

----------------------------------------------------------------
Sean Wang (3):
      linux-firmware: add firmware for MT7921
      linux-firmware: update firmware for MT7921 WiFi device
      linux-firmware: update firmware for MT7921 WiFi device to 20210612122753

mark-yw.chen (1):
      linux-firmware: add frimware for mediatek bluetooth chip (MT7921)

 WHENCE                                     |  20 ++++++++++++++++++++
 mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin    | Bin 0 -> 520479 bytes
 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 0 -> 92192 bytes
 mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 0 -> 685320 bytes
 4 files changed, 20 insertions(+)
 create mode 100644 mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
 create mode 100644 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
 create mode 100644 mediatek/WIFI_RAM_CODE_MT7961_1.bin

Binary files /dev/null and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ

Comments

Aaron Ma July 22, 2021, 8:21 a.m. UTC | #1
Missing commit:
commit a7882719db91abc46d0166b9ddb8f3d71917d623
Author: mark-yw.chen <mark-yw.chen@mediatek.com>
Date:   Thu Jul 15 21:57:30 2021 +0800

     linux-firmware: update frimware for mediatek bluetooth chip (MT7921)

After a few test, I found the previous bt fw failed to work sometimes.
Updated one works fine.

Aaron

On 7/21/21 5:05 PM, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1936452
> 
> [Impact]
> No support for MT7921 wifi/bluetooth card.
> 
> [Fix]
> MT7921 needs both driver and firmware, driver is almost ready,
> add firmware first, then get driver bug fixed later.
> 
> [Test]
> Verified on hardware, cold boot system wifi works fine.
> Reboot make it fail, but I will fix it in SRU of kernel patch.
> After that, it works fine.
> 
> [Where problems could occur]
> The MT7921 wifi may not work.
> 
> v2:
>    - add bluetooth fw to Focal as well. Hirsute/Impish already have BT fw.
>      Skipped.
>    - sent as PULL format
> 
> ----------------------------------------------------------------
> 
> The following changes since commit ddaffc5e0774186fa62d0e592072971a715dce80:
> 
>    iwlwifi: add new FWs from core60-51 release (2021-07-13 14:37:15 -0500)
> 
> are available in the Git repository at:
> 
>    https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1936452/add-mt7921-fw/focal-pull
> 
> for you to fetch changes up to 852fa7e6ae7865f181e49e9190ab3a517a8ece26:
> 
>    linux-firmware: add frimware for mediatek bluetooth chip (MT7921) (2021-07-21 14:49:31 +0800)
> 
> ----------------------------------------------------------------
> Sean Wang (3):
>        linux-firmware: add firmware for MT7921
>        linux-firmware: update firmware for MT7921 WiFi device
>        linux-firmware: update firmware for MT7921 WiFi device to 20210612122753
> 
> mark-yw.chen (1):
>        linux-firmware: add frimware for mediatek bluetooth chip (MT7921)
> 
>   WHENCE                                     |  20 ++++++++++++++++++++
>   mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin    | Bin 0 -> 520479 bytes
>   mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 0 -> 92192 bytes
>   mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 0 -> 685320 bytes
>   4 files changed, 20 insertions(+)
>   create mode 100644 mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
>   create mode 100644 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
>   create mode 100644 mediatek/WIFI_RAM_CODE_MT7961_1.bin
> 
> diff --git a/WHENCE b/WHENCE
> index 5d4a13b6..898c1c88 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -4658,6 +4658,26 @@ Version: 19530513
>   
>   Licence: Redistributable. See LICENCE.mediatek for details.
>   
> +--------------------------------------------------------------------------
> +
> +Driver: mt7921 - MediaTek MT7921 Wireless MACs
> +
> +File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> +Version: 20210612122717a
> +File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
> +Version: 20210612122753
> +
> +Licence: Redistributable. See LICENCE.mediatek for details.
> +
> +--------------------------------------------------------------------------
> +
> +Driver: mt7921 - MediaTek MT7921 bluetooth chipset
> +
> +File: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
> +Version: 20210223142901
> +
> +Licence: Redistributable. See LICENCE.mediatek for details.
> +
>   --------------------------------------------------------------------------
>   Driver: nfp - Netronome Flow Processor
>   
> diff --git a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
> new file mode 100644
> index 00000000..9a15b020
> Binary files /dev/null and b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin differ
> diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> new file mode 100644
> index 00000000..15c68961
> Binary files /dev/null and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
> diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
> new file mode 100644
> index 00000000..9de3d1d4
> Binary files /dev/null and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ
>
diff mbox series

Patch

diff --git a/WHENCE b/WHENCE
index 5d4a13b6..898c1c88 100644
--- a/WHENCE
+++ b/WHENCE
@@ -4658,6 +4658,26 @@  Version: 19530513
 
 Licence: Redistributable. See LICENCE.mediatek for details.
 
+--------------------------------------------------------------------------
+
+Driver: mt7921 - MediaTek MT7921 Wireless MACs
+
+File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
+Version: 20210612122717a
+File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
+Version: 20210612122753
+
+Licence: Redistributable. See LICENCE.mediatek for details.
+
+--------------------------------------------------------------------------
+
+Driver: mt7921 - MediaTek MT7921 bluetooth chipset
+
+File: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
+Version: 20210223142901
+
+Licence: Redistributable. See LICENCE.mediatek for details.
+
 --------------------------------------------------------------------------
 Driver: nfp - Netronome Flow Processor
 
diff --git a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
new file mode 100644
index 00000000..9a15b020
Binary files /dev/null and b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin differ
diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
new file mode 100644
index 00000000..15c68961
Binary files /dev/null and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
new file mode 100644
index 00000000..9de3d1d4