Software Configuration and Operation
2018 Microchip Technology Inc.
DS50002789A-page 25
To clear the MIB counters for all ports at once:
# echo 0 > /sys/class/net/eth0/sw/mib
// clear MIB counters for all ports
4.7
BOOTLOADER SETTINGS
Several variables, including device addresses, can be set in the U-Boot bootloader. To
access the boot loader settings, either reboot the processor with the “reboot” command
or press the reset button (SW1) on the board. Then, quickly press any keyboard key
early in the boot process at the message, “Hit any key to stop autoboot,” as shown in
FIGURE 4-5:
U-BOOT ENTRY POINT
Type “print” to see a listing of environment variable settings. Below are examples of
how to set some variables. To make the changes permanent, use the “saveenv” com-
mand after making the changes.
// optional, show the environment variable settings
=> setenv ethaddr 00:10:A1:94:77:01
// sets the MAC address
=> setenv ipaddr 192.168.0.201
// sets the IP address
=> saveenv
// saves settings to NV memory
=> boot
4.8
AUTOMATICALLY RUNNING PROCESS
Depending on the software revision and the attached Ethernet daughter board, some
processes such as AVB or RSTP may be set to run automatically when the system is
powered up. To check if they are running, read the appropriate files in the folder
/sys/class/net/eth0/sw
# cat /sys/class/net/eth0/sw/avb
# cat /sys/class/net/eth0/sw/stp
They can be disabled at the bootloader:
=> setenv avb 0
// disable AVB
=> setenv multi_dev 3
// bug workaround to enable STP control
=>
setenv stp 0
// disable RSTP
=> saveenv
// saves settings to NV memory
Содержание SAMA5D3 XPLAINED
Страница 1: ... 2018 Microchip Technology Inc DS50002789A SAMA5D3 Ethernet Development System User s Guide ...
Страница 10: ...SAMA5D3 Ethernet Development System User s Guide DS50002789A page 10 2018 Microchip Technology Inc NOTES ...
Страница 34: ...SAMA5D3 Ethernet Development System User s Guide DS50002789A page 34 2018 Microchip Technology Inc NOTES ...
Страница 42: ...SAMA5D3 Ethernet Development System User s Guide DS50002789A page 42 2018 Microchip Technology Inc NOTES ...
Страница 47: ... 2018 Microchip Technology Inc DS50002789A page 47 NOTES ...