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.

AM3358: Move from beaglebone OS to ti sdk os on beaglebone based platform

Part Number: AM3358
Other Parts Discussed in Thread: TUSB320

Hello all -

I have some  questions about moving from the beaglebone OS, currently version 4.4 (debian 9) to the equivalent under the ti sdk.  I am considering doing this as my belief is your support is focused on this os and will be going forward .  My scenario is :

we have an existing code base that was written for the bbb 3.8 os and therefore uses the pruss UIO drivers and the cape manager.  I do not want to move from the pruss based system, that is I want to a direct port of the code.  Also I am assuming the cape manager is not a construct in your os so I need to understand how that piece is handled in ti sdk. 

we are not using hdmi so it is disabled.  I need full usb C support (via usb) on uart 4 as well. not sure if this is in place in ti sdk. also want to talk to a ti codec a well.

how difficult is this?

Where do I start?

can I still use the pruss drives in the latest os at all (I would like to get to the latest, that is kind of the point of the operation)?

do you set up overlays from uEnv.txt like the bbb later versions do?

will the am3358 be discontinued in the near future?

what i the best version of the ti os to start with?

 I have an eval kit, but will need to port to my custom hardware ultimately.

If you could describe this process or point me to documentation on the port and where I am likely to have trouble that would be really great. 

Thanks so much 

Mark

  • Hello Mark,

    Since TI does not support beaglebone OS, we do not have a porting guide for Beaglebone -> TI SDK. I cannot give a good estimate on the difficulty of that port, but I can tell you that there are probably many differences between Debian 9 (Linux 4.4) and Linux SDK 6.3 (Linux 4.19).

    AM335x will not end-of-life within the next couple of years. If you need more specific guidance, I can get someone else to comment.

    TI tends to support Linux SDKs for about 2 years, so the latest SDK is typically the best (unless you are using a resistive touchscreen, I am working through an issue related to that).

    AM335x does not support overlays. You would need to include all the device tree information statically in a single device tree binary (dtb), though you can divide up device tree information between multiple dts and dtsi files that include each other.

    pruss UIO driver: We allow you to use the PRUSS UIO driver instead of the RemoteProc driver to load the PRU. See example device tree file arch/arm/boot/dts/am335x-pru-uio.dtsi.

    This is the AM335x Linux SDK documentation.

    I'll get a colleague to comment on the USB-C over UART question.

    Regards,

    Nick

  • Hello Nick -

    thanks so much for your prompt reply.

    Can you point me to some resource that explains clearly how i can create a dtb file.  can i just compile a standard linux dts file to dtb?  how do i integrate it into linux kernel.  do I have to recompile the kernel?

    this area seems very complicated and hard to follow for some reason.  what am I missing?

    Thanks

    Mark

  • Hi Mark,

    Mark Mitchell said:
    I need full usb C support (via usb) on uart 4 as well. not sure if this is in place in ti sdk.

    Can you please elaborate more about this requirement? USB type-C is about the USB connector and power delivery, I am not sure how USB type-C is related to UART?

  • Hello Mark,

    Compiling kernel and DTB files are documented in the Kernel User's Guide.

    Regards,

    Nick

  • Hi Bin 

    stupid me - I meant usb port on the sitara  not uart. sorry for confusion.

    the issue is whether a driver is avalable or included to control the usbc device that controls the power delivery and modes of the usbc interface.  we use the tusb320 device over i2c.

    Thanks

    Mark

  • Hi Mark,

    No worries, I thought it could be a typo but cannot figure out what it should be...

    TUSB320 is a product from a different department in TI, so I am not sure what exactly it is supported in Linux, but as far as I am aware, the Processor SDK linux kernel doesn't have a driver to support TUSB320. I had another customer in last year was using TUSB320 with AM335x and they had to write their own code to make TUSB320 works with the kernel Linux USB stack.