This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:add-ons:m2xeth [2022/07/08 03:20] hyphop |
products:sbc:common:add-ons:m2xeth [2024/03/19 03:46] (current) ivan |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== Ethernet |
===== Introduction ===== | ===== Introduction ===== | ||
- | This document mainly introduces the usage of M2X Ethernet. | + | This document mainly introduces the usage of Ethernet |
===== Ubuntu ===== | ===== Ubuntu ===== | ||
Line 11: | Line 11: | ||
Please make sure you use the latest image, if not please follow [[/ | Please make sure you use the latest image, if not please follow [[/ | ||
+ | ===== For 4.9 kernel ===== | ||
==== Enable M2X Eth ==== | ==== Enable M2X Eth ==== | ||
Open ''/ | Open ''/ | ||
- | ```sh | + | ```shell |
$ sudo vim / | $ sudo vim / | ||
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. | ||
+ | |||
+ | ===== For 5.15 kernel ===== | ||
+ | ==== Enable M2X Eth ==== | ||
+ | |||
+ | Open '' | ||
+ | |||
+ | ```shell | ||
+ | $ sudo vim / | ||
+ | |||
+ | fdt_overlays=m2x-eth | ||
+ | ``` | ||
+ | ```shell | ||
+ | $ sync | ||
+ | ``` | ||
Reboot to effect. | Reboot to effect. | ||
Line 27: | Line 46: | ||
Get IP addresss. | Get IP addresss. | ||
- | ```sh | + | ```shell |
khadas@Khadas: | khadas@Khadas: | ||
eth0: flags=4163< | eth0: flags=4163< | ||
Line 42: | Line 61: | ||
Go online! | Go online! | ||
- | ```sh | + | ```shell |
khadas@Khadas: | khadas@Khadas: | ||
PING td-balancer-sv5-61-96.wixdns.net (185.230.61.96) 56(84) bytes of data. | PING td-balancer-sv5-61-96.wixdns.net (185.230.61.96) 56(84) bytes of data. | ||
Line 48: | Line 67: | ||
64 bytes from 185.230.61.96 (185.230.61.96): | 64 bytes from 185.230.61.96 (185.230.61.96): | ||
64 bytes from 185.230.61.96 (185.230.61.96): | 64 bytes from 185.230.61.96 (185.230.61.96): | ||
- | …… | + | ... |
``` | ``` | ||
+ | |||
+ |