2bba5dba3fb944a0b8d0d5b7cb431781773bc2f7
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-firmware-loader:- Working if manually enabled, as it seems that asks for wifi driver before persist is mounted.
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 $? }
- Working if manually enabled, as it seems that asks for wifi driver before persist is mounted.
- Revert back to bundling the firmwares...
TODO:
- Modem does not register...
Usemsm-firmware-loaderinstead of bundling firmware.- There is no easy way to load the partitions before kernel looks for them... so dumps instead of ln
msm-firmware-dumperand then restart...
- There is no easy way to load the partitions before kernel looks for them... so dumps instead of ln
- msm8916-usb-gadget: attach console to tty?
- ucify the uz801-tweaks... see
usb0network setup! - Recover GHA build pipeline
- Use built dtb from openstick-builder?
Stuff
- The
msm8916-yiming-uz801v3.dtbfile is a prebuilt dtb extracted from one of the many OpenStick-Builder project living in Github.
Languages
Shell
54.4%
JavaScript
20.6%
Makefile
15.3%
C
7.2%
HTML
1.5%
Other
1%