Re: [meta-freescale] Status of i.MX8 support

2019-01-13 Thread Teemu K
On Fri, Jan 11, 2019 at 2:26 PM Daiane Angolini  wrote:
> Hi Teemu,
>
> This is the line in BSP where the image file time is setup:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale/tree/conf/machine/include/imx-base.inc#n289
>
> You may have some configuration on top of the BSP which prevents it to
> create the wic image.
>
> Could you, please, test the following line to try to see which
> configuration you have on your side?
>
> bitbake -e | grep  IMAGE_FSTYPES
Hi,

I got bit further. It seemed that local.conf IMAGE_FSTYPES did
override the SOC_DEFAULT_IMAGE_FSTYPES. I commented it out and now I
got next problem that I get this error when trying to compile image:

ERROR: Nothing PROVIDES 'imx-m4-demos'
ERROR: Required build target 'core-my-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-my-image',
'imx-boot', 'imx-m4-demos']

I searched for imx-m4-demos and I only found it for rocko - branch,
but not for thud.

-Teemu


>
> Regards,
> Daiane
> >
> > -Teemu
> > --
> > ___
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab

2019-01-13 Thread C.r. Guo
Hello Daiane,
Please merge v2 patch and ignore some patches has [rocko] on subject.

Thanks
Chunrong


-Original Message-
From: angol...@gmail.com [mailto:angol...@gmail.com] On Behalf Of Daiane 
Angolini
Sent: 2019年1月11日 22:43
To: C.r. Guo ; Otavio Salvador 
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab

On Thu, Jan 10, 2019 at 1:50 PM Daiane Angolini  wrote:
>
> On Thu, Jan 10, 2019 at 12:50 PM C.r. Guo  wrote:
> >
> > From: Chunrong Guo 
> >
> > *update to lsdk 1812 tag
> > include the following changes:
> > c7576ab - Resolved compile warning on ubuntu with 
> > aarch64-linux-gnu-g++ v7.3
>
> Would you, please, rebase your patchset and send it again?
>
> I have faced conflicts at least on patch 6 and 11.

Hi Chunrong Guo,

I have created a PR with your v2. Could you, please take a look on this?

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fmeta-freescale%2Fpull%2F34%2Fcommitsdata=02%7C01%7Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=9NPU9%2BViDnJx%2B0WnyhptGj8c%2FasAvWOQtga4oN%2BbpXo%3Dreserved=0

I saw some patches has [rocko] on subject, could you, please elaborate what 
does it mean? Would it be a cherry pick to be backported to rocko?

Thanks a lot,
Daiane

>
> Thanks in advance,
> Daiane
> >
> > Signed-off-by: Chunrong Guo 
> > ---
> >  dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | 2 
> > +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git 
> > a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb 
> > b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
> > index 4812ca3..cbf8e24 100644
> > --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
> > +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
> > @@ -7,7 +7,7 @@ PR = "r2"
> >  DEPENDS = "libxml2 fmlib tclap"
> >
> >  SRC_URI = 
> > "git://source.codeaurora.org/external/qoriq/qoriq-components/fmc;nobranch=1"
> > -SRCREV = "09a497fe92aa6cf784140b9084bccf497700"
> > +SRCREV = "c7576ab7fb6fb09b68ebc40531e5452fc89e5cd5"
> >
> >  S = "${WORKDIR}/git"
> >
> > --
> > 2.7.4
> >
> > --
> > ___
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fl
> > ists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7
> > Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d
> > 3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=v6F
> > hJ5qdNfbZZP4DBXZy3LbxPhRS21NfyzGX14sZ4Gg%3Dreserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH] udev: add rule for t1024

2019-01-13 Thread C.r. Guo
From: Chunrong Guo 

*remove rule for t1023

Signed-off-by: Chunrong Guo 
---
 recipes-core/udev/udev-rules-qoriq.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/udev/udev-rules-qoriq.bb 
b/recipes-core/udev/udev-rules-qoriq.bb
index 152cec5..deeedab 100644
--- a/recipes-core/udev/udev-rules-qoriq.bb
+++ b/recipes-core/udev/udev-rules-qoriq.bb
@@ -13,7 +13,7 @@ S = "${WORKDIR}"
 RULE = "71-fsl-dpaa-persistent-networking.rules"
 RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules"
 RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules"
-RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules"
+RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules"
 RULE_ls1043a = "73-fsl-dpaa-persistent-networking.rules"
 RULE_ls1046a = "73-fsl-dpaa-persistent-networking.rules \
 74-ls1046a-xfi2-networking.rules \
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab

2019-01-13 Thread C.r. Guo

Please ignore some patches has [rocko] on subject


Thanks
Chunrong

-Original Message-
From: angol...@gmail.com [mailto:angol...@gmail.com] On Behalf Of Daiane 
Angolini
Sent: 2019年1月11日 22:43
To: C.r. Guo ; Otavio Salvador 
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [PATCH 01/41] fmc: update to c7576ab

On Thu, Jan 10, 2019 at 1:50 PM Daiane Angolini  wrote:
>
> On Thu, Jan 10, 2019 at 12:50 PM C.r. Guo  wrote:
> >
> > From: Chunrong Guo 
> >
> > *update to lsdk 1812 tag
> > include the following changes:
> > c7576ab - Resolved compile warning on ubuntu with 
> > aarch64-linux-gnu-g++ v7.3
>
> Would you, please, rebase your patchset and send it again?
>
> I have faced conflicts at least on patch 6 and 11.

Hi Chunrong Guo,

I have created a PR with your v2. Could you, please take a look on this?

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fmeta-freescale%2Fpull%2F34%2Fcommitsdata=02%7C01%7Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=9NPU9%2BViDnJx%2B0WnyhptGj8c%2FasAvWOQtga4oN%2BbpXo%3Dreserved=0

I saw some patches has [rocko] on subject, could you, please elaborate what 
does it mean? Would it be a cherry pick to be backported to rocko?

Thanks a lot,
Daiane

>
> Thanks in advance,
> Daiane
> >
> > Signed-off-by: Chunrong Guo 
> > ---
> >  dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | 2 
> > +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git 
> > a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb 
> > b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
> > index 4812ca3..cbf8e24 100644
> > --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
> > +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
> > @@ -7,7 +7,7 @@ PR = "r2"
> >  DEPENDS = "libxml2 fmlib tclap"
> >
> >  SRC_URI = 
> > "git://source.codeaurora.org/external/qoriq/qoriq-components/fmc;nobranch=1"
> > -SRCREV = "09a497fe92aa6cf784140b9084bccf497700"
> > +SRCREV = "c7576ab7fb6fb09b68ebc40531e5452fc89e5cd5"
> >
> >  S = "${WORKDIR}/git"
> >
> > --
> > 2.7.4
> >
> > --
> > ___
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fl
> > ists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7
> > Cchunrong.guo%40nxp.com%7C8b41fdbc4f7741ee4eb408d677d31f23%7C686ea1d
> > 3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636828145981154261sdata=v6F
> > hJ5qdNfbZZP4DBXZy3LbxPhRS21NfyzGX14sZ4Gg%3Dreserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Adding custom machine / dts files

2019-01-13 Thread Wiholm, Willie ActeSE
Hello prakash,

Yes the meta-local is added in bblayers.

Best regards,
Willie


Från: prakash m
Skickat: söndag 13 januari 03:55
Ämne: Re: [meta-freescale] Adding custom machine / dts files
Till: Wiholm, Willie ActeSE
Kopia: meta-freescale@yoctoproject.org


Hi,

Could you please check that your custom layer has been added to your 
bblayer.conf which is under your build directory.


Thanks & Regards
Pitchaiah M

On Sun, 13 Jan, 2019, 07:22 Wiholm, Willie ActeSE 
mailto:willie.wih...@acte.se> wrote:
Hello guys,

(Sorry if i sent this in multiple lists)

I'm trying to build an image for an custom board that is based in the 
imx6dlsabresd, but I'm not sure how to add the custom dts files properly.

First i built the kernel and created a patch in arch/arm/boot/dts where i added 
my files.

Then I created a meta-custom layer, in which i created :
recipes-kernel/linux-imx-4.1.15/linux-imx-4.1.15.bbappend
and the bbappend points to my patch.

Then i created my own machine that is a copy of the imx6dlsabre in 
conf/machine/custom.conf

