From patchwork Thu May 7 22:14:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2286 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=1778192135; bh=Hi1rQwGQq3frgKIr1KCyuZP2i9IK/MoWY6l7D0m21QY=; 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=VuEOSUWc3+LtOAAA7BtYTxNnIoG4+zgNuk8eQOC/+RTwdLPQX6DbcC7c1/Wxi1CfA Ev2qONhFZ0Cd6IgShEpjHTLcqYjMYufdv+9dhL2FHx58jYm7mS8xlfJuGD6AUsDz++ w+buad1f74BOyJ3FJB5ZBPkkQonNTU7+IZUcCtH0= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D029E6A9A5 for ; Thu, 7 May 2026 16:15:35 -0600 (MDT) 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 zb6ltVGQE1fo for ; Thu, 7 May 2026 16:15:35 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1778192133; bh=Hi1rQwGQq3frgKIr1KCyuZP2i9IK/MoWY6l7D0m21QY=; 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=HV8jJEVf+QKQyttcjQh4WTJeVqagTDDpiwZYHpFrIZVn3mdM6zS8CelD9bPnxqjVs AUOZSLZi/p00OazwPC8QwNyBtDNDxeW50JcOBUow9LO+HVCBulNYSRZqvEIDZi47mk GaRcbZeuxfUF//vmhSipasYVZ7uNAGH3R5+J9TI4= Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id DC3BC6A9A8 for ; Thu, 7 May 2026 16:15:33 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1778192130; bh=WqlgMkJZZsSLTP2tefVvN+bH6ECizGhi8K83Uoy1S1w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lbdat3b1JLtJV2xPpjLr7reBMgbk6ZrO5ag4UscijYf5yv20fXs4cAAItgTYP002f xBMi0yXzPqdeCj2bGuaUCAiSxnryzieqIOPz+2KW9AidvzvQlli8nz7B+fkkxFlKEF ZxWExoux+zlftc0qxwfkh4Xn18dzzlhLO79kVme4= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1E7386A9A7; Thu, 7 May 2026 16:15:30 -0600 (MDT) 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 pPrO4PP1VMEO; Thu, 7 May 2026 16:15:30 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1778192129; bh=EH42QHy8dlYLJHEYOAcelYCMhY6ncGIsFhbEyv+LhMI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gq4aHj2lHAxr3sc3i+Pnr2Lzvrkw+okCaerV3+EXkIf3y1two8UPkWXEmg1rgjOMx VHnqbGEDxt0PkR/nO+DDvVdFKoDYmiRl28dpah5+jrDJ1jaJ27xKYfT0VIGSbdbSCR hfJ8gPrdnSzvFKB7o0YuBXgXHyzBNj3a6zJKbdMg= Received: from u-boot.org (unknown [174.51.25.52]) by mail.u-boot.org (Postfix) with ESMTPSA id 323446A959; Thu, 7 May 2026 16:15:29 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Thu, 7 May 2026 16:14:53 -0600 Message-ID: <20260507221507.505998-9-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507221507.505998-1-sjg@u-boot.org> References: <20260507221507.505998-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: FXRKRCCVJWQ3QKC4P7TSKSAWZK3ECNWU X-Message-ID-Hash: FXRKRCCVJWQ3QKC4P7TSKSAWZK3ECNWU 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 X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 08/13] scripts: ubuntu: Refer readers to the noble release dir 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 quickstart hard-codes a ubuntu-24.04.1 ISO URL that 404s once Canonical promotes a new point release. Point at the stable https://releases.ubuntu.com/noble/ directory listing instead and hoist the filename into a $ISO shell variable so the curl line and the rewrite invocation track each other when the reader updates it. Signed-off-by: Simon Glass --- scripts/ubuntu-iso-to-uboot.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/ubuntu-iso-to-uboot.py b/scripts/ubuntu-iso-to-uboot.py index 3855f4a25ae..68ba4cd3d97 100755 --- a/scripts/ubuntu-iso-to-uboot.py +++ b/scripts/ubuntu-iso-to-uboot.py @@ -26,8 +26,11 @@ Quick start (run from the root of the U-Boot tree):: # 1. Install host tools sudo apt install xorriso mtools dosfstools qemu-system-x86 ovmf - # 2. Download an Ubuntu live ISO (desktop or server both work) - curl -LO https://releases.ubuntu.com/24.04.1/ubuntu-24.04.1-desktop-amd64.iso + # 2. Download an Ubuntu live ISO (desktop or server both work). + # Pick the current point release listed at + # https://releases.ubuntu.com/noble/ + ISO=ubuntu-24.04.1-desktop-amd64.iso + curl -LO https://releases.ubuntu.com/noble/$ISO # 3. Build U-Boot as an x86_64 EFI application. The defconfig enables # BOOTMETH_BLS, FS_ISOFS and JOLIET. If rustc is not installed, @@ -38,7 +41,7 @@ Quick start (run from the root of the U-Boot tree):: # produces /tmp/b/efi-x86_app64/u-boot-app.efi # 4. Rewrite the ISO to boot via U-Boot - scripts/ubuntu-iso-to-uboot.py ubuntu-24.04.1-desktop-amd64.iso \\ + scripts/ubuntu-iso-to-uboot.py $ISO \\ -u /tmp/b/efi-x86_app64/u-boot-app.efi \\ -o ubuntu-uboot.iso