All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Gerhold <stephan.gerhold@linaro.org>
To: Casey Connolly <casey.connolly@linaro.org>
Cc: Tom Rini <trini@konsulko.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Sumit Garg <sumit.garg@kernel.org>,
	u-boot@lists.denx.de, u-boot-qcom@groups.io,
	Varadarajan Narayanan <quic_varada@quicinc.com>,
	Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,
	Aswin Murugan <aswin.murugan@oss.qualcomm.com>
Subject: Re: [PATCH v2 0/7] Qualcomm: teach the build system to emit signed ELF images
Date: Wed, 4 Jun 2025 11:07:57 +0200	[thread overview]
Message-ID: <aEAM7dMRe82n5Enj@linaro.org> (raw)
In-Reply-To: <20250602-b4-qcom-tooling-improvements-v2-0-c7d19c0d4a8b@linaro.org>

On Mon, Jun 02, 2025 at 06:10:51PM +0200, Casey Connolly wrote:
> With several new Qualcomm platforms appearing on the mailing list, all
> of which build U-Boot as an ELF, sign it, and then flash it to some
> partition on the board, we're getting a lot of defconfigs which just
> contain a debug UART and a TEXT_BASE address. This leads to needless
> rebuilds in CI of effectively the same image, and needless duplication
> of build instructions.
> 
> To address this, let's introduce a new tool "mkmbn.py", this is based
> on the existing qtestsign[1] tool but is (currently) hardcoded to
> only handle the Dragonwing and IPQ boards which use MBN header v6.

It doesn't feel right to limit the use of this tool to v6 boards, given
that qtestsign supports v3 boards such as the DragonBoard 410c as well,
which is also using the CONFIG_REMAKE_ELF functionality right now.

Which changes are needed to make this work for DB410c as well? Looking
more at the diff in v2, I think the hardcoding of v6 is actually already
gone(?), since there are entries for qcom,apq8016/qcom,msm8916 now. What
else is needed to use this for DB410c?

I'm happy to test on DB410c if needed, just ping me in the chat.

Thanks,
Stephan

  parent reply	other threads:[~2025-06-04  9:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-02 16:10 [PATCH v2 0/7] Qualcomm: teach the build system to emit signed ELF images Casey Connolly
2025-06-02 16:10 ` [PATCH v2 1/7] binman: add $(srctree)/tools to toolpath Casey Connolly
2025-06-02 16:10 ` [PATCH v2 2/7] binman: support building binman dtb when OF_UPSTREAM is enabled Casey Connolly
2025-06-02 16:10 ` [PATCH v2 3/7] tools: add mkmbn tool for Qualcomm Casey Connolly
2025-06-04  9:15   ` Stephan Gerhold
2025-06-04 11:14     ` Casey Connolly
2025-06-02 16:10 ` [PATCH v2 4/7] binman: add support for building Qualcomm signed MBN ELF images Casey Connolly
2025-06-02 16:10 ` [PATCH v2 5/7] configs: qualcomm: use fragments for debug UART Casey Connolly
2025-06-02 16:10 ` [PATCH v2 6/7] configs: qualcomm: use mkmbn and stop creating ELF files Casey Connolly
2025-06-04  9:21   ` Stephan Gerhold
2025-06-04 11:17     ` Casey Connolly
2025-06-02 16:10 ` [PATCH v2 7/7] doc: board/qualcomm: update docs for new u-boot.mbn target Casey Connolly
2025-06-04  9:07 ` Stephan Gerhold [this message]
2025-06-04 11:18   ` [PATCH v2 0/7] Qualcomm: teach the build system to emit signed ELF images Casey Connolly

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=aEAM7dMRe82n5Enj@linaro.org \
    --to=stephan.gerhold@linaro.org \
    --cc=aswin.murugan@oss.qualcomm.com \
    --cc=balaji.selvanathan@oss.qualcomm.com \
    --cc=casey.connolly@linaro.org \
    --cc=neil.armstrong@linaro.org \
    --cc=quic_varada@quicinc.com \
    --cc=sumit.garg@kernel.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.