Re: [meta-freescale] [PATCH 50/52] imx-vpu-hantro: Update to 1.7.0

2018-08-24 Thread Tom Hochstein



> -Original Message-
> From: Tom Hochstein
> Sent: Tuesday, July 31, 2018 2:44 PM


> > -Original Message-
> > From: Gary Bisson [mailto:gary.bis...@boundarydevices.com]
> > Sent: Tuesday, July 31, 2018 1:54 AM


> > > recipes-bsp/imx-vpu-hantro/{imx-vpu-hantro-1.6.0 =>
> > > imx-vpu-hantro}/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
> > > (71%)
> >
> > Thanks for porting the patch over. Any chance to get it in the
> > upstream repo in the future?
> 
> Thanks for pointing this out. I will get the process started now.

I have misgivings about this patch. The problem is we have packages that use 
ion.h that are applicable to both Android and Linux. Having ion.h live in two 
different locations means we have to complicate the packages.

Isn't it better to just adopt the Android model and install 
/usr/include/linux/ion.h in our linux-imx kernel?

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


[meta-freescale] [PATCH] wpewebkit: update gst http plugin dependency Change gstreamer http plugin dependency specific to iMX gstreamer

2018-08-24 Thread sivasubramanian
Signed-off-by: sivasubramanian 
---
 recipes-wpe/wpewebkit/wpewebkit_20170728.bbappend | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 recipes-wpe/wpewebkit/wpewebkit_20170728.bbappend

diff --git a/recipes-wpe/wpewebkit/wpewebkit_20170728.bbappend 
b/recipes-wpe/wpewebkit/wpewebkit_20170728.bbappend
new file mode 100644
index 000..316469f
--- /dev/null
+++ b/recipes-wpe/wpewebkit/wpewebkit_20170728.bbappend
@@ -0,0 +1,3 @@
+# iMX8/gst 1.12 - update http gst plugin
+RDEPS_VIDEO_remove_imx8mqevk = " gstreamer1.0-plugins-good-souphttpsrc"
+RDEPS_VIDEO_append_imx8mqevk = " gstreamer1.0-plugins-good-soup"
-- 
2.7.4

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


[meta-freescale] wpewebkit patch for iMX

2018-08-24 Thread sivasubramanian


wpewebkit patch for updating the gst http plugin dependency on iMX8
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH] Allow the videoargs to be passed to bootargs

2018-08-24 Thread Dan Riegsecker


The NULL after "rootwait rw" was not allowing the videoargs to be
passed to the bootargs via the mmcargs.
---
 include/configs/mx6sabre_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/mx6sabre_common.h 
b/include/configs/mx6sabre_common.h

index 2ee91dab15..03d4f34904 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -110,7 +110,7 @@
         "setexpr fb $fb + 1; " \
     "done\0" \
 "mmcargs=setenv bootargs console=${console},${baudrate} " \
-        "root=PARTUUID=${uuid} rootwait rw\0" \
+        "root=PARTUUID=${uuid} rootwait rw " \
     VIDEO_ARGS "\0" \
 "loadbootscript=" \
     "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
--
2.11.0


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


Re: [meta-freescale] Preferred kernel for mx7 machine

2018-08-24 Thread Daiane Angolini
On Fri, Aug 24, 2018 at 9:46 AM Matija Tuđan  wrote:
>
> Hi Daiane,
>
> Let me redefine my question: does the tree from codeaurora provide better 
> support for mx7 machines?

It depends on what you consider to be best and which support. That's
why this kind of question is not useful.

> I am asking this because mx7 is not set as compatible machine in 
> linux-fslc_4.17.bb recipe. This is where my confusion came from.

I'm sorry to take so long to understand it. I think it's a mistake.
Would you mind sending a patch to add mx7 as compatible machine?

