Skip to contentSkip to conversation

packagegroup-arago-initramfs: Add e2fsprogs-mke2fs and dosfstools

PATCH New [email protected] 4 participants 7 messages Nov 1, 2023 – Nov 2, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-arago-initramfs: Add e2fsprogs-mke2fs and dosfstools

From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat

---
 .../packagegroups/packagegroup-arago-initramfs.bb        | 9 +++++++++
 1 file changed, 9 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +9 -0
index 380cc0e3..10412784 100644
@@ -1,4 +1,13 @@
 
 require recipes-core/packagegroups/packagegroup-core-boot.bb
 
+ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+
 RDEPENDS:${PN}:remove = "grub-efi kernel"
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 packagegroup-arago-initramfs: Add e2fsprogs-mke2fs and dosfstools

From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat

---
 .../packagegroups/packagegroup-arago-initramfs.bb        | 9 +++++++++
 1 file changed, 9 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +9 -0
index 380cc0e3..10412784 100644
@@ -1,4 +1,13 @@
 
 require recipes-core/packagegroups/packagegroup-core-boot.bb
 
+ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+
 RDEPENDS:${PN}:remove = "grub-efi kernel"
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "
Signature · 1 line
2.25.1
#2 lore raw
Quoted 3 lines · On 11/1/2023 4:28 AM, [email protected] wrote:

From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat

Right now the only image that is using this package group is the tiny image. And part of the goal of the tiny image is to remain as small as possible.

The intent of the tiny image is to support the initial wakeup efforts. During this time the various hardware settings are not fully known and so external memory and other things do not work. The initramfs is meant to provide the bare minimal OS needed to fit into the on-chip SRAM to figure out those settings. Once those settings are figured out, we never go back to the tiny image.

So what is the need for the mkfs tools in the tiny image? Why not use a bigger image that has these tools in it?

Quoted 23 lines
---
  .../packagegroups/packagegroup-arago-initramfs.bb        | 9 +++++++++
  1 file changed, 9 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +9 -0
index 380cc0e3..10412784 100644
@@ -1,4 +1,13 @@
 
  require recipes-core/packagegroups/packagegroup-core-boot.bb
 
+ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+
  RDEPENDS:${PN}:remove = "grub-efi kernel"
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#3 lore raw

Hi Ryan,

Quoted 20 lines · Ryan Eatmon
Quoted 3 lines · On 11/1/2023 4:28 AM, [email protected] wrote:

From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat

Right now the only image that is using this package group is the tiny image. And part of the goal of the tiny image is to remain as small as possible.

The intent of the tiny image is to support the initial wakeup efforts. During this time the various hardware settings are not fully known and so external memory and other things do not work. The initramfs is meant to provide the bare minimal OS needed to fit into the on-chip SRAM to figure out those settings. Once those settings are figured out, we never go back to the tiny image.

Quoted 3 lines

So what is the need for the mkfs tools in the tiny image? Why not use a bigger image that has these tools in it?

There is a customer requirement to provide production programming solution to use arago-tiny-image to partition and program the boot media like eMMC. We need these utilities to format the eMMC. Please refer https://jira.itg.ti.com/browse/LCPD-34783

Quoted 15 lines
Quoted 15 lines
---
  .../packagegroups/packagegroup-arago-initramfs.bb        | 9 +++++++++
  1 file changed, 9 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +0 -0
index 380cc0e3..10412784 100644
@@ -1,4 +1,13 @@
 
  require recipes-core/packagegroups/packagegroup-core-boot.bb
 
Quoted 15 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb line 13

Quoted 10 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +9 -0
+ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+
  RDEPENDS:${PN}:remove = "grub-efi kernel"
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

Regards,
Dasnavis Sabiya

#4 lore raw

Sabiya,

Quoted 21 lines · Dasnavis Sabiya via lists.yoctoproject.org

Hi Ryan,

Quoted 18 lines · Ryan Eatmon
Quoted 3 lines · On 11/1/2023 4:28 AM, [email protected] wrote:

From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat

Right now the only image that is using this package group is the tiny image. And part of the goal of the tiny image is to remain as small as possible.

The intent of the tiny image is to support the initial wakeup efforts. During this time the various hardware settings are not fully known and so external memory and other things do not work. The initramfs is meant to provide the bare minimal OS needed to fit into the on-chip SRAM to figure out those settings. Once those settings are figured out, we never go back to the tiny image.

Quoted 7 lines
Quoted 3 lines

So what is the need for the mkfs tools in the tiny image? Why not use a bigger image that has these tools in it?

There is a customer requirement to provide production programming solution to use arago-tiny-image to partition and program the boot media like eMMC. We need these utilities to format the eMMC. Please refer https://jira.itg.ti.com/browse/LCPD-34783

This is upstream mailing list. Please keep the TI internal jira-ids away from it.

Regards,
Chirag

Quoted 41 lines
Quoted 14 lines
Quoted 14 lines
---
   .../packagegroups/packagegroup-arago-initramfs.bb        | 9 +++++++++
   1 file changed, 9 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +0 -0
index 380cc0e3..10412784 100644
@@ -1,4 +1,13 @@
 
   require recipes-core/packagegroups/packagegroup-core-boot.bb
 
