This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM437x boot from USB0

Hi,TI

My board can boot from USB1,but not the USB0.I set the sysboot[4:0] as 11101 when boot from USB0,and I use the uboot from ti-processor-sdk-linux-am437x-evm-01.00.00.03.what the reason will be?

Thanks.

vefone

  • Hi,

    USB1 boot is Host mode, used when mass storage device is attached to USB1. AM437X TRM Rev. D section 5.2.6.8 describes this boot mode.
    USB0 boot is Device mode, used when an external USB Host provides the boot files. AM437X TRM Rev. D section 5.2.7.5 describes this boot mode.

  • Additionally check whether AM437X Errata Rev. B, Advisory 10 applies for your processor silicon revision.
  • Hi,Biser
    My processor silicon revision is 1.2.It should can boot from USB0.I read the contents that you list,and what do you mean that "when an external USB Host provides the boot filest"?

    Best Regards
    vefone
  • Could you describe how you try to boot from USB0?
  • I think I was wrong.I follow the steps that I boot from USB1.It should be chapter three on the website:
    processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide
    I will try again.

    Thanks!

    Best Regards
    vefone
  • Hi,Biser

    When I try to boot from usb0 using my am437x board,I got some issure.I firstly modprobe rndis_host in my ubuntu pc,then I changed the sysboot[4:0] to 11101 and connected usb0 to ubuntu pc.After I power on ,I see something below:

    [17733.667359] usb 2-2.1: new full-speed USB device number 18 using uhci_hcd
    [17734.174655] usb 2-2.1: not running at top speed; connect to a high speed hub
    [17734.505731] usb 2-2.1: New USB device found, idVendor=0451, idProduct=6142
    [17734.505736] usb 2-2.1: New USB device strings: Mfr=33, Product=37, SerialNumber=0
    [17734.505739] usb 2-2.1: Product: AM43xx1.2
    [17734.505741] usb 2-2.1: Manufacturer: Texas Instruments
    [17739.873088] rndis_host 2-2.1:1.0: RNDIS init failed, -110
    [17739.873124] rndis_host: probe of 2-2.1:1.0 failed with error -110
    [17748.230480] rndis_wlan 2-2.1:1.0: RNDIS init failed, -71
    [17748.230771] rndis_wlan: probe of 2-2.1:1.0 failed with error -71

    It seems that the USB0 cannot be recognized by PC,and is there some solution  for that?

    Thanks!

    Vefone

  • Vefone,

    The HW itself is correctly recognized, but there appears to be a SW issue on the RNDIS host PC. Are you certain the RNDIS driver is correctly loaded?

  • -DK-,
    Yes,I sure that the RNDIS driver is correctly loaded.When I lsmod,here is the message:
    Module Size Used by
    nfnetlink_queue 20480 0
    nfnetlink_log 20480 0
    nfnetlink 16384 2 nfnetlink_log,nfnetlink_queue
    cdc_subset 16384 0
    rndis_wlan 45056 0
    cfg80211 450560 1 rndis_wlan
    rndis_host 16384 1 rndis_wlan
    cdc_ether 16384 1 rndis_host
    usbnet 40960 4 rndis_host,rndis_wlan,cdc_subset,cdc_ether

    are there any error?

    Vefone
  • vefone said:
    [17739.873088] rndis_host 2-2.1:1.0: RNDIS init failed, -110
    [17739.873124] rndis_host: probe of 2-2.1:1.0 failed with error -110
    [17748.230480] rndis_wlan 2-2.1:1.0: RNDIS init failed, -71
    [17748.230771] rndis_wlan: probe of 2-2.1:1.0 failed with error -71

    The host received corrupted USB packets. It could be signal integrity problem on your board USB0.

    Please boot the board to Linux kernel using other boot source and verify if USB0 is functional in device mode. If not, please do signal integrity test on your USB0 port.