Wind River Support Network

HomeDefectsLIN6-4527
Not to be fixed

LIN6-4527 : XLP316, load nae driver as kernel module, network don't work

Created: Apr 27, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN4-7216
Found In Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP
Architecture: MIPS

Description

Customer use WRlinux4.3 RCPL 14 on XLP316 B0 board. They compile the NAE driver as kernel module.  They connect the board NAE port(SGMII mode) with another host directly.
Before they boot the kernel, they send network data from the host to the board.
After the system boot, insmod the nae driver, configure IP address.
Ping the host, no response.
On the host, ping the board, no response.

The customer create the platform project with the following options:
/home/windriver/WindRiver/wrlinux-4/wrlinux/../ldat/configure --enable-board=nlm_xlp_64_be --enable-kernel=standard --enable-rootfs=glibc_std --enable-jobs=4 --with-template=cpu/mips64_xlp --with-product-dir=/home/windriver/WindRiver/wrlinux-4/wrlinux

Workaround

Edit the m_hal_open_if to change the register's value MAC_CONF1 as the following line:

write_gmac_reg(node, block, MAC_CONF1, mac_cfg1 & ~(INF_SOFTRESET(1)) & ~(0x5));

Steps to Reproduce

1. Compile the NAE driver as module, use ramdisk as rootfs type, connect the board NAE port to another host

2. Before boot the kernel,  send network package to the board NAE port continually

3. boot the kernel, insmod nae.ko and configure ip address

4. ping the host, no response.
    ping the board, no response
Live chat
Online