🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5209

Re: [PATCH net-next] net: phy: air_en8811h: use firmware loaded by the bootloader

#5209
From: Andrew Lunn
Date: Tue, 20 Oct 2026 00:21
39 lines
10340 bytes
On Mon, Oct 19, 2026 at 04:33:04AM +0300, Aleksei Sviridkin wrote:
> On Sun, Oct 18, 2026 at 09:13:46PM +0200, Andrew Lunn wrote:
> > Is it possible to figure out from the firmware blob what version it
> > is?
> 
> Not reliably, as far as I can tell. The version the driver prints is
> written into DM by the running MCU; the file holds zeros at that
> address. In the DSP blob the halves 0x2506 and 0x2302 sit eight bytes
> apart, which looks like the code that builds the word, but that is a
> guess at an offset in vendor code.
> 
> Lucien, Albert, does Airoha guarantee any field in EthMD32.dm.bin or
> EthMD32.DSP.bin as the firmware version, at a fixed place that will not
> move in later releases? Without such a guarantee I would rather not
> compare versions in the driver.

linux-firmware/airoha$ git log --oneline EthMD32.dm.bin 
149f9b8e linux-firmware: update firmware for en8811h 2.5G ethernet phy
d88562a0 linux-firmware: update firmware for en8811h 2.5G ethernet phy
d3480463 linux-firmware: update firmware for en8811h 2.5G ethernet phy
75ac03a8 linux-firmware: update firmware for en8811h 2.5G ethernet phy
73b4429f linux-firmware: update firmware for en8811h 2.5G ethernet phy
ddc99b3d linux-firmware: add firmware for en8811h 2.5G ethernet phy
linux-firmware/airoha$ git log --oneline EthMD32.DSP.bin
149f9b8e linux-firmware: update firmware for en8811h 2.5G ethernet phy
d88562a0 linux-firmware: update firmware for en8811h 2.5G ethernet phy
d3480463 linux-firmware: update firmware for en8811h 2.5G ethernet phy
75ac03a8 linux-firmware: update firmware for en8811h 2.5G ethernet phy
73b4429f linux-firmware: update firmware for en8811h 2.5G ethernet phy
ddc99b3d linux-firmware: add firmware for en8811h 2.5G ethernet phy

Looks like there is 6 of each. Maybe you can look at all these
versions and see if there is a pattern?

But it is just nice to have. Its not required for this patch to be
merged.

    Andrew
Technical Details
Message-ID: <3078aefc-aad7-4cfb-b7bb-3a1bec5a832b@lunn.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348921-linux-kernel-netdev=dewy.ru
References: <2d6df47b-2cc3-4003-85db-f72b878427d9@lunn.ch> <20261019013304.1612468-1-f@lex.la>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348921-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: phy: air_en8811h: use firmware loaded by
 the bootloader
