Can anyone point to any simple bootloader reference code design under Linux for i.MX8qm MEK (Not Yocto or u-boot-imx) ? Thanks in advance.
Hello Ravi Kohli,
The Linux and Android BSPs for the i.MX8QM MEK both use u-boot as bootloader.
The only alternative would be setting up the System Controller Firmware (more information on the link below, please refer to the SCFW porting guide for more in depth information) to start the i.MX8QM.
https://community.nxp.com/docs/DOC-341481
My apologies for the inconvenience.
Regards,
Thanks for your reply.
I had a question about the bare metal demo apps provided in MCUXpresso SDK. Under Linux, is it possible to run the "hello world" demo_app without including u-boot.bin in the image on i.MX8QM EVK ? Example, "SCU + M4_0 TCM image" using imx-mkimage tool. Also, is there any reference NXP bootloader.c or bootup example for imx8qm EVK ?
Hello Ravi Kohli,
It is my understanding that the SCFW can initialize the hardware and load a binary directly, this bypassing uboot. You may find more information on the following document:
https://community.nxp.com/docs/DOC-343178
I hope this helps!
Regards,
Hi Gus, Thanks for the suggestion. I build SCU FW and an M4 demo_app. I didn't see any
debug console output on my i.MX8QM debug console (J18). I reported the issue on a
separate thread. Any comments what could be the issue ?