Linux v5.10 for i.MX8 development
Ankur Tyagi
Hi, Now we are planning to upgrade to Linux v5.10 and here I have few questions:
Will appreciate any guidance around appropriate repo for v5.10 development for i.MX8 thanks Ankur |
|
Adding out-of-tree kernel modules & drivers
noel.neu@...
Hi, I have followed the yocto provided 'hello-mod' recipe as an example for out-of-tree kernel modules, but unfortunately this doesn't work for my application since it requires some in-tree header files that cannot be found when the recipe is built. Equally, if I patch the defconfig file to include some config with a made-up false name, it doesn't show that there was an error with this module.
So my questions would be: - if that's now possible, how can I make bitbake show error when compiling the files using the patched method? Any guidance is highly appreciated ! |
|
Re: About linux-qoriq in meta-freescale
leimaohui
Hi, Luo
toggle quoted message
Show quoted text
Thank you for your reply, I'll try this linux-qoriq. Best regards Lei -----Original Message----- |
|
Re: About linux-qoriq in meta-freescale
Zhenhua Luo
Hi Lei,
toggle quoted message
Show quoted text
LSDK 21.08 components will be available in Yocto 3.3 by this month, currently you can get the kernel 5.10 recipes from https://source.codeaurora.org/external/qoriq/qoriq-components/meta-qoriq/tree/recipes-kernel/linux?h=hardknott. Best Regards, Zhenhua -----Original Message----- |
|
About linux-qoriq in meta-freescale
leimaohui
Hi, all
Version of kernel in lsdk 2108 has been upgraded to 5.10. I want to know if there is any plan to upgrade linux-qoriq in meta-freescale. It has been 5.4 for a long time. Best regards Lei |
|
how to compile kernel module with SDK
#compilation
hkkim@...
hi i am not good at English i have a problem with compiling a kernel module a board is imx6sx evk and kernel is 5.10.35 , yocto is hardknott ( is right ? i installed with this command : repo init -u https://source.codeaurora.org/external/imx/imx-manifest i make SDK form core-image-full_cmdline image and installed and compiled kernel and modules ( in kernel directroy) ,a test program without problems but when i compile a module which is not in kernel directory no module.ko file made the module source is fine ( i copy a source into kernel/driver and make modules ,,it works fine) and i compiled previous yocto SDK with success any tips and ideas will be appreciated . thank in advance
imx6ull@imx6ull-VirtualBox:/media/sf_shared/example/gpio-irq/dev$ and my makefile obj-m := of-test.o KDIR := /home/imx6ull/work/Kernel/git.5.10.35 default:
|
|
Re: Issues on github.com/Freescale projects
Daiane Angolini
On Sun, Aug 15, 2021 at 12:34 PM Daiane Angolini
<daiane.angolini@...> wrote: I am finally reviewing 2020 (latest updated) issues. My plan is to close as much as possible, and to clean what is still an issue and what was already solved by the normal development. It is unfortunate that we don't actually had/have time to reply to all of them, but I got the impression that a lot was replied at time, and only a few issues were sitting there waiting for the future to happen. Anyway, my point is to decrease the open issue list, so we can try to better focus. If anyone has a better idea on how to deal with it, please let me know. BR, Daiane I'm going to close some of them, and try to assign them when I think |
|
Re: RPmsg in pico-imx7d using mainline linux (5.6.xx) and Yocto dunfell
Fabio Estevam
Hi Neuber,
I think you forgot to hit reply-all. On Mon, Aug 16, 2021 at 10:55 AM Neuber Sousa <neuberfran@...> wrote: The mailbox driver is at drivers/mailbox/imx-mailbox.c in mainline. Sure, feel free to use it. It is just that you will not get any support from the community using this version. Personally, I haven't used the remoteproc driver in mainline, so I can't help you. |
|
Re: Issues on github.com/Freescale projects
Cengiz Can <cengizc@...>
On Mon, Aug 16, 2021 at 4:56 PM Daiane Angolini
<daiane.angolini@...> wrote: Mine is @cengizIO ^_^
|
|
Re: Issues on github.com/Freescale projects
Daiane Angolini
On Sun, Aug 15, 2021 at 5:24 PM Cengiz Can <cengizc@...> wrote:
That is great! Thanks a lot, Cengiz Can! Currently the project with most old open issues is gstreamer-imx. I found out that there are a lot of solved but not closed issues. However, if I find anything I let you know!!! What is your github user? I'm @angolini ! Best regards, Daiane Thank you! |
|
Re: #meta-freescale Broken linux-fslc/5.4-2.3.x-imx repo on hardknott branch
#meta-freescale
Piotr
pon., 16 sie 2021 o 14:44 Andrey Zhizhikin <andrey.z@...> napisał(a): The order of MAC address fetch is described in [1], with the note Thanks for pointing it out. I will check it for sure. Piotr Piwko http://www.embedded-engineering.pl/ |
|
Re: #meta-freescale Broken linux-fslc/5.4-2.3.x-imx repo on hardknott branch
#meta-freescale
Andrey Zhizhikin
Hello Piotr,
On Mon, Aug 16, 2021 at 2:09 PM Piotr Piwko <piotr.piwko@...> wrote: That is the trick: [dunfell] uses 5.4-2.1.x-imx branch, where the proper check for the return of of_get_mac_address() is not implemented. [hardknott] uses 5.4-2.3.x-imx branch, which contains 845620ec5d3b to address it. Perhaps, this is the root cause of the behavior you're experiencing now when you switched branches. The order of MAC address fetch is described in [1], with the noteThe commit in question is coming from NXP directly and is not present regarding the U-Boot not setting "mac-address" bindings. I believe it is worth checking to make sure the MAC is set to valid one and not "All-zero".
Link: [1]: https://github.com/torvalds/linux/blob/7c60610d476766e128cc4284bb6349732cbd6606/drivers/of/of_net.c#L115 -- Regards, Andrey. |
|
Re: RPmsg in pico-imx7d using mainline linux (5.6.xx) and Yocto dunfell
Fabio Estevam
Hi Neuber,
On Sun, Aug 15, 2021 at 10:50 PM Neuber Sousa <neuberfran@...> wrote: 5.6 is an unsupported kernel version. It is not a good idea to develop using such an unsupported kernel version. Please see the supported ones at https://www.kernel.org/ Using libgpiod I want to press a controlled button on a7 and flash an LED (which is waiting for this command) on m4These drivers only exist on the NXP vendor kernel. Mainline uses drivers/remoteproc/imx_rproc.c instead. |
|
Re: #meta-freescale Broken linux-fslc/5.4-2.3.x-imx repo on hardknott branch
#meta-freescale
Piotr
pon., 16 sie 2021 o 13:39 Andrey Zhizhikin <andrey.z@...> napisał(a): Are you sure that the failed boot behavior is indeed caused by Yes I'm sure. I have tested it several times and with this commit reverted, the board boots successfully exactly the same as it was in the previous versions (i.e dunfell). The commit in question is coming from NXP directly and is not present Yes, it seems that is the correct way for error handling, but I'm not sure if it shall stop the boot in case of failure. Do you have a valid MAC address set in either DTB or nvmem? I'm not sure about that. However, in the previous version it was exactly the same. Piotr Piwko http://www.embedded-engineering.pl/ |
|
Re: #meta-freescale Broken linux-fslc/5.4-2.3.x-imx repo on hardknott branch
#meta-freescale
Andrey Zhizhikin
Hello Piotr,
On Tue, Aug 10, 2021 at 3:13 PM Piotr <piotr.piwko@...> wrote: From what I see, the d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") is indeed present on all NXP branches in the repository: $ git branch -r --contains d01f449c008a upstream/5.10.x+fslc upstream/5.12.x+fslc upstream/5.13.x+fslc upstream/5.2.x+fslc upstream/5.3.x+fslc upstream/5.4-1.0.0-imx upstream/5.4-2.0.x-imx upstream/5.4-2.1.x-imx upstream/5.4-2.2.x-imx upstream/5.4-2.3.x-imx upstream/5.4.x+fslc upstream/5.4.y+qoriq upstream/5.4.y+qoriq+fslc upstream/5.9.x+fslc Are you sure that the failed boot behavior is indeed caused by 845620ec5d3b ("MLK-24940 arm: imx: correctly check the return value of "of_get_mac_address"")? If you revert it locally - does your board boots OK? The commit in question is coming from NXP directly and is not present in the mainline kernel tree, but from what I can tell - it brings the correct error handling for the updated of_get_mac_address() call, so as other HW does. Do you have a valid MAC address set in either DTB or nvmem?
-- Regards, Andrey. |
|
RPmsg in pico-imx7d using mainline linux (5.6.xx) and Yocto dunfell
Neuber Sousa <neuberfran@...>
I have been interested in communicating between the a7 and the m4 of my imx7d-pico using RPmsg for a long time. Today I found that this tutorial:https://www.youtube.com/watch?v=4zMyjaEgj2U&t=1182s I don’t use mainline linux. I stay using kernel 5.6.xx with libgpiod 1.5 Using libgpiod I want to press a controlled button on a7 and flash an LED (which is waiting for this command) on m4
I was checking the issue link below and I have 2 questions below: |
|
Re: Issues on github.com/Freescale projects
Cengiz Can <cengizc@...>
On Sun, Aug 15, 2021 at 6:35 PM Daiane Angolini
<daiane.angolini@...> wrote: Hello Daiane! That's very good news indeed. I'm going to close some of them, and try to assign them when I thinkI'm working with meta-freescale daily (mostly i.MX6 over dunfell branch though) so if there's something that I can help with (reviews, build tests, things that do not require hardware testing) I would gladly help. Thank you! Cengiz Can |
|
Issues on github.com/Freescale projects
Daiane Angolini
Hi everyone,
I see a lot of open issues from the past 2 or 3 years on github/Freescale projects and I'm trying to (slowly) address them as best I can. I'm going to close some of them, and try to assign them when I think it's an "easy" answer, but I am sure I will make mistakes and I apologize in advance, so I'm counting on the authors to help guide me during this process. If you have any suggestions, please let me know. Daiane |
|
Re: [PATCH] imx-cst: introduce the recipe for the version 3.3.0
Thomas Perrot
Hello Otavio,
On Sat, 2021-08-07 at 08:33 -0300, Otavio Salvador wrote: Em sáb., 7 de ago. de 2021 às 05:32, Thomas PerrotI prepared a PR to Github: https://github.com/Freescale/meta-freescale/pull/842 Best regards, Thomas -- Thomas Perrot, Bootlin Embedded Linux and kernel engineering https://bootlin.com |
|
Re: [PATCH] imx-cst: introduce the recipe for the version 3.3.0
Thomas Perrot
Hello Fabio,
On Sat, 2021-08-07 at 08:46 -0300, Fabio Estevam wrote: Hi Thomas,I have already tried to use the https link above, but it is necessary to be identified, otherwise the archive isn't downloaded: cat work/armv7at2hf-neon-oe-linux-gnueabi/imx-cst/3.3.1- r0/Download\?colCode\=IMX_CST_TOOL_NEW </script> <script type="text/javascript" charset="utf-8"> var i18n_en = { 'We detected that your email is a Freescale account. Please go to SPS X.500 Directory Services indicated on top of the page to request for password reset.' : 'We detected that your email is an employee account. Please go to SPS X.500 Directory Services indicated on top of the page to request for password reset.','<b>NXP (Non-legacy Freescale) employees:</b> Please use your WBI ID and nxp.com password after <a href="http://password.freescale.net">activating your nxp.com login here</a>. (VPN access required)' : '<b>If you do NOT have a core ID (Legacy NXP employees and new employees hired at a legacy NXP facility):</b> Please use your WBI ID and nxp.com password after <a href="http://password.freescale.net">activating your nxp.com login here</a>. (VPN access required)','We detected that your email is a Freescale account. To reset your password, please go to' : 'We detected that your email is a NXP account. To reset your password, please go to','Country' : 'Territory/Country',', Your request to reset your Freescale.com Password' : ', Your request to reset your NXP.com Password','<b>Legacy Freescale employees:</b> Please use your core ID and OneIT password to log in.' : '<b>If you have a core ID (Legacy Freescale employees and new employees hired at a legacy Freescale facility):</b> Please use your core ID and OneIT password to log in.'} i18n.set({lang: 'en', data : i18n_en } ); </script> <script type="text/javascript" charset="UTF-8"> function getTranslatedText(input){ var translatedValue = i18n._(input); return translatedValue; } </script> </body> <footer class="loadnav"> <!-- // /* FOOTER CONTENT GOES HERE */ --> </footer> <!-- /data/devs_git_repositories/b56858/ebiz/projects/ebiz/WebContent/NewCoS ectionalNavRules.json --> <script type="text/javascript" src="/resources/scripts/nxp-cms/global- bundle.js"></script> <script type="text/javascript"> var XMLRequest=getAjaxRequest(); function openfeedBackBlock(window_title,blockDiagUrl,code,psp_URL,width,height,f astpreview){ if(document.getElementById('feedBackajaxbox')!=null){ document.getElementById('feedBackajaxbox').contentarea.innerHTML=""; } var url = getPreviewUrl('/webapp/sps/components/hotFeedback.jsp?collateralCode=NE WCO_FEEDBACK_FORM'); ajaxwin=dhtmlwindow.open('feedBackajaxbox',url,window_title, 'width='+width+'px,height='+height+'px,left=172px,top=1px,resize=0,scro lling=1'); return ajaxwin ; } function openthankYouBlock(window_title,blockDiagUrl,code,psp_URL,width,height,f astpreview){ var url = getPreviewUrl('/webapp/sps/components/hotFeedback.jsp?collateralCode=ON LINE_THANK_YOU'); ajaxwin=dhtmlwindow.open('feedBackajaxbox',url,window_title, 'width='+width+'px,height='+height+'px,left=165px,top=1px,resize=0,scro lling=1'); return ajaxwin ; } function getPreviewUrl(url, fastpreview){ if(fastpreview!=null && (trim(fastpreview) != '' ) ){ return url+'&fastpreview=1' ; }else{ return url ; } } </script> Best regards, Thomas |
|