My question is, is this the right approach? The goal is to build full images 
like "fsl-image-qt5" but I'm facing errors with core-image-minimal :

No recipes available for:
  
/linux/build/yocto/avalue_imx-4.1-krogoth/sources/meta-avalue/recipes-kernel/linux-imx-4.1.15/linux-imx-4.1.15.bbappend

So i believe I'm making some fundamental errors.

Any tips appreciated!

Best Regards,
Willie


--
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Adding custom machine / dts files

2019-01-13 Thread prakash m
Hi,

I hope the naming convention is different from which you specified in your
custom layer, so kindly check in meta-freescale/recipes-kernel/linux for
the proper naming in freescale kernel recipes.

I hope the proper naming would be linux-imx_4.1.15.bbappend.


Thanks & Regards
Pitchaiah M


On Sun, 13 Jan, 2019, 13:59 Wiholm, Willie ActeSE  Hello prakash,
>
> Yes the meta-local is added in bblayers.
>
> Best regards,
> Willie
>
>
> Från: prakash m
> Skickat: söndag 13 januari 03:55
> Ämne: Re: [meta-freescale] Adding custom machine / dts files
> Till: Wiholm, Willie ActeSE
> Kopia: meta-freescale@yoctoproject.org
>
>
> Hi,
>
> Could you please check that your custom layer has been added to your
> bblayer.conf which is under your build directory.
>
>
> Thanks & Regards
> Pitchaiah M
>
> On Sun, 13 Jan, 2019, 07:22 Wiholm, Willie ActeSE  wrote:
>
> Hello guys,
>
> (Sorry if i sent this in multiple lists)
>
> I'm trying to build an image for an custom board that is based in the
> imx6dlsabresd, but I'm not sure how to add the custom dts files properly.
>
> First i built the kernel and created a patch in arch/arm/boot/dts where i
> added my files.
>
> Then I created a meta-custom layer, in which i created :
> recipes-kernel/linux-imx-4.1.15/linux-imx-4.1.15.bbappend
> and the bbappend points to my patch.
>
> Then i created my own machine that is a copy of the imx6dlsabre in
> conf/machine/custom.conf
>
> My question is, is this the right approach? The goal is to build full
> images like "fsl-image-qt5" but I'm facing errors with core-image-minimal :
>
> No recipes available for:
>
> /linux/build/yocto/avalue_imx-4.1-krogoth/sources/meta-avalue/recipes-kernel/linux-imx-4.1.15/linux-imx-4.1.15.bbappend
>
> So i believe I'm making some fundamental errors.
>
> Any tips appreciated!
>
> Best Regards,
> Willie
>
>
> --
> ___
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
> 
>
>
>
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH] remove True option to getVar calls

2019-01-13 Thread André Draszik
From: André Draszik 

getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
 | cut -d':' -f1 \
 | sort -u)

Signed-off-by: André Draszik 
---
 classes/fsl-dynamic-packagearch.bbclass   | 28 +--
 classes/fsl-eula-unpack.bbclass   |  8 +++---
 classes/machine-overrides-extender.bbclass|  6 ++--
 classes/qoriq_build_64bit_kernel.bbclass  |  2 +-
 .../recipes-qt4/qt4/qt4-imx-support.inc   |  2 +-
 recipes-bsp/ppa/ppa.inc   |  4 +--
 recipes-bsp/qe-ucode/qe-ucode_git.bb  |  6 ++--
 recipes-bsp/rcw/rcw_git.bb|  2 +-
 recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb|  6 ++--
 .../openssl/openssl-qoriq_1.1.0g.bb   |  2 +-
 recipes-daemons/ptpd/ptpd-qoriq.bb|  2 +-
 recipes-devtools/qemu/qemu-qoriq_git.bb   |  2 +-
 .../imx-gpu-viv/imx-gpu-viv-6.inc |  4 +--
 recipes-graphics/mesa/mesa_%.bbappend |  2 +-
 .../cryptodev/cryptodev-qoriq_1.9.inc |  2 +-
 .../imx-codec/imx-codec_4.4.2.bb  |  4 +--
 .../imx-parser/imx-parser_4.4.2.bb|  2 +-
 17 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/classes/fsl-dynamic-packagearch.bbclass 
