This could be run on Host computer or on orin directly.
git submodule update --init
cd UMSD_v7.0.0
source setenv
make
git submodule update --init
export CC=aarch64-linux-gnu-gcc
export CXX=aarch64-linux-gnu-g++
export LD=aarch64-linux-gnu-ld
export HOST=aarch64-linux-gnu
cd UMSD_v7.0.0
source setenv
make
UMSD_MCLI application be created in UMSD_v7.0.0/host/linux
basically we are using FW_RMU mode, the parameters that would need modifications are
- nic_name should always be modified before run command with the right interface
- dev_num from 0 to 31, could be scanned automatically
- ether_type packet ether proto, 0x9100 or 0x9101
- modify umsd.cfg nic_name with the correct interface name
- run
sudo ./USMD_CLI -f umsd.cfg - telnet 0 8888
- use
?to see more command help information and show commands
for example, see Port Slave/Master mode:
UMSD_MCLI> getPhyMode 0 1 2 3 4 5 6 7 8 9
or show vlan configuration:
UMSD_MCLI> vlan dump
- use umsd.cfg file like above
- run
sudo ./USMD_CLI -f umsd.cfg - vlan dumpwith command appended after dash, use like what we use for telnet mode