The doc UG10165 seems to be about what I need: to build Linux for my custom carrier board that has an i.MX8M nano processor. It seems to about modifying the NXP build for the EVK to work for my custom board. But, it's less than clear what exactly it's suggesting I should or can do.
Section 2.1 (porting Kernel - Introduction) says '"This chapter describes how to download, build, and load the i.MX kernel both in a standalone environment and
through Yocto Project." Is it saying I can choose to either do something as standalone _or_ via yocto? What exactly is the goal of either of these procedures?
Section 2.1.1 starts with the assumption that I have a yocto build environment setup. Why would I want to clone https://github.com/nxp-imx/linux-imx? Don't I already have the source already? Why do I want to download it again? What iis the point/value of building via the SDK when I already have a yocto build env and can build with that? I have built with yocto to produce the SDK?
section 2.1.2 is about building via yocto. Why does it go back to using yocto again? I'm so confused. Step 2 says to use MACHINE=imx6qsabresd, but I'm using imx8mn. Is the text just an example? Step 3 mentions XBMC and IOTG, but I have no idea what those are. IDK what KERNEL_DEVICETREE is.
In summary, I do not understand the instructions. But it seems to be about what I want to do. Is there a better source of information on how to customize the imx8mn-evk build for a custom board?