šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6253

Re: [ANN] stmmac enters the Netdev CI

#6253
From: Hangbin Liu
Date: Thu, 22 Oct 2026 00:47
91 lines
12476 bytes
Hi Maxime,
On Wed, Oct 21, 2026 at 08:49:22AM +0200, Maxime Chevallier wrote:
> On 10/21/26 03:49, Hangbin Liu wrote:
> > Hi Maxime,
> > On Tue, Oct 20, 2026 at 11:07:16AM +0200, Maxime Chevallier wrote:
> >> Hi everyone,
> >>
> >> It's my pleasure to inform you that the stmmac driver now has a runner
> >> that feeds into the Netdev CI. It runs in a lab I maintain, and the results
> >> are hosted by Bootlin, accessible here :
> >>
> >> https://netdevci.bootlin.com/stmmac/results.json
> >>
> >> What that means is that now contributions will be subject to CI
> >> validation, by having the kernel selftests run on real hardware.
> >>
> >> Results are already aggregated in the patchwork contest, and can also
> >> be found here :
> >>
> >> https://netdev.bots.linux.dev/devices.html
> >> https://netdev.bots.linux.dev/status.html
> > 
> > Thanks for your update!
> > 
> >>
> >> As stmmac is an off-the-shelf IP from Synopsys and is integrated in a lot
> >> of different platforms out there, the CI currently runs on 9 different
> >> boards that include the following SoCs :
> >>
> >>  - Starfive JH7110, riscV, dwmac 5.20 (rgmii-id w/ YT8531 PHY)
> >>  - LoongSon 2K0300, Loongarch, dwmac 3.70a (rgmii-id w/ YT8531 PHY)
> >>  - Amlogic S905X, arm64, dwmac 3.70a (rgmii-txid w/ RTL8211F PHY)
> >>  - Rockchip RK3566, arm64, dwmac4.20a (rgmii-id w/ RTL8211F PHY)
> >>  - Altera AgileX5, arm64, dwxgmac 2.10 (rgmii-id w/ KSZ9031 PHY)
> >>  - Altera cycloneV, arm, dwmac 3.70a (rgmii-id w/ KSZ9031 PHY)
> >>  - ST stm32mp157a, arm, dwmac 4.20a (rgmii-id </ RTL8211F PHY)
> >>  - Allwinner A20, arm, dwmac1000 (rgmii-id w/ RTL8211E PHY)
> >>  - Allwinner H2+, arm, Allwinner specific version (mii w/ internal PHY)
> > 
> > 
> > I’m curious about how our lab is maintained. Do we stick to a single distro
> > across all machines, or reinstall systems periodically?
> > And how are > reinstalls done, manually or via BMC?
> > 
> > Also, do we run all selftests via virtme-ng or docker? Does virtme-ng support
> > all the architectures?
> 
> Tests are run baremetal on the hardware directly. All the SoCs mentionned above
> are on single-board computers, devkits, or just some products out there that
> have the right HW.
> 
> We're talking embedded devices here, so there's no BMC at all :)
> 
> The distro used is based on Buildroot, a build-system similar to Yocto, I can share
> the configs if need be. It allows me to generate small images fast, that that
> work on the plethora of CPU archs the lab has.
> 
> All the boards in the lab are booting an initramfs image through the network, and
> the whole test session runs in it. Using a pure ram-stored rootfs allows bringing
> the network down afterwards, while the tests are running. It also allows easily
> updating the rootfs running on the boards when a new selftest get added for example.
> 
> All the boards are controlled through dedicated relays for power. As we're dealing
> with embedded devices that consume only a few watts, it's only a matter of switching
> some low-level DC voltages on/off (5V/12V/24V). I have a few mains-powered boards, also
> controlled through relays.
> 
> The whole lab is managed via labgrid + some custom software on top of that to manage
> the jobs, the builds, reporting results, etc.


Thanks for sharing. Labgrid looks quite promising for embedded device control.

