Genio 1200-demo


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 Ethernet chapter.

Note

Cmd operations and test results presented in this chapter are based on the AIoT Yocto v22.1 and MT8395 P1V6 (Genio 1200) demo board.


Important

i1200 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.

Ethernet Port on Genio 1200-Demo

The ethernet interface support gigabit speed on Genio 1200-Demo:

../../../../_images/sw_yocto_app-dev_eth_port_i1200-demo.png

Ethernet Port on Genio 1200-Demo

Enable Ethernet Port on Genio 1200-Demo

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.

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.

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