Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E054FF47CD8 for ; Thu, 5 Mar 2026 21:05:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1C00D83F2E; Thu, 5 Mar 2026 22:05:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=freeshell.de 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; secure) header.d=freeshell.de header.i=@freeshell.de header.b="iMCKW8Dl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 805DE83F86; Thu, 5 Mar 2026 22:05:53 +0100 (CET) Received: from freeshell.de (freeshell.de [IPv6:2a01:4f8:231:482b::2]) (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 5BD1A839A8 for ; Thu, 5 Mar 2026 22:05:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=freeshell.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=e@freeshell.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=s2025; t=1772744748; bh=HU2FaBaW1whAXiYGcXb+gIA/qTHn3aVYYhSLH9pmO2Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=iMCKW8DlmqqDfLPV+ogCu5u5618oN+qcH5HcROON3dN+quePZ3U6OrrhlApfkqcxp zvVYr5Nc0OwvdtE/2xfhO0Auh9qXrVTE0OKTsCEhbDjGnAFEPnvhcHQOwCtj5KsqSP j2PZ+5gWmqJh1WNIyhEr2JHKdycT+/fMMmp5LHA+T2T0NuFymraQgjz6XI+fNFw+Qj 0w+H5FEZ6zsK1EuBtUR2CWfIyI5LQeayMz3ikcpW9Dbz3v0pKdTb2X7wnzrWCp4IlB OFBQzLrs+95ytuLr1tIBJDudRgNGWggnDgwviPjiKgsXYUWMmBO67wjddlqqwLqKB4 iDLX25NjdBYBw== Received: from [IPV6:2605:59ca:364f:d400:1b91:6b30:22c2:fffc] (unknown [IPv6:2605:59ca:364f:d400:1b91:6b30:22c2:fffc]) (Authenticated sender: e) by freeshell.de (Postfix) with ESMTPSA id 892B9B221591; Thu, 5 Mar 2026 22:05:47 +0100 (CET) Message-ID: <24982c23-3ee6-4e33-8608-5af6dd612297@freeshell.de> Date: Thu, 5 Mar 2026 13:05:44 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] doc: board: starfive: jh7110 common give build output dir by env not arg To: Minda Chen , Hal Feng , Tom Rini Cc: u-boot@lists.denx.de References: <20260305205649.61100-1-e@freeshell.de> Content-Language: en-US From: E Shattow In-Reply-To: <20260305205649.61100-1-e@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 On 3/5/26 12:56, E Shattow wrote: > Describe build with output directory as O= environment variable > and not unrelated -O command line argument. > > Fixes: 8304f3226700 ("doc: board: starfive: update jh7110 common description") > Signed-off-by: E Shattow > --- > doc/board/starfive/jh7110_common.rst | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/doc/board/starfive/jh7110_common.rst b/doc/board/starfive/jh7110_common.rst > index 77102fcc189..b0b60da0dc3 100644 > --- a/doc/board/starfive/jh7110_common.rst > +++ b/doc/board/starfive/jh7110_common.rst > @@ -162,8 +162,8 @@ Build U-Boot > git -C opensbi.git checkout v1.7 > # always clean build directory when building OpenSBI due to incomplete > # dependency tracking > - make -C opensbi.git -O opensbi clean > - make -C opensbi.git -O opensbi PLATFORM=generic > + make -C opensbi.git O=opensbi clean > + make -C opensbi.git O=opensbi PLATFORM=generic > > 4. Now build the First Stage BootLoader (U-Boot Secondary Program Loader) and > Second Boot Loader (OpenSBI + U-Boot Main): > @@ -171,9 +171,9 @@ Build U-Boot > .. code-block:: console > > git clone https://source.denx.de/u-boot/u-boot.git u-boot.git > - make -C u-boot.git -O u-boot starfive_visionfive2_defconfig > + make -C u-boot.git O=u-boot starfive_visionfive2_defconfig > export OPENSBI=opensbi/build/platform/generic/firmware/fw_dynamic.bin Oh and what is this OPENSBI directory ? That's not correct, either. > - make -C u-boot.git -O u-boot > + make -C u-boot.git O=u-boot > > This will generate the U-Boot SPL image object post-processed with StarFive > SPL headers (u-boot/spl/u-boot-spl.bin.normal.out) as well as the FIT image > @@ -191,7 +191,7 @@ Build U-Boot > --set-val SPL_DEBUG_UART_BASE 0x10000000 \ > --set-val DEBUG_UART_SHIFT 2 > > - make -C u-boot.git -O u-boot olddefconfig > + make -C u-boot.git O=u-boot olddefconfig > > Boot description > ---------------- > > base-commit: b26cc03b7cecaabdb306c2f68eebde764161a545 -E