Daiane
>
> Best Regards,
> Matija Tuđan
> Senior Hardware Developer
> Mobilisis d.o.o.
> +385 99 311 5473
>
> -Original Message-
> From: angol...@gmail.com  On Behalf Of Daiane Angolini
> Sent: Friday, August 24, 2018 1:48 PM
> To: Matija Tuđan 
> Cc: meta-freescale Mailing List 
> Subject: Re: [meta-freescale] Preferred kernel for mx7 machine
>
> On Fri, Aug 24, 2018 at 2:27 AM Matija Tuđan  wrote:
> >
> > Hello,
> >
> > What is the recommended kernel tree for i.MX7 based machines?
> >
> > The linux-imx repo from codeaurora has the 4.9.88 as newest version:
> > https://source.codeaurora.org/external/imx/linux-imx
> >
> > Additionally, mx7 is not set as compatible machine in linux-fslc_4.17.bb 
> > recipe which is based on linux-fslc repo:
> >
> > https://github.com/Freescale/linux-fslc
> >
> > which should be forked from mainline kernel repo.
> >
>
> Yes, it is
>
> >
> > But I have tested the linux-stable repo and 4.18.y version and it works 
> > fine:
> > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
> >
> In this case, update patches are welcome.
>
> >
> >
> > What are the key differences between codeaurora’s repo which provides older 
> > kernel version and linux-fslc/linux-stable repos.
> >
> > Which repo should be used when dealing with i.MX7 based machines?
>
> I think, because you are asking, you should start using the kernel from 
> codeaurora. The difference is huge (mainly because of version number, but 
> also the number of available drivers)
>
> If you think you are going to submit tickets to NXP (if you are in contact 
> with a FAE or using [1]). However, if you prefer to ask for help in the Linux 
> Kernel mailing list, the recomendation is to use the latest kernel version 
> (linux-fslc would be an starting point)
>
> However, the answer to the question "which kernel should I use" is extremely 
> personal and driven by use case. If you really think you need help deciding 
> this, I recommend you to contact a professional service from a consultant.
>
> [1]https://community.nxp.com/community/imx
>
> Best Regards,
> Daiane
> >
> >
> >
> > Best regards,
> >
> > Matija
> >
> >
> >
> >
> > Matija Tuđan
> > Senior Hardware Developer
> >
> >
> >
> > Mobilisis d.o.o.
> > Varaždinska ulica br. 8, II. odvojak
> > 42000 Varaždin - Jalkovec, Croatia
> >
> >
> >
> >
> >
> > m.
> >
> >
> >
> >
> >
> > +385 99 311 5473
> >
> > t.
> >
> > +385 42 311 777
> >
> > f.
> >
> > +385 42 493 955
> >
> > w.
> >
> > www.mobilisis.hr
> >
> >
> >
> > This mail is from Mobilisis d.o.o. and may contain confidential business 
> > information. It is intended solely for the use of the individual to whom it 
> > is addressed. If you are not the intended recipient, please contact the 
> > sender and delete this message and any attachment from your system. 
> > Unauthorized publication, use, dissemination, forwarding, printing or 
> > copying of this email and it's associated attachments is strictly 
> > prohibited.
> >
> >
> > Please consider the environment before printing this email. Thank you!
> >
> >
> >
> >
> >
> > --
> > ___
> > 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] Preferred kernel for mx7 machine

2018-08-24 Thread Matija Tuđan
Hi Daiane,

Let me redefine my question: does the tree from codeaurora provide better 
support for mx7 machines?
I am asking this because mx7 is not set as compatible machine in 
linux-fslc_4.17.bb recipe. This is where my confusion came from.

Best Regards,
Matija Tuđan
Senior Hardware Developer
Mobilisis d.o.o.
+385 99 311 5473

-Original Message-
From: angol...@gmail.com  On Behalf Of Daiane Angolini
Sent: Friday, August 24, 2018 1:48 PM
To: Matija Tuđan 
Cc: meta-freescale Mailing List 
Subject: Re: [meta-freescale] Preferred kernel for mx7 machine

On Fri, Aug 24, 2018 at 2:27 AM Matija Tuđan  wrote:
>
> Hello,
>
> What is the recommended kernel tree for i.MX7 based machines?
>
> The linux-imx repo from codeaurora has the 4.9.88 as newest version:
> https://source.codeaurora.org/external/imx/linux-imx
>
> Additionally, mx7 is not set as compatible machine in linux-fslc_4.17.bb 
> recipe which is based on linux-fslc repo:
>
> https://github.com/Freescale/linux-fslc
>
> which should be forked from mainline kernel repo.
>

