From patchwork Wed Jul 17 14:29:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 1961644 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.a=rsa-sha256 header.s=fm3 header.b=TMpvrldc; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=BbyP5KKE; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WPJH71G9zz1ySl for ; Thu, 18 Jul 2024 00:29:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4DD21888FB; Wed, 17 Jul 2024 16:29:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="TMpvrldc"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="BbyP5KKE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 17FC3888FB; Wed, 17 Jul 2024 16:29:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B9FD888636 for ; Wed, 17 Jul 2024 16:29:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id 8849813800F8; Wed, 17 Jul 2024 10:29:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 17 Jul 2024 10:29:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm3; t=1721226569; x=1721312969; bh=0V b7ZaMDKclRMxmUYj6lUAdkH31LSS4u3BZHzdL9pRY=; b=TMpvrldcQg0iY4obh+ SucW3iKhWE7elsgpkzgskoHR/adx3PVuFAuwZoPLz8nLrvsT/2/ZQglyTn9jvSXW cNk35a68pToJqTtl1oyV8bz84M1Ce9VnsRcaYmQcpv7G157130eDV+Y/ibwFAv0B pTvEu/2w2iBKoZPeavCVUxuadZ99iwhwBCn6fIYFpD3Zahhod+VP5Ghq/egCGTie 9yZwyy390I/Av9RYf0VIVgluqxJqpx4UFi/mMB8yxhYiX4s39ofKljD9MJry6xMN 5+Md6iMiYUtFiqIVaV+R1W5rgjtEOFIfW255ZN1fX89QlYL3elQQt/R5BVNMVhQP S7ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1721226569; x=1721312969; bh=0Vb7ZaMDKclRM xmUYj6lUAdkH31LSS4u3BZHzdL9pRY=; b=BbyP5KKE7ZFxn0k1POm80Lawj6IQt Hn5mtSu+vYXRpougzfXkGzVM5zwJHvb6XMTqwQJDvxUHyCzUbOeefnFdQDZVbkr8 Eq+4y7sfGLn7jynKZkEOpYtwwJnz/jiJI0Mlvc0tgXKfgYIVvsto6iXHRlkH8m/Y cQgSeIKgBdDBjnstQKuent1BZ/TLKJtmAUBiLIcu3NvCMTcLTpfoIQ4hw+mPYT/T 0+XikFCNDYl4fkch3F8A7IZHqF+sLrefs7Zu0p5R6H6Fpo/8jHGVMZA0Alqp72ZU PkC9etAW5ghlY2u2sGBnWP625UhNAWuIwhN1RR3OYu6GCXzGy0YefREEQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrgeeigdejudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhufffkfggtgfgvfevofesthejredtredtjeenucfhrhhomheplfhirgiguhhn ucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqeenucggtf frrghtthgvrhhnpedtudfhieduieelleffkeeihfejfeehfefhtefgveeghfejgeegjeeh veevudevfeenucffohhmrghinhepvhhishhurghlshhtuhguihhordgtohhmpdhkvghrnh gvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Jul 2024 10:29:24 -0400 (EDT) From: Jiaxun Yang Subject: [PATCH 00/18] New CI image and fixes Date: Wed, 17 Jul 2024 22:29:11 +0800 Message-Id: <20240717-docker-image-v1-0-7c7fc6251e7a@flygoat.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADfVl2YC/x2MQQqAIBAAvyJ7TtAlRPtKdBDdaok0FCKQ/p50H IaZBpUKU4VJNCh0c+WcOuhBQNh92khy7AyocFRGKxlzOKhIPn131liNxmvv0EFPrkIrP/9uXt7 3AzeIzmVeAAAA To: u-boot@lists.denx.de Cc: Simon Glass , Alper Nebi Yasak , Tom Rini , Heinrich Schuchardt , Ilias Apalodimas , Jiaxun Yang X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3219; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=uaRvgHv0DALf3A5UOSR37Srst2t//piMl7fOMI4tan4=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTpV11uRllqWv+f8Ubuxez/fQtyj/8I9zNaO+v/UlndL vuMrw1tHaUsDGJcDLJiiiwhAkp9GxovLrj+IOsPzBxWJpAhDFycAjCRz4sYGb7oLHVqjapzeqR1 cWGi6qPsstDoyOQ555sP93jvdFYLCWZk6Nzq78LdtZs7Zu3db6Gyy6zEzbbF/z93czNjZres47J +JgA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi all, This series build a new CI image based on Ubuntu focal with LoongArch64 support, fixed various python scripts for python 3.12, fixed various problems popped up when testing againt latest software. Last two commits are for demonstration purpose and not for commit into repo. CI runs passed at azure [1]. Thanks [1]: https://flygoat.visualstudio.com/u-boot/_build/results?buildId=64&view=results Signed-off-by: Jiaxun Yang --- Jiaxun Yang (18): binman: Replace pkg_resources with importlib.resources py: Replace distutils.core with setuptools doc/sphinx: Remove usage of six py: Bump pylint version and clear warnings binman: Workaround lz4 cli padding in test cases tests/test_event_dump: Relax match rule for output lib/charset & efi: Fix possible unaligned accesses CI: Ensure pip install is always performed in venv CI: Dockerfile: Set global git name & email config CI: Dockerfile: Bump base OS version CI: Dockerfile: Bump GRUB to 2.12 CI: Dockerfile: Bump QEMU to 9.0.1 CI: Dockerfile: Bump fiptool to 2.10.4 CI: Dockerfile: Bump genimage to 17 CI: Dockerfile: Use kernel.org upstream for trace-cmd CI: Dockerfile: Bump coreboot to 24.05 CI: Dockerfile: Add LoongArch64 support [NFC] Use Jiaxun's CI Image .azure-pipelines.yml | 22 ++++---- .gitlab-ci.yml | 19 ++++--- doc/develop/python_cq.rst | 4 +- doc/sphinx/kfigure.py | 3 +- lib/charset.c | 21 ++++---- lib/efi_loader/efi_device_path.c | 11 +--- test/py/tests/test_event_dump.py | 10 ++-- test/py/tests/test_ums.py | 1 + test/py/tests/test_usb.py | 1 + tools/binman/control.py | 18 +++---- tools/binman/etype/fdtmap.py | 1 + tools/binman/etype/fit.py | 1 + tools/binman/etype/image_header.py | 1 + tools/binman/etype/pre_load.py | 2 + tools/binman/etype/ti_board_config.py | 1 + tools/binman/etype/x509_cert.py | 1 + tools/binman/ftest.py | 8 ++- tools/binman/setup.py | 2 +- tools/binman/state.py | 1 + tools/binman/test/184_compress_section_size.dts | 1 + tools/buildman/builder.py | 2 + tools/buildman/requirements.txt | 1 + tools/docker/Dockerfile | 68 +++++++++++++++---------- tools/dtoc/setup.py | 2 +- tools/microcode-tool.py | 1 + tools/patman/test_checkpatch.py | 2 + tools/qconfig.py | 1 + 27 files changed, 123 insertions(+), 83 deletions(-) --- base-commit: 902d8ee94ce29a088a325da6e69eeb1a25f1fec7 change-id: 20240610-docker-image-868126a1a929 Best regards,