1 Overview
This chapter describes how to add and configure the built-in and external Ethernet chips of A311D. The built-in Ethernet supports a maximum of 100M, and the external Ethernet chip supports a maximum of 1G.
2. A311D ETHERNET Driver Guide
2.1 Uboot network card configuration
Configuration of bootloader
We can switch between internal and external phy in bootloader by define/undef specially macro.
E.G.
We want to set u200 as internal phy we can modify “” as
/* Choose One of Ethernet Type */
#undef CONFIG_ETHERNET_NONE
#define ETHERNET_INTERNAL_PHY
#undef ETHERNET_EXTERNAL_PHY
Then remake the dtb file
2.2 Kernel part
2.2.1 Built-in network card configuration
internal phy configuration:
ðmac {
status = "okay";