bootloader ref: iMX8qm MEK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bootloader ref: iMX8qm MEK

3,160 Views
ravi_kohli
Senior Contributor I

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. 

Tags (1)
0 Kudos
Reply
4 Replies

3,021 Views
gusarambula
NXP TechSupport
NXP TechSupport

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,

0 Kudos
Reply

3,021 Views
ravi_kohli
Senior Contributor I

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 ? 

0 Kudos
Reply

3,021 Views
gusarambula
NXP TechSupport
NXP TechSupport

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,

0 Kudos
Reply

3,021 Views
ravi_kohli
Senior Contributor I

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 ?

https://community.nxp.com/thread/538023 

0 Kudos
Reply