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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,100件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,003件の閲覧回数
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 件の賞賛
返信

1,018件の閲覧回数
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 件の賞賛
返信