All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC v3 00/11] Integration of tiboot3.bin, sysfw.itb and
@ 2022-06-15  6:47 Neha Malcom Francis
  2022-06-15  6:47 ` [PATCH RFC v3 01/11] j721e_evm: schema: yaml: Add general schema and J721E board config files Neha Malcom Francis
                   ` (11 more replies)
  0 siblings, 12 replies; 26+ messages in thread
From: Neha Malcom Francis @ 2022-06-15  6:47 UTC (permalink / raw)
  To: trini, alpernebiyasak, rogerq, a-govindraju, vigneshr; +Cc: u-boot, afd

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
towards the community standard build flow. We use binman to package
tiboot3.bin and sysfw.itb for J721E.

These images also require x509 certificates which are created using the
etype ti-x509-cert.

The series also plumbs the generation of tispl.bin which is required for
loading U-Boot in K3 devices. The image is packaged using ATF, OPTEE and
DM (Device Manager).

Please note that the implementation is for J721E GP (General Purpose)
devices.

Also note the introduction of three new etypes: ti-sysfw, ti-dm and
ti-x509-cert.

CI tests on Github have all passed but this is after the inclusion of
test/py/requirements.txt installation in Azure pipeline script for World
Build tests.

v3:
- Reformatted patches to make sure none of the existing board builds and
  functionalities are broken
- x509-cert --> ti-x509-cert
- Avoided deletion of k3_fit_atf.sh and k3_gen_x509_cert.sh to make sure
  no other builds fail
- Made change to Azure pipeline script to include installation of
  test/py/requirements.txt in World Build test

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: j721e: Exclude makefile tiboot3.bin target for J721E
  ti: j721e: Exclude makefile tispl.bin target for J721E
  ti: dtsi: j721e: Use binman to package sysfw.itb and tiboot3.bin
  ti: dtsi: j721e: Use binman to package tispl.bin
  ci: world_build: test: Add requirements.txt

 .azure-pipelines.yml                          |    1 +
 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                    |   26 +
 board/ti/common/schema.yaml                   |  355 ++
 board/ti/j721e/Kconfig                        |    2 +
 board/ti/j721e/config.yaml                    | 3162 +++++++++++++++++
 scripts/Makefile.spl                          |    2 +
 test/py/requirements.txt                      |    2 +
 tools/binman/entries.rst                      |   36 +
 tools/binman/etype/ti_dm.py                   |   23 +
 tools/binman/etype/ti_sysfw.py                |   28 +
 tools/binman/etype/ti_x509_cert.py            |  241 ++
 tools/binman/ftest.py                         |   20 +
 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/tibcfg_gen.py                           |  114 +
 21 files changed, 4234 insertions(+)
 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/ti_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
 create mode 100644 tools/tibcfg_gen.py

-- 
2.17.1


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-07-01 19:10 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15  6:47 [PATCH RFC v3 00/11] Integration of tiboot3.bin, sysfw.itb and Neha Malcom Francis
2022-06-15  6:47 ` [PATCH RFC v3 01/11] j721e_evm: schema: yaml: Add general schema and J721E board config files Neha Malcom Francis
2022-06-15  6:47 ` [PATCH RFC v3 02/11] ti: tools: config: Add board config class to generate config binaries Neha Malcom Francis
2022-07-01 19:07   ` Alper Nebi Yasak
2022-06-15  6:47 ` [PATCH RFC v3 03/11] ti: etype: sysfw: Add entry type for sysfw Neha Malcom Francis
2022-06-15 15:37   ` Andrew Davis
2022-06-16 11:23     ` Neha Malcom Francis
2022-07-01 19:07   ` Alper Nebi Yasak
2022-06-15  6:47 ` [PATCH RFC v3 04/11] ti: etype: dm: Add entry type for TI DM Neha Malcom Francis
2022-07-01 19:07   ` Alper Nebi Yasak
2022-06-15  6:47 ` [PATCH RFC v3 05/11] ti: etype: x509: Add etype for x509 certificate for K3 devices Neha Malcom Francis
2022-07-01 19:07   ` Alper Nebi Yasak
2022-06-15  6:47 ` [PATCH RFC v3 06/11] ti: sysfw: Add support for packaging sysfw.itb Neha Malcom Francis
2022-06-15  6:48 ` [PATCH RFC v3 07/11] ti: j721e: Exclude makefile tiboot3.bin target for J721E Neha Malcom Francis
2022-06-15  6:48 ` [PATCH RFC v3 08/11] ti: j721e: Exclude makefile tispl.bin " Neha Malcom Francis
2022-06-15 13:44   ` Roger Quadros
2022-06-16 11:09     ` Neha Malcom Francis
2022-06-15  6:48 ` [PATCH RFC v3 09/11] ti: dtsi: j721e: Use binman to package sysfw.itb and tiboot3.bin Neha Malcom Francis
2022-07-01 19:07   ` Alper Nebi Yasak
2022-06-15  6:48 ` [PATCH RFC v3 10/11] ti: dtsi: j721e: Use binman to package tispl.bin Neha Malcom Francis
2022-06-15 14:25   ` Roger Quadros
2022-06-15 14:29   ` Roger Quadros
2022-07-01 19:08   ` Alper Nebi Yasak
2022-06-15  6:48 ` [PATCH RFC v3 11/11] ci: world_build: test: Add requirements.txt Neha Malcom Francis
2022-07-01 19:09   ` Alper Nebi Yasak
2022-07-01 19:07 ` [PATCH RFC v3 00/11] Integration of tiboot3.bin, sysfw.itb and Alper Nebi Yasak

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.