Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litesom:devicetree:eth [2017/05/16 18:15]
filug [Device Tree configuration]
litesom:devicetree:eth [2017/05/16 18:56]
filug [Network configuration]
Line 3: Line 3:
 ''i.MX6UL'' contains Dual-Megabit Ethernet Controller. Below you can see how this peripheral is configured for [[litesom:liteboard|the liteboard]]. ''i.MX6UL'' contains Dual-Megabit Ethernet Controller. Below you can see how this peripheral is configured for [[litesom:liteboard|the liteboard]].
  
-===== LAN8720A - PHY device =====+===== PHY device =====
  
 <columns 100% 50% - -> <columns 100% 50% - ->
Line 102: Line 102:
  
 ===== Network configuration ===== ===== Network configuration =====
 +
 +Default [[litesom:buildroot|Buildroot]] configuration for [[litesom:liteboard|the liteboard]] is using <tooltip title="Dynamic Host Configuration Protocol">DHCP</tooltip> to configure internet connection.
 +This behavior can be changed via ''BR2_SYSTEM_DHCP'' configuration item.
 +
 +<button collapse="BR2_SYSTEM_DHCP">Show info about BR2_SYSTEM_DHCP</button> 
 +<collapse id="BR2_SYSTEM_DHCP" collapsed="true">
 +<well>
 +**Location**
 +
 +<code>
 +-> System configuration
 +  -> Network interface to configure through DHCP
 +</code>
 +
 +**Help**
 +
 +<code>
 +Enter here the name of the network interface (E.G. eth0) to
 +automatically configure through DHCP at bootup.
 +
 +If left empty, no automatic DHCP requests will take place.
 +
 +For more complicated network setups use an overlay to overwrite
 +/etc/network/interfaces or add a networkd configuration file.
 +</code>
 +</well>
 +</collapse>
  
 Current network status you can verify by ''ifconfig eth0'' command Current network status you can verify by ''ifconfig eth0'' command
  
 <code> <code>
 +# ifconfig eth0
 eth0      Link encap:Ethernet  HWaddr 9E:EE:5F:94:B8:D3   eth0      Link encap:Ethernet  HWaddr 9E:EE:5F:94:B8:D3  
           inet addr:10.42.0.133  Bcast:10.42.0.255  Mask:255.255.255.0           inet addr:10.42.0.133  Bcast:10.42.0.255  Mask:255.255.255.0
Line 119: Line 147:
  
 <code> <code>
 +# ip address show eth0
 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether 9e:ee:5f:94:b8:d3 brd ff:ff:ff:ff:ff:ff     link/ether 9e:ee:5f:94:b8:d3 brd ff:ff:ff:ff:ff:ff
  • litesom/devicetree/eth.txt
  • Last modified: 2021/05/10 13:58
  • by kateryna.kozakova