From: Oliver Graute <oliver.graute@gmail.com>
To: Stefano Babic <sbabic@denx.de>,
Fabio Estevam <festevam@gmail.com>,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Cc: aford173@gmail.com, peng.fan@nxp.com,
marcel.ziswiler@toradex.com, tharvey@gateworks.com,
andrey.zhizhikin@leica-geosystems.com, u-boot@lists.denx.de
Subject: Re: [RFC] imx: imx8qm-rom7720: switch to binman
Date: Thu, 13 Jan 2022 15:31:16 +0100 [thread overview]
Message-ID: <20220113143116.GC10212@optiplex> (raw)
In-Reply-To: <20220112091325.12341-1-oliver.graute@kococonnector.com>
On 12/01/22, Oliver Graute wrote:
> Switch to use binman to pack images
>
> Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
> +
> + images {
> + uboot {
> + arch = "arm64";
> + compression = "none";
> + description = "U-Boot (64-bit)";
> + load = <CONFIG_SYS_TEXT_BASE>;
> + type = "standalone";
> +
> + uboot_blob {
> + filename = "u-boot-nodtb.bin";
> + type = "blob-ext";
> + };
> + };
> +
> + atf {
> + arch = "arm64";
> + compression = "none";
> + description = "ARM Trusted Firmware";
> + entry = <0x00910000>;
> + load = <0x00091000>;
> + type = "firmware";
> +
> + atf_blob {
> + filename = "bl31.bin";
> + type = "blob-ext";
> + };
> + };
> +
> + scfw {
> + arch = "arm64";
> + compression = "none";
> + description = "System Controler Firmware";
> + type = "firmware";
> +
> + scfw_blob {
> + filename = "mx8qm-val-scfw-tcm.bin";
> + type = "blob-ext";
> + };
> + };
> +
> + seco {
> + arch = "arm64";
> + compression = "none";
> + description = "Seco Firmware";
> + type = "firmware";
> +
> + seco_blob {
> + filename = "mx8qm-ahab-container.img";
> + type = "blob-ext";
> + };
> + };
> +
> + fdt {
> + filename = "imx8qm-rom7720-a1";
> + type = "flat_dt";
> + compression = "none";
> +
> + uboot_fdt_blob {
> + filename = "u-boot.dtb";
> + type = "blob-ext";
> + };
> + };
> + };
As far as I now the order of the blobs for imx8qm is:
1.SECO
2.scfw
3.ATF
4.U-Boot
So do I need to reorder the blobs nodes above? How is the order
determined?
>
> #define __ASSEMBLY__
>
> -/* Boot from SD, sector size 0x400 */
> -BOOT_FROM SD 0x400
> -/* SoC type IMX8QM */
> -SOC_TYPE IMX8QM
> -/* Append seco container image */
> -APPEND mx8qm-ahab-container.img
> -/* Create the 2nd container */
> -CONTAINER
> -/* Add scfw image with exec attribute */
> -IMAGE SCU mx8qm-val-scfw-tcm.bin
> -/* Add ATF image with exec attribute */
> -IMAGE A35 bl31.bin 0x80000000
> -/* Add U-Boot image with load attribute */
> -DATA A35 u-boot-dtb.bin 0x80020000
this is what imx-image is doing before. Can someone comment on this?
Best Regards,
Oliver
next prev parent reply other threads:[~2022-01-13 14:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-10 10:30 [RFC] imx: imx8qm-rom7720: switch to binman Oliver Graute
2022-01-10 14:29 ` ZHIZHIKIN Andrey
2022-01-10 15:32 ` Oliver Graute
2022-01-10 15:34 ` Marcel Ziswiler
2022-01-10 16:32 ` Adam Ford
2022-01-12 9:13 ` Oliver Graute
2022-01-13 14:31 ` Oliver Graute [this message]
2022-01-26 8:18 ` Oliver Graute
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=20220113143116.GC10212@optiplex \
--to=oliver.graute@gmail.com \
--cc=aford173@gmail.com \
--cc=andrey.zhizhikin@leica-geosystems.com \
--cc=festevam@gmail.com \
--cc=marcel.ziswiler@toradex.com \
--cc=peng.fan@nxp.com \
--cc=sbabic@denx.de \
--cc=tharvey@gateworks.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.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.