I'm involved in a research project where it was decided to create custom hardware that utilizes Arduino's Portenta X8 module, which is based on NXP's MIMX8MM6CVTKZAA SoC.
https://docs.arduino.cc/hardware/portenta-x8/
Due to project requirements, I can not use Arduino's firmware (nor do I want to). So far I've been able to get a start on creating the mex configuration file using NXP's pin config tool, but this is where I start to become confused on how to proceed.
Question 1: What are my flashing options via JTAG for NXP processors? Does the MCU-Link Debug Probe work with this SoC?
Question 2: Since this isn't an EVK development board, I'm struggling to find support for creating a minimalist Linux build (yocto). What support is there for this? How do I create a fresh Linux based project compatible to run on the portenta X8?