mbox series

[master/dunfell,V6,00/12] recipes-core: Add a bootstrap Linux image

Message ID 20220324132526.26497-1-nm@ti.com
Headers show
Series recipes-core: Add a bootstrap Linux image | expand

Message

Nishanth Menon March 24, 2022, 1:25 p.m. UTC
Board bringups are typically painful. however, over the years, folks
know of minimal debug tools that are pretty effective in helping debug
basic peripherals. Lets create a reusable packagegroup balancing the
tools from wisdom from various folks vs the size of the resultant
package.

We would like to base such a system on more simplistic sysvinit (no
offence systemd, you are still our fav), as it has a much smaller
footprint.

The board startup is best done with a minimal u-boot and kernel device
tree configurations.

Dependency (for patch #12, depends on https://lore.kernel.org/all/20220314202840.18904-1-reatmon@ti.com/ )

Changes since V5:
* Patch #10 - switch from GPLv2 to MIT to stick with standard licensing.

V5: https://lore.kernel.org/all/20220322174808.16341-1-nm@ti.com/
V4: https://lore.kernel.org/all/20220319123310.8546-1-nm@ti.com/
V3: https://lore.kernel.org/all/20220318184045.11246-1-nm@ti.com/
V2: https://lore.kernel.org/all/20220318143735.17642-1-nm@ti.com/
V1: https://lore.kernel.org/all/20220309021316.28370-1-nm@ti.com/


Nishanth Menon (12):
  Revert "tisdk-tiny-image: remove packagedata task breaking initramfs
    packaging"
  tisdk-tiny-image: Split common components into include file
  tisdk-tiny-image: Add some usability notes
  tisdk-base-image: Reformat documentation and clarify usage
  tisdk-default-image: Reformat documentation and clarify usage
  tisdk-thinlinux-image: Reformat documentation
  tisdk-core-bundle: Add documentation to clarify usage
  packagegroups: Add a new bootstrap package group
  recipes-core: images: Add a basic bootstrap base image
  recipes-bsp: Create a bootstrap-initrd package
  recipes-core: images: Introduce tisdk-bootstrap-image
  images: Build tisdk-bootstrap-image with tisdk-core-bundle

 .../bootstrap-initrd/bootstrap-initrd_1.0.bb  | 22 ++++++++
 .../recipes-core/images/arago-tiny-image.inc  |  9 ++++
 .../recipes-core/images/tisdk-base-image.bb   |  6 ++-
 .../images/tisdk-bootstrap-base-image.bb      | 22 ++++++++
 .../images/tisdk-bootstrap-image.bb           | 22 ++++++++
 .../recipes-core/images/tisdk-core-bundle.bb  |  7 +++
 .../recipes-core/images/tisdk-core-bundle.inc |  2 +-
 .../images/tisdk-default-image.bb             |  5 +-
 .../images/tisdk-thinlinux-image.bb           |  6 ++-
 .../recipes-core/images/tisdk-tiny-image.bb   | 23 ++++----
 .../packagegroup-arago-bootstrap.bb           | 53 +++++++++++++++++++
 11 files changed, 162 insertions(+), 15 deletions(-)
 create mode 100644 meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb
 create mode 100644 meta-arago-distro/recipes-core/images/arago-tiny-image.inc
 create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb
 create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
 create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb

Comments

Denys Dmytriyenko March 24, 2022, 8:39 p.m. UTC | #1
On Thu, Mar 24, 2022 at 08:25:14AM -0500, Nishanth Menon wrote:
> Board bringups are typically painful. however, over the years, folks
> know of minimal debug tools that are pretty effective in helping debug
> basic peripherals. Lets create a reusable packagegroup balancing the
> tools from wisdom from various folks vs the size of the resultant
> package.
> 
> We would like to base such a system on more simplistic sysvinit (no
> offence systemd, you are still our fav), as it has a much smaller
> footprint.
> 
> The board startup is best done with a minimal u-boot and kernel device
> tree configurations.
> 
> Dependency (for patch #12, depends on https://lore.kernel.org/all/20220314202840.18904-1-reatmon@ti.com/ )
> 
> Changes since V5:
> * Patch #10 - switch from GPLv2 to MIT to stick with standard licensing.

Thanks for addressing all the comments! The series looks good to me:

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>


> V5: https://lore.kernel.org/all/20220322174808.16341-1-nm@ti.com/
> V4: https://lore.kernel.org/all/20220319123310.8546-1-nm@ti.com/
> V3: https://lore.kernel.org/all/20220318184045.11246-1-nm@ti.com/
> V2: https://lore.kernel.org/all/20220318143735.17642-1-nm@ti.com/
> V1: https://lore.kernel.org/all/20220309021316.28370-1-nm@ti.com/
> 
> 
> Nishanth Menon (12):
>   Revert "tisdk-tiny-image: remove packagedata task breaking initramfs
>     packaging"
>   tisdk-tiny-image: Split common components into include file
>   tisdk-tiny-image: Add some usability notes
>   tisdk-base-image: Reformat documentation and clarify usage
>   tisdk-default-image: Reformat documentation and clarify usage
>   tisdk-thinlinux-image: Reformat documentation
>   tisdk-core-bundle: Add documentation to clarify usage
>   packagegroups: Add a new bootstrap package group
>   recipes-core: images: Add a basic bootstrap base image
>   recipes-bsp: Create a bootstrap-initrd package
>   recipes-core: images: Introduce tisdk-bootstrap-image
>   images: Build tisdk-bootstrap-image with tisdk-core-bundle
> 
>  .../bootstrap-initrd/bootstrap-initrd_1.0.bb  | 22 ++++++++
>  .../recipes-core/images/arago-tiny-image.inc  |  9 ++++
>  .../recipes-core/images/tisdk-base-image.bb   |  6 ++-
>  .../images/tisdk-bootstrap-base-image.bb      | 22 ++++++++
>  .../images/tisdk-bootstrap-image.bb           | 22 ++++++++
>  .../recipes-core/images/tisdk-core-bundle.bb  |  7 +++
>  .../recipes-core/images/tisdk-core-bundle.inc |  2 +-
>  .../images/tisdk-default-image.bb             |  5 +-
>  .../images/tisdk-thinlinux-image.bb           |  6 ++-
>  .../recipes-core/images/tisdk-tiny-image.bb   | 23 ++++----
>  .../packagegroup-arago-bootstrap.bb           | 53 +++++++++++++++++++
>  11 files changed, 162 insertions(+), 15 deletions(-)
>  create mode 100644 meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb
>  create mode 100644 meta-arago-distro/recipes-core/images/arago-tiny-image.inc
>  create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb
>  create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
>  create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb
> 
> -- 
> 2.31.1
>
Ryan Eatmon March 29, 2022, 6:31 p.m. UTC | #2
On 3/24/2022 15:39, Denys Dmytriyenko wrote:
> On Thu, Mar 24, 2022 at 08:25:14AM -0500, Nishanth Menon wrote:
>> Board bringups are typically painful. however, over the years, folks
>> know of minimal debug tools that are pretty effective in helping debug
>> basic peripherals. Lets create a reusable packagegroup balancing the
>> tools from wisdom from various folks vs the size of the resultant
>> package.
>>
>> We would like to base such a system on more simplistic sysvinit (no
>> offence systemd, you are still our fav), as it has a much smaller
>> footprint.
>>
>> The board startup is best done with a minimal u-boot and kernel device
>> tree configurations.
>>
>> Dependency (for patch #12, depends on https://lore.kernel.org/all/20220314202840.18904-1-reatmon@ti.com/ )
>>
>> Changes since V5:
>> * Patch #10 - switch from GPLv2 to MIT to stick with standard licensing.
> 
> Thanks for addressing all the comments! The series looks good to me:
> 
> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
> 

Applied to dunfell-next.  I could not apply these patches to master as 
master has already started moving towards Kirkstone and the various 
syntax changes that entails.  We will work on migrating the patches to 
master and have another patch series for that branch.



>> V5: https://lore.kernel.org/all/20220322174808.16341-1-nm@ti.com/
>> V4: https://lore.kernel.org/all/20220319123310.8546-1-nm@ti.com/
>> V3: https://lore.kernel.org/all/20220318184045.11246-1-nm@ti.com/
>> V2: https://lore.kernel.org/all/20220318143735.17642-1-nm@ti.com/
>> V1: https://lore.kernel.org/all/20220309021316.28370-1-nm@ti.com/
>>
>>
>> Nishanth Menon (12):
>>    Revert "tisdk-tiny-image: remove packagedata task breaking initramfs
>>      packaging"
>>    tisdk-tiny-image: Split common components into include file
>>    tisdk-tiny-image: Add some usability notes
>>    tisdk-base-image: Reformat documentation and clarify usage
>>    tisdk-default-image: Reformat documentation and clarify usage
>>    tisdk-thinlinux-image: Reformat documentation
>>    tisdk-core-bundle: Add documentation to clarify usage
>>    packagegroups: Add a new bootstrap package group
>>    recipes-core: images: Add a basic bootstrap base image
>>    recipes-bsp: Create a bootstrap-initrd package
>>    recipes-core: images: Introduce tisdk-bootstrap-image
>>    images: Build tisdk-bootstrap-image with tisdk-core-bundle
>>
>>   .../bootstrap-initrd/bootstrap-initrd_1.0.bb  | 22 ++++++++
>>   .../recipes-core/images/arago-tiny-image.inc  |  9 ++++
>>   .../recipes-core/images/tisdk-base-image.bb   |  6 ++-
>>   .../images/tisdk-bootstrap-base-image.bb      | 22 ++++++++
>>   .../images/tisdk-bootstrap-image.bb           | 22 ++++++++
>>   .../recipes-core/images/tisdk-core-bundle.bb  |  7 +++
>>   .../recipes-core/images/tisdk-core-bundle.inc |  2 +-
>>   .../images/tisdk-default-image.bb             |  5 +-
>>   .../images/tisdk-thinlinux-image.bb           |  6 ++-
>>   .../recipes-core/images/tisdk-tiny-image.bb   | 23 ++++----
>>   .../packagegroup-arago-bootstrap.bb           | 53 +++++++++++++++++++
>>   11 files changed, 162 insertions(+), 15 deletions(-)
>>   create mode 100644 meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb
>>   create mode 100644 meta-arago-distro/recipes-core/images/arago-tiny-image.inc
>>   create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-base-image.bb
>>   create mode 100644 meta-arago-distro/recipes-core/images/tisdk-bootstrap-image.bb
>>   create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb
>>
>> -- 
>> 2.31.1
>>
>