Quoted 14 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb line 13

Quoted 10 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +9 -0
+ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+
   RDEPENDS:${PN}:remove = "grub-efi kernel"
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

Regards,
Dasnavis Sabiya

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14987): https://lists.yoctoproject.org/g/meta-arago/message/14987
Mute This Topic: https://lists.yoctoproject.org/mt/102315218/7030289
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
Quoted 32 lines · Chirag Shilwant

Sabiya,

Quoted 21 lines · Dasnavis Sabiya via lists.yoctoproject.org

Hi Ryan,

Quoted 18 lines · Ryan Eatmon
Quoted 3 lines · On 11/1/2023 4:28 AM, [email protected] wrote:

From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat

Right now the only image that is using this package group is the tiny image.  And part of the goal of the tiny image is to remain as small as possible.

The intent of the tiny image is to support the initial wakeup efforts. During this time the various hardware settings are not fully known and so external memory and other things do not work.  The initramfs is meant to provide the bare minimal OS needed to fit into the on-chip SRAM to figure out those settings.  Once those settings are figured out, we never go back to the tiny image.

Quoted 6 lines
Quoted 3 lines

So what is the need for the mkfs tools in the tiny image?  Why not use a bigger image that has these tools in it?

There is a customer requirement to provide production programming solution to use arago-tiny-image to partition and program the boot media like eMMC. We need these utilities to format the eMMC.

Quoted 4 lines

This is upstream mailing list. Please keep the TI internal jira-ids away from it.

Regards,
Chirag

The purpose of tiny, as stated, is to serve the wakeup efforts of figuring out hardware settings for the kernel/uboot so that we can move to a "real" image that has these kinds of tools. If there is a customer need, they are free to add their own layer to configure their own package-groups or their own images.

We are not going to accept this patch.

Quoted 44 lines
Quoted 44 lines
Quoted 17 lines
Quoted 17 lines

---
   .../packagegroups/packagegroup-arago-initramfs.bb        | 9
+++++++++

   1 file changed, 9 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +0 -1
index 380cc0e3..10412784 100644
--- 

a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb
+++
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +0 -0
@@ -1,4 +1,13 @@
 

   require recipes-core/packagegroups/packagegroup-core-boot.bb

Quoted 14 lines
Quoted 10 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +5 -0
+ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+

   RDEPENDS:${PN}:remove = "grub-efi kernel"

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +4 -0
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS

Regards,
Dasnavis Sabiya

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14987): https://lists.yoctoproject.org/g/meta-arago/message/14987
Mute This Topic: https://lists.yoctoproject.org/mt/102315218/7030289
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#6 lore raw
Quoted 35 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 32 lines · Chirag Shilwant

Sabiya,

Quoted 27 lines · Dasnavis Sabiya via lists.yoctoproject.org

Hi Ryan,

Quoted 18 lines · Ryan Eatmon
Quoted 3 lines · On 11/1/2023 4:28 AM, [email protected] wrote:

From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat

Right now the only image that is using this package group is the tiny image.  And part of the goal of the tiny image is to remain as small as possible.

The intent of the tiny image is to support the initial wakeup efforts. During this time the various hardware settings are not fully known and so external memory and other things do not work.  The initramfs is meant to provide the bare minimal OS needed to fit into the on-chip SRAM to figure out those settings.  Once those settings are figured out, we never go back to the tiny image.

Quoted 3 lines

So what is the need for the mkfs tools in the tiny image?  Why not use a bigger image that has these tools in it?

There is a customer requirement to provide production programming solution to use arago-tiny-image to partition and program the boot media like eMMC. We need these utilities to format the eMMC.

Quoted 10 lines
Quoted 4 lines

This is upstream mailing list. Please keep the TI internal jira-ids away from it.

Regards,
Chirag

The purpose of tiny, as stated, is to serve the wakeup efforts of figuring out hardware settings for the kernel/uboot so that we can move to a "real" image that has these kinds of tools.  If there is a customer need, they are free to add their own layer to configure their own package-groups or their own images.

We are not going to accept this patch.

Also if a customer wants to flash their board we usually recommend doing that from U-Boot[0]. Which can be easily network/DFU/JTAG booted and already can create partitions and flash filesystem images. Booting all the way into some minimal Linux and manually creating the filesystem during a flashing/production flow sounds flawed to begin with so we shouldn't encourage it with an image like this.

Andrew

[0] https://www.ti.com/lit/an/spracy5/spracy5.pdf

Quoted 36 lines
Quoted 35 lines
Quoted 35 lines
Quoted 14 lines
Quoted 14 lines

---
   .../packagegroups/packagegroup-arago-initramfs.bb        | 9 +++++++++

   1 file changed, 9 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +0 -0
index 380cc0e3..10412784 100644
@@ -1,4 +1,13 @@
 

   require recipes-core/packagegroups/packagegroup-core-boot.bb

Quoted 14 lines
Quoted 10 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +5 -0
+ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+

   RDEPENDS:${PN}:remove = "grub-efi kernel"

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb +4 -0
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS

Regards,
Dasnavis Sabiya