Hello all,
We've made a new custom PCB based on iMX8Mini
We've tested all voltage and every element got his good power.
Before making the new custom board we were able to get a hand on the iMX8MM EVK board, and when plugging the USB the kernel detects it, and show NXP in dmesg and lsusb and everything was great.
But now we are not able to detect the new custom board.
We tried to debug the Cortex a53 and m4 with JLink EDU (version 10) with openocd, and it detects everything similar like it detects it from the EVK.
NOTE: openocd supports imx8mq.cfg but we have no other way to do it.
Here's the output of some commands :
We think that the issue stopping the linux from detecting the USB ports is that the custom board's Cortex A53 has no bootloader.
We have generated an imx-boot with Yocto for iMX8 that contains:
So we need to flash the imx-boot into the Cortex-A53 flash so that the USB can enumerate with the linux host or any other host.
We tried to load the imx-boot binary with openocd load_image and it fails with this error:
We do not have an idea on what address we should use either, we tried the Cortex A53 Boot ROM addresses from the datasheet too but we got the same error.
We know that the Cortex-M4 has no flash size, so it has to be into the Cortex-A53, but we need to find out how to install the imx-boot in there so that it can load the firmware and set it up for USB enumeration with any other host so that we can detect it with the toot : UUU (Universal Update Utility) which we use for flashing the eMMC/SD like we're used to do with the EVK board.
We need an urgent help if possible.
Solved! Go to Solution.
Hi,
we found the solution for the custom board :
The USB was connected to USB 2 and we changed the hardware connection to USB 1 then we can detect the NXP board on our USB host machine
Thank you !
Hi,
we found the solution for the custom board :
The USB was connected to USB 2 and we changed the hardware connection to USB 1 then we can detect the NXP board on our USB host machine
Thank you !