Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:add-ons:m2xeth

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
products:sbc:common:add-ons:m2xeth [2023/03/23 05:40]
xiong
products:sbc:common:add-ons:m2xeth [2024/08/09 02:46] (current)
xiong [Enable M2X ethernet via settings]
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-This document mainly introduces the usage of Ethernet on [[https://www.khadas.com/product-page/m2x-extension-board | M2X]] . The first part of the document is about how to use it under Ubuntu, and the second part is about how to use it under Android.+This document mainly introduces the usage of Ethernet on [[https://www.khadas.com/product-page/m2x-extension-board | M2X]] . Mainly about how to use it under Linux.
  
-===== Ubuntu ===== +===== Linux =====
- +
-==== System Configuration ====+
  
 Please make sure you use the latest image, if not please follow [[/products/sbc/common/configurations/upgrade-system|Upgrade The System]] to upgrade your system. Please make sure you use the latest image, if not please follow [[/products/sbc/common/configurations/upgrade-system|Upgrade The System]] to upgrade your system.
  
-==== Enable M2X Eth ====+<tabbox Linux 4.9> 
 + 
 +**Enable M2X Eth:**
  
 Open ''/boot/env.txt'', add ''m2x-eth'' to overlay. Open ''/boot/env.txt'', add ''m2x-eth'' to overlay.
Line 19: Line 19:
  
 overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 m2x-eth overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 m2x-eth
 +```
 +```shell
 +$ sync
 ``` ```
  
 Reboot to effect. Reboot to effect.
 +
 +<tabbox Linux 5.15>
 +
 +**Enable M2X Eth:**
 +
 +Open ''kvim*.dtb.overlay.env'', add ''m2x-eth'' to overlay,take VIM3 as an example.
 +
 +```shell
 +$ sudo vim /boot/dtb/amlogic/kvim3.dtb.overlay.env
 +
 +fdt_overlays=m2x-eth
 +```
 +```shell
 +$ sync
 +```
 +Reboot to effect.
 +</tabbox>
  
 ==== Check ==== ==== Check ====
Line 53: Line 73:
 ===== Android ===== ===== Android =====
  
-  *before you use the M2x ethernet ,you should enable m2x ethernet by two method+==== Enable M2X ethernet via settings ==== 
 +  
 +Enter ''Settings'' -> ''More settings'' -> ''Network & Internet'' -> ''Ethernet'' Switch on Ethernet Port as following
  
-===== Enable m2x ethernet on tv setting =====+{{/products:sbc:vim3:add-ons:vim3-m2x-eth.webp?800}}
  
-  *Enter Droid Settings-> More settings-> Network&Internet-> Ethernet,pitch on Ethernet Port as following+==== Enable m2x ethernet by kbi command ====
  
-{{/products:sbc:vim3:add-ons:vim3-m2x-eth.png}} +About KBI usage, you can refer [[products/sbc/common/development/kbi|KBI guide]]enter the following commands.
- +
-===== Enable m2x ethernet by kbi command ===== +
- +
-  *About kbi usage ,you can refer kbi guide,set command as followimg+
  
 ```shell ```shell
Line 118: Line 136:
 ``` ```
  
-  *kbi ext_ethernet w 1 is to use m2x ethernet,kbi ext_ethernet w 0 is to use internal ethernet+  * ''kbi ext_ethernet w 1'' is to use M2X ethernet 
 +  * ''kbi ext_ethernet w 0'' is to use internal ethernet 
  
Last modified: 2023/03/23 05:40 by xiong