Skip to contentSkip to conversation

qoriq-base: Set SOC default IMAGE_FSTYPES

PATCH Superseded Fabio Berton 2 participants 3 messages Oct 6, 2016 – Oct 10, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qoriq-base: Set SOC default IMAGE_FSTYPES

Create SOC_DEFAULT_IMAGE_FSTYPES variable with default IMAGE_FSTYPES used by all QorIQ targets. Default FSTYPES are tar.gz and ext2.u-boot.

The IMAGE_FSTYPES need to be overriden without using the SoC family overrides, for user-friendness, and to allow this we need to use a SoC variable to construct the default value for setting.

---
 conf/machine/include/qoriq-base.inc | 3 +++
 1 file changed, 3 insertions(+)
conf/machine/include/qoriq-base.inc +3 -0
index 7360a75..5346811 100644
@@ -11,6 +11,9 @@ PREFERRED_VERSION_testfloat = "2a"
 
 IMAGE_CLASSES += "image_types_uboot"
 
+SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.u-boot"
+IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
+
 MACHINE_FEATURES ?= "pci ext2 ext3 serial"
 MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-modules"
 
Signature · 1 line
2.1.4
#1 lore raw

Hi Fabio,

Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Fabio Berton
Sent: Friday, October 07, 2016 5:19 AM

conf/machine/include/qoriq- renamed from conf/machine/include/qoriq-base.inc +0 -0

base.inc
index 7360a75..5346811 100644

conf/machine/include/qoriq-base.inc PREFERRED_VERSION_testfloat = "2a" · line 14

Quoted 4 lines
conf/machine/include/qoriq-base.inc +1 -0
@@ -11,6 +11,9 @@ PREFERRED_VERSION_testfloat = "2a"
 
 IMAGE_CLASSES += "image_types_uboot"
 
+SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.u-boot"

[Zhenhua Luo] Please replace "ext2.u-boot" with "ext2.gz ext2.gz.u-boot", the two rootfs type is commonly used by QorIQ targets.

Best Regards,

Zhenhua

#2 lore raw

Hi Zhenhua,

Thanks for reviewed, I'll send a v2 with fstypes changes.

Fabio

Quoted 26 lines · Zhenhua Luo

Hi Fabio,

Review

Quoted 6 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Fabio Berton
Sent: Friday, October 07, 2016 5:19 AM

(quoted diff) +0 -0

b/conf/machine/include/qoriq-

conf/machine/include/qoriq-base.inc PREFERRED_VERSION_testfloat = "2a" · line 14

Quoted 9 lines

base.inc
index 7360a75..5346811 100644

conf/machine/include/qoriq-base.inc +1 -0
@@ -11,6 +11,9 @@ PREFERRED_VERSION_testfloat = "2a"
 
 IMAGE_CLASSES += "image_types_uboot"
 
+SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.u-boot"

[Zhenhua Luo] Please replace "ext2.u-boot" with "ext2.gz ext2.gz.u-boot", the two rootfs type is commonly used by QorIQ targets.

Best Regards,

Zhenhua