How to change a build from mini to nano?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to change a build from mini to nano?

588 次查看
chillinwithscb
Contributor III

My ultimate goal is to install system software onto a custom imx8m nano based system.

The system will be running Audindate software and they have a reference EVK, but it's based on the mini; not the nano. I can build their system software, but to be useful on my system I need to change it to target the nano. What is involved with making that change?

The NXP EVK yocto build is setup to target a device by selecting MACHINE when you setup the build tree. But, the Audindate build is not yocto. It has a defconfig file that I guess is for the mini. How does one change a defconfig from one machine/target to another.

FYI: instead of changing the Audinate build to target nano I could start with the NXP build that targets the nano and customize it for the Audindate software. I don't know how to do that either. But, wanted to mention that in case you think my current plan is less than wise.

0 项奖励
回复
4 回复数

571 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Since we work with Yocto, we do not have references to do the migration with other tools. You can take a look into the i.MX8MN recipe and use it as a reference to compare the build configuration for i.MX8MM and i.MX8MN.

Best regards.

0 项奖励
回复

550 次查看
chillinwithscb
Contributor III
I would like to do that. Sadly, I don't know how.
I count over 12 million files in a Yocto build tree. I don't know which ones are build configuration for i.MX8MM and i.MX8MN.
Maybe I can restrict my search to the sources tree, but I do find .bb files under tmp, but they all seem to be for unit testing.
I find 15,831 files under sources. In that tree, command "find . -name *i.MX8MN*" finds nothing. Command "find . -name *imx8mn*" finds:

./meta-imx/meta-imx-bsp/conf/machine/include/imx8mnul-ab2.inc
./meta-imx/meta-imx-bsp/conf/machine/include/imx8mn-ab2.inc
./meta-imx/meta-imx-bsp/conf/machine/imx8mnddr3levk.conf
./meta-imx/meta-imx-bsp/conf/machine/imx8mnul-ddr3l-ab2.conf
./meta-imx/meta-imx-bsp/conf/machine/imx8mn-ddr4-ab2.conf
./meta-imx/meta-imx-bsp/conf/machine/imx8mn-lpddr4-ab2.conf
./meta-imx/meta-imx-bsp/conf/machine/imx8mnevk.conf
./meta-freescale/conf/machine/imx8mn-ddr4-evk.conf
./meta-freescale/conf/machine/include/imx8mn-evk.inc
./meta-freescale/conf/machine/imx8mnul-ddr3l-evk.conf
./meta-freescale/conf/machine/imx8mn-lpddr4-evk.conf

Command "find . -name *imx8mm* finds:

./meta-imx/meta-imx-bsp/conf/machine/include/imx8mm-ab2.inc
./meta-imx/meta-imx-bsp/conf/machine/imx8mm-lpddr4-ab2.conf
./meta-imx/meta-imx-bsp/conf/machine/imx8mm-ddr4-ab2.conf
./meta-imx/meta-imx-bsp/conf/machine/imx8mmevk.conf
./meta-nxp-connectivity/docs/images/matter_demos/imx8mm_imx6ull_imx8ulp-otbr.png
./meta-nxp-connectivity/meta-nxp-otbr/recipes-kernel/linux/files/dts/imx8mm-evk-uart3-bt-ffu-gpio-irq.dts
./meta-nxp-connectivity/meta-nxp-otbr/recipes-kernel/linux/files/dts/imx8mm-evk-uart3-bt-3M-ffu-gpio-irq.dts
./meta-nxp-connectivity/meta-nxp-otbr/recipes-kernel/linux/files/patches/0001-Add-imx8mm-evk-iw612-otbr-dtb-support.patch
./meta-nxp-connectivity/meta-nxp-matter-advanced/conf/machine/imx8mmevk-matter.conf
./meta-freescale/conf/machine/imx8mm-lpddr4-evk.conf
./meta-freescale/conf/machine/imx8mm-ddr4-evk.conf
./meta-freescale/conf/machine/include/imx8mm-evk.inc

I don't know if the relevant files are any of these, or other files.
Looking back at you info, I see you mention recipe. That's a .bb file, right? I didn't find any .bb files matching either "imx8mn" or "imx8mm". I seem to be looking for a needle in a haystack. And I don't know what the needle looks like.
0 项奖励
回复

501 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

The recipe includes the layers for each machine, please take a look at the next link:

Yocto Project customization guide - NXP Community

Best regards.

0 项奖励
回复

492 次查看
chillinwithscb
Contributor III
The linked page is useful, but not nearly enough info for me to get my job done.

I did find the source file and I have figured out how to create a patch file. FYI The devtool tool makes patch creation and integration relatively easy.
0 项奖励
回复