43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
---
|
||
tags:
|
||
aliases:
|
||
date: 2025-11-24
|
||
time: 10:42:22
|
||
description:
|
||
---
|
||
|
||
## Firmware update
|
||
1. DUT power off
|
||
2. CMD command "fastboot oem alive" (Waiting DUT)
|
||
3. USB-C connect to PC, Power on the DUT,DUT will into fastboot mode.
|
||
4. Run "turbox_flash_fastboot.bat" from the firmware folder.
|
||
|
||
## Replace custom build `.ko` driver
|
||
### 版號確認
|
||
用 `uname -a` 查看目前 kernel 版本。
|
||
用 `modinfo tcxxx_pcie_eth.ko` 檢查 vermagic 版本。
|
||
ko 版本與 kernel 版本必須一致。
|
||
```
|
||
1|KM1:/ # uname -r
|
||
5.15.78-qki-consolidate-android13-8-gf5cf1391b188
|
||
```
|
||
|
||
```
|
||
KM1:/ # modinfo /storage/emulated/0/Documents/tc956x_pcie_eth.ko
|
||
filename: /storage/emulated/0/Documents/tc956x_pcie_eth.ko
|
||
license: GPL v2
|
||
author: Toshiba Electronic Devices & Storage Corporation
|
||
description: TC956X PCI Express Ethernet Network Driver
|
||
srcversion: 5F197F74D301D4F6ADC6A72
|
||
depends:
|
||
name: tc956x_pcie_eth
|
||
vermagic: 5.15.167-g94a5a0e4b3fa SMP preempt mod_unload modversions aarch64
|
||
```
|
||
|
||
### Unload old driver
|
||
#### Old driver is a module
|
||
用 `lsmod | grep tc956x` 確認原本的 module 已安裝。
|
||
用 rmmod 移除原本的 module:`sudo rmmod tc956x_pcie_eth`
|
||
|
||
|
||
# 參考來源 |