Yes, it is

>
> But I have tested the linux-stable repo and 4.18.y version and it works fine:
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
>
In this case, update patches are welcome.

>
>
> What are the key differences between codeaurora’s repo which provides older 
> kernel version and linux-fslc/linux-stable repos.
>
> Which repo should be used when dealing with i.MX7 based machines?

I think, because you are asking, you should start using the kernel from 
codeaurora. The difference is huge (mainly because of version number, but also 
the number of available drivers)

If you think you are going to submit tickets to NXP (if you are in contact with 
a FAE or using [1]). However, if you prefer to ask for help in the Linux Kernel 
mailing list, the recomendation is to use the latest kernel version (linux-fslc 
would be an starting point)

However, the answer to the question "which kernel should I use" is extremely 
personal and driven by use case. If you really think you need help deciding 
this, I recommend you to contact a professional service from a consultant.

[1]https://community.nxp.com/community/imx

Best Regards,
Daiane
>
>
>
> Best regards,
>
> Matija
>
>
>
>
> Matija Tuđan
> Senior Hardware Developer
>
>
>
> Mobilisis d.o.o.
> Varaždinska ulica br. 8, II. odvojak
> 42000 Varaždin - Jalkovec, Croatia
>
>
>
>
>
> m.
>
>
>
>
>
> +385 99 311 5473
>
> t.
>
> +385 42 311 777
>
> f.
>
> +385 42 493 955
>
> w.
>
> www.mobilisis.hr
>
>
>
> This mail is from Mobilisis d.o.o. and may contain confidential business 
> information. It is intended solely for the use of the individual to whom it 
> is addressed. If you are not the intended recipient, please contact the 
> sender and delete this message and any attachment from your system. 
> Unauthorized publication, use, dissemination, forwarding, printing or copying 
> of this email and it's associated attachments is strictly prohibited.
>
>
> Please consider the environment before printing this email. Thank you!
>
>
>
>
>
> --
> ___
> 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] [yocto] Howto overwrite CXXFLAGS in SDK Environment

2018-08-24 Thread Daiane Angolini
On Fri, Aug 10, 2018 at 5:41 AM Nikhil  wrote:
>
> Hello community,
>
> I am using Freescale community BSP - rocko release and have built and
> installed SDK.
> Is there a way to remove -g flag from being in the list of default
> options  for CXXFLAGS.  ?  Thanks.
>

I think this is a good starting point:
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-CXXFLAGS

Daiane
> Regards
> Nikhil
> --
> ___
> yocto mailing list
> yo...@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] U-Boot and Video Issues

2018-08-24 Thread Daiane Angolini
On Fri, Aug 10, 2018 at 2:33 PM Dan Riegsecker <1baldg...@gmail.com> wrote:
>
> I'm working with an NXP SABRESD board which has an i.MX 6Q processor, 
> building images with the Yocto Project, Sumo version. I am building the 
> fsl-image-multimedia with the settings listed below. These images are being 
> deployed to an SD card and boot from that SD card.
>
> MACHINE ??= 'imx6qdlsabresd'
> DISTRO ?= 'fslc-framebuffer'
>
> The U-Boot that is being built is u-boot-fslc from 
> https://github.com/Freescale/u-boot-fslc and branch 2018.07+fslc. I am not 
> seeing the dynamically generated video_args being passed to the the kernel 
> command line via the mmcargs U-Boot environment variable. When I examine the 
> u-boot-fslc/include/configs/mx6sabre_common.h file I see the following at 
> line 112.
>
> "mmcargs=setenv bootargs console=${console},${baudrate} " \
> "root=PARTUUID=${uuid} rootwait rw\0" \
> VIDEO_ARGS "\0" \
>
> Wouldn't the NULL termination at the end of "rootwait rw" have the effect of 
> not allowing the VIDEO_ARGS to be appended to the mmcargs and therefore not 
> appended to the bootargs? When I cat /proc/cmdline on the booted system, I do 
> not see any video settings passed to the kernel.
>

Would you, please, generate and test a patch for this issue?

