public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: E Shattow <e@freeshell.de>
To: Minda Chen <minda.chen@starfivetech.com>,
	Hal Feng <hal.feng@starfivetech.com>,
	Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] doc: board: starfive: jh7110 common give build output dir by env not arg
Date: Thu, 5 Mar 2026 13:56:52 -0800	[thread overview]
Message-ID: <4cebe05b-ee50-4188-816e-2f8d525ea8b6@freeshell.de> (raw)
In-Reply-To: <24982c23-3ee6-4e33-8608-5af6dd612297@freeshell.de>


On 3/5/26 13:05, E Shattow wrote:
> 
> 
> On 3/5/26 12:56, E Shattow wrote:
>> Describe build with output directory as O=<dir> environment variable
>> and not unrelated -O <output sync> command line argument.
>>
>> Fixes: 8304f3226700 ("doc: board: starfive: update jh7110 common description")
>> Signed-off-by: E Shattow <e@freeshell.de>
>> ---
>>  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.
> 

Replying myself, follow-up patch for the OPENSBI path typo is submitted
at: https://lore.kernel.org/u-boot/20260305214922.97337-1-e@freeshell.de

>> -       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

-E

  reply	other threads:[~2026-03-05 21:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-05 20:56 [PATCH] doc: board: starfive: jh7110 common give build output dir by env not arg E Shattow
2026-03-05 21:05 ` E Shattow
2026-03-05 21:56   ` E Shattow [this message]
2026-03-16  8:26 ` Leo Liang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cebe05b-ee50-4188-816e-2f8d525ea8b6@freeshell.de \
    --to=e@freeshell.de \
    --cc=hal.feng@starfivetech.com \
    --cc=minda.chen@starfivetech.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox