TDA4VH-Q1: How to use Quad Port Ethernet Expansion Board with J784S4XG01EVM BOARD

Part Number: TDA4VH-Q1

Tool/software:

Hi Team :

  I want to use Quad Port Ethernet Expansion Board with J784S4XG01EVM BOARD.

Now I plug the Quad Port Ethernet Expansion Board in ENET expansion 1. 

I can i2cdetect i2c0 0x54  but ifconfig doesn't show anything new(only eth0 and eh1).

Also, the left and right port led can light up .

My SDK version is 10.00.

Can you give me some advice?

Best Regards,

Kong Xiangxu

  • Hi,

    Would you like to have a native Linux driver for the CPSW9G or ETHFW model application?

    By default, the ETHFW application runs on the MCU2_0 core. In this case, Linux has a client driver with virtual network interfaces as a virtual switch and a virtual MAC-only interface.
    Please refer to the ETHFW User Guide for more details.
    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j784s4/latest/exports/docs/ethfw/docs/user_guide/ethfw_c_ug_top.html#ethfw_j784s4_port_cfg


    If you would like to run a Native Linux driver, please refer to the FAQ to enable the Native Linux driver for CPSW9G.
    [FAQ] How do I bring/brought up Ethernet interfaces for Main Domain CPSWnG in Linux from SDK Version 9.0 and above?

    Best Regards,
    Sudheer

  • Hi,

    I copy the whole k3-j784s4-evm-quad-port-eth-exp1.dtso and paste it under k3-j784s4-evm.dts.

    But my booting stucks at 

    S.178378f1-udma 31150000.dms-controler: cummins: zz (tchan: li, rchan: li, gp-rflow: 8)
    5.182298 sp1-nand sp10.0: Winbond SPI RAM was found
    5.187605 sp1-nand sp10.0: 128 MB, black size: 256 KB, page size: 4096, 008 size: 128
    5.1959127 fixed-partitions partitions found on MTD device sp10.0
    5.202258 creating 7 MTD partitions on "sp10.0":
    5.207039 0x00000000000-0x000000100000 "osp1.nand.tiboots"
    5.213993 0x000000100000-0x000000300000 "osp1.nand.tigpl"
    5.220941 0x000000000000-0x000000700000 "osp1.nand.tigpl"
    5.228834 0x000000700000-0x000000700000 "osp1.nand.env"
    5.237741 0x000000740000-0x000000740000 "osp1.nand.env.backup"
    5.241556 0x000000200000-0x000000750000 "osp1.nand.rooffs"
    5.280683 0x000000710000-0x000000800000 "osp1.nand.phypattern"
    5.289583 sp1-nor sp11.0: WIDSA512A (85336 Kbytes)
    5.2946537 fixed-partitions partitions found on MTD device 47660000.sp1.0
    5.301999 Creating 7 MTD partitions on "47660000.sp1.0":
    5.307172 0x000000000000-0x000000000000 "osp1.tiboots"
    5.313192 0x000000000000-0x000000200000 "osp1.tigpl"
    5.310084 0x000000200000-0x000000800000 "osp1.u-boot"
    5.324983 0x000000500000-0x000000600000 "osp1.env"
    5.330506 0x000000660000-0x000000700000 "osp1.env.backup"
    5.336736 0x000000000000-0x000000700000 "osp1.rooffs"
    5.340822 0x000000000000-0x000000400000 "osp1.phypattern"
    5.380905 0xtrue radio 480000fo.mdio: devinc mdio revision 0.7, bus freq 1000000
    5.400937 0xtrue radio 480000fo.mdio: phylj: device 480000fo.mdio:80, driver TI DP83867
    5.403399 am65-cpsw-nuss 480000fo.ethernet: initialized cpsw and cpsw nuss version 0x08A02102, cpsw version 0x08A02102 Ports: 2 quirks:00000000
    5.422402 am65-cpsw-nuss 480000fo.ethernet: initialized cpsw and cpsw nuss version 1.4
    5.434464 pps pps: new PPS storage pipeline: Akt Table size 64
    5.438601 am65-cpsw-nuss 480000fo.ethernet: CPTs ver 0x468a010b, freq:500000000, add_val:1 pps:1
    5.432533 am65-cpsw-nuss 480000fo.ethernet: set new flow-id-base 48
    5.452305 am65-cpsw-nuss 480000fo.ethernet: initializing am65 cpsw nuss version 0x08A03102, cpsw version 0x08A02902 Ports: 9 quirks:00000000
    5.513071 devinc radio c200fo.mdio: devinc mdio revision 0.7, bus freq 1000000
    5.523861 devinc radio c200fo.mdio: phylj: device c200fo.mdio:80, driver TI DP83867
    5.534050 am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x08A02102, cpsw version 0x08A02102 Ports: 2 quirks:00000000
    5.544769 am65-cpsw-nuss c200000.ethernet: use random Mac address
    5.551024 am65-cpsw-nuss c200000.ethernet: initialized cpsw and cpsw nuss version 1.4
    5.554244 am65-cpsw-nuss c200000.ethernet: put table size 64
    5.564259 am65-cpsw-nuss c200000.ethernet: CPTs ver 0x468a010b, freq:200000000, add_val:4 pps:0
    5.570009 am65-cpsw-nuss c200000.ethernet: set new flow-id-base 82
    5.550137 am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x08A03102, cpsw version 0x08A02902 Ports: 9 quirks:00000000
    5.602284 am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x08A03102, cpsw version 0x08A02902 Ports: 9 quirks:00000000
    5.619033 clk: Disabling unused clocks
    5.639631 Aka source list:
    5.630067 bk dewdcard found.
    5.641707 waiting for root device PARTUUID=34ad6033-02...
    15.654027 am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x08A03102, cpsw version 0x08A02902 Ports: 9 quirks:00000000
    15.666971 platform 4fb0000.mmc: deferred probe pending
    15.872224 platform regulator-sd: deferred probe pending
    15.877611 platform c000000.ethernet: deferred probe pending

    I only want to use ENET EXP 1 in linux.

    Can you give me some possible reasons for this?

  • Hi,

    this looks like a problem I had with SDK 10 a while back, too.

    You could have a look at this thread:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1425786/j784s4xevm-using-j721exenetxpanevm-with-psdk-linux/5566357#5566357

    From what I remember, the .dtbo for the expansion board was broken on 10.0 because it wasn't updated to reflect other changes in the device tree. I posted a patched .dtbo with a workaround that worked for me in that thread. Maybe you want to give that a try.

    In that thread Sudheer indicated that a fix should be included in SDK 11. Maybe you could give that a try, or check with Sudheer if it was actually fixed.

    Regards,

    Dominic

  • Hi,

    Thank you for your kind help!

    I tried change the uEnv.txt to name_overlays=ti/k3-j784s4-evm-quad-port-eth-exp1.dtbo

    It seems get more longer log relate to net,but still can't boot.

    4.059512) 0x000000000000-0x000000000000 "qspl.tigpl"
    4.075211) 0x000000000000-0x000000000000 "qspl.u-boot"
    4.081188) 0x000000000000-0x000000000000 "qspl.env"
    4.086830) 0x000000000000-0x000000000000 "qspl.env.backup"
    4.693079) 0x000000000000-0x000000000000 "qspl.rootfs"
    4.093797) 0x000000000000-0x000000000000 "qspl.physattern"
    4.741959) davinci_maio 46000000:mdi:davinci.mdo revision 0.7, bus freq 1000000
    4.752928) davinci_maio 46000000:mdi:davinci.mdo revision 0.7, bus freq 1000000
    4.761197) am65-cpsv-nuss 46000000:ethernet: initialize cpsv nuss version 0x6BA02102, cpsv version 0x6BA02102 Ports: 2 quirks:00000000
    4.774017) am65-cpsv-nuss 46000000:ethernet: initialized cpsv aie version 1.4
    4.781225) am65-cpsv-nuss 46000000:ethernet: AIE Table size 64
    4.787369) pps ppsp: new PPS source pipi
    4.701598) am65-cpsv-nuss 46000000:ethernet: CPFS ver 0xde8a010b, freq:500000000, add_val:1 pps:1
    4.805799) am65-cpsv-nuss 46000000:ethernet: set new flow-id-base 48
    4.815840) am65-cpsv-nuss 46000000:ethernet: initialize am65 cpsv nuss version 0x6BA03102, cpsv version 0x6BA02902 Ports: 9 quirks:00000000
    4.838824) am65-cpsv-nuss 46000000:ethernet: Use random MAC address
    4.844353) am65-cpsv-nuss 46000000:ethernet: Use random MAC address
    4.855060) am65-cpsv-nuss 46000000:ethernet: Use random MAC address
    4.867039) am65-cpsv-nuss 46000000:ethernet: Use initialized cpsv aie version 1.5
    4.862934) am65-cpsv-nuss 46000000:ethernet: AIE Table size 92
    4.872413) am65-cpsv-nuss 46000000:ethernet: Set new flow-id-base 82
    4.892264) am65-cpsv-nuss 46000000:ethernet: Set new flow-id-base 82
    4.941960) davinci_maio c2001000:mdi:davinci.mdo revision 0.7, bus freq 1000000
    4.952783) davinci_maio c2001000:mdi:davinci.mdo revision 0.7, bus freq 1000000
    4.908079) am65-cpsv-nuss c2000000:ethernet: initialize am65 cpsv nuss version 0x6BA02102, cpsv version 0x6BA02102 Ports: 2 quirks:00000000
    4.973951) am65-cpsv-nuss c2000000:ethernet: Use random MAC address
    4.979906) am65-cpsv-nuss c2000000:ethernet: Initialized cpsv aie version 1.4
    4.987825) am65-cpsv-nuss c2000000:ethernet: AIE Table size 84
    4.993184) am65-cpsv-nuss c2000000:ethernet: CPFS ver 0xde8a010b, freq:200000000, add_val:4 pps:0
    5.008011) am65-cpsv-nuss c2000000:ethernet: Set new flow-id-base 83
    5.027422) click Disabling unused clocks
    5.037707) ALSA device list:
    5.040804) No soundcards found.
    5.044408) Waiting for root device PARIUMID=34ad0003-02...
    15.080839) platform @Ramputtonsag: deferred probe pending
    15.099222) platform 4100000.mmc: deferred probe pending
    15.097522) platform c0001000.maio: deferred probe pending

    Regards,

    KONG XIANGXU