IN SHORT
I need to know what yocto meta-layers are used to build a bootable yocto image for an I-Pi SMARC IMX8M Plus board (I-Pi LEC-IMX8MP-Q-N-2G-32G-BW/US to be specific) .
DETAILS
I built an image in yocto for an imx8mp target but it wont boot on the SMARC IMX8M Plus board.
It will boot on an NXP IMX8M Plus EVK board.
The target machine in my local.conf file is imx8mp-lpddr4-evk which is defined in the meta layer I chose in my yocto recepie (meta-freescale) in the conf/machine directory. I choose this target definition because the SMARC IMX8MP board also has an lpddr4 ram and it seemed like the most similar target. But this wont boot, please direct me on what configurations are being used to build the bootable yocto images such as the ones uploaded to this site.
Hello @alm_parrylabs, The NXP IMX8MP SOC doesn't have a feature for auto-reading the RAM size. You need to define it in the local .conf file, which is mentioned in the guide below. I would suggest using our BSP and instructions to build the Yocto for our board. Based on your module, you need to change the RAM memory size in the local.conf. If you have a 2G module, then you should mention it as shown below.
$ vi <build_dir>/conf/local.conf
# sets the LPDDR4 DRAM size, available options are: LPDDR4_2GB, LPDDR4_2GK, LPDDR4_4GB, LPDDR4_8GB
UBOOT_EXTRA_CONFIGS = "LPDDR4_2GB"
Build guide:
https://github.com/ADLINK/meta-adlink-nxp/wiki/Building-Yocto-for-LEC%E2%80%90IMX8MP
BSP-related information can be found here. (you refer to other branches, too, if you want)
https://github.com/ADLINK/meta-adlink-nxp/tree/kirkstone