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/AM5728: Add Serial to USB convertor Driver to linux AM572x

Part Number: AM5728

Tool/software: Linux

I have an AM572X GPEVM TI Development board

I need to use USB-Serial converters  I want to use the USB-Serial converters using the Prolific PL2303 chipset.

I have  source code for the PL2303 drivers "pl2303.h" and "pl2303.c". How could I compile a kernel module for this AM572x board for my specific architecture, use  to compile the pl2303.h and pl2303.c source files to include them in my Filesystem.

  • Hello pratik,

    Please, refer to this post and enable this menuconfig option to have a Prolific PL2303 chipset support in your Filesystem.
    Device Drivers  ---> [*] USB support  ---> <M>   USB Serial Converter support  ---> <M>   USB Prolific 2303 Single Port Serial Driver


    Best regards,
    Kemal

  • Hello pratik,

    Once you are done with the thread, please do not forget to mark it as "Resolved".

    Thanks,
    Kemal
  • hello Kemal
    thanks for replying

    i have rebuild kernel as link provided above
    now i need to create SD card with new image i tried with steps provided in Document
    please help me in selecting option
    Choose file path to install from
    1 ) Install pre-built images from SDK
    2 ) Enter in custom boot and rootfs file paths

    if i take 2
    what will be path for
    Enter path for Boot Partition :
  • Create a directory named boot. Copy a MLO and u-boot.img to that directory. Then pass that directory path to the script as Boot Partition path.

  • hello kamal
    can you please tell me step by step what is require for creating image in SD after rebuild kernel


    pratik jain
  • Use these exact steps.

    cd <Processor SDK>

    1) Clean.
    make linux_clean

    2) Backup your defconfig file
    cp board-support/linux-<version>/arch/arm/configs/tisdk_am57xx-evm_defconfig board-support/linux-<version>/arch/arm/configs/tisdk_am57xx-evm_defconfig.bak

    3) Load default config.
    cd board-support/linux-<version>/
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am57xx-evm_defconfig

    4) Run Menuconfig and enable USB Prolific 2303 Single Port Serial Driver.
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig

    Device Drivers  ---> [*] USB support  ---> <M>   USB Serial Converter support  ---> <M>   USB Prolific 2303 Single Port Serial Driver

    5) Replace the old defconfig file with the new one which includes USB Prolific 2303 Single Port Serial Driver.
    cd ../../
    cp board-support/linux-<version>/.config board-support/linux-<version>/arch/arm/configs/tisdk_am57xx-evm_defconfig

    6) Compile and install the dtb, linux and modules.
    make linux
    make linux_install

    7) Compile and install the ti-sgx-ddk-km modules.
    make ti-sgx-ddk-km
    make ti-sgx-ddk-km_install

    8) Create an SD card with the needed dtb, kernel and modules.

    8.1) cd <Processor SDK>/bin/
    ./create-sdcard.sh

    8.2) Create a directory named boot. Copy a MLO and u-boot.img to that directory. Then pass that directory path to the script as Boot Partition path.

    8.3) Choose 1 to Reuse kernel image and device tree files found in the selected rootfs.

    8.4) Pass <Processor SDK>/targetNFS path for Rootfs Partition.

    9) That is all.

    For more details. Please, refer to this page.

  • Hello pratik,

    If you are done with this thread, please do not forget to mark it as resolved.

    Thanks,
    Kemal