From patchwork Fri Jan 2 00:50:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1165 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=1767315090; bh=XR00dczz4DEaF4edATUYXdvXMmbhUgZITYaU9FxXigU=; 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=E5ghq19qgh+68IPBRSmwHLOlHxrrOrj3cRoI7q8kYHqUxIFgGHkkLFwKBl1HVAc0W WWlt1ze9/d89VvSKEQhcgDR3rgWEM4vOKlYN5hbjn9HsKqFGFWGEKqyA/g3qj2lJ4a MEnChok7DtNGgA2vuQ16dWeC2xb6Lu++v5jCDR4WxMbTKzt3/QiGPH+QPTomfYkjJt oPlm9yh6vjABuC7JAYnJ5GQFyeyD8lQBkitJ7bJ7ew3vjQrXsOCD6uR6/mWuOS/Six nNMTN2Q25a7EomfzgnmCm1zuiHHOA2rqkEAt/KiDE6EMv2qXb1ib96+91miPBN+d3h 2CtvcDiz6ooTA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6BD2B6900A for ; Thu, 1 Jan 2026 17:51: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 10024) with ESMTP id w76Si7uWdPTL for ; Thu, 1 Jan 2026 17:51:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767315090; bh=XR00dczz4DEaF4edATUYXdvXMmbhUgZITYaU9FxXigU=; 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=E5ghq19qgh+68IPBRSmwHLOlHxrrOrj3cRoI7q8kYHqUxIFgGHkkLFwKBl1HVAc0W WWlt1ze9/d89VvSKEQhcgDR3rgWEM4vOKlYN5hbjn9HsKqFGFWGEKqyA/g3qj2lJ4a MEnChok7DtNGgA2vuQ16dWeC2xb6Lu++v5jCDR4WxMbTKzt3/QiGPH+QPTomfYkjJt oPlm9yh6vjABuC7JAYnJ5GQFyeyD8lQBkitJ7bJ7ew3vjQrXsOCD6uR6/mWuOS/Six nNMTN2Q25a7EomfzgnmCm1zuiHHOA2rqkEAt/KiDE6EMv2qXb1ib96+91miPBN+d3h 2CtvcDiz6ooTA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 58C0C69007 for ; Thu, 1 Jan 2026 17:51:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767315088; bh=SpHXFCS19YhSqFkK//vdUcTvtUBL4uTyJuaGmHTS/es=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vZn8s3FRDZzmTBloyyQB631+Twhx3PFLcNZbuhe7/sAtqcNefa2uehEHvoLswWoHe zEZKhsRk4Szv7tc1lUKkmRD55nXTWuywvcLXHGmXtPfeEqufDRvxVRniwwr4XBMQp4 UVApylSk6mr370MpYNxg/pORsuvy5XaU+CqNFctHezBN8133atPepT+dHq0ceg8Vvb tDPArs5go697s+GT6+Y6R7e8mdwH9rpiwLS7XDiy63kKdieb9ydyGRBrSj61cCxMlT eJFOtE1Jg2iigd1vke+VQekoVMPE2KayF7UiLk8pQOqhWCQ7He2FwG7n4QVa/IOS0c iLSC0ev7Rp8fQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B15F068F58; Thu, 1 Jan 2026 17:51:28 -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 83IYD_7tcKi9; Thu, 1 Jan 2026 17:51:28 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767315084; bh=dOSEzSGMbleVCKqmk5BM9qMRy6INtUjwYJvoOTQBVRw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e+yIKWaPI2wYLiwD98PdjJrA8wyoOvR9ajdWGmNsKr1bSr+FvoWYFxRXJXKI906PO HWHz4mgxbuYpZaei5kpRGNPdQR712BXGcnpyA+HE7zcdgItlb4haoMZAuPSSaNf+gp 0lG4Yb7Q8JJ8lrI9f/iCOwCWdWxft501S7/Nqq8OsqjuXcApUG+PImttiq4ONZZyBH sqKj/pis0ThOJcWHeKq8mclaABDNj5KzXT4dVULCv6TuMwl7KLPqIKFnIY1RULi+/q AR0LJTGs3elf2ynbeHLxgBwitDguvozQUQpzNcQqiZnZ2NcVF7zAkoE/eg6VS2nURs sIRW5v3wjL5cw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4449E68313; Thu, 1 Jan 2026 17:51:24 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Thu, 1 Jan 2026 17:50:31 -0700 Message-ID: <20260102005112.552256-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260102005112.552256-1-sjg@u-boot.org> References: <20260102005112.552256-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: S7MMCDRL26JAHYVUPZFQAEO5J7SLRMYY X-Message-ID-Hash: S7MMCDRL26JAHYVUPZFQAEO5J7SLRMYY 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: Heinrich Schuchardt , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH v2 01/30] Update claude file to use uman instead of crosfw 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 Now that we have the new uman tool, use this instead of the old one. Signed-off-by: Simon Glass --- (no changes since v1) CLAUDE.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index b2590b17fab..d9e0245cdee 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,15 +4,15 @@ This file contains information about building U-Boot for use with Claude Code. ## Building U-Boot -### Using crosfw (Recommended) +### Using uman (Recommended) -To build U-Boot for sandbox testing, use the `crosfw` command: +To build U-Boot for sandbox testing, use the `uman` command: ```bash -# Build for sandbox -crosfw sandbox -L +# Build for sandbox without LTO (um is a symlink to uman) +um -B sandbox build -# The -L flag disables LTO (equivalent to NO_LTO=1) +# The -l flag can be used to enable LTO # The build is silent unless there are warnings or errors # The build is done in /tmp/b/, so /tmp/b/sandbox in this case ``` @@ -55,11 +55,11 @@ pyt ## Notes -- The `crosfw` tool is the preferred build method for this codebase +- The `um` tool is the preferred build method for this codebase - Always run `make mrproper` if you encounter build issues - The sandbox build creates a test environment for U-Boot that runs on the host system - When using `git diff`, add `--no-ext-diff` to avoid external diff tools that may not work in this environment -- crosfw shows no output if everything was ok! +- `um build` shows no output if everything was ok! - Remember not to cd into the build directory; run U-Boot directly in the source dir - Do not run in-tree builds; always use the crosfw script or 'make O=/tmp/...'