All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Neha Malcom Francis <n-francis@ti.com>
Cc: u-boot@lists.denx.de, sjg@chromium.org, afd@ti.com,
	vigneshr@ti.com, rogerq@kernel.org, alpernebiyasak@gmail.com,
	nm@ti.com, bb@ti.com, u-kumar1@ti.com,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH v3 00/19] Migration to using binman for bootloader
Date: Wed, 3 May 2023 18:34:30 +0200	[thread overview]
Message-ID: <bde4dd4f-6fc4-d7ae-e7c8-758c8768783b@siemens.com> (raw)
In-Reply-To: <f1d9ba1e-3d61-c76e-bad5-a629935a6454@ti.com>

On 03.05.23 14:56, Neha Malcom Francis wrote:
> Hi Jan,
> 
> On 03/05/23 12:57, Neha Malcom Francis wrote:
>> Hi Tom
>>
>> On 27/04/23 04:07, Tom Rini wrote:
>>> On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote:
>>>
>>>> This series aims to eliminate the use of additional custom repositories
>>>> such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3
>>>> Security Development Tools) that was plumbed into the U-Boot build flow
>>>> to generate boot images for TI K3 platform devices. And instead, we
>>>> move
>>>> towards using binman that aligns better with the community standard
>>>> build
>>>> flow.
>>>>
>>>> This series uses binman for all K3 platforms supported on U-Boot
>>>> currently;
>>>> both HS (High Security, both SE and FS) and GP (General Purpose)
>>>> devices.
>>>>
>>>> Background on using k3-image-gen:
>>>>     * TI K3 devices require a SYSFW (System Firmware) image consisting
>>>>     of a signed system firmware image and board configuration binaries,
>>>>     this is needed to bring up system firmware during U-Boot R5 SPL
>>>>     startup.
>>>>     * Board configuration data contain board-specific information
>>>>     such as resource management, power management and security.
>>>>
>>>> Background on using core-secdev-k3:
>>>>     * Contains resources to sign x509 certificates for HS devices
>>>>
>>>> Series intends to use binman to take over the packaging and signing for
>>>> the R5 bootloader images tiboot3.bin (and sysfw.itb, for non-combined
>>>> boot flow) instead of k3-image-gen.
>>>>
>>>> Series also packages the A72/A53 bootloader images (tispl.bin and
>>>> u-boot.img) using ATF, OPTEE and DM (Device Manager)
>>>
>>> So, next up is fixing this in CI. After taking Andrew's patch to fix the
>>> typedef issue, and after my patches to ensure we can get
>>> pyyaml/jsonschema for python, there's problems still:
>>
>>
>> Thanks for checking this! Couple things:
>>
>>> Over at https://source.denx.de/u-boot/u-boot/-/jobs/617966:
>>> binman: Filename 'spl/dts/k3-am68-sk-base-board.dtb' not found in input
>>> path (.,/builds/u-boot/u-boot,board/ti/j721s2,arch/arm/dts)
>>> (cwd='/tmp/.bm-work/j721s2_hs_evm_a72')
>>
>> 1. This is dependent on the patch merging J721S2 HS and GP configs
>> [1]. However it has been reverted on -next, seen in the same thread.
>>
>>>
>>> And then:
>>> https://source.denx.de/u-boot/u-boot/-/jobs/617965#L1328
>>> Error: arch/arm/dts/k3-am62a-sk-binman.dtsi:167.1-8 syntax error
>>> I've fixed this, minor but serious change.
>>
>> 2. Regarding iot2050, build fails since it uses
>> arch/arm/mach-k3/config.mk which is now entirely binman based. Will
>> try moving iot2050 to binman as well.
> 
> I'll need some help with this, might need to know the bootloader flow to
> make a clean migration.

