iMX8MP in Yavia board: How do I boot from USB device?

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

iMX8MP in Yavia board: How do I boot from USB device?

2,496 Views
bgaurav1718
Contributor III

I am trying to boot my device from USB device. The problem is that I don`t find any way to boot from USB. Yavia board doesn`t have boot device selection switches like on other boards.

When I tried booting from USB in U-Boot, the USB device is not detected at all. I tried usb start, usb reset, plugging out and plugging in again. My USB device blinks when it is detected, but it doesn`t blink when I stop the booting process and access U-Boot menu. 

The USB device is detected if I let the device continue boot from the eMMC. I have `Reference Minimal Image` from Easy installer loaded into the eMMC. 

0 Kudos
Reply
2 Replies

2,399 Views
smithcoba
Contributor III

First I will suggest you check the usb can be detected by this board linux. 

If the usb can be detected by this board linux, it is the compatible issue with uboot. 

Because uboot usb stack is very old. 

Then you can try other brand usb stick to see if it can work. 

My experience is lots of usb card reader with tf/sdcard can work, you can try this way. 

Please check the below link, if it is you want. 

BTW, i.MX8MP cannot boot from usb device, I assume you said it mount rootfs on usb, because I see you use usb start, reset...

 

https://community.nxp.com/t5/i-MX-Processors/boot-partition-in-SD-card-and-rootfs-in-the-USB-flash-d...

 

0 Kudos
Reply

2,414 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @bgaurav1718,

I hope you are doing well

The problem is that I don`t find any way to boot from USB
=> One can easily change the boot mode using the SRC_SBMR2 register as mentioned in Table 6-1. Boot MODE pin settings in the reference manual IMX8MPRM.
 
If the USB device is not detected from the U-boot, we would recommend you kindly check the device configuration in the device tree in the U-boot source code. Please check if the USB device node has status = 'okay'.
 
Thanks & Regards,
Dhruvit Vasavada
0 Kudos
Reply