This commit is contained in:
Miguel Fuertes committed 2025-09-17 22:33:08 +02:00
1 parent ab010f0210
commit 133bddab8c
4 files changed
+23 -25

No files matched your search

+3 -2
View File
@@ -17,7 +17,7 @@ define Package/$(PKG_NAME)
SECTION:=Utilities SECTION:=Utilities
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=Defaults Setting For uz801v3 TITLE:=Defaults Setting For uz801v3
DEPENDS:=+rootfs-resizer +PACKAGE_luci:luci-proto-modemmanager +kmod-usb-lib-composite +rmtfs +opkg DEPENDS:=+rootfs-resizer +PACKAGE_luci:luci-proto-modemmanager +kmod-usb-lib-composite +rmtfs
endef endef
define Build/Configure define Build/Configure
@@ -28,7 +28,8 @@ endef
define Package/$(PKG_NAME)/install define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/uci-defaults $(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) ./files/uci-defaults $(1)/etc/uci-defaults $(INSTALL_BIN) ./files/uci_defaults $(1)/etc/uci-defaults/98-default-config
$(INSTALL_BIN) ./files/remove_feed $(1)/etc/uci-defaults/99-remove-bad-feed
endef endef
$(eval $(call BuildPackage,$(PKG_NAME))) $(eval $(call BuildPackage,$(PKG_NAME)))
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# /etc/uci-defaults/99-remove-bad-feed
REPO_FILE="/etc/apk/repositories.d/distfeeds.list"
BAD_FEED="https://downloads.openwrt.org/snapshots/targets/msm89xx/msm8916/packages/packages.adb"
if [ -f "$REPO_FILE" ]; then
sed -i "\|$BAD_FEED|d" "$REPO_FILE"
fi
exit 0
+9 -23
View File
@@ -9,10 +9,8 @@ For developers, OpenWrt is the framework to build an application without having
to build a complete firmware around it; for users this means the ability for to build a complete firmware around it; for users this means the ability for
full customization, to use the device in ways never envisioned. full customization, to use the device in ways never envisioned.
## OpenWrt for uz801
Modern version of OpenWrt working on UZ801v3.
### Features ### Features
Modern version of OpenWrt working on UZ801v3:
- Modem Working - Modem Working
- No Rx/Tx displayed in luci interface (?) - No Rx/Tx displayed in luci interface (?)
- Wifi Working - Wifi Working
@@ -23,28 +21,16 @@ Modern version of OpenWrt working on UZ801v3.
- GRE Protocol Installed - GRE Protocol Installed
### TODO: ### TODO:
- Using default dts: - Device Trees:
- SNAPSHOT (main) Working! - SNAPSHOT (main) Working!
- 24.10 Not Working! (maybe remove patches) - 24.10 Not Working! (maybe remove patches)
- Use Provided dtb (blue color) - Use Provided dtb (blue color) _**in use**_
- Extract dtb from boot.img - _...from one of the many OpenStick-Builder project living in Github._
- ModemManager not showing Rx/Tx - ModemManager not showing Rx/Tx
- `msm-firmware-loader`, to mount firmware instead of bundle to free up almost 40mb from rootfs. - `msm-firmware-loader`, to mount firmware instead of bundle to free up almost 40mb from rootfs.
- For more info: [packages/msm-firmware-loader/readme.md](packages/msm-firmware-loader/readme.md) - For more info: [packages/msm-firmware-loader/readme.md](packages/msm-firmware-loader/readme.md)
- Remove extra feed from apk installer:
- This feed does nothing as its pointing to msm89xx/msm8916 wich does not exist. ### Future:
- /etc/apk/repositories.d/distfeeds.list - Custom package server for msm89xx/8916
- Fix version to latest (instead of snapshot) OpenWrt 24.10.2
- Add `opkg` and make it work with `luci`.
- Review `firmware-selector` default selection of packages:
- Investigare ImageBuilder
- Firmware selector default packages for mt300n (mango):
```
base-files ca-bundle dnsmasq dropbear firewall4 fstools kmod-gpio-button-hotplug kmod-leds-gpio
kmod-mt7603 kmod-nft-offload libc libgcc libustream-mbedtls logd mtd netifd nftables
odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe swconfig uci uclient-fetch urandom-seed
urngd wpad-basic-mbedtls kmod-usb2 kmod-usb-ohci luci
```
---
### Stuff
- The `msm8916-yiming-uz801v3.dtb` file is a prebuilt dtb extracted from one of the many OpenStick-Builder project living in Github.