From patchwork Sat Dec 20 05:10:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 991 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207434; bh=dek4x39npT8GvWeEHA7A99ojTt+sQ/dBb07ZGfjQG88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=HNBnrMBTq0smTghpsMw5Cth1zftyXG9sIktN002ALoNbRuVHnhsHANkc6TQIGpjCX MjWpVRqzBcaJ2IAH9tG3F7bmycwgyV+BsV3Zx1Xf5+0L2nOEEIPJRqXOBJkFxZrIpT 6UAcTk6ZbRrVUSsmsI7fNBvUmbd0R7F3C2looOZkp76xZZEaDXWKth9mZnL0xlVt/1 gozVWZgtj1Le+aFuSnrygLUXTW3qPkLF92lSOCvofMEpQdih5g8UOva/stAyiI5Yog GfylZjhzsf/Ke3Eo8QM4YOfGocV/zTj4m6RALfQhgroA6Bzb+liSNVpBvinymCW/Xb 38bgrAisDoQew== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E803864C0C for ; Fri, 19 Dec 2025 22:10:34 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id QvLMTKiOLbYf for ; Fri, 19 Dec 2025 22:10:34 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207433; bh=dek4x39npT8GvWeEHA7A99ojTt+sQ/dBb07ZGfjQG88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=btoxJvW4TWUVIyPpPzD4skW3MnwpLfGr4i4rHjYFPE7GLukanSIk93xV1CVg+NAno K/daXjLEGTQQIQYoMoZ+Z5CdMhxCtCXOz9gdrCjDZkCCNSJsW505NxOg7B8nxWjWD0 3hKhCWOFPONEi90A7zuiHy0u57wa8sfuq0aNv2wf9V0/bX5L1JfugSH7BFVDm0C9zE +BXRwSleM+9fH9T9Ad03MONNbjXiNCIPmny0ihdnQoe+3nntCR+77J+4/Gzoy+YBhH tQLTZ+GVp/4ZDXX+NmZT0+Y9reXsGMSZqhrw+UIa3+U3YrmQM99JI4upM9vNJ3y1jc 2zDDaYMXGgxsA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9311F64C38 for ; Fri, 19 Dec 2025 22:10:33 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207430; bh=SD3AEMwcUkvBRdHKY5xxsiiDXPjKFdDpyTM/WQA08Lo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hRA8W6kTHDnhmIfZNlgexgtWa8gZcaKrK7c6PXTmAvTkvxBWCId5x5s6Kwna5ER97 +3nPv7WQGPbtsNkg96YEqZlQs8GD2S92J4e7Ay8Vqj4o3s/ls6lKXeCXu048+IQScV Y1KwsUAJvZENns3R9iAtwxuh+yxUwrvDejcWgMzt8bA7nGbEKPCqZcFVGTByD+y/Ud yTjI2/32S3QlwGmOaALjaIlpQSmTBgMrgK/z9dRPWVKD8Pkh2gAj0yAxel0zUylf1l ku/vfxCTvbRKo4A8HwyVP4tbyYjnVSuJEGgnJ27vh0/2XFyBMgjrazrU0fTjTB/BQV 73fIF8k1tY6ZA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E9BD064C25; Fri, 19 Dec 2025 22:10:30 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 6RxTynbuTqJ2; Fri, 19 Dec 2025 22:10:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207430; bh=8ktJMWtqD0IOuxIAH0aJ4Tk5KYyyV9geVGSy0GLngmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wPcZe+kbU5IiUkUdUzIz32acVsEDC5YduV3BdUjoL66TvOxuXZk3bx5SlJcjxtXDQ 7MYi+3BV8J31mqnXyqks8MVNIWX5f6l9ZnBKear9jZIJW5vzxA6H+cxWFnf0A+V+Uv HR1galcJpiGXDeZ/IRu/KaPkOITVWxwofl4owbowJOIxOwh0GIw8kIasy+D35igLRg 5dBlU39xZF1scXaY7C5BU6j6akG4nHxoXb9iICZQ8pMqLQobXnlMI0VJExEAtbKlL6 PNOqurp1Pkh+g3YiuciY3Zm7EZjzmcpYFB+h1/Rcs3OJf52e7uDwd03e1m2EU7ZwOr h+jiKY3mmb6YQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 5911D64C22; Fri, 19 Dec 2025 22:10:30 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 19 Dec 2025 22:10:07 -0700 Message-ID: <20251220051013.3459855-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251220051013.3459855-1-sjg@u-boot.org> References: <20251220051013.3459855-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: UIFEXLZOOUIXEW7HZF2JSDMYKWTVQEA2 X-Message-ID-Hash: UIFEXLZOOUIXEW7HZF2JSDMYKWTVQEA2 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/4] arm: dts: rk3399-firefly: Reduce SD card speed for lab List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The Firefly-RK3399 board does not boot reliably in the SJG lab due to signal-integrity issues with SD-wire adapters at higher speeds. Reduce the SDMMC max-frequency to 25MHz and disable high-speed modes to improve compatibility. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- arch/arm/dts/rk3399-firefly-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399-firefly-u-boot.dtsi b/arch/arm/dts/rk3399-firefly-u-boot.dtsi index 1f5fda1d0f1..ca7a6694bcb 100644 --- a/arch/arm/dts/rk3399-firefly-u-boot.dtsi +++ b/arch/arm/dts/rk3399-firefly-u-boot.dtsi @@ -6,6 +6,12 @@ #include "rk3399-u-boot.dtsi" #include "rk3399-sdram-ddr3-1600.dtsi" +&sdmmc { + max-frequency = <25000000>; /* 25MHz for SD-wire compatibility */ + /delete-property/ cap-sd-highspeed; + /delete-property/ cap-mmc-highspeed; +}; + &vdd_log { regulator-init-microvolt = <950000>; }; From patchwork Sat Dec 20 05:10:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 992 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207435; bh=6eVKhsZuIG2raPP+SHYodi93juH9+EN4F3WmY3Di7C8=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Y8EBVQFNW+tRTf5/Q23tAdPNM/T7xWAPdLajwVtIyXOP9bLigr+ll5TAAAYFy2Cxq Cq9QDzRjdlq2t54oTAeo1AV5mbBC66QoBo5j9JS4ERYhWwshdpq9sR9uM9h+q9S5lC 3jWpGlAha7ta6l8J7lKkTAKwQllx3qwuvT0z/SdxMFAubvGoqNLuNR4P2ssRxJ2g/W /TadLqwlG6n5/UrcTHg9TTZZkxQVP8vs2nBKh6aUIrt+/+F8dUlnCB3/8VzmZVowd/ dOXwF/1bfak6mcBWWHR2AiADwsmz0OvydYGrDO0cNIC5UNsH9IrWSsjkRNK+ad58/H S7SslLxhI3DXQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 39F2D64C25 for ; Fri, 19 Dec 2025 22:10:35 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id eXoms_tUJt2m for ; Fri, 19 Dec 2025 22:10:35 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207434; bh=6eVKhsZuIG2raPP+SHYodi93juH9+EN4F3WmY3Di7C8=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=e42SdKlsMPfbMfzLMt/lq021Hb5JxU4lUhgiXiw0GQ7raIgLePFULN5e8RCyL2LEx DveZfgLSZk4WGZ96W736FuBzRR1zpEUXGBZ3WWPgsn0PCEp2P1w+C1sFsagXlva1QW sRLW18bmnM6Zk2/iZndd5afvc/9r4Z6mgZrQJcKEHKkQAEZ3Jf1/nglHiZ+ES/1mR+ NpX67m+0GnhE5v0IRa1so6yEGtVevmpLUTDn4GIYvz9XwOVL8mvu/rNOoiCXmsr387 4XuddWoxtaI/xaItyrDqYVqSa2Ec8xTeVPOevZQ2a2fvg0N0lyqVCTBq/8LEeaK7bX yKWvGc8dfffOA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5456C64C45 for ; Fri, 19 Dec 2025 22:10:34 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207431; bh=GD9TCk0FyWIsgEq9aXFbEj6KGb22RQ8Wyj2me4EudvU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mgbpCCHMPE8Bd9a0MG3K9BImf3AxIss1s7A5SuJKJu1TWtnW7+D//Sh0NfNC4LlFO z9cTOX74BJfmHfO5oDhHGZxY2uizyJ4xTQLOhj795yqc5XL0V30naXqsBm7S+8g3vV hFv9EZEEKarSO/sqcNrQz6z10dgEJswgf/R07nLNAwZMVOAcZp+W2bO5k7E9ct6b8M ExugkJZv64jM0otjuGIV9SNWEQoOzAM1/vZCWfuS7P0Dpf1YJOPN6vXP9+U5QLJiFC Nk6wjvoq6lMUDxa4P3YLQrQbjeZYvyZZUhbS9n8qTVBAhjVmnQhChb/jjDYCtrlgK/ sN+TT2M9XhhVg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D3D0764C2A; Fri, 19 Dec 2025 22:10:31 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id c_aTRRL0z-aI; Fri, 19 Dec 2025 22:10:31 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207431; bh=SRZStiB9gxwRe41KgNTO1fGp2L+za2Eu3txXoeinW3Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qGERKlv1Twe6Z+EpjHypvj5dqQgyIIwf1UoNpL3ewI/NG2cHIKMaRoOowze1Zve+u dA4MzkadVvC3ODr5LlK8P+V52oQzU2KaBG+Iler67FWasctvbG5ZHt/b6zKo0tSABX nenmlNMPMotNhidQkcSz/OPlAtLJ7Fjq/t6fkmderL1Z3oTJil3+8Yd3OkP0Ub2rwD BHMkmILcRLV30XgvOc8RgRAXHBPJqR+llbb1kQUmOqY1Ee9JQQu3wpN6GfsSOX9tEB dCiEdYu5HKxenw/s9N2Fmnud7DuYFzNDtg98eFMYlaeKFIEh/xhZEyvkX7IXBx79qp MJHdzm3Iyr2hg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 3B00164C22; Fri, 19 Dec 2025 22:10:31 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 19 Dec 2025 22:10:08 -0700 Message-ID: <20251220051013.3459855-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251220051013.3459855-1-sjg@u-boot.org> References: <20251220051013.3459855-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: SW2ZU5MEPKTCSYTGUSHBSSW76N7E4QM3 X-Message-ID-Hash: SW2ZU5MEPKTCSYTGUSHBSSW76N7E4QM3 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 2/4] test/py: Use longer timeout for lab-mode restart List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass When restarting U-Boot in lab mode, ensure_spawned() sets the timeout to TIMEOUT_MS (30 seconds) before calling _wait_for_boot_prompt(). In lab mode, _wait_for_banner() is skipped, so TIMEOUT_PREPARE_MS is never restored. This causes tests that boot into Linux and then restart U-Boot (like test_distro_script) to fail with a timeout if the board takes more than 30 seconds to reset and boot. Fix this by setting the timeout to TIMEOUT_PREPARE_MS (3 minutes) at the start of _wait_for_boot_prompt() when in lab mode. Co-developed-by: Claude Signed-off-by: Simon Glass --- test/py/console_base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/console_base.py b/test/py/console_base.py index 7443c567937..2bfd42746e4 100644 --- a/test/py/console_base.py +++ b/test/py/console_base.py @@ -309,6 +309,8 @@ class ConsoleBase(): try: self.log.info('Waiting for U-Boot to be ready') + if self.lab_mode: + self.timeout = TIMEOUT_PREPARE_MS if not self.lab_mode: self._wait_for_banner(loop_num) self.u_boot_version_string = self.after From patchwork Sat Dec 20 05:10:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 993 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207439; bh=LvuB+r1VrHDiCCVzEkpPGRIdfnaSxnSQh8pfJ2pb7n4=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=hdcrmnNAqd9OAg0zssJFMhTXhM0KSaeJolWDMycuQzGPNsdZFSa+t5WxRS+GgZgSO Z5zh832gZiRInZB8baCcMpR/kadbfkfg0YRwthJg1SV5nRTza2l4nlpul1hFSMl89u PuhTwzLpCyTTwsgCjQvvqdHsEBOKWhnAL/hNYSn/v9WAKopeyfjpZO0i/yvWNXX6uw vfhEvilIpFjv/5x83Pn+0cdfrSymXAvnRanDkijFHMV2nN5ku8ecd4TNKuKVYDZG6x Gfz9p8onrH7PAPmGTa3nvv0m6LNx+7ODb7jY0TQUfrVfNULBhGrNdGn1HovcC5AAJa TkvzdHHJbRQxg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E507164C25 for ; Fri, 19 Dec 2025 22:10:39 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id FvgYXNlZ9fem for ; Fri, 19 Dec 2025 22:10:39 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207439; bh=LvuB+r1VrHDiCCVzEkpPGRIdfnaSxnSQh8pfJ2pb7n4=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=hdcrmnNAqd9OAg0zssJFMhTXhM0KSaeJolWDMycuQzGPNsdZFSa+t5WxRS+GgZgSO Z5zh832gZiRInZB8baCcMpR/kadbfkfg0YRwthJg1SV5nRTza2l4nlpul1hFSMl89u PuhTwzLpCyTTwsgCjQvvqdHsEBOKWhnAL/hNYSn/v9WAKopeyfjpZO0i/yvWNXX6uw vfhEvilIpFjv/5x83Pn+0cdfrSymXAvnRanDkijFHMV2nN5ku8ecd4TNKuKVYDZG6x Gfz9p8onrH7PAPmGTa3nvv0m6LNx+7ODb7jY0TQUfrVfNULBhGrNdGn1HovcC5AAJa TkvzdHHJbRQxg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D482764C27 for ; Fri, 19 Dec 2025 22:10:39 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207437; bh=tuEshpZwjJy+hmk0WIzoUxDVcAU65hlONVkbra0iGrM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eV2r6YTuh8sAZ5NUZ8elQdJaLAfR71sIAAsX166bW22cJfV5cGCg5O50mCmuzQaaK zQvXdf5zx7NCzjkz8z1MJwVE+BkJ/pBb4bnpZMVd/qZmZhShFxUpD7CzeN2vD8J/Og HVsYU2jQfFxEES8wsBd9lbAP96GBlwSBWIsrV0+cB4X26YwwueBfQJ0U2zyJPKsGFO 2y/8ISZGbI2Xfc7YBxtJaq63VpcREoLPCQ/YRlpU6poXUhQCkbZDD+PfoWu0RXCiXU OXbf4fzjHWK/C8j/KP+Ck5tlY125ss9kTRywJnJcGJ4EcSJtwIrp1Dm0RC7eslvmFn StwI6AkwGiu9w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7B1DE64C25; Fri, 19 Dec 2025 22:10:37 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id OdQcxskvqrAc; Fri, 19 Dec 2025 22:10:37 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207432; bh=j/pTQPle0Sk1/medPDswOo+XhlRgdmTp97it0vBsFIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rwRQJ2tvbWpoCZoiJA//ukW5AAbFyAUoHxrQBEggW2a7sSzDFv1DkHhtexDfyGqUx M5OaB+xTDiuO36+o8sqwLuI1H1/qWovr6b18Y/ZkAPmjO65/wZRaCQQMQgWCE2kxlI 7kIjJsS2BXS7lv63daIDZbf3jW5+EJzYtZRymU5BH5/g1sCzlxAYc6ykAJ1AXzyKT+ NDZs+YDcVuMSQEa3nOD9v0qK6DEV4hYX/PUKXlM5wrgZ9iNlnPh+LqaMpCG1EG0ktP FqKj86B8P5bALSESu4IXgQbJQQcTN18w8yWHmYPCnLonGs2QFELl3KrifKn7NUbg58 mhfvKHO2zgu/Q== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 2239564C22; Fri, 19 Dec 2025 22:10:32 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 19 Dec 2025 22:10:09 -0700 Message-ID: <20251220051013.3459855-4-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251220051013.3459855-1-sjg@u-boot.org> References: <20251220051013.3459855-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: GOV6IICOY6AS2X7QX7EBPAODIHKZHV3U X-Message-ID-Hash: GOV6IICOY6AS2X7QX7EBPAODIHKZHV3U X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 3/4] CI: Remove zybo, samus and samus_tpl from lab List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass These boards are no longer available in the lab, so drop them from the CI configuration. Co-developed-by: Claude Signed-off-by: Simon Glass --- .gitlab-ci.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d97291b484..e2378320d7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -782,17 +782,6 @@ pcduino3_nano: ROLE: pcduino3_nano <<: *lab_dfn -samus: - variables: - ROLE: samus - <<: *lab_dfn - -# chromebook_samus_tpl -samus_tpl: - variables: - ROLE: samus_tpl - <<: *lab_dfn - link: variables: ROLE: link @@ -927,11 +916,6 @@ rpi5: ROLE: rpi5 <<: *lab_dfn -zybo: - variables: - ROLE: zybo - <<: *lab_dfn - qemu-x86_64: variables: ROLE: qemu-x86_64 From patchwork Sat Dec 20 05:10:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 994 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207445; bh=vkP18qQWnx919cR/WKy9o/Q/6PciXzDQRaY01ZLoD7E=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=uZiT5afCd+9YcPVK1hNPqSbQbdCCwHUbGtgLe3UKoGSuKdvPwFYeVnUQIJAjyiVsY PjGcLR6wSgXpOvRfxtikDhAL0FbauH2fuWslDgskIE/a0DyTU2JPU71C1N5qxofn3B q6+jma8srEzgQCTimIKuUF6MF5iV9sswsezFC9nla8/qoj4k0HredRS8cEhnwID+nw j+v81a7DRwsM/NYdBY0S68/T7A/uX1hHjstMuDfUVovz9NTfP1oLf4NB+3MSQP8I7e 0u9z5MdItpYOtysrfw8FK4Qy1kk+WlxFq8kfQ+aTRXYet8tyE4ZjpiZH/CnlfaKfDB KY6lPKWtEl9YQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 966DE64C38 for ; Fri, 19 Dec 2025 22:10:45 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SbOkznXwOAkJ for ; Fri, 19 Dec 2025 22:10:45 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207445; bh=vkP18qQWnx919cR/WKy9o/Q/6PciXzDQRaY01ZLoD7E=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=uZiT5afCd+9YcPVK1hNPqSbQbdCCwHUbGtgLe3UKoGSuKdvPwFYeVnUQIJAjyiVsY PjGcLR6wSgXpOvRfxtikDhAL0FbauH2fuWslDgskIE/a0DyTU2JPU71C1N5qxofn3B q6+jma8srEzgQCTimIKuUF6MF5iV9sswsezFC9nla8/qoj4k0HredRS8cEhnwID+nw j+v81a7DRwsM/NYdBY0S68/T7A/uX1hHjstMuDfUVovz9NTfP1oLf4NB+3MSQP8I7e 0u9z5MdItpYOtysrfw8FK4Qy1kk+WlxFq8kfQ+aTRXYet8tyE4ZjpiZH/CnlfaKfDB KY6lPKWtEl9YQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8619D64C22 for ; Fri, 19 Dec 2025 22:10:45 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207442; bh=xEtqVFMxjA7J44OZb5QdpdLXGYkIKwwbGH5/1Mtz2II=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ULFYKIiH+cXwbh7r3JYAljsYDfGcpC4Iwe3eCr46GVBeOJ7XD27TEwF2IlrJzVf6g yuBcsAJPDcv0ZQvCV+tQqnJynqLMauBMHPdeGNOzWdUT1djYbj9SsvzD+iiyY618sB YKkvSHnYdbc6pEGAvPGfJB1+o+ZyMHjRoPAgHn3JRr329cdkPTAAqD2kGKxwPDuovn 6RfGhXu+Brjl0WbNxqqnY19w0l/C9vZx21D7xk2glaKJobfpngo8K/vI0gJy22J0Vp c7kOQlZz4jgdlZUL+BgMXFYsTWew30sqtNgV4qIK8tFji84Cwn4LuL2EhVgRGZRNAX dtHbuxhymDRQQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8567964C22; Fri, 19 Dec 2025 22:10:42 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id QxiTM0NZJrJn; Fri, 19 Dec 2025 22:10:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207437; bh=pqVFG59cczRT5O0wfYT5F/Roe7QABwM1vVJ/b0iKtk8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dj8Fh/4lqpTGFptVUQp6mErpcwYq8Piqfh2OqWUXbHmUm5I1rgmBOXpstarehw45w Ywyv8iMBPejrW7ti8VN2Q3py2mVP6BJ/9b8qU7l2rdWMtFO+hYVRdRPhFUhWN/PNT3 AxwvD70x8/E5AaHsdXbfqfjWFZki17a4FKXIgUj6BB8g71m11PIdV2BBcL5yj7+w8d 3TFWOrASO6cRwcCOCK3SZ427gkIDJ+Hvt7BIR6V5QmvSU7Yfc4jwFqgv77cjT13OXF 82o0LnYCTu99wokgtH/+mNuS78NrYBIvXfhS8i392fQsj0Tdwu3S/1Hd3T0iQGoq7w LVFnx+6+pSy8g== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id B20B364C0C; Fri, 19 Dec 2025 22:10:36 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 19 Dec 2025 22:10:10 -0700 Message-ID: <20251220051013.3459855-5-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251220051013.3459855-1-sjg@u-boot.org> References: <20251220051013.3459855-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: LHABCRVY5VVICILMC2VV5DYPWC5KWSSB X-Message-ID-Hash: LHABCRVY5VVICILMC2VV5DYPWC5KWSSB X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 4/4] test/py: Simplify test_distro_arm_app_efi List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The GRUB menu editing approach is fragile because: 1. GRUB can auto-boot before the test interacts with the menu 2. The command line content varies (e.g. '$vt_handoff' vs 'quiet splash') 3. Character-by-character navigation depends on exact screen layout Simplify to just verify that EFI boot through GRUB reaches Linux userspace, without trying to edit the kernel command line. Co-developed-by: Claude Signed-off-by: Simon Glass --- test/py/tests/test_distro.py | 48 +++--------------------------------- 1 file changed, 4 insertions(+), 44 deletions(-) diff --git a/test/py/tests/test_distro.py b/test/py/tests/test_distro.py index 4a44e2a30a4..257af800cdd 100644 --- a/test/py/tests/test_distro.py +++ b/test/py/tests/test_distro.py @@ -105,49 +105,9 @@ def test_distro_arm_app_efi(ubman): ubman.expect( ["Booting bootflow 'efi_media_1.bootdev.part_1' with efi"]) - # Press Escape to force GRUB to appear, even if the silent menu was - # enabled by a previous boot. If the menu is already set to appear, this - # will exit to the grub> prompt - ubman.send('\x1b') - - # Press Escape again, to force it to the grub> prompt - ubman.send('\x1b') - - # Wait until we see the editor appear - with ubman.log.section('grub'): - ubman.expect(['grub>']) - - ubman.run_command('normal', wait_for_prompt=False) - - ubman.expect(['ESC to return previous']) - - # Press 'e' to edit the command line - ubman.log.info("Pressing 'e'") - ubman.send('e') - for _ in range(10): - ubman.ctrl('N') - expected = '\tlinux\t/boot/vmlinuz-6.14.0-27-generic ' - expected += 'root=UUID=e5665fb4-e1de-4335-86da-357ad5422319 ro ' - for _ in expected: - ubman.ctrl('F') - - to_erase = 'quiet splash' - for _ in to_erase: - ubman.ctrl('D') - ubman.ctrl('X') - ubman.expect(['Booting a command list']) - - with ubman.log.section('exit boot-services'): - ubman.expect(['EFI stub: Exiting boot services...']) - - ubman.log.info("boot") - ubman.expect(['Booting Linux on physical CPU']) - - with ubman.log.section('initrd'): - ubman.expect(['Freeing initrd memory:']) - ubman.expect(['Run /init as init process']) - - with ubman.temporary_timeout(200 * 1000): - ubman.expect(['Ubuntu 25.04 qarm ttyAMA0']) + # Wait for Linux to boot to userspace (kernel may be quiet) + with ubman.log.section('Linux'): + with ubman.temporary_timeout(200 * 1000): + ubman.expect(['Ubuntu 25.04 qarm ttyAMA0']) ubman.restart_uboot()