4 using the network, 1 interface selection, 1 ethprime – Kontron COMe-bP5020 User Manual
Page 58: Using the network, Interface selection, Ethprime

www.kontron.com
58
User Guide
COMe-bP5020
6.5.4 Using the Network
6.5.4.1 Interface Selection
U-Boot provides support for multiple Ethernet interfaces for transferring files from a file server. This is accomplished using the
environment variables: “ethprime”, “ethact” and “ethrotate”.
The following table indicates the assignment of the Ethernet interfaces to the COM Express® SerDes signals depending on the
active “sconf” base configuration.
Table 49: Ethernet Inter face Assignment Depending on the Base Conf iguration
6.5.4.1.1 ethprime
“ethprime” is used to select the required interface after power-up or reset. During boot-up, the U-Boot checks if “ethprime” is
set. If set, “ethprime” is used as the first active Ethernet interface (“ethact”). Please note that the setting of the “ethprime”
is lost after a reset. To retain the environment permanently, use the command “saveenv”, which saves the complete environ-
ment to flash.
Example:
BASE CONFIGURATION
ETHERNET INTERFACE
COM EXPRESS® SIGNALS
1, 4, 5
FM1@DTSEC1
SERDES_TX/RX10+/-
FM1@DTSEC2
SERDES_TX/RX11+/-
FM1@DTSEC3
SERDES_TX/RX12+/-
FM1@DTSEC4
SERDES_TX/RX13+/-
2
FM1@DTSEC1
SERDES_TX/RX10+/-
FM1@DTSEC2
SERDES_TX/RX11+/-
FM1@DTSEC3
SERDES_TX/RX12+/-
FM1@DTSEC4
SERDES_TX/RX13+/-
FM1@TGEC1
SERDES_TX/RX[14..17]+/-
3
FM1@TGEC1
SERDES_TX/RX[10..13]+/-
=> setenv ethprime FM1@DTSEC3
=> saveenv
Saving environment to SPI Flash...
2 MiB
SF: Detected AT25DF161 with page size 256 Bytes, total 2 MiB
Erasing SPI flash...Writing to SPI flash...done
=> reset
...
=> printenv ethact
ethact=FM1@DTSEC3
=>