Date: Tue, 20 Oct 2026 02:21:39 +0200
Organization: Usenet Network
Message-ID: <3078aefc-aad7-4cfb-b7bb-3a1bec5a832b@lunn.ch>
References: <2d6df47b-2cc3-4003-85db-f72b878427d9@lunn.ch>
 <20261019013304.1612468-1-f@lex.la>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3748257"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:jZ+MWOVMGCDnavPNr+MS9OJ6l44= sha256:ewNBqO8RoRUiEUo5gglEScHG0JvZNnfgjkjbn06iuoI=
	sha1:DCpOpK/diY3cw1XxBhWLnGfJhrQ= sha256:hS5UASQtvLJlc+ejvCaEYRoRjD9ZVFVVK7DWYvwmNO8=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 6DDCC110B8C; Tue, 20 Oct 2026 03:25:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id bxE2GyTgtzBt;
	Tue, 20 Oct 2026 03:25:39 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-348921-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id AEB68110B86; Tue, 20 Oct 2026 03:25:30 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id DAE4F42198; Tue, 20 Oct 2026 00:21:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792455712;
	b=ZYvat4PN6eJ0FQoRTmuqsoZUmuhcS4p447RvZTafnuC/uAGdpcgZEbRda/BcLmPvCB5e
	 53+x4HsewHVbMHg1n8jK8K7HQlEEN8NQxOQSK2OrmCY5GoPVWU4CbLW6fT/HVvC8nyzPt
	 CrGU1YrULUX+ckCZUL/S7j40Yf/JVmTmXrtDv/ripHwa50IHXP0LrrMZ9VIf8wiaxqgwl
	 Dd0oMF3qBvtHYjvfN3xsvB3HxmXpuP0cDTALQjRz3jc4pklXphLwFBLSMu0IVoMRG3kMm
	 spdfxkJnzFm8OBhlZJV8iYOicFBOgzuX/XWkolCX28fW6nHvju3vEezPf2DY2JUiNuQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792455712;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=X+MR1ZcOqtF9urUXxQbiG80cYzn2Vu2j0TnZkl/W2Vg=;
	b=RnagFc2XPb6atpN6i46n5z9ndraWIQJB1OtbrhS87/SVi6nQbOygZps1Zir3jEuvgpp2
	 8/JV07i0Qbq+Npn0CObuVWYWOUFJeL82w5kjfCch/71X1qGyhl7loGRNQQHb3I6X2NnBO
	 cq5E/pcJiwM1xH6Hap3Gzeb4vX3b/N3gAUeJ5TsWuMUiazMB2Eh2v4itL6AevVZ1NdSW9
	 1JhizTP31HM1ZDTzzV7yEBXkAn6jKyzG071rZC2S6SuRoZDQ+CdaGH9Wq2xiTN9KKh2Za
	 FRNPsgbBfa6bexp+JVexJZBhO96HOItAQyscoDpMwiQU6RnzjKVCPKRfHj9cGpkrm6g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Om7TCyx7;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B2044606A320;
	Tue, 20 Oct 2026 00:21:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Om7TCyx7
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792455711;
	b=reRToT2li+LjUVjCeom+ZF5TVAEKwZBZkPNZIYEgsLTMfAlaj0hfE+HyBmGjzedX+z2I
	 KBY9lQpEyH7YpFE/D7YcQU7z+7agmNJ7NrsKpTVtmRytrQqLMSIWeMf+x82sg7cGRe85C
	 +uvbaYIrrrDsX9wsQ3JQxNW2ecW2ZEaljGborxulBni7TLbsHlhIEnhkuP0AqIGdsa9VA
	 UK4xEjfEOfSAP5j+fe7ZXvvv0v2z2c5yRKZ0Lknxd/CC1XlgXh5VyHoQMzzqQQol3ri5w
	 ntUbfTgszzNlJ3V4tKdXnnhL6Y1909xR0oN+3v2FJUrSnVOh+0E0eWLERiwcRC2c8Jg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792455711;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=X+MR1ZcOqtF9urUXxQbiG80cYzn2Vu2j0TnZkl/W2Vg=;
	b=NyMB1uVjNfdSAjKpFYHccgyc16toEp4hjyT4rKE/aNBLWQTG0ymfgfjKa/QfgPRRYWmE
	 zS3JrgiWEFNUfgwi+F0zUzKyuzY/OSC8y0E67fFxEqPuelWCrDBtzpTJ3CesdlgX2MHn5
	 MNPWkvLDaoWtCl0iNioHfBj8GFkHG+te1AVDd0Q/IUQMN5PYfpo3LU1TTfzYEVIhVzSH5
	 YswcVvdshujSLsA9OM9BPYG7HA1nx5mnmE98md8FCBg4FGxxT4d/WYSNO/7NNGS6VSdap
	 1vHrmJmSbFxqDzVL+9F12Kw8IgkIFoKx8nSQdcUi8LpkRSpL1ASORGvejTQxoI39OLA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=Om7TCyx7;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF9AD606A319;
	Tue, 20 Oct 2026 00:21:50 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CF9AD606A319
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=X+MR1ZcOqtF9urUXxQbiG80cYzn2Vu2j0TnZkl/W2Vg=; b=Om7TCyx7YSA5VqHNa9DK/8xLoN
	KW/PdGOK6O76w6dKSevF5dmkADDWAHbEwdDfjC8moBfwFyoJYqTQnreKGTKde6odynrDDPO6jHFdj
	oSOxs8rK/3jxzp7bIExeoQciYg5d+n5phVGdPpSm6qRLoRopHL07J30mHsjR8Vp+s+LA=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xIxbn-00BjB5-Im; Tue, 20 Oct 2026 02:21:39 +0200
X-Cc: Lucien Jheng <lucienzx159@gmail.com>,
	Albert-AL Lee <albert-al.lee@airoha.com>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>, netdev@vger.kernel.org,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Eric Woudstra <ericwouds@gmail.com>, linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261019013304.1612468-1-f@lex.la>