> Not seeing any video settings being sent to the kernel, I changed my mmcargs 
> as listed below.
>
> setenv mmcargs 'setenv bootargs console=${console},${baudrate} 
> root=PARTUUID=${uuid} rootwait rw ${video_args}'
> saveenv
> reset
>
> Now if I have a display connected the the HDMI port, I have tried two 
> different displays, the kernel will not run and does not output anything, 
> like a panic, over the serial console. When I boot the Sabre board with 
> nothing plugged into the HDMI port the kernel loads and the video setting can 
> be seen in /proc/cmdline. I am able to boot the NXP images, version 
> imx-4.9.88-2.0.0_ga, with the same board and HDMI displays, having video 
> working as expected. What would be causing the kernel to not load when an 
> HDMI display is connected and video settings are passed to the the kernel via 
> the command line, using only the Freescale community layers of Yocto?
>

Can you, please, confirm if it's this issue:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6703


Best Regards,
Daiane

> Any advice or suggestions would be greatly appreciated.
>
> Thanks,
> Dan
>
>
> --
> ___
> 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] GStreamer1.0 imx6-dlsabresd how to

2018-08-24 Thread Daiane Angolini
On Thu, Aug 23, 2018 at 1:26 PM Mauro Ziliani  wrote:
>
> Hi all.
>
> I need some explanation about GStreamer 1.0 over imx6dl-sabresd and
> Jethro/Krogoth because I'd like to use IPV/VPU to play an H264 video.

Could you elaborate your question.

I think the main recommendation now is to use rocko or sumo instead of
old jethro or krogoth

Best Regards,
Daiane
>
> I developing my apps with qt-5.6 on x11 and fsl-imx-x11 dsitro.
>
>
> Thanks all
>
> Mauro
>
> --
> ___
> 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] Preferred kernel for mx7 machine

2018-08-24 Thread Daiane Angolini
On Fri, Aug 24, 2018 at 2:27 AM Matija Tuđan  wrote:
>
> Hello,
>
> What is the recommended kernel tree for i.MX7 based machines?
>
> The linux-imx repo from codeaurora has the 4.9.88 as newest version:
> https://source.codeaurora.org/external/imx/linux-imx
>
> Additionally, mx7 is not set as compatible machine in linux-fslc_4.17.bb 
> recipe which is based on linux-fslc repo:
>
> https://github.com/Freescale/linux-fslc
>
> which should be forked from mainline kernel repo.
>

Yes, it is

>
> But I have tested the linux-stable repo and 4.18.y version and it works fine:
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
>
In this case, update patches are welcome.

>
>
> What are the key differences between codeaurora’s repo which provides older 
> kernel version and linux-fslc/linux-stable repos.
>
> Which repo should be used when dealing with i.MX7 based machines?

I think, because you are asking, you should start using the kernel
from codeaurora. The difference is huge (mainly because of version
number, but also the number of available drivers)

If you think you are going to submit tickets to NXP (if you are in
contact with a FAE or using [1]). However, if you prefer to ask for
help in the Linux Kernel mailing list, the recomendation is to use the
latest kernel version (linux-fslc would be an starting point)

However, the answer to the question "which kernel should I use" is
extremely personal and driven by use case. If you really think you
need help deciding this, I recommend you to contact a professional
service from a consultant.

[1]https://community.nxp.com/community/imx

Best Regards,
Daiane
>
>
>
> Best regards,
>
> Matija
>
>
>
>
> Matija Tuđan
> Senior Hardware Developer
>
>
>
> Mobilisis d.o.o.
> Varaždinska ulica br. 8, II. odvojak
> 42000 Varaždin - Jalkovec, Croatia
>
>
>
>
>
> m.
>
>
>
>
>
> +385 99 311 5473
>
> t.
>
> +385 42 311 777
>
> f.
>
> +385 42 493 955
>
> w.
>
> www.mobilisis.hr
>
>
>
> This mail is from Mobilisis d.o.o. and may contain confidential business 
> information. It is intended solely for the use of the individual to whom it 
> is addressed. If you are not the intended recipient, please contact the 
> sender and delete this message and any attachment from your system. 
> Unauthorized publication, use, dissemination, forwarding, printing or copying 
> of this email and it's associated attachments is strictly prohibited.
>
>
> Please consider the environment before printing this email. Thank you!
>
>
>
>
>
> --
> ___
> 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