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.

Linux/AM3352: AM3352 SDK 6.0 USB driver porting to the kernel version: 2.6.32

Part Number: AM3352

Tool/software: Linux

Hi Team,

  My customer is using the Linux kernel 2.6.32 for AM3352. In their previous project, they ported all the drivers except for USB part from the Linux SDK 6.0 to the version 2.6.32 themselves. It worked well.

  However, when porting the USB drivers, as there're many unknown USB related operations, which is not clearly stated in the TRM, so they have the concern on the stability when porting the USB driver from Linux SDK 6.0 to the 2.6.32.

I would appreciate if anyone could help to comment on this porting action!

Is there any stability risk when doing such porting?

Is there any suggestions for this case? It is very hard for my customer to change the kernel version as this is their internal stable version which is verified for 4 years or more. 

  • Steven,

    My first question is where the 2.6.32 kernel comes from? I believe we never support 2.6.32 for AM335x devices. The very first kernel version which supports AM335x is v3.2.

    My comment for this query is if the customer wants to enable USB on AM335x, they can only move to the newer kernel which we support.

    Steven Liu1 said:
    Is there any stability risk when doing such porting?

    Yes, we never supported/tested v2.6.32 on AM335x.

  • Hi Bin,
    Many thanks for your quick response!
    As you said, we never supported the 2.6.32 kernel for AM335x devices. Customer decided to use this version by themselves, and this decision was made over 5 years ago. So I believe this is a legacy issue. Thanks for your comments. I'll let them know the situation.
    In addition, I'd like to know can we promote the kernel 3.2, such as SDK 6.0?
    For the newer kernel SDK, device tree is used, which could bring lots of work to the customers. I'm afraid they might worry about the timeline when moving to a newer kernel which used the device tree that they never used before.
  • Steven,

    Steven Liu1 said:
    As you said, we never supported the 2.6.32 kernel for AM335x devices. Customer decided to use this version by themselves, and this decision was made over 5 years ago. So I believe this is a legacy issue. Thanks for your comments. I'll let them know the situation.

    I fully understand the situation.

    Steven Liu1 said:
    In addition, I'd like to know can we promote the kernel 3.2, such as SDK 6.0?

    No, we don't support SDK6.0 anymore, so please don't promote it for new projects.

    Steven Liu1 said:
    For the newer kernel SDK, device tree is used, which could bring lots of work to the customers. I'm afraid they might worry about the timeline when moving to a newer kernel which used the device tree that they never used before.

    There is indeed some learning curve for device tree, but not horrible. And I see moving to newer kernel is the only option to enable USB for this customer.