Re: Safe to upgrade to a Community BSP?
Val Kondratenko
As is, in the 5.12 upstream branch, RPM (specifically imx7D to M4) should just work?
toggle quoted message
Show quoted text
Amount of code in this area seems minimal compared to meta-freescale 5.4 releases. With most of the functionality that used to be in /drivers/rpmsg/imx_rpmsg.c no longer present. Thanks in advance, Val -----Original Message-----
From: Fabio Estevam <festevam@...> Sent: Friday, June 11, 2021 12:19 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? Hi Val, On Fri, Jun 11, 2021 at 12:12 PM Val Kondratenko <valeriy.kondratenko@...> wrote: In mainline, this is handled by the drivers/remoteproc/imx_rproc.c driver. Regards, Fabio Estevam |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
Does anyone know when meta-freescale plans on releasing a new version of their kernel (i.e.-imx)?
toggle quoted message
Show quoted text
Or where that information could be available? Thanks, Val -----Original Message-----
From: Otavio Salvador <otavio.salvador@...> Sent: Thursday, June 10, 2021 3:43 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? Hello Val, The 5.12.x is based on mainline. It is totally safe and include very small set of changes on top of upstream. Em qui., 10 de jun. de 2021 às 09:34, Val Kondratenko <valeriy.kondratenko@...> escreveu:
-- Otavio Salvador O.S. Systems https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ossystems.com.br%2F&data=04%7C01%7Cvaleriy.kondratenko%40jci.com%7C68fa10fc4c794bcb2ac108d92c480a8b%7Ca1f1e2147ded45b681a19e8ae3459641%7C0%7C1%7C637589510191097105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=r%2FuFSFBqT%2B1WdIyGGgW5bwH%2B1gFJQnGtJq5fyKkvYb0%3D&reserved=0 https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcode.ossystems.com.br%2F&data=04%7C01%7Cvaleriy.kondratenko%40jci.com%7C68fa10fc4c794bcb2ac108d92c480a8b%7Ca1f1e2147ded45b681a19e8ae3459641%7C0%7C1%7C637589510191097105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=4CwmeXWH%2BWzfjD8%2FH1AvuU8zPQ%2BCdIdR2DpR7vIRTa4%3D&reserved=0 Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750 |
|
Re: Update linux-fslc on hardknott branch
Andrey Zhizhikin
Hello Sam,
On Thu, Jul 8, 2021 at 2:37 PM svdb <sam.van.den.berge@...> wrote: This is on my TODO list, see https://github.com/Freescale/meta-freescale/pull/814 I'm pretty loaded now, but I'll see if I can bump up the version in recipes somewhen next week. Kernel tree already contains all stable updates, it is only about updating the kernel recipes in the layer.
-- Regards, Andrey. |
|
Update linux-fslc on hardknott branch
Sam Van Den Berge
Hi,
Currently on hardknott branch in meta-freescale, linux-fslc points to version 5.10.32. However latest 5.10 version in linux-fslc repo is 5.10.47. Would it be possible to update linux-fslc in meta-freescale on hardknott branch? I don't mind creating some patches myself. I guess I'll need to cherrypick the necessary commits from master then? Kr, Sam. |
|
Re: SGTL5000 audio codec
#meta-freescale
Fabio Estevam
On Wed, Jun 30, 2021 at 12:53 AM <nanotech.ei@...> wrote:
The driver for the sgtl5000 codec is sound/soc/codecs/sgtl5000.c: at https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/sgtl5000.c?h=v5.13 If so, how do I set the pins that will be used on the raspberry pi and the clock of the fixed crystal I'm using?You need to write a devicetree file with the sgtl5000 description as per the binding document: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/sound/sgtl5000.yaml?h=v5.13 |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
Is there any need to update to a newer meta-freescale version with upgrade from 5.4 to 5.12 kernel.
Thanks, Val
From: Val Kondratenko
Sent: Thursday, June 10, 2021 8:34 AM To: meta-freescale@... Subject: Safe to upgrade to a Community BSP?
I recently got tasked with upgrading linux kernel (which we get from freescale), to fix some vulnerabilities. I am new to this, with all engineers with previous experience in this area no longer with company. To fix the vulnerabilities, will need to upgrade to kernel rev 5.12. Noticed that only a community branch of this (5.12.x+fslc) is available. Latest freescale (imx) releases/branches are still at 5.4. I do so, my organization has previously used on freescale/imx releases. Is it generally safe to use the community releases? Have their problems with bugs/instabilities with them?
Thanks in advance, Val |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
.. resending, back to this, still seeing the error below.
toggle quoted message
Show quoted text
Does anyone have any ideas of why "Module.symvers" would not be present in my 5.12 build, and how to get it there (or at least avoid the error). Thanks, Val -----Original Message-----
From: Val Kondratenko Sent: Tuesday, June 29, 2021 4:03 PM To: Fabio Estevam <festevam@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: RE: [meta-freescale] Safe to upgrade to a Community BSP? Trying to compile the new kernel (and applying our patches from 5.4/modified). Getting this error: DEBUG: Executing shell function do_shared_workdir cp: cannot stat 'Module.symvers': No such file or directory WARNING: exit code 1 from a shell command. ERROR: Function failed: do_shared_workdir That is coming from attached patch file in: ./meta-freescale/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv Does anyone know what that could be (looks like some type of symbol file)? Will the meta-freescale area be something that has to be modified for kernel 5.12? Thanks in advance, Val -----Original Message----- From: Fabio Estevam <festevam@...> Sent: Friday, June 25, 2021 2:11 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? On Fri, Jun 25, 2021 at 2:53 PM Val Kondratenko <valeriy.kondratenko@...> wrote: Yes, that's a good one. U-Boot 2021.07 should be available on July, 5th. The cpuidle functionality would be in?The PSCI mechanism in U-Boot will take care of it. No extra action is required. |
|
#meta-freescale
#meta-freescale
mahsahaydari@...
Hi guys I have changed my Linux kernel to 5.7 and eth0 works fine in first start. Rebooting can solve second eth problem. I find out the problem is in somewhere around drivers/net/ethernet/freescale/fec_main.c I use build root to create my own Embedded Linux and any help would be greatly appreciated |
|
linux-fslc-imx 5.10
Matteo Del Bricco
Dear FSLC Maintainers, NXP recently released tag lf-5.10.35-2.0.0 in branch lf-5.10.y of linux-imx repository. Is there any roadmap to introduce this kernel as a reference baseline for linux-fslc-imx recipe? Also, anyone knows why a couple of NXP branches use "lf" prefix while all the others use "imx" prefix ? Thanks Matteo DB |
|
SGTL5000 audio codec
#meta-freescale
nanotech.ei@...
Dear colleagues,
Does meta-freescale have the driver to control the SGTL5000 audio codec?
If so, how do I set the pins that will be used on the raspberry pi and the clock of the fixed crystal I'm using? |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
Trying to compile the new kernel (and applying our patches from 5.4/modified).
toggle quoted message
Show quoted text
Getting this error: DEBUG: Executing shell function do_shared_workdir cp: cannot stat 'Module.symvers': No such file or directory WARNING: exit code 1 from a shell command. ERROR: Function failed: do_shared_workdir That is coming from attached patch file in: ./meta-freescale/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv Does anyone know what that could be (looks like some type of symbol file)? Will the meta-freescale area be something that has to be modified for kernel 5.12? Thanks in advance, Val -----Original Message-----
From: Fabio Estevam <festevam@...> Sent: Friday, June 25, 2021 2:11 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? On Fri, Jun 25, 2021 at 2:53 PM Val Kondratenko <valeriy.kondratenko@...> wrote: Yes, that's a good one. U-Boot 2021.07 should be available on July, 5th. The cpuidle functionality would be in?The PSCI mechanism in U-Boot will take care of it. No extra action is required. |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
Oops, sorry for duplicate (ignore), meant to send to someone else.
toggle quoted message
Show quoted text
And thanks (again) for quick response, Val -----Original Message-----
From: meta-freescale@... <meta-freescale@...> On Behalf Of Val Kondratenko via lists.yoctoproject.org Sent: Friday, June 25, 2021 1:54 PM To: Val Kondratenko <valeriy.kondratenko@...>; Fabio Estevam <festevam@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? Is the following a recommended upstream u-boot? u-boot-v2021.04 from https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.denx.de%2Fu-boot%2Fu-boot%2F&data=04%7C01%7Cvaleriy.kondratenko%40jci.com%7C9d81ccfd81c14c0c3f5c08d93806c619%7Ca1f1e2147ded45b681a19e8ae3459641%7C0%7C0%7C637602424008919863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W7VRDmOAXNwxGNXX4kRgOvSij%2BOFq6k5I%2Fy%2FaBVnpiA%3D&reserved=0 The cpuidle functionality would be in? arch/arm/mach-imx/mx7/psci-mx7.c From when/which release U-boot started support cpuidle? Is there any documentation on how to move the cpuidle functionality from kernel to u-boot? What is involved there? Thanks in advance, Val -----Original Message----- From: meta-freescale@... <meta-freescale@...> On Behalf Of Val Kondratenko via lists.yoctoproject.org Sent: Friday, June 11, 2021 11:12 AM To: Fabio Estevam <festevam@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? One other thing I see missing in 5.12, that was in freeescale 5.4, is the rpmsg (Remote Processor Messaging) functionality. Thanks again!!! Val -----Original Message----- From: Fabio Estevam <festevam@...> Sent: Thursday, June 10, 2021 5:12 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? On Thu, Jun 10, 2021 at 5:19 PM Val Kondratenko <valeriy.kondratenko@...> wrote: Yes, imx7d is well supported in the mainline kernel. I noticed (as I am attempting to apply patches we use), that /arch/arm/mach-imx/cpuidle-imx7d.c exists in the 5.4.X.imx version we are currently using, but is not present in 5.12. But mach-imx7d.c is.cpuidle is supported via PSCI implementation in U-Boot. I suggest you to use U-Boot mainline too. |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
Is the following a recommended upstream u-boot?
toggle quoted message
Show quoted text
u-boot-v2021.04 from https://source.denx.de/u-boot/u-boot/ The cpuidle functionality would be in? arch/arm/mach-imx/mx7/psci-mx7.c From when/which release U-boot started support cpuidle? Is there any documentation on how to move the cpuidle functionality from kernel to u-boot? What is involved there? Thanks in advance, Val -----Original Message-----
From: meta-freescale@... <meta-freescale@...> On Behalf Of Val Kondratenko via lists.yoctoproject.org Sent: Friday, June 11, 2021 11:12 AM To: Fabio Estevam <festevam@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? One other thing I see missing in 5.12, that was in freeescale 5.4, is the rpmsg (Remote Processor Messaging) functionality. Thanks again!!! Val -----Original Message----- From: Fabio Estevam <festevam@...> Sent: Thursday, June 10, 2021 5:12 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? On Thu, Jun 10, 2021 at 5:19 PM Val Kondratenko <valeriy.kondratenko@...> wrote: Yes, imx7d is well supported in the mainline kernel. I noticed (as I am attempting to apply patches we use), that /arch/arm/mach-imx/cpuidle-imx7d.c exists in the 5.4.X.imx version we are currently using, but is not present in 5.12. But mach-imx7d.c is.cpuidle is supported via PSCI implementation in U-Boot. I suggest you to use U-Boot mainline too. |
|
Re: Safe to upgrade to a Community BSP?
Fabio Estevam
On Fri, Jun 25, 2021 at 2:53 PM Val Kondratenko
<valeriy.kondratenko@...> wrote: Yes, that's a good one. U-Boot 2021.07 should be available on July, 5th. The cpuidle functionality would be in?The PSCI mechanism in U-Boot will take care of it. No extra action is required. |
|
Blocking issue with gstreamer 1.16.2 from meta-freescale layers
Atiki Karim
Hi,
I'm experiencing a weird and blocking issue with gstreamer and more particularly with gst-discoverer-1.0 tool (that uses uridecodebin underlying..).
We have tested on Apalis IMX8 and Colibri IMX8X, BSP 5.2.0 and 5.3.0 respectively using the layers from meta-freescale.
No features added, no custimization.
The following command does not work:
It outputs some info, but the expected output from gst-dsicoverer used to start with:
Topology:
container: Matroska
subtitles: Timed Text
audio: MPEG-1 Layer 2 (MP2)
audio: MPEG-1 Layer 2 (MP2)
video: H.264 (High Profile)
Properties:
Duration: 0:45:19.800000000
Seekable: yes
Live: no
Tags:
...
...
...
It does not work.
But it works on any other platforms (linux ubuntu, debian, Windows 10) with the same gstreamer version.
No network issue, nothing at all.
I would really appreciate if someone could confirm on his side if the issue can be reproduced..It's very blocking issue.
Best Regards,
Karim
|
|
Re: Safe to upgrade to a Community BSP?
Fabio Estevam
On Wed, Jun 23, 2021 at 2:48 PM Val Kondratenko
<valeriy.kondratenko@...> wrote: No, you should be good with tha mainline U-Boot and kernel combination. |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
.. will probably be going to mainline uboot as well.
toggle quoted message
Show quoted text
Are there any similar things (like cpuidle moving from kernel to uboot), that I would have to worry about? Thanks in advance, Val -----Original Message-----
From: Fabio Estevam <festevam@...> Sent: Thursday, June 10, 2021 5:12 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? On Thu, Jun 10, 2021 at 5:19 PM Val Kondratenko <valeriy.kondratenko@...> wrote: Yes, imx7d is well supported in the mainline kernel. I noticed (as I am attempting to apply patches we use), that /arch/arm/mach-imx/cpuidle-imx7d.c exists in the 5.4.X.imx version we are currently using, but is not present in 5.12. But mach-imx7d.c is.cpuidle is supported via PSCI implementation in U-Boot. I suggest you to use U-Boot mainline too. |
|
Dunfell u-boot build issue (git is not clean)
Matt Walker
Hi all;
I'm attempting to upgrade a build system that has Thud era recipes to one that targets Dunfell. We have a custom kernel and a custom u-boot (based on 2020.4) so we have our own recipes for building those (although they piggyback on the Freescale/OpenEmbedded base.) What I've run into is that when building u-boot inside of Yocto, it complains that "git is not clean, please run 'make mrproper'." As I can cleanly build u-boot outside of Yocto, I assume there's something wrong with my recipes. I found https://github.com/Freescale/meta-freescale/issues/280 which points to http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-bsp/u-boot?h=master-next&id=26023b6b0f897842fd98b3e10a8acd5b3ad8f418 but the issue is resolved without any comment on what was done to fix it, and I haven't found any further reference to that oe commit. If this sounds familiar to anyone, I'd love some breadcrumbs! Thanks, Matt Walker |
|
Re: Safe to upgrade to a Community BSP?
Val Kondratenko
Thanks!!!
toggle quoted message
Show quoted text
-----Original Message-----
From: Fabio Estevam <festevam@...> Sent: Friday, June 11, 2021 12:19 PM To: Val Kondratenko <valeriy.kondratenko@...> Cc: Otavio Salvador <otavio.salvador@...>; meta-freescale@... Subject: Re: [meta-freescale] Safe to upgrade to a Community BSP? Hi Val, On Fri, Jun 11, 2021 at 12:12 PM Val Kondratenko <valeriy.kondratenko@...> wrote: In mainline, this is handled by the drivers/remoteproc/imx_rproc.c driver. Regards, Fabio Estevam |
|
Re: Safe to upgrade to a Community BSP?
Fabio Estevam
Hi Val,
On Fri, Jun 11, 2021 at 12:12 PM Val Kondratenko <valeriy.kondratenko@...> wrote: In mainline, this is handled by the drivers/remoteproc/imx_rproc.c driver. Regards, Fabio Estevam |
|