Files
msm8916-openwrt/readme.md
T
2025-09-13 08:47:05 +02:00

35 lines
1.2 KiB
Markdown

## WRT for uz801
These are my attempts at building the os... my end goal is to build a working modern openwrt, but first I will start from immortalwrt from lkiuyu and the from official immortalwrt.
### lkiuyu/immortalwrt
- Using msm-loader:
- Working if manually enabled, as it seems that asks for wifi driver before persist is mounted.
```shell
echo start > /sys/class/remoteproc/remoteproc0/state
echo start > /sys/class/remoteproc/remoteproc1/state
```
- https://gitlab.postmarketos.org/postmarketOS/msm-firmware-loader/
- Investigate if this can be replicated in wrt:
```
#!/sbin/openrc-run
name="MSM Firmware Loader"
description="Load firmware that is located on dedicated partitions of qcom devices"
depend() { # <-----------------
need sysfs devfs
before udev
}
start() {
ebegin "Starting msm-firmware-loader"
# This script must be executed before udev, block other services until it's done.
/usr/sbin/msm-firmware-loader.sh
eend $?
}
```
- Revert back to bundling the firmwares...
#### TODO:
- Use oficial `usbgadget-ncm` script or build custom `usbgadget-rndis`.
- 'ucify' the uz801-tweaks... see usb0 setup!