All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nandor Han" <nandor.han@vaisala.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v3] classes: Add a new bbclass that abstracts the generation of FIT blobs
Date: Fri, 27 Mar 2020 19:18:14 +0200	[thread overview]
Message-ID: <5fc4299b-4888-3e3f-501e-555520a75978@vaisala.com> (raw)
In-Reply-To: <6a748f7bf39bba8b9bb2680360c15f57d9009dce.camel@linuxfoundation.org>

On 2020-03-27 18:35, Richard Purdie wrote:
> On Fri, 2020-03-27 at 10:29 +0200, Nandor Han wrote:
>> FIT format is very versatile allowing various combination of booting
>> sequences. In the same time different U-Boot boot stages can use FIT
>> blobs to pack various binaries (e.g. SPL supports reading U-Boot from a
>> FIT blob). Because of the allowed level of customization, the generation
>> of a FIT blob using a fixed image tree source, becomes challenging and
>> increase the level of complexity where different configurations and
>> combinations are needed.
>>
>> This bbclass will know how to generate a FIT blob, leaving the mechanics
>> of the process (dependencies, task order...) to be handled by the users
>> of the bbclass. In the same time will allow to separate the knowledge of
>> the FIT format leaving the user code cleaner and more readable.
>>
>> Signed-off-by: Nandor Han <nandor.han@vaisala.com>
> 
> Have you considered adding automated tests for this?
> 

Thanks for feedback Rickard. I haven't considered adding any extra
tests (automate), but I think is a great idea. I'll try to have a look.

> Does adding this class remove or obsolete any of the existing
> code/support?
> 

Currently no, AFAIK. But this is only the first step and my plan is to 
go forward and update the `kernel-fitimage.bbclass` to use this class. 
This way we can very easily extend the FIT source dynamically and in the 
same time reduce the complexity of the `kernel-fitimage.bbclass`. More 
over I'm planning to create also a U-Boot related class that will be 
able to generate a FIT blobs that can contain U-Boot... and is used by SPL.

> Cheers,
> 
> Richard
> 

Nandor

  reply	other threads:[~2020-03-27 17:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 21:43 [PATCH] Add a new bbclass that abstracts the generation of FIT blobs nandor.han
2020-03-27  7:15 ` [PATCH v2] classes: " Nandor Han
2020-03-27 17:23   ` [OE-core] " Alex Kiernan
2020-03-27 17:54     ` Nandor Han
2020-03-27  8:29 ` [PATCH v3] " Nandor Han
2020-03-27 15:11   ` [OE-core] " Zach Booth
2020-03-27 17:33     ` Nandor Han
2020-03-27 18:16       ` Denys Dmytriyenko
2020-03-27 18:24         ` Nandor Han
2020-03-30 16:07           ` Denys Dmytriyenko
2020-03-30 16:46             ` Nandor Han
2020-03-27 16:35   ` Richard Purdie
2020-03-27 17:18     ` Nandor Han [this message]
2020-05-26 17:57 ` [OE-core][PATCH v4 0/3] " Nandor Han
2020-05-26 17:57   ` [OE-core][PATCH v4 1/3] Add a recipe for `python3-fdt` package Nandor Han
2020-05-26 17:57   ` [OE-core][PATCH v4 2/3] classes: Add a new bbclass that abstracts the generation of FIT blobs Nandor Han
2020-05-26 17:57   ` [OE-core][PATCH v4 3/3] selftest: add a unit-test for fit-image bbclass Nandor Han
2020-05-26 17:57 ` [PATCH v3] classes: Add a new bbclass that abstracts the generation of FIT blobs Nandor Han
2020-05-26 18:02 ` ✗ patchtest: failure for Add a new bbclass that abstracts the generation of FIT blobs (rev6) Patchwork

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=5fc4299b-4888-3e3f-501e-555520a75978@vaisala.com \
    --to=nandor.han@vaisala.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /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.