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.

AM335x /dev/sda1 issue with USB flash disk at power on

Other Parts Discussed in Thread: AM3352

Hello,

I am using ti-sdk-am335x-evm.08.00.00.00.00 on custom am3352 based hardware. Everything is fine except for USB part. When a USB disk is attached before power on sometimes /dev/sda1 can be created, but sometimes get nothing. And if I unplugged the USB disk and plug it again everything is fine. What is the matter? I should renumerate manually?

Best Regards

Yang

  • Hi Yang,

    I tested this with a latest sdk03.00.00.04 (kernel 4.4) and everything works fine, even if the usb stick is inserted before power on, it gets enumerated as sda1. I'll try it with kernel 3.14 (SDK08) and see if I can recreate the problem on my side.

    Best Regards,
    Yordan
  • Hi Yang,

    I also tested this on my BBB, running the official ti kernel v.3.14.43-g875c69b. Enumerating the usb drive works fine. I always get the /dev/sda1 entry in my filesystem.

    Have you modified in any way your usb driver or the usb dts nodes?

    I suggest you compare the kernel from SDK08 & from SDK01 (both 3.14) and see for any differences in the source code. Since kernels are very similar it should be fairly easy to use the driver from SDK01.xx in your SDK08.xx

    Best Regards,
    Yordan