Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC78418E0E for ; Mon, 19 Aug 2024 17:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724088454; cv=none; b=t6kdBWoo5/jHfUs7jXmmtlB0wbFdxQKMPcg3ZyNheX2fTSyS4XerSHJuOy6DRpVcFGIS36rQYJvNytx6YOH4KOq/KuLX+NXmfBkceSYfBteuSb1c6LaHO3bMt4NJahObmsm0QrpHivaAnJYAhZlViAbmdw/wTAN+N+Ma5k0yRNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724088454; c=relaxed/simple; bh=hTfwFKXYoARyydlpwnLuxqntQd77HK/80uMH9D3P2Zg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=T7TwMGc6IHHHbf4aM5pjZHl8GpQ7jzoS2KxVzfqII7AOZxpb2ug0IYl/18J2fqYncAA551EoF4uw6ywEX2I98A4kxie3h6XquN/AV8pbZda82Xv3/XqQg4znnRJVbJN4w/R6snk1C1H3GsOxqvvPU3j+wBIn05uoPrTprNB0Gk8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=JNERJ4sR; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="JNERJ4sR" Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 60288889C3; Mon, 19 Aug 2024 19:27:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1724088450; bh=7gc151XOf+lmvySRQy5rZURSjAIrtYF4N3ANDzi7s+g=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JNERJ4sR1kVvUTFSwHW0cTnzQ0XKFwE8dmTS0dSjhlvdv/w5aIEOQctOL07Rfu8vj UWbZcYE3pUYg4RuaqijwO3i79/p9w0UJQBMQ55Ldn4qaQyrrfyiw+Zu/VF5gC6ERKK WXZlXAx97vHZCIkDps0Z0TGt3Bjj1qZjfLATmxj2g/j8TDMCYneHF5jVZayrcj7oCO 2ga+FHaKVXu2wkAyTsukN9HoPS2KQ4OdPNlrMV64PpJeqdHK1ISSYk7lAAjEGvPxoJ Zvs4tQz6LK4+pPXuSx8pxABhJIJ7v8V0l+M/sEagyc0xrwJxvUQ8WJfe01Lc1RR+iB G3P4x8jmKASMQ== Message-ID: Date: Mon, 19 Aug 2024 18:17:37 +0200 Precedence: bulk X-Mailing-List: brcm80211@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] wifi: brcmfmac: add support for TRX firmware download To: Arend Van Spriel , Kalle Valo Cc: linux-wireless@vger.kernel.org, Chung-Hsien Hsu , Chung-Hsien Hsu , "Dr. David Alan Gilbert" , "Gustavo A. R. Silva" , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Bjorn Helgaas , Carter Chen , Duoming Zhou , Erick Archer , Kees Cook , Krzysztof Kozlowski , Mathias Krause , Matthias Brugger , Owen Huang , Ulf Hansson , brcm80211-dev-list.pdl@broadcom.com, brcm80211@lists.linux.dev References: <20240818201533.89669-1-marex@denx.de> <871q2ky3zm.fsf@kernel.org> <1916b572558.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> Content-Language: en-US From: Marek Vasut In-Reply-To: <1916b572558.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 8/19/24 5:52 PM, Arend Van Spriel wrote: Hi, >>> Add support to download TRX firmware for PCIe and SDIO. >>> >>> Signed-off-by: Chung-Hsien Hsu >>> Signed-off-by: Marek Vasut # Upport to current >>> linux-next >> >> The commit message should answer to the question 'Why?'. What's TRX >> firmware and why do we need it? > > I looked over the patches, but did not sit down to comment on this. Thanks, it is real nice that someone who is actually familiar with the hardware jumped in. I only upported the patches from infineon downstream. > The > TRX firmware format allows multiple images and possibly compression. Not > sure if Infineon is using all this functionality. This is probably > needed for 55572 device support (patch 2/2). Turns out this device has a > bootloader that the driver has to talk with and that is probably where > this TRX support comes from. Not something I considered to happen for > SDIO and PCIe devices. There is always a puzzle to solve ;-) > > Also noticed a random seed is provided to firmware. This already there > for apple chips so it should be looked at whether that code can be > shared. I will follow up. I did notice just now there is some TRX support for USB broadcom devices ?