Spaces:
Sleeping
Sleeping
Ticket Name: Linux/TDA2EX17EVM: I want to start system from USB like SD card,what should I do? | |
Query Text: | |
Part Number: TDA2EX17EVM Tool/software: Linux Hi: Now the EVM board can start from SD card normally.But I want to start from USB now,So what should I do? 1.Which usb port should I insert USB into?USB1 or USB2 port? 2.If the EVM board can detect USB,where will it be mounted after bringing up? | |
Responses: | |
Hi, TDA2 ROM bootloader does not support loading SBL from an USB pen drive. Regards, Stan | |
Hi, But I find that it can boot linux from USB storage in the Linux Core U-Boot User's Guide P14, | |
Yes, this should be possible, but first you need to load SBL/u-boot from different source. Regards, Stan | |
Hi Stanislav: So you mean SBL/u-boot should be located in SD or emmc,and kernel can be loaded from USB device? And another question is that my custom board cannot detect USB device.After it comes into Uboot,the log is as following: => usb reset resetting USB... USB0: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... Kyle:tries == MAX_TRIES error!!! cannot reset port 1!? 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found In EVM board,I find that there is a signal called DET_USB2_VBUS.Does the TDA2 will detect the signal? I also want to know how EVM board will detect USB device after I excute "usb start" ,which signals does EVM will detect? Thanks ! | |
HI, Could you help to answer my question? | |
HI, Sorry,I still have some questions to ask you! | |
Hi, Do you observe the 5 volts on the USB connector after usb initializes? | |
Yes, I measure VBUS's voltage,it will become 5V from 0V | |
Hi, It is possible to boot direct using USB. Note there are 2 stages as described in the link: http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User's_Guide#Using_USB_Device_Firmware_Upgrade_.28DFU.29:1230:0 . In the above method, the TDA2x EVM is configured as USB device and the PC is the USB host. As mentioned previously in the above thread, alternative to this is to boot the SBL/U-Boot using other boot mode (like SDcard), and then connect USB pen-drive to load the kernel. Here we trying to configure TDA2x EVM is configured as USB host which interacts with the device (USB pen-drive). See this link for more details: http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User's_Guide#Booting_Linux_from_USB_storage This answers the original question of this post. The subsequent question on the " cannot detect USB device" when calling "usb reset" is being discussed here: https://e2e.ti.com/support/arm/automotive_processors/f/1021/t/711806 . | |
HI, Thanks for your reply!Because I realized that the question "cannot detect USB device" is different from the original question,so I create another thread.Could you help to answer my new question on e2e.ti.com/.../711806 . Kyle | |