This commit is contained in:
Miguel Fuertes committed 2025-09-15 23:31:15 +02:00
1 parent bbfea01334
commit a1f926aa8d
9 files changed
+8 -106

No files matched your search

+2 -33
View File
@@ -1,7 +1,8 @@
## 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.
### working
### Working
_**(On all Systems, lkiuyu, immoirtalwrt, openwrt)**_
- Modem Working
- No Rx/Tx displayed in luci interface (?)
- Wifi Working
@@ -12,38 +13,6 @@ These are my attempts at building the os... my end goal is to build a working mo
- Use built dtb from openstick-builder?
- use linux's dts?
- modemmanager not showing rxtx
- Use mcopy and debugfs compiled by openwrt:
```makefile
include $(TOPDIR)/rules.mk
PKG_NAME:=foo
PKG_RELEASE:=1
PKG_BUILD_DEPENDS:=mtools/host
include $(INCLUDE_DIR)/package.mk
define Package/foo
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Foo example using mcopy
endef
# Ejemplo: crear/usar una imagen FAT en tiempo de build
define Build/Compile
# crea directorio dentro de la imagen
$(STAGING_DIR_HOST)/bin/mmd -i $(PKG_BUILD_DIR)/fs.img ::/etc
# copia un archivo a la imagen sin usar mcopy del sistema
$(STAGING_DIR_HOST)/bin/mcopy -i $(PKG_BUILD_DIR)/fs.img $(PKG_BUILD_DIR)/my.conf ::/etc/my.conf
endef
define Package/foo/install
$(INSTALL_DIR) $(1)/usr/share/foo
$(INSTALL_DATA) $(PKG_BUILD_DIR)/fs.img $(1)/usr/share/foo/
endef
$(eval $(call BuildPackage,foo))
```
- openwrt: enable wifi by default!
---
### Stuff
- The `msm8916-yiming-uz801v3.dtb` file is a prebuilt dtb extracted from one of the many OpenStick-Builder project living in Github.