arjun.a
range data
5aefcf4
raw
history blame
No virus
11.2 kB
Ticket Name: Linux/TDA2: TDA2xx_rvp: Can't set a static ipv4 address
Query Text:
Part Number: TDA2 Tool/software: Linux Hello, We wanted to use the network_tx tool and therefore we tried to set a static IPv4 address for the Board. We followed the instructions in the "VisionSDK_UserGuide_NetworkTools" userguide, but still the board only has a local link IPv6 address (fe80::...). In the file .../vision_sdk/links_fw/src/rtos/bios_app_common/tda2xx/cfg/NDK_config.cfg we set var enableStaticIP = 1 and modified if (enableStaticIP) { /* Settings for static IP configuration */ Ip.address = "192.168.1.200"; Ip.mask = "255.255.255.0"; Ip.gatewayIpAddr = "192.168.1.1"; Ip.ifIdx = 1; } After the board has booted we logged in as root and started the script vision_sdk_demo.sh. Then we used the given function to show the ip address but no ip was shown. With the command "ip addr show" we found out the board had still an IPv6 address. We are using the VisionSDK version 03.02.00 on linux in a virtual machine on windows and use teraterm (on the windows host os) for the communication with the board. Kind Regards and thanks P.s. We are completely new to work with EVM from TI and vision_sdk etc. We use it for a study project.
Responses:
Hi, can you check this thread and see if you can find something helpful: e2e.ti.com/.../647947 Regards, Yordan
Hello Yordan, thank you for the quick answer. We will look into that and give an update whether it solved the problem. Regards
Hello, we read the linked thread but we still have the same issue. We set "NDK_PROC_TO_USE=ipu1_0" and also tried "a15_0" in cfg.mk in the folder vision_sdk/apps/configs/tda2xx_rvp_linux_all and changed "ip=none" to "ip=169.254.189.200" in uenv.txt. This address is in the same subnet than the connected PC. Here's an image of the output of "ip addr show" Edit: When we start the script "vision_sdk_demo.sh" and press "i" it outputs "Network IP: none" And another question: Do you know what the "dra7xx-evm" means?
Hello, Did you try setting NDK_PROC_TO_USE=ipu2_0? We recommend running network on IPU2 when running VSDK linux. Kindly share output of "make -s -j showconfig". Also do you see RJ45 LED blinking when you connect LAN cable to board? Somehow I think either the the new binaries with change are not reflected in your run. Once NDK is enabled, you should see Network IP to valid or 0.0.0.0 but never 'none'. dra7xx-evm means TDA2xx EVM.
Hello, we also tried NDK_PROC_TO_USE=ipu2 ("ipu2_0" seems not to be a valid option) but this changed nothing. The output of "make -s -j showconfig" is: build_makeconfig.mk:35: target 'UC_iss_multi_cam_isp_sgx_3d_srv_display' given more than once in the same rule # # Build Config is [ tda2xx_rvp_linux_all ] # Build Config file is @ /home/driverless/Desktop/tmp/vision_sdk/configs/tda2xx_rvp_linux_all/cfg.mk # Build Config .h file is @ /home/driverless/Desktop/tmp/vision_sdk/links_fw/include/config/apps/tda2xx_rvp_linux_all/system_cfg.h # Build CPUs is @ ipu2 a15_0 dsp1 dsp2 eve1 eve2 eve3 eve4 # # CPUs included in application, # PROC_IPU1_0_INCLUDE=no # PROC_IPU1_1_INCLUDE=no # PROC_IPU2_INCLUDE=yes # PROC_DSP1_INCLUDE=yes # PROC_DSP2_INCLUDE=yes # PROC_EVE1_INCLUDE=yes # PROC_EVE2_INCLUDE=yes # PROC_EVE3_INCLUDE=yes # PROC_EVE4_INCLUDE=yes # PROC_A15_0_INCLUDE=yes # # Platform config, # VSDK_BOARD_TYPE=TDA2XX_RVP [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP] # PLATFORM=tda2xx-rvp # DUAL_A15_SMP_BIOS=no # DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M] # NDK_PROC_TO_USE=ipu2 [options: a15_0 ipu1_0 ipu1_1 ipu2 none] # NSP_TFDTP_INCLUDE=no [options: yes no] # TDA2EX_ETHSRV_BOARD=no [options: yes no] # FATFS_PROC_TO_USE=none [options: ipu1_0 none] # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none] # # Build config, # BUILD_OS=Linux [options: Windows_NT Linux] # BUILD_DEPENDENCY_ALWAYS=no # BUILD_ALGORITHMS=no # BUILD_INFOADAS=no # PROFILE=release [options: debug release] # KW_BUILD=no # CPLUSPLUS_BUILD=no # IPU_PRIMARY_CORE=ipu2 [options: ipu1_0 ipu2] # IPU_SECONDARY_CORE=ipu1_0 [options: ipu1_0 ipu2] # A15_TARGET_OS=Linux [options: Bios Linux Qnx] # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe] # # Safety Module config, # RTI_INCLUDE=no # ECC_FFI_INCLUDE=no # DCC_ESM_INCLUDE=no # # Video Module config, # IVAHD_INCLUDE=yes # VPE_INCLUDE=yes # CAL_INCLUDE=no # ISS_INCLUDE=no # ISS_ENABLE_DEBUG_TAPS=no # WDR_LDC_INCLUDE=no # DSS_INCLUDE=yes # # Open Compute config, # OPENCL_INCLUDE=no # TARGET_ROOTDIR=/home/driverless/Desktop/tmp/vision_sdk/../ti_components/os_tools/linux/targetfs # ENABLE_OPENCV=no # ENABLE_OPENCV_TESTS=no # OPENVX_INCLUDE=yes # # Log config, # ENABLE_UART_LOG=yes # ENABLE_NETWORK_LOG=yes # ENABLE_CCS_LOG=no # CIO_REDIRECT=yes # # IPC config, # WORKQ_INCLUDE=no # IPC_LIB_INCLUDE=no # # Surround View config, # SRV_FAST_BOOT_INCLUDE=no # # Other Module config, # AVB_INCLUDE=no # DCAN_INCLUDE=no # RADAR_INCLUDE=no # CPU_IDLE_ENABLED=yes # FAST_BOOT_INCLUDE=no # DATA_VIS_INCLUDE=no # HS_DEVICE=no # ULTRASONIC_INCLUDE=no # # Linux config, # DEFAULT_UBOOT_CONFIG=d3_tda2x_defconfig # DEFAULT_KERNEL_CONFIG=d3_tda2x_defconfig # DEFAULT_DTB=d3_tda2x_fpd8ch.dtb # CMEM_INCLUDE=yes # IPUMM_INCLUDE=no # IPU1_EVELOADER_INCLUDE=yes # ROBUST_RVC_INCLUDE=no # BUILD_ADAM_CAR=no # # Alg plugins included in build, # ALG_autocalibration ALG_dmaSwMs ALG_framecopy ALG_sparseopticalflow ALG_structurefrommotion ALG_surroundview # # Use-cases included in build, # UC_srv_calibration UC_networkrxdisplay UC_lvds_vip_multi_cam_3d_perception UC_lvds_vip_multi_cam_3d_srv UC_lvds_vip_multi_cam_2mp_3d_srv UC_lvds_vip_multi_cam_3d_adaptive_srv UC_lvds_vip_multi_cam_view_sgx_display UC_lvds_vip_multi_cam_vpe_enc_null UC_null_src_decode_display UC_ov490_vip_multi_cam_3d_srv UC_vip_single_cam_connectorLinksA15_sgx_display UC_vip_single_cam_enc_dec_sgx_display UC_vip_single_cam_framecopy_sgx_display UC_vip_single_cam_framecopyEve_sgx_display UC_vip_single_cam_sgx_display UC_lvds_vip_multi_cam_8ch_sgx_display UC_lvds_vip_single_cam_view_sgx_display UC_lvds_vip_multi_cam_gst_display # build_makeconfig.mk:35: target 'UC_iss_multi_cam_isp_sgx_3d_srv_display' given more than once in the same rule # # CPUs that are NOT required but included in config [ tda2xx_rvp_linux_all ], # # # CPUs that are required but not included in config [ tda2xx_rvp_linux_all ], # # ERROR: IPU1_0 MUST be included in application # # Edit /home/driverless/Desktop/tmp/vision_sdk/build/configs/tda2xx_rvp_linux_all/cfg.mk to include or exclude CPUs in an application # We don't know whether the LED is blinking because of the casing, but the board is only booting completely, when we connect the LAN cable to a PC. Is there a difference between RVP and EVM 'cause it says "RVP" on the casing? And do we have to set IPU_PRIMARY_CORE to ipu1_0 to include the ipu1_0 and ipu1_1 because of the error "ERROR: IPU1_0 MUST be included in application"?
Hello, Thanks for detailed information. ipu2 is valid option for NDK. There are major difference between RVP and EVM. Do you have TDA2xx EVM with you? Would it be possible to try on that? Basically change config to tda2xx_evm_linux_all and keep NDK on ipu2. Meanwhile I am checking the any limitation for RVP network with our internal experts. I will let you know. Thanks.
Hello, Confirmed from expert. Adding his reply here. "Using the bios ethernet stack on TDA2x Linux has not been tested on TDA2x RVP. Only the Linux ethernet stack has been tested"
Hello, thanks for the quick answers. Unfortunately we don't have an TDA2xx EVM. And what do we have to change now, to not use bios ethernet stack but linux ethernet stack? Do we need NDK for that? And can we set a static Ipv4 address with that? I think I didn't get what that all means and how this works. Regards
Hello, You have to use disable NDK (set to none) and use Linux ethernet stack. Mostly it would be enabled by default but you can confirm by checking ti_components/os_tools/linux/kernel/omap/arch/arm/boot/dts/dra7-evm.dts to have MAC as below and not "disabled". Also rebuild the uboot and kernel after this. &mac { status = "okay";
Hello, we also did a build with NDK_PROC_TO_USE set to "none". In the file dra7-evm.dts it says: &mac { status = "okay"; dual_emac; }; But we still got no ipv4-address and even after setting an ipv4 address with ifconfig command it says "Network IP address: none" after pressing "i" for the ip information.
Hello User, I have asked our experts to check and reply to your query. Please allow us to take some time to look into issue.
Hello, Where did you get your software from? Are you using Vision SDK 3.02.87 downloaded from the D3 Engineering website? When using the Linux ethernet driver pressing 'i' will not print the IP address because that IP Address comes from the BIOS NDK. To see your IP address type ifconfig in the Linux console. If you are using D3's release of Vision SDK then ethernet should be enabled automatically. Cheers, Ben
Hello Ben, yes we are using D3's release of Vision SDK but I don't know the version number, where can I see it? I think ethernet is enabled, that is not the problem but we can't set a static IPv4-address. Do you have any suggestions how we can achieve that? Kind Regards
Dear all, I am Rajat Barmon working at TI,Munch.I am also having the same problem with ethernet conncetion problem.Could you help me.I am new with work on it.It would be helpful for me if your write step by step.I followed the manual for the RVP-TDA2x network tool.But it is not working.Could you help me??? Thank You. Best Regards, Rajat Barmon
Rajat, With the current release, only the Linux Ethernet stack is available on TDA2x RVP. This means that the TI supplied tx and rx links will not work since they rely on BIOS based ethernet stacks running on the ipu cores. The Gstreamer usecase (option 'f') is the current method of sending compressed video from the TDA2x RVP to a PC. Best Regards, Ben
Hi, I also have seen the same display. 1.I changed in NDK_config.cfg file as follow: if (enableStaticIP) { /* Settings for static IP configuration */ Ip.address = "169.254.189.200"; Ip.mask = "255.255.255.0"; Ip.gatewayIpAddr = "169.254.189.1"; Ip.ifIdx = 1; } 2.I changed Ip=none to Ip=169.254.189.200 in uenv.txt file in Vision SDK boot file. 3.what should i any change in Vision SDK and PC side ?? Please help me. Thank You. Best Regards, Rajat Barmon
Rajat, TDA2x RVP is running Linux on A15 and using Linux Ethernet Stack. The NDK is not used in this case since it is meant for system running TI-RTOS. The change you made in NDK_config.cfg has no effect on TDA2x RVP. To use the network support on TDA2 RVP, you shouldn't change any by default. By default, Linux has the DHCP running so the RVP will get an IP assigned once Linux is booting and running. Have RVP plugging into a network with DHCP server or your own router. Once you get to Linux prompt, just do "ifconfig" to get the IP address of RVP. As Ben mentioned, you have to use Linux tool for streaming. "The Gstreamer usecase (option 'f') is the current method of sending compressed video from the TDA2x RVP to a PC." Regards, Stanley