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: [network]eth1 does no show up on some linuxes

Part Number: TDA4VM


Hello all,

I have this "ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06"

I flashed the sd card using the ./create_sdcard.sh shellscript, selecting the adas image.

I booted the EVM, I can see the screen, but the network does not show up correctly when I do "ifconfig"

"eth1" is missing, all I see is "eth0" and "lo" ( the lighst work on the Phy things)

"

root@j721e-evm:~# uname -a
Linux j721e-evm 6.1.46-g5892b80d6b #1 SMP PREEMPT Mon Nov 27 16:11:04 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
root@j721e-evm:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 92 bytes 7648 (7.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 92 bytes 7648 (7.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

"

If i manualy insert in the boot/root partitions the tarballs from release 08_06_01_02 ( i have to do some things in u-boot, set dorprocboot 1 )

I can see the "eth1" and I get an IP:

"

root@j7-evm:~# uname -a
Linux j7-evm 5.10.162-g76b3e88d56 #1 SMP PREEMPT Tue May 2 15:42:15 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
root@j7-evm:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 metric 1
ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 10.136.56.202 netmask 255.255.255.0 broadcast 10.136.56.255
inet6 fe80::72ff:76ff:fe1d:92c1 prefixlen 64 scopeid 0x20<link>
ether 70:ff:76:1d:92:c1 txqueuelen 1000 (Ethernet)
RX packets 7 bytes 1344 (1.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 35 bytes 4658 (4.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet6 fe80::72ff:76ff:fe1d:92c2 prefixlen 64 scopeid 0x20<link>
ether 70:ff:76:1d:92:c2 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 21 bytes 3314 (3.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 82 bytes 6220 (6.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 82 bytes 6220 (6.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

"

Anybody knows what could be diferent?

Br, Mircea

  • Hi,

    From SDK 9.0 On words, default CPSW9G Virtual Mac Drivers are not loaded.
    Please refer to FAQ [How to Bring up Main Domain CPSW in Linux].
    Also refer to SDK Documentation.

    Best Regards,
    Sudheer

  • does it matter that I already have this:

    "name_overlays=ti/k3-j721e-edgeai-apps.dtbo"

    in the uEnv.txt file?

  • Hi,

    The overlay for Virtual MAC Driver is different, Please refer to FAQ pointed above.
    Add Virtual MAC Overlay as well along with other required overlays in uEnv.txt file.

    Best Regards,
    Sudheer

  • and what is the syntax of adding one after the other? it may be plain for you, who works with this stuff on a daily basis, but I do not know

    I added this

    "

    name_overlays="ti/k3-j721e-evm-virt-mac-client.dtbo"

    "

    then I linked it,

    still only these 2 appear:

    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 93 bytes 7707 (7.5 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 93 bytes 7707 (7.5 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

  • Hi,

    and what is the syntax of adding one after the other? it may be plain for you, who works with this stuff on a daily basis, but I do not know

    I think overlay path may not required "ti/" I would be as below.

    name_overlays="k3-j721e-evm-virt-mac-client.dtbo"


    Best Regards,
    Sudheer

  • I do not know what I am doing.

    I made the symlink for the remoswitching server thing, and then I updated the name_overlay with the "ti/k3-j721e-evm-virt-mac-client.dtbo"" inserted the sd card and booted, the eth1 was visible there was an IP, 2 other board connected via the QUAD thing also got IPs, but here is the funny thing, ping did not work it said "destination host unreachable", now I made the change you sugested, removing the "ti/", the eth1 was gone again, added it back, and not the eth1 is no longer appearing. I gave a "reboot" and now I am basicaly stuck at a reboot message:

    [ OK ] Reached target System Reboot.
    [ 42.958192] kauditd_printk_skb: 1 callbacks suppressed
    [ 42.958202] audit: type=1334 audit(1651172197.408:15): prog-id=10 op=UNLOAD
    [ 42.970353] audit: type=1334 audit(1651172197.408:16): prog-id=9 op=UNLOAD
    [ 42.977262] audit: type=1334 audit(1651172197.412:17): prog-id=8 op=UNLOAD
    [ 42.984151] audit: type=1334 audit(1651172197.412:18): prog-id=7 op=UNLOAD
    [ 42.991046] audit: type=1334 audit(1651172197.412:19): prog-id=6 op=UNLOAD
    [ 42.997921] audit: type=1334 audit(1651172197.412:20): prog-id=5 op=UNLOAD
    [ 42.999012] watchdog: watchdog0: nowayout prevents watchdog being stopped!
    [ 43.004821] audit: type=1334 audit(1651172197.416:21): prog-id=4 op=UNLOAD
    [ 43.011951] watchdog: watchdog0: watchdog did not stop!
    [ 43.018530] audit: type=1334 audit(1651172197.416:22): prog-id=3 op=UNLOAD
    [ 43.033378] systemd-shutdown[1]: Using hardware watchdog 'K3 RTI Watchdog', version 0, device /dev/watchdog0
    [ 43.043228] systemd-shutdown[1]: Modifying watchdog timeout is not supported, reusing the programmed timeout.
    [ 43.053146] systemd-shutdown[1]: Watchdog running with a timeout of 1min.
    [ 43.070312] systemd-shutdown[1]: Syncing filesystems and block devices.
    [ 43.108691] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [ 43.125809] systemd-journald[160]: Received SIGTERM from PID 1 (systemd-shutdow).
    [ 43.143699] audit: type=1335 audit(1651172197.592:23): pid=160 uid=0 auid=4294967295 tty=(none) ses=4294967295 comm="systemd-journal" exe="/lib/systemd/systemd-journald" nl-mcgrp=1 op=disconnect res=1
    [ 53.133803] systemd-shutdown[1]: Waiting for process: 180 (systemd-udevd), 187 (systemd-udevd), 210 (systemd-udevd), 211 (systemd-udevd)
    [ 65.986401] systemd-udevd[180]: 64800000.dsp: Worker [210] processing SEQNUM=2561 is taking a long time
    [ 65.995820] systemd-udevd[180]: 4d81800000.dsp: Worker [211] processing SEQNUM=2536 is taking a long time
    [ 68.986172] systemd-udevd[180]: main-r5fss-cpsw9g-virt-mac1: Worker [187] processing SEQNUM=2923 is taking a long time
    [ 133.146061] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [ 133.156275] systemd-shutdown[1]: Sending SIGKILL to PID 180 (systemd-udevd).
    [ 133.163493] systemd-shutdown[1]: Sending SIGKILL to PID 187 (systemd-udevd).
    [ 133.171083] systemd-shutdown[1]: Sending SIGKILL to PID 210 (systemd-udevd).
    [ 133.178328] systemd-shutdown[1]: Sending SIGKILL to PID 211 (systemd-udevd).
    [ 133.211370] systemd-shutdown[1]: Unmounting file systems.
    [ 133.218349] [1131]: Remounting '/' read-only with options 'n/a'.
    [ 133.236546] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [ 133.246084] systemd-shutdown[1]: All filesystems unmounted.
    [ 133.251667] systemd-shutdown[1]: Deactivating swaps.
    [ 133.256749] systemd-shutdown[1]: All swaps deactivated.
    [ 133.261968] systemd-shutdown[1]: Detaching loop devices.
    [ 133.269034] systemd-shutdown[1]: All loop devices detached.
    [ 133.274613] systemd-shutdown[1]: Stopping MD devices.
    [ 133.279788] systemd-shutdown[1]: All MD devices stopped.
    [ 133.285091] systemd-shutdown[1]: Detaching DM devices.
    [ 133.290322] systemd-shutdown[1]: All DM devices detached.
    [ 133.295713] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
    [ 133.312314] systemd-shutdown[1]: Syncing filesystems and block devices.
    [ 133.319235] systemd-shutdown[1]: Rebooting.

  • I am back, restarted via the on/off switch, not I got eth1, but the IP is for eth2???

    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet6 fe80::72ff:76ff:fe1d:92c1 prefixlen 64 scopeid 0x20<link>
    ether 70:ff:76:1d:92:c1 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 21 bytes 3366 (3.2 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 10.136.56.200 netmask 255.255.255.0 broadcast 10.136.56.255
    inet6 fe80::72ff:76ff:fe1d:92c2 prefixlen 64 scopeid 0x20<link>
    ether 70:ff:76:1d:92:c2 txqueuelen 1000 (Ethernet)
    RX packets 22 bytes 14061 (13.7 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 43 bytes 5699 (5.5 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 92 bytes 7648 (7.4 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 92 bytes 7648 (7.4 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    Also, no ping possible, destination host unreachable, said the nxp board, ip ending in 173, when pinging ip ending in 200(ti board)

  • Hi, 

    eth1 is virtual switch interface, eth2 is virtual Mac port corresponding to MAC Port-1. 

    eth2 can ping devices connected to Port-1. 

    Can you please share EthFw boot log from MCU2_0 core. 

    Best Regards, 

    Sudheer

  • Welcome to minicom 2.8
    
    OPTIONS: I18n 
    Port /dev/ttyUSB2, 16:11:53
    
    Press CTRL-A Z for help on special keys
    
    =======================================================
                CPSW Ethernet Firmware                     
    =======================================================
    Warning: Using 6 MAC address(es) from static pool
    ETHFW: Shared multicasts (software fanout):
      01:00:5e:00:00:01
      01:00:5e:00:00:fb
      01:00:5e:00:00:fc
      33:33:00:00:00:01
      33:33:ff:1d:92:c2
      01:80:c2:00:00:00
      01:80:c2:00:00:03
    ETHFW: Reserved multicasts:
      01:80:c2:00:00:0e
      01:1b:19:00:00:00
    EnetMcm: CPSW_9G on MAIN NAVSS                                                  
    Mdio_open: MDIO manual mode enabled                                             
    PHY 16 is alive                                                                 
    PHY 17 is alive                                                                 
    PHY 18 is alive                                                                 
    PHY 19 is alive                                                                 
    EnetPhy_bindDriver: PHY 16: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK       
    EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK       
    EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK       
    EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK       
                                                                                    
    ETHFW Version   : 0.02.00                                                       
    ETHFW Build Date: Apr 15, 2023                                                  
    ETHFW Build Time: 12:45:59                                                      
    ETHFW Commit SHA: 05546b8d                                                      
                                                                                    
    Starting lwIP, local interface IP is dhcp-enabled                               
    Host MAC address: 70:ff:76:1d:92:c3                                             
    [LWIPIF_LWIP] Enet LLD netif initialized successfully                           
    [LWIPIF_LWIP_IC] Interface started successfully                                 
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS                                             
    [LWIPIF_LWIP_IC] Interface started successfully                                 
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS                                             
    Added interface 'br4', IP is 0.0.0.0                                            
    CpswProxyServer: Virtual port configuration:                                    
      mpu_1_0 <-> Switch port 0: mpu_1_0_ethswitch-device-0                         
      mcu_2_1 <-> Switch port 1: mcu_2_1_ethswitch-device-1                         
      mpu_1_0 <-> MAC port 1: mpu_1_0_ethmac-device-1                               
      mcu_2_1 <-> MAC port 4: mcu_2_1_ethmac-device-4                               
    CpswProxyServer: initialization completed (core: mcu2_0)                        
    CpswMacPort_checkSgmiiStatus: MAC 2: SGMII link parter config port: link up: 10x
    Cpsw_handleLinkUp: Port 2: Link up: 10-Mbps Full-Duplex                         
    CpswMacPort_checkSgmiiStatus: MAC 7: SGMII link parter config port: link up: 1-x
    Cpsw_handleLinkUp: Port 7: Link up: 1-Gbps Full-Duplex                        
    

    The log is attached Slight smile

  • btw, i found the syntax, in 09_00_00_08, in the uboot env I found this:

    # Setting the right U-Boot environment variables
    dorprocboot=1
    name_overlays=ti/k3-j721e-evm-virt-mac-client.dtbo ti/k3-j721e-vision-apps.dtbo

  • Hi,

    name_overlays=ti/k3-j721e-evm-virt-mac-client.dtbo ti/k3-j721e-vision-apps.dtbo

    In 9.0, we need to mentioned the path for overlay as "ti/overlay-name" (dtb path will be "/boot/dtb/")

    In 9.1, the path of dtb itself includes ti. so just mention the overlay-name is sufficient (dtb path will be "/boot/dtb/ti")

    I think by default "dorprocboot=1" in both 9.0 & 9.1

    Best Regards,
    Sudheer

  • I installed this thing: ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06

    creating an sdcard using the bib/create_sdcard.sh installs a Linux that by default has no eth1, so no network.

    Here is the interesting thing, the uEnv.txt is just some comments, not variables are set inside. if I where to download the "boot-adas-j721e-evm.tar.gz" from the same version, from TI website. it contains this uEnv.txt:

    # This uEnv.txt file can contain additional environment settings that you
    # want to set in U-Boot at boot time.  This can be simple variables such
    # as the serverip or custom variables.  The format of this file is:
    #    variable=value
    # NOTE: This file will be evaluated after the bootcmd is run and the
    #       bootcmd must be set to load this file if it exists (this is the
    #       default on all newer U-Boot images.  This also means that some
    #       variables such as bootdelay cannot be changed by this file since
    #       it is not evaluated until the bootcmd is run.
    psdk_setup_file=.psdk_setup
    check_psdk_setup=load mmc 1:1 ${loadaddr} ${psdk_setup_file}
    
    # Reset to the default environment
    do_psdk_setup=env default -f -a; saveenv
    
    # If not done previously, then reset to the default environment and indicate this by writing a file
    # Also update the Linux hostname based on board_name
    uenvcmd=if run check_psdk_setup; then echo "Already setup."; else run do_psdk_setup; mw.b ${loadaddr} 0 1; fatwrite mmc 1:1 ${loadaddr} .psdk_setup 1; reset; fi; if test "$board_name" = "j721e-sk"; then ; setenv args_all $args_all systemd.hostname=tda4vm-sk ; fi; if test ${boot_fit} -eq 1; then  setenv name_overlays $name_overlays_fit; fi;
    
    # Setting the right U-Boot environment variables
    dorprocboot=1
    name_overlays=k3-j721e-evm-virt-mac-client.dtbo k3-j721e-vision-apps.dtbo
    
    # Name overlays when booting from fit image
    name_overlays_fit=ti/k3-j721e-evm-virt-mac-client.dtbo ti/k3-j721e-vision-apps.dtbo
    

    With this uEnv.txt file and with the symbolic link to the switch_server I get this log on cpsw uart:

    CPSW Ethernet Firmware
    =======================================================
    ETHFW: Warning: Using 6 MAC address(es) from static pool
    ETHFW: Shared multicasts:
    ETHFW: 01:00:5e:00:00:01
    ETHFW: 01:00:5e:00:00:fb
    ETHFW: 01:00:5e:00:00:fc
    ETHFW: 33:33:00:00:00:01
    ETHFW: 33:33:ff:1d:92:c2
    ETHFW: 01:80:c2:00:00:00
    ETHFW: 01:80:c2:00:00:03
    ETHFW: Reserved multicasts:
    ETHFW: 01:80:c2:00:00:0e
    ETHFW: 01:1b:19:00:00:00
    EnetMcm: CPSW_9G on MAIN NAVSS
    Mdio_open: MDIO manual mode enabled
    PHY 16 is alive
    PHY 17 is alive
    PHY 18 is alive
    PHY 19 is alive
    EnetPhy_bindDriver: PHY 16: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    ETHFW: VLAN 1024 member=0xd virtMember=0x7 regMcastFlood=0xd unregMcastFlood=0x0
    ETHFW: 1 VLAN entries added in ALE table

    ETHFW Version : 0.04.00
    ETHFW Build Date: Nov 20, 2023
    ETHFW Build Time: 15:14:41
    ETHFW Commit SHA: 60db4233

    unibase-1.1.4-jacinto
    Starting lwIP, local interface IP is dhcp-enabled
    ETHFW: Virtual port configuration:
    ETHFW: Host MAC address: 70:ff:76:1d:92:c4
    [LWIPIF_LWIP] Enet LLD netif initialized successfully
    [LWIPIF_LWIP_IC] Interface started successfully
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [LWIPIF_LWIP_IC] Interface started successfully
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    Added interface 'br3', IP is 0.0.0.0
    ETHFW: Enable gPTP on MAC port 3 (tilld3)
    ETHFW: TimeSync PTP enabled
    ETHFW: CpswProxyServer: initialization completed (core: mcu2_0)
    INF:cbase:cb_rawsock_open:dmaTxChId=-1 dmaRxChId=-1 nTxPkts=0 nRxPkts=0 pktSize0
    INF:gptp:gptpnet_init:Open lldtsync OK!
    INF:gptp:000002-000352:domainIndex=0, GM changed old=00:00:00:00:00:00:00:00, n4
    INF:gptp:set_phase_offsetGMCpswMacPort_checkSgmiiStatus: MAC 2: SGMII link partx
    Cpsw_handleLinkUp: Port 2: Link up: 1-Gbps Full-Duplex
    CpswMacPort_checkSgmiiStatus: MAC 7: SGMII link parter config port: link up: 1-x
    Cpsw_handleLinkUp: Port 7: Link up: 1-Gbps Full-Duplex
    ETHFW: Announce Endpoint Service to Linux
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
    Added interface 'br3', IP is 10.136.56.197

    Interesting right? and if I run ifconfig, i get this:

    root@j721e-evm:~# ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 812 bytes 60928 (59.5 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 812 bytes 60928 (59.5 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    Any ideea?

  • btw: flashing the boot and rootfs from the ti website ( the 2 things bellow the .bin installer ) makes the screen not show anything. I raised a ticket for it.

  • Hi,

    uEnv.txt you are using may not be correct, After flashing SD Card using the script.

    Update the uEnv.txt in boot with below, and update soft link for Main R5F0_0 with app remote switch server image as mentioned in FAQ pointed above. 
    name_overlays=k3-j721e-evm-virt-mac-client.dtbo 

    If you are facing any issue with above, please let us know.

    btw: flashing the boot and rootfs from the ti website ( the 2 things bellow the .bin installer ) makes the screen not show anything. I raised a ticket for it.

    As SDK Is working, recommended to check with SDK Instead of file system directly.


    Best Regards,
    Sudheer

  • As SDK Is working, recommended to check with SDK Instead of file system directly.

    i did not understand this statement. Explain please.

  • HI,

    As SDK Is working, recommended to check with SDK Instead of file system directly.

    i did not understand this statement. Explain please.

    Sorry for the confusion.

    I mean use SDK release from ti product page (Highlighted Text in below)  as it was working, instead of using boor & Linux File systems (circled below) from ti product page as shown in below.
      

    Best Regards,
    Sudheer

  • This is what I am using:

    using it since some time:

    default ifconfig output:

    "

    root@j721e-evm:~# ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 92 bytes 7648 (7.4 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 92 bytes 7648 (7.4 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    root@j721e-evm:~# uname -a
    Linux j721e-evm 6.1.46-g5892b80d6b #1 SMP PREEMPT Mon Nov 27 16:11:04 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
    root@j721e-evm:~#

    "

    Wayland client works, I have a desktop.

    After I do the changes you specify:

    First change: link switchserver to j7-main-r5f0_0-fw, then hit reboot ( does not reboot, I have to manualy switch it off).

    Output from ifconfig:

    root@j721e-evm:~# ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet6 fe80::72ff:76ff:fe1d:92c1 prefixlen 64 scopeid 0x20<link>
    ether 70:ff:76:1d:92:c1 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 20 bytes 3033 (2.9 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet6 fe80::72ff:76ff:fe1d:92c2 prefixlen 64 scopeid 0x20<link>
    ether 70:ff:76:1d:92:c2 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 20 bytes 3033 (2.9 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 92 bytes 7648 (7.4 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 92 bytes 7648 (7.4 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    "

    I still have waylan active, I have a linux desktop, but no net, reboot command still hangs

    Output on cpsw UART:

    "

     CPSW Ethernet Firmware
    =======================================================
    ETHFW: Warning: Using 6 MAC address(es) from static pool
    ETHFW: Shared multicasts:
    ETHFW: 01:00:5e:00:00:01
    ETHFW: 01:00:5e:00:00:fb
    ETHFW: 01:00:5e:00:00:fc
    ETHFW: 33:33:00:00:00:01
    ETHFW: 33:33:ff:1d:92:c2
    ETHFW: 01:80:c2:00:00:00
    ETHFW: 01:80:c2:00:00:03
    ETHFW: Reserved multicasts:
    ETHFW: 01:80:c2:00:00:0e
    ETHFW: 01:1b:19:00:00:00
    EnetMcm: CPSW_9G on MAIN NAVSS
    Mdio_open: MDIO manual mode enabled
    PHY 16 is alive
    PHY 17 is alive
    PHY 18 is alive
    PHY 19 is alive
    EnetPhy_bindDriver: PHY 16: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    ETHFW: VLAN 1024 member=0xd virtMember=0x7 regMcastFlood=0xd unregMcastFlood=0x0
    ETHFW: 1 VLAN entries added in ALE table

    ETHFW Version : 0.04.00
    ETHFW Build Date: Nov 20, 2023
    ETHFW Build Time: 15:14:41
    ETHFW Commit SHA: 60db4233

    unibase-1.1.4-jacinto
    Starting lwIP, local interface IP is dhcp-enabled
    ETHFW: Virtual port configuration:
    ETHFW: Host MAC address: 70:ff:76:1d:92:c4
    [LWIPIF_LWIP] Enet LLD netif initialized successfully
    [LWIPIF_LWIP_IC] Interface started successfully
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [LWIPIF_LWIP_IC] Interface started successfully
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    Added interface 'br3', IP is 0.0.0.0
    ETHFW: Enable gPTP on MAC port 3 (tilld3)
    ETHFW: TimeSync PTP enabled
    ETHFW: CpswProxyServer: initialization completed (core: mcu2_0)
    INF:cbase:cb_rawsock_open:dmaTxChId=-1 dmaRxChId=-1 nTxPkts=0 nRxPkts=0 pktSize0
    INF:gptp:gptpnet_init:Open lldtsync OK!
    INF:gptp:000002-000357:domainIndex=0, GM changed old=00:00:00:00:00:00:00:00, n4
    INF:gptp:set_phase_offsetGMCpswMacPort_checkSgmiiStatus: MAC 2: SGMII link part

    "

    uEnv.txt file from the SDK, not the filesystem

    "

    # This uEnv.txt file can contain additional environment settings that you
    # want to set in U-Boot at boot time. This can be simple variables such
    # as the serverip or custom variables. The format of this file is:
    # variable=value
    # NOTE: This file will be evaluated after the bootcmd is run and the
    # bootcmd must be set to load this file if it exists (this is the
    # default on all newer U-Boot images. This also means that some
    # variables such as bootdelay cannot be changed by this file since
    # it is not evaluated until the bootcmd is run.

    # Update the Linux hostname based on board_name
    uenvcmd=if test "$board_name" = "j721e-sk"; then ; setenv args_all $args_all systemd.hostname=tda4vm-sk ; fi

    "

    set dorprocboot to 1:

    output of ifconfig:

    "

    root@j721e-evm:~# ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 92 bytes 7648 (7.4 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 92 bytes 7648 (7.4 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    "

    Adding following lines to uEnv.txt:

    "

    # Setting the right U-Boot environment variables
    dorprocboot=1
    name_overlays=k3-j721e-evm-virt-mac-client.dtbo k3-j721e-vision-apps.dtbo

    # Name overlays when booting from fit image
    name_overlays_fit=ti/k3-j721e-evm-virt-mac-client.dtbo ti/k3-j721e-vision-apps.dtbo

    output of ifconfig:

    "

    nfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 34:08:e1:5b:64:7e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.184 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 fe80::72ff:76ff:fe1d:92c1 prefixlen 64 scopeid 0x20<link>
    ether 70:ff:76:1d:92:c1 txqueuelen 1000 (Ethernet)
    RX packets 4 bytes 814 (814.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 32 bytes 4882 (4.7 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet6 fe80::72ff:76ff:fe1d:92c2 prefixlen 64 scopeid 0x20<link>
    ether 70:ff:76:1d:92:c2 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 21 bytes 3366 (3.2 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 92 bytes 7648 (7.4 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 92 bytes 7648 (7.4 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    "

    I have no screen now, waylan is not working.

    Any ideea?

    "

  • Hi,

    name_overlays_fit=ti/k3-j721e-evm-virt-mac-client.dtbo ti/k3-j721e-vision-apps.dtbo

    You have to add vision-app dtbo only when you are using vision applications.

    By default the Firmware binaries mapped to R5F cores are vision binaries.
    Also, when you are using vision dtbo, please use vision app binary for MCU2_0 as well. It will have vision applications along with EthFw integrated.

    In case of vision apps you will not get EthFw output log on UART, you need to run vision init script.

    You will get the eth1, eth2 in either of following ways.
    1. Adding Virtual MAC overlay and softlink Ethfw binary to MCU2_0 as pointed in FAQ.
    2. Adding Virtual MAC overlay and Vision overlay, in this case no need to change the default the softlink from SDK, but need to run vision init script.

    Best Regards,
    Sudheer

  • what script? what vision apps? i just wan to have the network up and running and a screen. 

    Please write me a set of exact commands for me to run. I mean exact, vision script means nothing to me.

  • the only scripts I found:

    installed the contents of the sdk on sdcard, via the create_sd script, set dorprocboot 1, boot, and did this:

    oot@j721e-evm:/opt/vision_apps# ./run_app_viss.sh
    !Starting VISS APP Stress Test!
    The number of args is 3
    The arguments are 0 and 5
    APP: Init ... !!!
    APP_LOG: ERROR: Unable to map memory @ 0xac000000 of size 262144[ 41.426257] d
    bytes !!!
    APP: ERROR: Log writer init failed !!!
    APP_LOG: ERR[ 41.426266] audit: type=1701 audit(1651167783.364:15): auid=42941
    OR: Unable to map memory @ 0xb0000000 of size 3288576 bytes !!!
    APP: ERROR: File IO writer init failed !!!
    APP: Init ... Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    [ 41.476825] audit: type=1334 audit(1651167783.416:16): prog-id=13 op=LOAD
    [ 41.484296] audit: type=1334 audit(1651167783.416:17): prog-id=14 op=LOAD
    ./run_app_viss.sh: line 2: 801 Segmentation fault (core dumped) /opt/vis5
    !10 Second Cooldown!
    [ 42.383749] audit: type=1334 audit(1651167784.324:18): prog-id=14 op=UNLOAD
    [ 42.390727] audit: type=1334 audit(1651167784.324:19): prog-id=13 op=UNLOAD
    The number of args is 3
    [ 52.341817] audit: type=1701 audit(1651167794.280:20): auid=4294967295 uid=01
    The arguments are 50 and 5
    APP: Init ... !!!
    APP_LOG: ERROR: U[ 52.360820] audit: type=1334 audit(1651167794.296:21): progD
    nable to map memory @ 0xac000000 of size 262144 bytes !!!
    APP: [ 52.372229] audit: type=1334 audit(1651167794.300:22): prog-id=16 op=LOD
    ERROR: Log writer init failed !!!
    APP_LOG: ERROR: Unable to map memory @ 0xb0000000 of size 3288576 bytes !!!
    APP: ERROR: File IO writer init failed !!!
    APP: Init ... Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    ./run_app_viss.sh: line 5: 808 Segmentation fault (core dumped) /opt/vi 5
    !10 Second Cooldown!
    [ 52.955739] audit: type=1334 audit(1651167794.896:23): prog-id=16 op=UNLOAD
    [ 52.962713] audit: type=1334 audit(1651167794.896:24): prog-id=15 op=UNLOAD
    ^Croot@j721e-evm:/opt/vision_apps# ./vision_apps_init.sh
    root@j721e-evm:/opt/vision_apps# APP_LOG: ERROR: Unable to map memory @ 0xac000!
    APP_LOG: ERROR: Unable to map memory @ 0xb0000000 of size 3288576 bytes !!!

  • btw, loading the sdk image only with the dtbo files for vision gives me this:

    U-Boot SPL 2023.04-g71b8c840ca (Nov 27 2023 - 08:55:35 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...

    NOTICE: BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty
    NOTICE: BL31: Built : 09:34:15, Aug 24 2023
    I/TC:
    I/TC: OP-TEE version: 4.0.0 (gcc version 11.4.0 (GCC)) #1 Fri Oct 20 18:29:31 UTC 2023 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot

    U-Boot SPL 2023.04-g71b8c840ca (Nov 27 2023 - 08:55:35 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted


    U-Boot 2023.04-g71b8c840ca (Nov 27 2023 - 08:55:35 +0000)

    SoC: J721E SR1.1 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    DRAM: 4 GiB
    Core: 126 devices, 35 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC: mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In: serial@2800000
    Out: serial@2800000
    Err: serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net: eth0: ethernet@46000000port@1
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    879 bytes read in 20 ms (42 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    gpio: pin gpio@22_17 (gpio 281) value is 1
    gpio: pin gpio@22_16 (gpio 280) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw'
    1306272 bytes read in 50 ms (24.9 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 1306272 bytes: Success!
    326836 bytes read in 30 ms (10.4 MiB/s)
    Load Remote Processor 3 with data@addr=0x82000000 326836 bytes: Success!
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
    994096 bytes read in 43 ms (22 MiB/s)
    Load Remote Processor 6 with data@addr=0x82000000 994096 bytes: Success!
    994096 bytes read in 43 ms (22 MiB/s)
    Load Remote Processor 7 with data@addr=0x82000000 994096 bytes: Success!
    13365392 bytes read in 299 ms (42.6 MiB/s)
    Load Remote Processor 8 with data@addr=0x82000000 13365392 bytes: Success!
    20367872 bytes read in 441 ms (44 MiB/s)
    114792 bytes read in 25 ms (4.4 MiB/s)
    Working FDT set to 88000000
    11541 bytes read in 22 ms (511.7 KiB/s)
    failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    switch to partitions #0, OK
    mmc0(part 0) is current device
    ** No partition table - mmc 0 **
    Couldn't find partition mmc 0:1
    switch to partitions #0, OK
    mmc1 is current device
    Scanning mmc 1:1...
    No EFI system partition
    No EFI system partition
    Failed to persist EFI variables
    BootOrder not defined
    EFI boot manager: Cannot load any image
    starting USB...
    Bus usb@6400000: cdns-usb3-host usb@6400000: Unable to get USB2 phy (ret -61)
    cdns-usb3-host usb@6400000: Unable to get USB3 phy (ret -61)
    cdns-usb3-host usb@6400000: DRD version v1 (ID: 0004024e, rev: 00000200)
    Register 2000840 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus usb@6400000 for devices... 3 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found

    Device 0: unknown device
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-34-08-e1-5b-64-7e
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/00000000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/0000000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/000000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/00000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/0000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/00
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/0
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/default-arm-k3-j721e
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/default-arm-k3
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/default-arm
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/default
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    Config file not found
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error

  • Hi,

    I have downloaded the SDK as shown below, and flashed SD card using create-sdcard.sh script from bin/ directory in SDK.


    As informed earlier default boot partition in SDK is not having any overlay in uEnv.txt.

    I have updated uEnv.txt with below and boot the EVM.
    name_overlays=k3-j721e-evm-virt-mac-client.dtbo k3-j721e-vision-apps.dtbo

    I was able to observe the eth1, eth2 interfaces when ifconfig is run.

    2. Adding Virtual MAC overlay and Vision overlay, in this case no need to change the default the softlink from SDK, but need to run vision init script.
    what script? what vision apps? i just wan to have the network up and running and a screen. 

    For observing the ErhFw logs, I ran below command 
    # sh /opt/vision_apps/vision_apps_init.sh

    Observing the Ethfw logs in A72 terminal.

    I have connected DHCP Network to Port-7 in EVM and got IP for eth1, and able to ping eth1 over network.

    Other options is as shown mentioned in FAQ.


    Best Regards,
    Sudheer

  • I can confirm, it works. So I do not need to set dorprocboot to 1..

    Now, the issue with the screen, if I add these:

    name_overlays=k3-j721e-evm-virt-mac-client.dtbo k3-j721e-vision-apps.dtbo

    I have no screen, but network.

    If I add the "k3-j721e-edgeai-apps.dtbo" instead of "k3-j721e-vision-apps.dtbo", initial I do not have network, but after 5 minutes the eth1,2 sudently appear.

    and I have screen.

    So I am going to use this workarround with edgeai-apps.dtbo, because I need network and screen.

  • Hi,

    I can confirm, it works. So I do not need to set dorprocboot to 1..

    Yes, By default dorprocboot is 1 from SDK 9.0 on wards.

    Now, the issue with the screen, if I add these:

    name_overlays=k3-j721e-evm-virt-mac-client.dtbo k3-j721e-vision-apps.dtbo

    I have no screen, but network.

    Yes, When you add vision-apps overlay it will be disabling the edp Port and display drivers from Linux.
    Vision apps MCU2_0 firmware configuring the edp and running display drivers (default MCU2_0 FW binary mapped to main_r5f0_0 from SDK install).
    In order to get the screen, you need to run any of vision apps demos.
    Please refer to Vision Apps User Guide for more details.

    If I add the "k3-j721e-edgeai-apps.dtbo" instead of "k3-j721e-vision-apps.dtbo", initial I do not have network, but after 5 minutes the eth1,2 sudently appear.

    and I have scree

    If you are using any of edgeai-apps then only you need to include edgeai overlay if not it is not required.

    So I am going to use this workarround with edgeai-apps.dtbo, because I need network and screen.

    You can just have virtual-mac overlay also fine.

    Best Regards,
    Sudheer

  • "In order to get the screen, you need to run any of vision apps demos."

    ran 2 of them, no screen...

  • Hi,

    "In order to get the screen, you need to run any of vision apps demos."

    ran 2 of them, no screen...

    You might need to run the demos related to display like camera applications.

    Can you raise a new thread related to display with vision apps overlay &  Linux SDK boot as is.

    Best Regards,
    Sudheer

  • I did, please close this thread.