Where do I have to look at? Is there a git repo with that experiment
somewhere?

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


  reply	other threads:[~2023-05-03 16:34 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 12:31 [PATCH v3 00/19] Migration to using binman for bootloader Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 01/19] binman: ti-board-config: Add support for TI board config binaries Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-25  6:24     ` Neha Malcom Francis
2023-04-25 18:01       ` Simon Glass
2023-04-26 19:44   ` [PATCH 1/2] buildman: Create a requirements.txt file Tom Rini
2023-04-26 19:44     ` [PATCH 2/2] CI: Make use of buildman requirements.txt Tom Rini
2023-04-27 16:25       ` Simon Glass
2023-05-03  5:57       ` Neha Malcom Francis
2023-05-03 13:04         ` Tom Rini
2023-05-04  4:12           ` Neha Malcom Francis
2023-05-04 13:02             ` Tom Rini
2023-05-05  5:02               ` Neha Malcom Francis
2023-04-27 16:25     ` [PATCH 1/2] buildman: Create a requirements.txt file Simon Glass
2023-04-21 12:31 ` [PATCH v3 02/19] binman: ti-secure: Add support for TI signing Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-21 12:31 ` [PATCH v3 03/19] ti: sysfw: tiboot3: Add support for packaging sysfw.itb and tiboot3.bin Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-25  7:20     ` Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 04/19] j721e: schema: yaml: Add general schema and J721E board config files Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 05/19] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-21 12:31 ` [PATCH v3 06/19] j7200: yaml: Add J7200 board config files Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 07/19] j7200: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-21 12:31 ` [PATCH v3 08/19] am65x: yaml: Add AM65x board config files Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 09/19] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-25  7:26     ` Neha Malcom Francis
2023-04-25 18:01       ` Simon Glass
2023-04-21 12:31 ` [PATCH v3 10/19] am64x: yaml: Add board configs for AM64x Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 11/19] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-25  7:31     ` Neha Malcom Francis
2023-04-25 18:46       ` Andrew Davis
2023-04-25 19:23       ` Simon Glass
2023-04-21 12:31 ` [PATCH v3 12/19] j721s2: yaml: Add board configs for J721S2 Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 13/19] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-21 12:31 ` [PATCH v3 14/19] am62: yaml: Add board configs for AM62 Neha Malcom Francis
2023-04-21 12:31 ` [PATCH v3 15/19] am625: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-21 12:32 ` [PATCH v3 16/19] am62a: yaml: Add board configs for AM62ax Neha Malcom Francis
2023-04-21 12:32 ` [PATCH v3 17/19] am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-21 12:32 ` [PATCH v3 18/19] k3: tools: config.mk: Update makefile and remove scripts Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-21 12:32 ` [PATCH v3 19/19] doc: board: ti: Update documentation for binman flow Neha Malcom Francis
2023-04-24 19:42   ` Simon Glass
2023-04-24 20:49     ` Tom Rini
2023-04-25  5:38       ` Heinrich Schuchardt
2023-04-25  7:36         ` Neha Malcom Francis
2023-04-25  6:23     ` Neha Malcom Francis
2023-04-26 22:37 ` [PATCH v3 00/19] Migration to using binman for bootloader Tom Rini
2023-05-03  7:27   ` Neha Malcom Francis
2023-05-03 12:56     ` Neha Malcom Francis
2023-05-03 16:34       ` Jan Kiszka [this message]
2023-05-04  4:43         ` Neha Malcom Francis
2023-05-04  6:13           ` Neha Malcom Francis
2023-05-04  7:45             ` Jan Kiszka
2023-05-07 12:11             ` Jan Kiszka
2023-05-08  5:05               ` Neha Malcom Francis
2023-05-09  8:58                 ` Jan Kiszka
2023-05-03 13:57     ` Tom Rini
2023-05-04  5:40       ` Manorit Chawdhry
2023-05-16  4:59         ` Neha Malcom Francis
2023-05-04  8:38 ` Christian Gmeiner
2023-05-04  9:37   ` Neha Malcom Francis
2023-05-05 18:29     ` Christian Gmeiner

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=bde4dd4f-6fc4-d7ae-e7c8-758c8768783b@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=afd@ti.com \
    --cc=alpernebiyasak@gmail.com \
    --cc=bb@ti.com \
    --cc=n-francis@ti.com \
    --cc=nm@ti.com \
    --cc=rogerq@kernel.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --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.