I was able to make a build of OpenWrt for BananaPi-R3 that was added by @daniel last week, drop into AX6000 u-boot console, tftpboot initramfs-recovery and voila!
BusyBox v1.35.0 (2022-09-05 09:46:47 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r0+20481-09ea1db93b
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# uname -a
Linux OpenWrt 5.15.64 #0 SMP Tue Sep 6 10:15:48 2022 aarch64 GNU/Linux
OpenWrt running on a Redmi AX6000!
FWIW: on a uart console, spam ctrl-c immediately after power on and you'll drop into u-boot.
root@XiaoQiang:/# uci get xiaoqiang.common.NETMODE
whc_cap
root@XiaoQiang:/# uci get xiaoqiang.common.CAP_MODE
uci: Entry not found
root@XiaoQiang:/# uci get xiaoqiang.common.MESH_VERSION
4
It's based on 18.06.0 so you may be able to set up the appropriate opkg sources and install it that way. Otherwise, wait for a real OpenWrt image. Think (slightly over) the majority of the heavy lifting is done here.
I'm looking forward to the real openwrt image. I just read about xiaomi ax6000 (not redmi) that there is no free space and there is no way to delete something due to the read-only system partition. When my redmi AX6000 comes to me, I will definitely try to install openvpn. Thank you.
2.chmod 755 /etc/init.d/miwifi_overlay
3. /etc/init.d/miwifi_overlay enable
4. sync
5. reboot
after reboot, you may able to use opkg install. if you update firmware, you should repeat steps above
This looks like a ton of progress. It's probably time to finally replace my tried-and-true WRT1900AC. I'm thinking of getting myself an AX6000 as it seems to be the best device available today, with a good perspective to run OpenWrt in the near future.
Unfortunately, I'm not a developer by any means, and my Linux knowledge is limited. But I'm used to running trunk builds (when created by others) and hopefully will be able to help with testing and validation.
Unfortunately this is right about the part where I completely fall off. I'm far too inexperienced to finish the device tree source as most resources online say "find a similar device and work with it". Doesn't really fly too well with this one as only the BPI R3 is really similar, and I can't find much detailed documentation for beginners. If someone is willing to teach me the process of creating one from scratch, I'm all ears.
Anyways, you can build an image from here, just make menuconfig and select Mediatek ARM arch, Filogic 830 target and Xiaomi Redmi AX6000 device then make it. After rooting the device as described here or here, reboot and connect serial console. Hold your keyboard's down arrow key to pop into u-boot and then press the bottom entry. Press another key to stop autoboot.
Connect a tftp server with the initramfs image you build and tftpboot then bootm the image. It should boot into vanilla OpenWrt (albeit with almost no hardware available as the device tree is broken). You may get one ethernet port up.
Enjoy!
root@OpenWrt:/# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
link/ether fe:a5:d4:ec:b4:11 brd ff:ff:ff:ff:ff:ff
root@OpenWrt:/# uname -a
Linux OpenWrt 5.15.64 #0 SMP Fri Sep 9 00:53:15 2022 aarch64 GNU/Linux
root@OpenWrt:/# cat /etc/os-release
NAME="OpenWrt"
VERSION="SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt SNAPSHOT"
VERSION_ID="snapshot"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r20537-7c92b99da8"
OPENWRT_BOARD="mediatek/filogic"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS="no-all"
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt SNAPSHOT r20537-7c92b99da8"