From: Roger Quadros <rogerq@kernel.org>
To: Neha Malcom Francis <n-francis@ti.com>, u-boot@lists.denx.de
Subject: Re: [PATCH RFC v2 00/11] Integration of sysfw, tispl and tiboot3
Date: Tue, 31 May 2022 11:21:42 +0300 [thread overview]
Message-ID: <cdad4300-d46e-9a35-7cf2-d1b425f94752@kernel.org> (raw)
In-Reply-To: <20220506043759.8193-1-n-francis@ti.com>
Hi,
On 06/05/2022 07:37, Neha Malcom Francis wrote:
> Devices that belong to the K3 architecture require SYSFW which is a FIT
> image consisting of a signed system firmware image and board config
> binaries.
>
> Board config binaries are needed to bring up SYSFW during U-Boot SPL
> startup. The board config data is given in YAML as input. These board
> configs contain board-specific information such as resource management,
> power management and security.
>
> The following series intends to plumb the system firmware generation
> into U-Boot using binman for packaging. Thus it will eliminate the need
> for additional custom repositories for SYSFW generation and also moves t
> owards the community standard build flow. We use binman to package
> tiboot3.bin and sysfw.itb images.
>
> These images also require x509 certificates which are created using the
> etype x509-cert.
>
> The series also plumbs the generation of tispl.bin into the build flow.
> This image is required for loading u-boot in K3 devices. The image is
> packaged using ATF, OPTEE and DM (Device Manager).
>
> Please note that the following series has implemented the above for
> J721E general purpose board. The board configs and device trees added
> are specific to J721E GP devices.
>
> Also note the introduction of three new etypes: ti-sysfw, ti-dm and
> x509-cert.
>
> On running CI tests on Github, errors were produced during world builds
> of keystone2_keystone3 and siemens (I0T2050 which is based on AM65x).
> This patch series is intended for only J721E and future work is to expand
> to the remaining K3 devices as well. The errors that come are mainly due
> to the boards other than J721E trying to generate tispl.bin.
You will have to implement it such that none of the existing board build/functionality
breaks. Otherwise it will be impossible to get this merged.
Is this series tested for High-Security (HS) J721E as well?
cheers,
-roger
>
> v2:
> - Added etype x509-cert for creating x509 Texas Instruments certificate
> binary
> - Added packaging of tiboot3.bin
> - Packaging of tiboot3.bin and sysfw.itb using new etype x509
> - sysfw --> ti-sysfw
> - Reformatted and re-arranged patches
> - Removed k3_fit_atf.sh and k3_gen_x509_cert.sh as their functionality
> is provided by binman now
>
> Neha Malcom Francis (11):
> j721e_evm: schema: yaml: Add general schema and J721E board config
> files
> ti: tools: config: Add board config class to generate config binaries
> ti: etype: sysfw: Add entry type for sysfw
> ti: etype: dm: Add entry type for TI DM
> ti: etype: x509: Add etype for x509 certificate for K3 devices
> ti: sysfw: Add support for packaging sysfw.itb
> ti: tiboot3.bin: Remove tiboot3.bin target from makefile
> ti: tispl.bin: Removed script that packages tispl.bin
> ti: x509: Remove shell script used for signing
> ti: dtsi: j721e: Use binman to package sysfw.itb and tiboot3.bin
> ti: dtsi: j721e: Use binman to package tispl.bin
>
> Makefile | 2 +
> arch/arm/dts/k3-j721e-a72-binman.dtsi | 86 +
> .../k3-j721e-common-proc-board-u-boot.dtsi | 1 +
> arch/arm/dts/k3-j721e-r5-binman.dtsi | 88 +
> .../k3-j721e-r5-common-proc-board-u-boot.dtsi | 1 +
> arch/arm/mach-k3/config.mk | 64 +-
> board/ti/common/schema.yaml | 355 ++
> board/ti/j721e/Kconfig | 2 +
> board/ti/j721e/config.yaml | 3162 +++++++++++++++++
> scripts/Makefile.spl | 4 -
> test/py/requirements.txt | 1 +
> tools/binman/entries.rst | 36 +
> tools/binman/etype/ti_dm.py | 23 +
> tools/binman/etype/ti_sysfw.py | 28 +
> tools/binman/etype/x509_cert.py | 248 ++
> tools/binman/ftest.py | 21 +
> tools/binman/test/225_ti_dm.dts | 13 +
> tools/binman/test/232_ti_sysfw.dts | 13 +
> tools/binman/test/232_x509_cert.dts | 18 +
> tools/k3_fit_atf.sh | 123 -
> tools/k3_gen_x509_cert.sh | 252 --
> tools/tibcfg_gen.py | 114 +
> 22 files changed, 4227 insertions(+), 428 deletions(-)
> create mode 100644 arch/arm/dts/k3-j721e-a72-binman.dtsi
> create mode 100644 arch/arm/dts/k3-j721e-r5-binman.dtsi
> create mode 100644 board/ti/common/schema.yaml
> create mode 100644 board/ti/j721e/config.yaml
> create mode 100644 tools/binman/etype/ti_dm.py
> create mode 100644 tools/binman/etype/ti_sysfw.py
> create mode 100644 tools/binman/etype/x509_cert.py
> create mode 100644 tools/binman/test/225_ti_dm.dts
> create mode 100644 tools/binman/test/232_ti_sysfw.dts
> create mode 100644 tools/binman/test/232_x509_cert.dts
> delete mode 100755 tools/k3_fit_atf.sh
> delete mode 100755 tools/k3_gen_x509_cert.sh
> create mode 100644 tools/tibcfg_gen.py
>
next prev parent reply other threads:[~2022-05-31 8:21 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-06 4:37 [PATCH RFC v2 00/11] Integration of sysfw, tispl and tiboot3 Neha Malcom Francis
2022-05-06 4:37 ` [PATCH RFC v2 01/11] j721e_evm: schema: yaml: Add general schema and J721E board config files Neha Malcom Francis
2022-05-06 4:37 ` [PATCH RFC v2 02/11] ti: tools: config: Add board config class to generate config binaries Neha Malcom Francis
2022-05-06 4:37 ` [PATCH RFC v2 03/11] ti: etype: sysfw: Add entry type for sysfw Neha Malcom Francis
2022-05-31 8:44 ` Roger Quadros
2022-06-01 5:58 ` Neha Malcom Francis
2022-06-01 7:29 ` Neha Malcom Francis
2022-06-01 9:26 ` Roger Quadros
2022-05-06 4:37 ` [PATCH RFC v2 04/11] ti: etype: dm: Add entry type for TI DM Neha Malcom Francis
2022-05-06 4:37 ` [PATCH RFC v2 05/11] ti: etype: x509: Add etype for x509 certificate for K3 devices Neha Malcom Francis
2022-05-31 9:20 ` Roger Quadros
2022-06-01 6:02 ` Neha Malcom Francis
2022-06-01 9:24 ` Roger Quadros
2022-06-01 9:48 ` Neha Malcom Francis
2022-06-01 10:48 ` Roger Quadros
2022-06-02 4:09 ` Neha Malcom Francis
2022-05-06 4:37 ` [PATCH RFC v2 06/11] ti: sysfw: Add support for packaging sysfw.itb Neha Malcom Francis
2022-05-06 4:37 ` [PATCH RFC v2 07/11] ti: tiboot3.bin: Remove tiboot3.bin target from makefile Neha Malcom Francis
2022-05-31 10:51 ` Roger Quadros
2022-05-06 4:37 ` [PATCH RFC v2 08/11] ti: tispl.bin: Removed script that packages tispl.bin Neha Malcom Francis
2022-05-31 10:53 ` Roger Quadros
2022-05-06 4:37 ` [PATCH RFC v2 09/11] ti: x509: Remove shell script used for signing Neha Malcom Francis
2022-05-31 10:54 ` Roger Quadros
2022-05-06 4:37 ` [PATCH RFC v2 10/11] ti: dtsi: j721e: Use binman to package sysfw.itb and tiboot3.bin Neha Malcom Francis
2022-05-06 4:37 ` [PATCH RFC v2 11/11] ti: dtsi: j721e: Use binman to package tispl.bin Neha Malcom Francis
2022-05-31 11:02 ` Roger Quadros
2022-06-01 6:08 ` Neha Malcom Francis
2022-06-01 9:23 ` Roger Quadros
2022-06-01 10:42 ` Neha Malcom Francis
2022-06-01 10:55 ` Roger Quadros
2022-06-01 12:47 ` Andrew Davis
2022-06-03 8:49 ` Roger Quadros
2022-05-10 20:05 ` [PATCH RFC v2 00/11] Integration of sysfw, tispl and tiboot3 Tom Rini
2022-05-11 18:56 ` Alper Nebi Yasak
2022-05-31 8:21 ` Roger Quadros [this message]
2022-06-01 5:54 ` Neha Malcom Francis
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=cdad4300-d46e-9a35-7cf2-d1b425f94752@kernel.org \
--to=rogerq@kernel.org \
--cc=n-francis@ti.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;
as well as URLs for NNTP newsgroup(s).