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.

TDA4VM: VLAN setup

Part Number: TDA4VM

Hi,

I need to setup two different VLANIDs for using on TDA3 custom board (CPSW9G). Could you please provide an instruction for setting it up?

Best regards,

Srdjan

  • Hi,

    1. Which SDK are you using ?

    2 .Do you need to set it up on Linux or RTOS ?

    Can you take a look at the Inter VLAN routing demo in EthFW to begin with ?

    Regards

    Vineet

  • Hi Vineet,

    Here are the answers:

    1. ti-processor-sdk-rtos-j721e-evm-07_02_00_06

    2. RTOS (QNX)

    Regards,
    Srdjan

  • Hi Srdjan,

    Thanks.

    Have you evaluated the VLAN routing demo as mentioned above ?

    Regards

    Vineet

  • Hi Vineet,

    Unfortunatelly I haven't made to set it up using GUI. Could you please provide information how I can do it changing and adapting the code? I would need to setup two VLANs.


    Best regards,
    Srdjan 

  • Hi Srdjan,

    Sorry for the delay

    Please take a look at the function EnetTest_addAleVlanEntry() in pdk/packages/ti/drv/enet/unit_test/test_cases/cpsw_test_vlan.c. I have verified it.

    If you have an EVM then you can execute it by using the steps below:

    1. Go to pdk/packages and run "source pdksetenv.sh"

    2. Go to pdk/packages/ti/drv/enet/unit_test/test_framework and run "make SOC=mcu2_0"

    3. This will generate a binary in pdk/packages/ti/binary/enet_unit_testapp

    4. Run this on MCU 2_0 (after running sciclient server test application on MCU 1_0)

    5. Open 3rd instance of UART on Main Domain and select Manual Test.

    6. Make sure you have link on one of the RGMII ports (on GESI card)

    7. Select Option 6 (VLAN Test)

    Regards

    Vineet

  • Hi Vineet,

    Unfortunately I have no EVM at my setup. Since this is a bit urgent for us could we setup an online meeting and try to do this in a faster way? I had a look on the example you sent me but haven't made a progress. Please propose the time when does it fits for you but please just have in mind that I am in Shanghai (UTC +8). 

    Best regards,

    Srdjan

  • Hi,

    If you see the function in the post mentioned above, it's a very simple IOCTL call. There are other examples as well for removing entries. Can you give it a try ? so that if we have to meet then it will be more productive.

    I will be prompt in replying here, meanwhile please reach out through your TI representative to open a channel with me for any debug.

    Would also help if you can clearly spell out your requirements for any debug call.

    Regards

    Vineet