All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES
@ 2016-10-06 21:19 Fabio Berton
  2016-10-08  3:04 ` Zhenhua Luo
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Berton @ 2016-10-06 21:19 UTC (permalink / raw)
  To: meta-freescale

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.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
---
 conf/machine/include/qoriq-base.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 7360a75..5346811 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -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"
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES
  2016-10-06 21:19 [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES Fabio Berton
@ 2016-10-08  3:04 ` Zhenhua Luo
  2016-10-10 12:51   ` Fabio Berton
  0 siblings, 1 reply; 3+ messages in thread
From: Zhenhua Luo @ 2016-10-08  3:04 UTC (permalink / raw)
  To: Fabio Berton; +Cc: meta-freescale

Hi Fabio, 

> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Fabio Berton
> Sent: Friday, October 07, 2016 5:19 AM
> 
> diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-
> base.inc
> index 7360a75..5346811 100644
> --- a/conf/machine/include/qoriq-base.inc
> +++ b/conf/machine/include/qoriq-base.inc
> @@ -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 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES
  2016-10-08  3:04 ` Zhenhua Luo
@ 2016-10-10 12:51   ` Fabio Berton
  0 siblings, 0 replies; 3+ messages in thread
From: Fabio Berton @ 2016-10-10 12:51 UTC (permalink / raw)
  To: Zhenhua Luo; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

Hi Zhenhua,

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

Fabio

On Sat, Oct 8, 2016 at 12:04 AM, Zhenhua Luo <zhenhua.luo@nxp.com> wrote:

> Hi Fabio,
>
> > -----Original Message-----
> > From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> > bounces@yoctoproject.org] On Behalf Of Fabio Berton
> > Sent: Friday, October 07, 2016 5:19 AM
> >
> > diff --git a/conf/machine/include/qoriq-base.inc
> b/conf/machine/include/qoriq-
> > base.inc
> > index 7360a75..5346811 100644
> > --- a/conf/machine/include/qoriq-base.inc
> > +++ b/conf/machine/include/qoriq-base.inc
> > @@ -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
>

[-- Attachment #2: Type: text/html, Size: 1858 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-10 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 21:19 [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES Fabio Berton
2016-10-08  3:04 ` Zhenhua Luo
2016-10-10 12:51   ` Fabio Berton

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.