This commit is contained in:
teasiu
2025-10-05 03:53:23 +08:00
parent 8d802c8230
commit a066f54328
3 changed files with 33 additions and 17 deletions

View File

@@ -113,13 +113,6 @@ bash <(curl https://ecoo.top/n2_upgrade.sh)
bash <(curl https://ecoo.top/mv300_upgrade.sh)
```
### 玩客云 S805 机型
```bash
bash <(curl https://ecoo.top/s805_upgrade.sh)
```
## 常用脚本ota更新
- ota常用的脚本更新命令

View File

@@ -8,6 +8,11 @@ sidebar_position: 4
## 原理
:::caution
注意本章节仅仅适合海思芯片CPU的机顶盒设备。
如果你不清楚,请勿试用!直到你完全理解什么叫做芯片为止!
:::
机顶盒的mac地址由启动阶段的 ```bootargs.bin``` 进行传递。
作者为了便利用户更改,制作了```mkbootargs```的程序提供在线制作```bootargs.bin```文件。
@@ -74,14 +79,32 @@ http://192.168.xx.xx/macedit.php
```
:::caution
以下内容适合几乎所有机型!
:::
## 软改mac
上面的方法是硬改mac这里也阐述一下软改的办法
```bash
vi /etc/network/interfaces.d/eth0 # 编辑配置文件
# 增加下面的内容 (实际内容可按需修改)
pre-up ifconfig eth0 hw ether 00:11:22:33:44:66
vi /etc/netplan/10-dhcp-all-interfaces.yaml
```
添加你的 mac 地址
```bash
network:
version: 2
renderer: networkd
ethernets:
all-eth-interfaces:
match:
name: "e*"
dhcp4: yes
dhcp6: yes
ipv6-privacy: yes
# 添加固定MAC地址配置
macaddress: "00:11:22:33:44:66"
```

View File

@@ -19,8 +19,8 @@ sidebar_position: 9
在终端中输入如下命令即可更新:
```bash
sudo apt-get update
sudo apt-get search histb kernel
sudo apt update
sudo apt search histb kernel
```
你会得到一个类似下图的匹配你的机顶盒的海思新内核。
@@ -29,9 +29,9 @@ sudo apt-get search histb kernel
接着执行你机顶盒对应的机型安装新内核,最后重启系统即可。
```
sudo apt install kernel-hi3798mv200-82120168
sudo apt install kernel-hi3798mv200-82082668
或者例如:
sudo apt install kernel-hi3798mv100-82120168
sudo apt install kernel-hi3798mv100-81082668
```
@@ -106,10 +106,10 @@ dd if=hi_kernel-hi3798mv200-n2ns1.bin of=/dev/mmcblk0p6 bs=1024 count=40960
社区版内核编号规则如下:
```
系统版本 : Ubuntu 20.04.6 LTS | V20231201-4.4.35_ecoo_82111968-64
系统版本 : Ubuntu 20.04.6 LTS | V20251001-4.4.35_ecoo_82082668-64
```
其中:```82111968``` 第二个数字 2 代表mv200系列 1119 代表 2023版本的11月19
其中:```82082668``` 第二个数字 2 代表mv200系列 0826 代表 2025版本的08月26
其它自行推算。