All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Ricardo Salveti <ricardo@foundries.io>
Cc: m-chawdhry@ti.com, meta-ti@lists.yoctoproject.org,
	Ryan Eatmon <reatmon@ti.com>, Denys Dmytriyenko <denys@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Praneeth Bajjuri <praneeth@ti.com>, Udit Kumar <u-kumar1@ti.com>,
	Andrew Davis <afd@ti.com>, Kamlesh Gurudasani <kamlesh@ti.com>
Subject: Re: [meta-ti][master/kirkstone][RFC PATCH] conf: machine: include: k3 enable fit signing for uboot
Date: Thu, 11 May 2023 12:44:08 -0400	[thread overview]
Message-ID: <20230511164408.GA9226@denix.org> (raw)
In-Reply-To: <CAAaKDhGanojzgOsA3Bz4OJmqVQpLD_Jnns6C+jpryDt+DbpXFA@mail.gmail.com>

On Thu, May 11, 2023 at 01:20:08PM -0300, Ricardo Salveti wrote:
> On Thu, May 11, 2023 at 12:48 PM Denys Dmytriyenko <denis@denix.org> wrote:
> >
> > On Thu, May 11, 2023 at 11:54:00AM +0530, Manorit Chawdhry via lists.yoctoproject.org wrote:
> > > Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> > > ---
> > > To: Ryan Eatmon <reatmon@ti.com>
> > > To: Denys Dmytriyenko <denys@ti.com>
> > > Cc: meta-ti@lists.yoctoproject.org
> > > Cc: Vignesh Raghavendra <vigneshr@ti.com>
> > > Cc: Praneeth Bajjuri <praneeth@ti.com>
> > > Cc: Udit Kumar <u-kumar1@ti.com>
> > > Cc: Andrew Davis <afd@ti.com>
> > > Cc: Kamlesh Gurudasani <kamlesh@ti.com>
> > > ---
> > >  meta-ti-bsp/conf/machine/include/k3.inc | 6 ++++++
> > >  1 file changed, 6 insertions(+)
> > >
> > > diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
> > > index fff1550564b3..ab7e45a8016f 100644
> > > --- a/meta-ti-bsp/conf/machine/include/k3.inc
> > > +++ b/meta-ti-bsp/conf/machine/include/k3.inc
> > > @@ -31,6 +31,12 @@ SPL_BINARY = "tispl.bin"
> > >  SPL_BINARYNAME = "tispl.bin"
> > >  UBOOT_SUFFIX = "img"
> > >
> > > +UBOOT_SIGN_ENABLE = "1"
> > > +UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb"
> > > +UBOOT_SIGN_KEYNAME = "uboot_signing_dev_key"
> > > +UBOOT_SIGN_KEYDIR = "${DEPLOY_DIR_IMAGE}/u-boot-keys"
> >
> > How are the keys get into there? Are there extra docs/instructions?
> 
> FIT_GENERATE_KEYS set to 1 forces the key to be automatically
> generated by openembedded-core/meta/classes/uboot-sign.bbclass, so
> they are created during build time.

I know, and that is fine for development, but not so much for production - 
that is why I asked for docs/instructions for someone to deploy their own 
keys and disable autogeneration.

-- 
Denys


  reply	other threads:[~2023-05-11 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11  6:24 [meta-ti][master/kirkstone][RFC PATCH] conf: machine: include: k3 enable fit signing for uboot Manorit Chawdhry
2023-05-11 15:47 ` Denys Dmytriyenko
2023-05-11 16:20   ` Ricardo Salveti
2023-05-11 16:44     ` Denys Dmytriyenko [this message]
2023-05-12  5:44       ` Manorit Chawdhry
2023-05-12  5:44     ` Manorit Chawdhry
2023-05-11 16:18 ` Ricardo Salveti

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=20230511164408.GA9226@denix.org \
    --to=denis@denix.org \
    --cc=afd@ti.com \
    --cc=denys@ti.com \
    --cc=kamlesh@ti.com \
    --cc=m-chawdhry@ti.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=praneeth@ti.com \
    --cc=reatmon@ti.com \
    --cc=ricardo@foundries.io \
    --cc=u-kumar1@ti.com \
    --cc=vigneshr@ti.com \
    /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.