.. include:: /keyword.rst .. _ethernet-700-evk: =============== |G510-G700-EVK| =============== .. contents:: General :local: :depth: 1 -------------------------------- This chapter describes platform-dependent information and instructions. For example, you will get different benchmark results on different platforms. For general usage of Ethernet, such as command to configure DHCP or static IP and so on, please refer to :doc:`Ethernet ` chapter. .. important:: All the bash commands shown here are based on |G700-EVK|. For |G510-EVK|, users can follow the same step to do the whole setup and experiment with changing the naming term from `700` to `510`. .. note:: The test results presented in this chapter are based on the `IoT Yocto v23.0` and |G700-EVK-REF-BOARD|. -------------------------------- .. important:: **Genio 510/700-EVKs are not shipped with pre-allocated MAC addresses.** Instead, a random MAC address is generated and stored after flashing the image. Please do not use it for production purposes. .. contents:: Sections :local: :depth: 2 Ethernet Port on Genio 510/700-EVK ================================== The Ethernet interface support gigabit speed on Genio 510/700-EVK: .. figure:: /_asset/sw_yocto_app-dev_eth_port_g700-evk.png :width: 80% :align: center Ethernet Port on Genio 510/700-EVK Enable Ethernet Port on Genio 510/700-EVK ========================================= Ethernet is enabled by default. You can check kernel configurations with the following command: ``zcat /proc/config.gz | grep DWMAC``. You will find the following settings are enabled. .. prompt:: bash # auto # zcat /proc/config.gz | grep DWMAC CONFIG_DWMAC_GENERIC=y CONFIG_DWMAC_MEDIATEK=y You can also check kernel log with the following command: ``dmesg | grep dwmac`` to confirm it has been probed properly. .. prompt:: bash # auto # dmesg | grep dwmac dwmac-mediatek 11021000.ethernet: IRQ eth_wake_irq not found dwmac-mediatek 11021000.ethernet: IRQ eth_lpi not found dwmac-mediatek 11021000.ethernet: Cannot get CSR clock dwmac-mediatek 11021000.ethernet: User ID: 0x11, Synopsys ID: 0x51 dwmac-mediatek 11021000.ethernet: DWMAC4/5 dwmac-mediatek 11021000.ethernet: DMA HW capability register supported dwmac-mediatek 11021000.ethernet: RX Checksum Offload Engine supported dwmac-mediatek 11021000.ethernet: TX Checksum insertion supported dwmac-mediatek 11021000.ethernet: TSO supported dwmac-mediatek 11021000.ethernet: Enabled L3L4 Flow TC (entries=4) dwmac-mediatek 11021000.ethernet: Enabled RFS Flow TC (entries=8) dwmac-mediatek 11021000.ethernet: SPH feature enabled dwmac-mediatek 11021000.ethernet: Using 35 bits DMA width dwmac-mediatek 11021000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL) dwmac-mediatek 11021000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 dwmac-mediatek 11021000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-1 dwmac-mediatek 11021000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-2 dwmac-mediatek 11021000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-3 dwmac4: Master AXI performs any burst length dwmac-mediatek 11021000.ethernet eth0: Enabling Safety Features dwmac-mediatek 11021000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported dwmac-mediatek 11021000.ethernet eth0: registered PTP clock dwmac-mediatek 11021000.ethernet eth0: FPE workqueue start dwmac-mediatek 11021000.ethernet eth0: configuring for phy/rgmii-rxid link mode