From patchwork Thu Jul 22 10:26:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1508629 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GVpWt1Nrtz9sXJ; Thu, 22 Jul 2021 20:26:18 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1m6Vu9-0003rS-1S; Thu, 22 Jul 2021 10:26:13 +0000 Received: from mail-pl1-f180.google.com ([209.85.214.180]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1m6Vu6-0003rK-Ii for kernel-team@lists.ubuntu.com; Thu, 22 Jul 2021 10:26:10 +0000 Received: by mail-pl1-f180.google.com with SMTP id d1so3950046plg.0 for ; Thu, 22 Jul 2021 03:26:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yuX0x19LhatQRWMrr1Nym9BevyTdES/WgLV42ndEYMs=; b=NQNCfzdzYUIklgPMbAo02IWiMLzt8ZGBcrwgFfcnZxcZ7WOaTTX8HdrOL/JKw0YIiJ X3+Lao/dm9jLtGu/FtUfDymFEAHmDaOxGw775s0OcIBQLQhRTUPKx47lmTaEu7qiGPq+ Jw/HDadZF2sen3HFRIbx+1Pa01tOQzn5CJtt1A6I08+8VT2B79iDUlX7RjN7iaCmGDkz gCbFQDIkjg/OL85grlC8Swkp00ipomBzbBcOHqOL2zOebgrGQZ+0uelRRn6kpPqRPJ9B SzcOPGXCJt4jm2/s/k9xcBxteq+HiDgEyxpxaGvltHC1i91Nsg7nKOF68QHuH+5A21Sl mn7A== X-Gm-Message-State: AOAM532BzcZ/63rRAOl3WHzes2dK2TBrWXNKsWDeHXe0HufhM9FiJvqE 6e8FlX8sq/M/Z6UKoG6QWrxH3IPHRsDGJA== X-Google-Smtp-Source: ABdhPJzYthdgPKIYP/ycpL69b1LQLqM7cXM+yuOMsRzutuQuadbntkYTMrSJ8s8Db6A2U+Ln5kFT8Q== X-Received: by 2002:a17:902:f691:b029:12b:7650:1f55 with SMTP id l17-20020a170902f691b029012b76501f55mr22410471plg.19.1626949567919; Thu, 22 Jul 2021 03:26:07 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id u62sm18959780pfb.19.2021.07.22.03.26.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 03:26:07 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][linux-firmware][F][PULL v3] Add MT7921 WiFi/Bluetooth firmware Date: Thu, 22 Jul 2021 18:26:05 +0800 Message-Id: <20210722102605.872031-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.180; envelope-from=vicamo@gmail.com; helo=mail-pl1-f180.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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 v3: backport commit a7882719db91 as well ---------------------------------------------------------------- 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 7e1c5d7fc76c01044240c6de2ff2884dd54b4e5a: linux-firmware: update frimware for mediatek bluetooth chip (MT7921) (2021-07-22 17:02:11 +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 (2): linux-firmware: add frimware for mediatek bluetooth chip (MT7921) linux-firmware: update frimware for mediatek bluetooth chip (MT7921) WHENCE | 20 ++++++++++++++++++++ mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin | Bin 0 -> 530734 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 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..42e69eef 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