> 
> I'd say, this setup is quite different to ones used for server-class HW, but the
> whole thing runs on very simple hardware, cheap to acquire and run.

Yes, I’m looking for a stable lab controller that can manage servers with
poor BMC support. It needs to support OS installation, system reboot, and
automated test execution.

> 
> To give you an idea, the build machine I'm using is based on Intel Core Ultra 9 185H,
> a laptop-class 22-core CPU that's in a NUC, and this is more than enough to build
> kernels/rootfs for 10+ boards every 8 hours, with lots of time to spare :)

Thanks, very glad to know these.

Cheers
Hangbin
Technical Details
Message-ID: <atldGZy2tH1FYTnf@fedora>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350329-linux-kernel-netdev=dewy.ru
References: <bdc75e18-8ae7-4056-8f43-dc280a3414f5@bootlin.com> <atgaQZiiuMDC6wiv@fedora> <3e98563d-36f6-49d1-bf0c-f161016ca926@bootlin.com>

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-350329-linux-kernel-netdev=dewy.ru
From: hangbin.liu@linux.dev (Hangbin Liu)
Newsgroups: linux.kernel.netdev
Subject: Re: [ANN] stmmac enters the Netdev CI
Date: Thu, 22 Oct 2026 08:47:21 +0800
Organization: Usenet Network
Message-ID: <atldGZy2tH1FYTnf@fedora>
References: <bdc75e18-8ae7-4056-8f43-dc280a3414f5@bootlin.com>
 <atgaQZiiuMDC6wiv@fedora>
 <3e98563d-36f6-49d1-bf0c-f161016ca926@bootlin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="98038"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wbE6jCzNA6bEdDe+VvX26v99Pts= sha256:zV/gT+bpS+p18R3qD5aVWAxHk+Rv3Nj8C7ILzdY9FFE=
	sha1:8CAB5mSXSkavCX/C/vVzMKe4188= sha256:uT1ye5mLnPu5ShGtTznZaB91RbPhzwKRT5huRd5tIwk=
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 D23B611116E; Thu, 22 Oct 2026 03:48:01 +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=linux.dev
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 bW1J9DOatEuj;
	Thu, 22 Oct 2026 03:47:52 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-350329-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 424B911116C; Thu, 22 Oct 2026 03:47:41 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 1B7C530F7E; Thu, 22 Oct 2026 00:47:36 +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=1792630054;
	b=c05ihBVJqddyhq06/E85CeukqyutxJ9DBK6LXUtVQV+qBDBtzjIOZ/lxhlReAEywZZ3l
	 43Kw/dsCaY2xeBlpMEI+6D7i+/BpZ7dJG9ts3fTMja8PEKCztUcFBXtJBcrni3H5IbXjF
	 irsn8K2+HxCFtySSIYOQ1NBLpg7kxRMylk2PBRk2W2AoPaT+NHoRiiNYwvo3VoGqgyZzd
	 4Wx8DfqfHNIWsztELtyHrOVzGoiUFB1cYC6VikfSY0X86C+84Mkby4V83I1o2Z87oRMa5
	 H/TZV+rPbUZ+OI2g/V1d8uIhEEyTgWfxpwuOQuvt/Yh+VvGOzEus4ub1ab+SzRSZphQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792630054;
	h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature:
	 X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow: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:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=fccNkRIzbL1uVdjGLSaZSq1bbXrNDwuFn9uqm1aWWUk=;
	b=VSznw8qdWHJsXN9UrWWZsbaxV3N6CI+NNKdK0HzrSQYj4iD2rDf/O+VeZpCI7iqmU+Lp
	 zt/betm0b6vf/c5RYmsoDNy/mXOZQAXP2O+DCcf3c+evp1yEiGoATfLJ9G2tQbUsfdPve
	 uXej6CyulJQRbDefjv3AHhoNyz5Xg9/VYpmcPheROLiVzXdkMD06fodhvC9RPkoC2bShQ
	 E06ImuSbjB+Uux/XO7kN0CXgpdwwwYpxxmltQ2bVCm4tQnLVb8zsJYCNtVwHtghP/R9k4
	 wqsFlcFMOMnChf8YsjxOfldeFyfIknogO1DwO+jGj7S3tK8JFSLTpyvfNa9BPU7LnoQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=v9aNKs75;
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	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 020E4606A320;
	Thu, 22 Oct 2026 00:47:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=v9aNKs75
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.59
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792630052;
	b=IWm2YBKT7KBJ5lSjZiMh2diQWlbpASCu+y+DPY0DDqZ6Zvu3fHnO/JFD7j1zTtCfLyXH
	 3ggt9qYd0G8DPjY3QwOuHwaWKFCWAWQQ/EtXSqxms1Ikdz3g0p/mvQkV/K7QpZT/E0FNi
	 cZ3Dc/5/Y45zjjVQUWUZgLUkLBY6d4E+GNa3cvCYpX6TjOiTzzVaxG8O9vlqmtKCRIXmR
	 5qOiDUZGAyPcedYZWavkctCIY7o4hy2e31VsgNRjwyfVFETeXOEZ0ai9f1q8KucfJtZ7F
	 aYAVdR9uF1sdqoA3xG9KyGTJYUSUVSU0iudyJVCoon8bj7H+qN5ud8omos50xQAnoqA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792630052;
	h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received:
	 X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=fccNkRIzbL1uVdjGLSaZSq1bbXrNDwuFn9uqm1aWWUk=;
	b=SKb9u+hwj7v+VKm61D9a6Fro2m4lbjh6HchMyNKm2LEBb4ipDyUeiJfBuFVoYjLTtKgj
	 DuByaCo9V8AXHCxb4cR8WAL+KFx60dSsZ7dy9L0Uir3lKftZm2Tt/C6flPW1zilPaV74W
	 JCUU8leoFTb9lFEm0V2ryANjA6h1Y7evyNz2SYJzh4M3TYkhBQameygxyC1wNaSPuiNig
	 wS/q8H1h5jzxAGRl6GmMBQkeRM8tpExcIZ6gEIU2AF8tUpzPvckCz/vr9kb/1D/LgRopf
	 DKRGIlHov4pRTNuOqQtkr4nedV+4qRrvHMjFmWCdqGnWZDfhnt1OCj4MWywMZDESgzw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=v9aNKs75;
	arc=none smtp.remote-ip=91.218.175.59
