Spaces:
Running
Running
tokutsu
commited on
Commit
·
fee3c30
1
Parent(s):
5e19491
Update README for readibility of bash section using #
Browse files
README.md
CHANGED
|
@@ -51,7 +51,7 @@ Reference: [Rux official installation guide](https://global.letianpai.com/all/?p
|
|
| 51 |
|
| 52 |
Then, **switch to the debian environment** by running `adb root` and `adb shell bootdebian.sh`.
|
| 53 |
|
| 54 |
-
```
|
| 55 |
(On Debian) # uname -a
|
| 56 |
Linux linaro-alip 4.19.232 #3 SMP Sat Apr 22 18:43:58 CST 2023 aarch64 GNU/Linux
|
| 57 |
```
|
|
@@ -189,7 +189,7 @@ $ make -C /path/to/kernel M=$PWD CONFIG_PLATFORM_UBUNTU=y CONFIG_USE_FW_REQUEST=
|
|
| 189 |
|
| 190 |
Copy the built `.ko` files (e.g., `aic8800_bsp.ko`, `aic8800_fdrv.ko`) to the Debian filesystem on Rux using `adb push`, typically under:
|
| 191 |
|
| 192 |
-
```
|
| 193 |
/lib/modules/$(uname -r)/kernel/drivers/net/wireless/aic8800/
|
| 194 |
```
|
| 195 |
|
|
@@ -197,7 +197,7 @@ Copy the built `.ko` files (e.g., `aic8800_bsp.ko`, `aic8800_fdrv.ko`) to the De
|
|
| 197 |
|
| 198 |
The Wi-Fi chip is connected via `dwmmc@fe2c0000`. Reset it by unbinding and rebinding:
|
| 199 |
|
| 200 |
-
```
|
| 201 |
# echo fe2c0000.dwmmc > /sys/bus/platform/drivers/dwmmc_rockchip/unbind
|
| 202 |
# sleep 0.6
|
| 203 |
# echo fe2c0000.dwmmc > /sys/bus/platform/drivers/dwmmc_rockchip/bind
|
|
@@ -205,7 +205,7 @@ The Wi-Fi chip is connected via `dwmmc@fe2c0000`. Reset it by unbinding and rebi
|
|
| 205 |
|
| 206 |
**Tip:** You can identify the correct SDIO host device name (e.g., `fe2c0000.dwmmc`) by checking the boot log:
|
| 207 |
|
| 208 |
-
```
|
| 209 |
# dmesg | grep mmc-pwrseq
|
| 210 |
```
|
| 211 |
|
|
@@ -213,14 +213,14 @@ The Wi-Fi chip is connected via `dwmmc@fe2c0000`. Reset it by unbinding and rebi
|
|
| 213 |
|
| 214 |
Insert the driver:
|
| 215 |
|
| 216 |
-
```
|
| 217 |
# depmod -a
|
| 218 |
# modprobe -v aic8800_fdrv
|
| 219 |
```
|
| 220 |
|
| 221 |
If successful, the **wlan0** device should appear in:
|
| 222 |
|
| 223 |
-
```
|
| 224 |
# ip a
|
| 225 |
```
|
| 226 |
|
|
@@ -230,7 +230,7 @@ If successful, the **wlan0** device should appear in:
|
|
| 230 |
|
| 231 |
Use **NetworkManager (nmcli)** for connection:
|
| 232 |
|
| 233 |
-
```
|
| 234 |
# nmcli radio wifi on
|
| 235 |
# nmcli -w 60 dev wifi list ifname wlan0 --rescan yes
|
| 236 |
# nmcli dev wifi connect "SSID" ifname wlan0
|
|
|
|
| 51 |
|
| 52 |
Then, **switch to the debian environment** by running `adb root` and `adb shell bootdebian.sh`.
|
| 53 |
|
| 54 |
+
```text
|
| 55 |
(On Debian) # uname -a
|
| 56 |
Linux linaro-alip 4.19.232 #3 SMP Sat Apr 22 18:43:58 CST 2023 aarch64 GNU/Linux
|
| 57 |
```
|
|
|
|
| 189 |
|
| 190 |
Copy the built `.ko` files (e.g., `aic8800_bsp.ko`, `aic8800_fdrv.ko`) to the Debian filesystem on Rux using `adb push`, typically under:
|
| 191 |
|
| 192 |
+
```text
|
| 193 |
/lib/modules/$(uname -r)/kernel/drivers/net/wireless/aic8800/
|
| 194 |
```
|
| 195 |
|
|
|
|
| 197 |
|
| 198 |
The Wi-Fi chip is connected via `dwmmc@fe2c0000`. Reset it by unbinding and rebinding:
|
| 199 |
|
| 200 |
+
```text
|
| 201 |
# echo fe2c0000.dwmmc > /sys/bus/platform/drivers/dwmmc_rockchip/unbind
|
| 202 |
# sleep 0.6
|
| 203 |
# echo fe2c0000.dwmmc > /sys/bus/platform/drivers/dwmmc_rockchip/bind
|
|
|
|
| 205 |
|
| 206 |
**Tip:** You can identify the correct SDIO host device name (e.g., `fe2c0000.dwmmc`) by checking the boot log:
|
| 207 |
|
| 208 |
+
```text
|
| 209 |
# dmesg | grep mmc-pwrseq
|
| 210 |
```
|
| 211 |
|
|
|
|
| 213 |
|
| 214 |
Insert the driver:
|
| 215 |
|
| 216 |
+
```text
|
| 217 |
# depmod -a
|
| 218 |
# modprobe -v aic8800_fdrv
|
| 219 |
```
|
| 220 |
|
| 221 |
If successful, the **wlan0** device should appear in:
|
| 222 |
|
| 223 |
+
```text
|
| 224 |
# ip a
|
| 225 |
```
|
| 226 |
|
|
|
|
| 230 |
|
| 231 |
Use **NetworkManager (nmcli)** for connection:
|
| 232 |
|
| 233 |
+
```text
|
| 234 |
# nmcli radio wifi on
|
| 235 |
# nmcli -w 60 dev wifi list ifname wlan0 --rescan yes
|
| 236 |
# nmcli dev wifi connect "SSID" ifname wlan0
|