Hi,
We Having custom board based on imx8mm.
We were facing some issues in bring up process.
We found out we having PMIC of BD71847MWV.
We referred https://community.nxp.com/t5/i-MX-Processors/Failed-to-boot-latest-Linux-version-on-IMX8MM-EVK/m-p/1... and switched our version to 4.14.98_2.0.0 U-Boot.
We booted QSPI with 4.14.98_2.0.0 U-Boot pre-build image and try to enumerate the SD card.
MMC 0 in our case.
We booted U-boot(prebuild image) from QSPI and linux and rootFS from SD card.
it goes upto linux and stops without any kind of error.
1) Can you please tell us which version of source code is best for using PMIC BD71847MWV? We used pre-build version of 4.14.98_2.0.0, When we try to build without any modification it fails. and getting syntax error for dts.
2) We modified the type-C as per https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MM-i-MX8MQ-USB2-0-Design-Without-US... this post suggest.
We loaded pre-build into 4.14.98_2.0.0 to QSPi and boot from it.
When we try for $usb start the processor starts resetting.
3) We tried to boot the U-boot from QSPI and Linux, rootFS from Sd card. We Stops at kernel stage.
I have attached the log, Can you please let know the issue?
Hello,
1> You should be able to build any BSP version available for i.MX8MM, just make sure that you made changes to device tree and defconfig, accordingly for your custom board. You may take this as an example for device tree modification for PMIC
https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/dts/imx8mm-ddr4-val.dts#L239
2> Did you make changes for defconfig and device tree as well?
3> Make sure that you have disabled type-C in defconfig, since this could cause problems later on while booting.
Best regards,
Aldo.