All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Paul Liu <paul.liu@linaro.org>
Cc: Fabio Estevam <festevam@gmail.com>,
	Fabio Estevam <festevam@denx.de>, Stefano Babic <sbabic@denx.de>,
	Kirill Kapranov <kirill.kapranov@compulab.co.il>,
	Uri Mashiach <uri.mashiach@compulab.co.il>,
	Valentin Raevsky <valentin@compulab.co.il>,
	U-Boot-Denx <u-boot@lists.denx.de>
Subject: Re: [PATCH 1/2] imx8mm-cl-iot-gate: Do not build fip.bin by default
Date: Mon, 16 Aug 2021 17:29:47 -0400	[thread overview]
Message-ID: <20210816212947.GF858@bill-the-cat> (raw)
In-Reply-To: <CAOMZO5BJbJhH1wDrR5YeXvRtXZUCR+WApmuczH=jc2Y0MNFFbw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]

On Mon, Aug 16, 2021 at 06:09:34PM -0300, Fabio Estevam wrote:
> Hi Paul,
> 
> On Sun, Aug 15, 2021 at 4:27 PM Paul Liu <paul.liu@linaro.org> wrote:
> 
> > No. I think they actually use fip.bin but just not upstreamed yet. Please
> > see the "Firmware version" in the list. For Compulab we are using mainline
> > U-boot. But for imx8mm-evk it is NXP released firmware.
> >
> > And yes we do use mainline ATF and mainline OPTEE. I'll explain how to
> > build all of them.
> >
> > # OPTEE
> >
> > 1. export ARCH=arm
> > 2. export CROSS_COMPILE=arm-linux-gnueabihf-
> > 3. export CROSS_COMPILE64=aarch64-linux-gnu-
> > 4. make PLATFORM=imx PLATFORM_FLAVOR=mx8mm_cl_iot_gate O=build.mx8mmevk \
> >     CFG_TEE_CORE_LOG_LEVEL=2 \
> >     CFG_TEE_TA_LOG_LEVEL=2 \
> >     CFG_TEE_CORE_DEBUG=y \
> >     CFG_EXTERNAL_DTB_OVERLAY=y \
> >     CFG_DT=y \
> >     CFG_DT_ADDR=0x52000000 \
> >     CFG_DEBUG_INFO=y
> >
> >
> > And we got tee-header_v2.bin tee-pager_v2.bin and tee-pageable_v2.bin.
> > These files will be used in the TF-A stage.
> >
> > Then we start building U-boot (BL31).
> >
> > # U-boot (BL31)
> >
> > 1. export ARCH=arm64

This is actively wrong and breaks building U-Boot in some cases.  You do
not ever need to set ARCH in the environment, and setting it to the
wrong one (it would be arm, not arm64) causes invalid symlinks to be
made in some cases.  I see that, sigh, this mistake has made it in to
the docs twice, again.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2021-08-16 21:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-13  0:59 [PATCH 1/2] imx8mm-cl-iot-gate: Do not build fip.bin by default Fabio Estevam
2021-08-13  0:59 ` [PATCH 2/2] imx8mm-cl-iot-gate: Add documentation Fabio Estevam
2021-08-13 10:07   ` Paul Liu
2021-08-13  9:59 ` [PATCH 1/2] imx8mm-cl-iot-gate: Do not build fip.bin by default Paul Liu
2021-08-13 12:15   ` Fabio Estevam
2021-08-15 19:26     ` Paul Liu
2021-08-16 21:09       ` Fabio Estevam
2021-08-16 21:29         ` Tom Rini [this message]
2021-08-16 22:41         ` Fabio Estevam
2021-08-17  0:50           ` Paul Liu
2021-08-17 18:32             ` Fabio Estevam
2021-08-18  0:08               ` Paul Liu
2021-08-18 12:24                 ` Fabio Estevam
2021-08-18 21:32                   ` Paul Liu
2021-08-18 21:39                     ` Fabio Estevam
2021-08-19  0:27                       ` Fabio Estevam
2021-08-19  7:14                         ` Frieder Schrempf
2021-08-19 20:51                           ` Paul Liu
2021-08-20  2:06                             ` Paul Liu

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=20210816212947.GF858@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=festevam@denx.de \
    --cc=festevam@gmail.com \
    --cc=kirill.kapranov@compulab.co.il \
    --cc=paul.liu@linaro.org \
    --cc=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=uri.mashiach@compulab.co.il \
    --cc=valentin@compulab.co.il \
    /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.