Re: Hardknott build for imx8mm-evk failed
Peter Bergin
Hi Brian, On 2021-05-06 14:41, Brian Hutchinson
wrote:
There are two configs for imx8mm EVKs, one for ddr4 and one for
lpddr4. Check your board so you get the correct one. 8MMINILPD4 =
lpddr4 and 8MMINID4 = ddr4. I have a imx8mm_lpddr4_evk in my
project ad have been able to build hardknott without issues.
This is not needed in hardknott as imx8mm-*-evk machines are
using mainline and linux-fslc by default.
The error you see below is because the u-boot configuration
imx8mm_ddr4_evk is not present in u-boot-fslc. There is only
imx8mm_evk config that is intended for lpddr4 variant. This is an
error in the configuration in Yocto but I'm a bit unsure the way
forward. One thing you can try is to use u-boot-imx instead by adding: PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" This will build the u-boot-imx (NXP's fork) where imx8mm_ddr4_evk config is present. I can not guarantee the u-boot-imx and linux-fslc works together but give it a try. The I suggest that you open an issue in
https://github.com/Freescale/meta-freescale/issues about the
faulty configuration for imx8-ddr4-evk. I hope this helps you forward! |
|