X-Received: from mta0.migadu.com (out-59.mta0.migadu.com [91.218.175.59])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 736F5606A319
	for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 00:47:31 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 736F5606A319
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev
X-Envelope-To: netdev@vger.kernel.org
X-DKIM-Signature: a=rsa-sha256; bh=6tkczwA2q6u+IycSsvI/27MATZ11ACORQeuZVFrGy5Y=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1792630049; v=1; x=1793234849;
 b=v9aNKs756roknew3ibwPRUx73nSsC9mqHhkSfWIFuHMt+bb81THUhFzGlLDtLlsUiWndk/Kt
 OJ82ZqXpvh0V4qW7iMF+qBmr7BDbFUaAkW8eTAk9KBw1pdu51NgaG2Hh7KWPY0UfcgpgD/HTrQN
 HCVGZhkGloRaiEizHlm0GR2U=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by mta10.migadu.com with ESMTPS id f972ac63ba462e2d;
	Thu, 22 Oct 2026 00:47:29 +0000
X-Mizu-Trace-ID: f972ac63ba462e2d
X-Migadu-Flow: FLOW_OUT
X-Cc: netdev <netdev@vger.kernel.org>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Eric Dumazet <edumazet@google.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
	Matthieu Baerts <matttbe@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: <3e98563d-36f6-49d1-bf0c-f161016ca926@bootlin.com>