b/classes/fsl-dynamic-packagearch.bbclass
index a7cc53fc..9fcf37be 100644
--- a/classes/fsl-dynamic-packagearch.bbclass
+++ b/classes/fsl-dynamic-packagearch.bbclass
@@ -26,22 +26,22 @@
 # Copyright 2013-2016 (C) O.S. Systems Software LTDA.
 
 python __anonymous () {
-machine_arch_filter = set((d.getVar("MACHINE_ARCH_FILTER", True) or 
"").split())
-machine_socarch_filter = set((d.getVar("MACHINE_SOCARCH_FILTER", True) or 
"").split())
+machine_arch_filter = set((d.getVar("MACHINE_ARCH_FILTER") or "").split())
+machine_socarch_filter = set((d.getVar("MACHINE_SOCARCH_FILTER") or 
"").split())
 if machine_socarch_filter or machine_arch_filter:
-provides = set((d.getVar("PROVIDES", True) or "").split())
-depends = set((d.getVar("DEPENDS", True) or "").split())
-PN = d.getVar("PN", True)
+provides = set((d.getVar("PROVIDES") or "").split())
+depends = set((d.getVar("DEPENDS") or "").split())
+PN = d.getVar("PN")
 
 package_arch = None
 if list(machine_arch_filter & (provides | depends)):
-package_arch = d.getVar("MACHINE_ARCH", True)
+package_arch = d.getVar("MACHINE_ARCH")
 elif list(machine_socarch_filter & (provides | depends)):
-package_arch = d.getVar("MACHINE_SOCARCH", True)
+package_arch = d.getVar("MACHINE_SOCARCH")
 if not package_arch:
 raise bb.parse.SkipPackage("You must set MACHINE_SOCARCH as 
MACHINE_SOCARCH_FILTER is set for this SoC.")
 
-machine_socarch_suffix = d.getVar("MACHINE_SOCARCH_SUFFIX", True)
+machine_socarch_suffix = d.getVar("MACHINE_SOCARCH_SUFFIX")
 if not machine_socarch_suffix:
 raise bb.parse.SkipPackage("You must set 
MACHINE_SOCARCH_SUFFIX as MACHINE_SOCARCH_FILTER is set for this SoC.")
 
@@ -49,18 +49,18 @@ python __anonymous () {
 bb.debug(1, "Use '%s' as package architecture for '%s'" % 
(package_arch, PN))
 d.setVar("PACKAGE_ARCH", package_arch)
 
-cur_package_archs = (d.getVar("PACKAGE_ARCHS", True) or "").split()
-machine_socarch = (d.getVar("MACHINE_SOCARCH", True) or "")
+cur_package_archs = (d.getVar("PACKAGE_ARCHS") or "").split()
+machine_socarch = (d.getVar("MACHINE_SOCARCH") or "")
 if not machine_socarch in cur_package_archs:
 d.appendVar("PACKAGE_EXTRA_ARCHS", " %s" % machine_socarch)
 
-if d.getVar("TUNE_ARCH", True) == "arm":
+if d.getVar("TUNE_ARCH") == "arm":
 # For ARM we have two possible machine_socarch values, one for the arm 
and one for the thumb instruction set
 # add the other value to extra archs also, so that a image recipe 
searches both for packages.
-if  d.getVar("ARM_INSTRUCTION_SET", True) == "thumb":
-d.appendVar("PACKAGE_EXTRA_ARCHS", " %s" % 
d.getVar("ARM_EXTRA_SOCARCH", True))
+if  d.getVar("ARM_INSTRUCTION_SET") == "thumb":
+d.appendVar("PACKAGE_EXTRA_ARCHS", " %s" % 
d.getVar("ARM_EXTRA_SOCARCH"))
 else:
-d.appendVar("PACKAGE_EXTRA_ARCHS", " %s" % 
d.getVar("THUMB_EXTRA_SOCARCH", True))
+d.appendVar("PACKAGE_EXTRA_ARCHS", " %s" % 
d.getVar("THUMB_EXTRA_SOCARCH"))
 }
 
 MACHINE_SOCARCH = "${TUNE_PKGARCH}${MACHINE_SOCARCH_SUFFIX}"
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index 198a1944..03f576e5 100644
--- a/classes/fsl-eula-unpack.bbclass
+++