Skip to contentSkip to conversation

Anyone currently working with ADLINK's LEC-iMX6 SMARC module?

meta-freescale Robert P. J. Day 2 participants 5 messages Sep 2, 2025 – Sep 3, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 12 lines · Robert P. J. Day

Hoping this is the right place to ask, I was just handed a board
incorporating ADLINK's LEC-iMX6 SMARC module:

https://www.adlinktech.com/Products/Computer_on_Modules/SMARC/LEC-iMX6?lang=en

whose last YP build (I have the tarball) was five years ago based on the YP Zeus branch. I want to bring stuff up to date so that at least the basic YP build uses Scarthgap, but I can see that that particular SMARC module is supported in ADLINK's repo back in its Zeus branch here:

Quoted 8 lines

https://github.com/ADLINK/meta-adlink-nxp/blob/zeus/conf/machine/lec-imx6-1.conf

So my plan is to fetch Scarthgap for the basic build, then assume I'll need the Zeus branch of ADLINK's repo for the machine conf file for that module.

Is anyone else working with that particular target and can tell me
if this is the right approach?

I should have mentioned that, while I dig into supporting that
particular module, I can at least do a trial run with a freescale-supplied machine definition that resembles it, so I can start things off with "meta-freescale/conf/machine/imx6qdlsabresd.conf" without having to add any more layers.

Does that sound reasonable?

rday

#3 lore raw
Quoted 4 lines · Marco Cavallini via lists.yoctoproject.org

Hi Robert,

the system is strongly based on imx6qdlsabresd.conf and that should make your things easy.

conveniently, that is exactly the target i started with just to get
things rolling and get an initial build.

Quoted 3 lines

However consider that you have to integrate 37 patches in your kernel
https://github.com/ADLINK/meta-adlink-nxp/blob/zeus/recipes-kernel/linux/linux-imx_5.4.bbappend

i'm pulling all this content forward and starting a build with
walnascar so i'll check what patches are relevant for the newer kernel. this makes my life much easier, thank you kindly.

rday

#4 lore raw
In reply to Marco Cavallini
Quoted 4 lines · Marco Cavallini via lists.yoctoproject.org

Hi Robert,
the system is strongly based on imx6qdlsabresd.conf and that should make your things easy. However consider that you have to integrate 37 patches in your kernel
https://github.com/ADLINK/meta-adlink-nxp/blob/zeus/recipes-kernel/linux/linux-imx_5.4.bbappend

hmmmmm ... this might be trickier than i thought. as i believe i
mentioned, the tarball i was handed that represented a several-years-old YP build for this LEC-iMX6 SMARC module on a carrier board was based on the Zeus YP release. I wanted to drag this into this decade so I started with a walnascar build for imx6qdlsabresd, and built a core-image-minimal and that worked fine. (The build was just for proof of concept, haven't tried to install it.)

But as I look at this tarball and examine ADLINK's nxp layers, the
support for the lec-imx6-1 target disappears some time ago. It *seems* that I'll have to steal some of the kernel stuff from back in the Zeus layer. Yuck.

My tentative plan is to just go with my current build, try to
install that on the target, then see what works and what doesn't, since I'll want to use a much newer kernel. Is this the right way to go about this, given the apparent lack of support for that particular SMARC module in the newer YP releases?

rday

#5 lore raw
Quoted 20 lines · Robert P. J. Day
Quoted 4 lines · Marco Cavallini via lists.yoctoproject.org

Hi Robert,
the system is strongly based on imx6qdlsabresd.conf and that should make your things easy. However consider that you have to integrate 37 patches in your kernel
https://github.com/ADLINK/meta-adlink-nxp/blob/zeus/recipes-kernel/linux/linux-imx_5.4.bbappend

hmmmmm ... this might be trickier than i thought. as i believe i
mentioned, the tarball i was handed that represented a several-years-old YP build for this LEC-iMX6 SMARC module on a carrier board was based on the Zeus YP release. I wanted to drag this into this decade so I started with a walnascar build for imx6qdlsabresd, and built a core-image-minimal and that worked fine. (The build was just for proof of concept, haven't tried to install it.)

But as I look at this tarball and examine ADLINK's nxp layers, the
support for the lec-imx6-1 target disappears some time ago. It *seems* that I'll have to steal some of the kernel stuff from back in the Zeus layer. Yuck.

Quoted 7 lines

My tentative plan is to just go with my current build, try to
install that on the target, then see what works and what doesn't, since I'll want to use a much newer kernel. Is this the right way to go about this, given the apparent lack of support for that particular SMARC module in the newer YP releases?

rday

Hi Robert,
I usually like the approach to verify whether everything is working before proceeding.
Be careful that Zeus will require an old linux distro on the HOST and you may face to a plenty of git repos using 'master' branch that no longer exist.

Good luck.

--
Marco