Code Monkey home page Code Monkey logo

hzyitc / openwrt-redmi-ax3000 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openwrt/openwrt

364.0 11.0 74.0 871.13 MB

Openwrt for Redmi AX3000 / Xiaomi CR8806 / Xiaomi CR8808 / Xiaomi CR8809

License: Other

Shell 6.36% C++ 0.34% Python 0.46% Perl 2.60% C 70.11% Assembly 1.47% Awk 0.03% Makefile 17.92% CMake 0.02% Yacc 0.10% Lex 0.07% M4 0.26% UnrealScript 0.25%
ipq5000 ipq50xx openwrt redmi-ax3000 xiaomi-cr8806 xiaomi-cr8808 xiaomi-cr880x ipq5018

openwrt-redmi-ax3000's People

Contributors

acoul avatar adschm avatar ansuel avatar aparcar avatar blocktrron avatar blogic avatar chunkeey avatar dangowrt avatar dedeckeh avatar embeem avatar ffainelli avatar graysky2 avatar hauke avatar jow- avatar juhosg avatar kaloz avatar kanjimonster avatar larsclausen avatar ldir-edb0 avatar lperkov avatar mkresin avatar nbd168 avatar neheb avatar noltari avatar pepe2k avatar polynomialdivision avatar rmilecki avatar stintel avatar wigyori avatar ynezz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-redmi-ax3000's Issues

WiFi拒绝加入

红米AX3000与小米AX3000硬件配置相同,而我的小米AX3000刷入固件后2.4g与5g发射正常,但无法连接,手机显示拒绝连接
使用其他作者编译的固件,大部分WiFi可用但版本太低,这个固件版本新,但WiFi异常

WiFi异常

红米AX3000与小米AX3000硬件配置相同,而我的小米AX3000刷入固件后2,4g与5g发射正常,但无法连接,手机显示拒绝连接
使用其他作者编译的固件,大部分WiFi可用但版本太低,这个固件版本新,但WiFi异常

802.11k and 802.11v issues.

i try to enable 802.11k and 802.11v for band-steering. >https://openwrt.org/docs/guide-user/network/wifi/usteer.

i install wpad full (wpad-wolfssl or wpad-openssl)

when i add there line into /etc/config/wireless. the radio down.

option bss_transition '1'
option wnm_sleep_mode '1'
option time_advertisement '2'
option time_zone 'GMT0'
option ieee80211k '1'
option rrm_neighbor_report '1'
option rrm_beacon_report '1'

image

system log:

Sun Jan 29 14:38:56 2023 daemon.notice netifd: radio0 (5180): Command failed: Request timed out
Sun Jan 29 14:38:56 2023 daemon.notice netifd: radio0 (5180): Command failed: Not found
Sun Jan 29 14:38:56 2023 daemon.notice netifd: radio0 (5180): Device setup failed: HOSTAPD_START_FAILED
Sun Jan 29 14:38:56 2023 daemon.notice netifd: Wireless device 'radio0' set retry=0
Sun Jan 29 14:38:56 2023 daemon.crit netifd: Wireless device 'radio0' setup failed, retry=0
Sun Jan 29 14:38:56 2023 daemon.notice netifd: Wireless device 'radio0' is now down

Firmware loading failed and CPU interrupt was too high

Hello, I found that after brushing, dmesg prompts the following message:

[ 20.755383] Subsystem error monitoring/handling services are up
[ 20.880266] ath11k c000000.wifi: Direct firmware load for ath11k/IPQ5018/hw1.0/qdss_trace_config.bin failed with error -2
[ 20.945644] Subsystem error monitoring/handling services are up
[ 21.222900] ath11k c000000.wifi: Direct firmware load for qdss_trace_config.bin failed with error -2
[ 42.948063] Subsystem error monitoring/handling services are up
[ 43.258920] ath11k soc:wifi1@c000000: Direct firmware load for ath11k/qcn6122/hw1.0/qdss_trace_config.bin failed with error -2
[ 43.604336] ath11k soc:wifi1@c000000: Direct firmware load for qdss_trace_config.bin failed with error -2

During the test, it was found that a large number of calls were CPU interrupts

89: 1569863 0 GIC-0 431 Edge nss_queue0
90: 0 227402 GIC-0 430 Edge nss_queue1

Is this forwarding by NPU?

cr8808 fireware problem

cr8808
produced in 2021 use 6.2.12
produced in 2022 use 6.2.18
eaf67ecbecf64b218fbffe0a9c44cb6a.jpeg
Because the amplifier they use has been changed
I tried to grab bags with violence,Unfortunately, its naming format seems very unique,Ihope to give you some help

最新的5.15内核的23.05版本降网速

下载编译了5.15内核的23.05版本固件后,我1000M的网,不管是有线还是无线,都只能跑100-200Mbs的速度

是驱动的问题吗?我的有线和无线的驱动都是用默认的,还需要添加其他的吗?

请问这个固件刷了之后怎么刷回官方固件

ttl刷了5.4之后想刷回官方,连接刷机工具后ttl显示eth0 don't alive,然后自动切换到eth1后卡死,黄灯常亮,还把编程器给烧了。。
用的是螃蟹卡,之前ttl中断的时候是能可以恢复原厂的,请问如何处理

Reset按钮

感谢您的奉献!我想问一下刷了这个固件之后还可以通过reset按钮恢复刚刷完机的状态吗?如果可以的话,应该怎样操作呢

backports-source-v5.10-rc6-1.tar.xz] Error 128

Checking out files from the git repository...
Cloning into 'backports-source-v5.10-rc6-1'...
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 145.40.68.75]: errno=Connection refused
git.kernel.org[1: 2604:1380:4601:e00::1]: errno=Network is unreachable

make[3]: *** [Makefile:511: /home/x/openwrt/openwrt-redmi-ax3000-ipq50xx-mainline-kernel-5.4-openwrt-21.02-qsdk-wifi-11.5.05.841.1029/dl/backports-source-v5.10-rc6-1.tar.xz] Error 128

Regarding the decrease in upload speed after the upgrade.

Firstly, thank you for providing the firmware. I have noticed a situation and would like to provide feedback. After upgrading the firmware, the upload speed on my NAS can only reach 30MB, while it used to be able to reach 100MB.

编译错误

make的时候会有关于qca的警告,如下:

WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a build dependency on 'kmod-qca-nss-crypto', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-drv/Makefile' has a dependency on 'kmod-qca-nss-gmac', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-ssdk/Makefile' has a dependency on 'kmod-qca-rfs', which does not exist

编译到qca-nss-drv的时候提示错误:

    ERROR: package/kernel/qca/qca-nss-drv failed to build.
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/kali/openwrt-redmi-ax3000/include/toplevel.mk:230:world] 错误 1

使用make -j1 V=s进行编译提示'No such file or directory':

rm -f /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/.built
touch /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/.built_check
make -C "/home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-5.4.225" NSS_DRV_C2C_ENABLE=n NSS_DRV_CAPWAP_ENABLE=n NSS_DRV_CLMAP_ENABLE=n NSS_DRV_CRYPTO_ENABLE=n NSS_DRV_DTLS_ENABLE=n NSS_DRV_GRE_ENABLE=n NSS_DRV_GRE_REDIR_ENABLE=n NSS_DRV_GRE_TUNNEL_ENABLE=n NSS_DRV_IGS_ENABLE=n NSS_DRV_IPSEC_ENABLE=n NSS_DRV_LAG_ENABLE=n NSS_DRV_L2TP_ENABLE=n NSS_DRV_MAPT_ENABLE=n NSS_DRV_OAM_ENABLE=n NSS_DRV_PPTP_ENABLE=n NSS_DRV_PORTID_ENABLE=n NSS_DRV_PVXLAN_ENABLE=n NSS_DRV_QRFS_ENABLE=n NSS_DRV_QVPN_ENABLE=n NSS_DRV_RMNET_ENABLE=n NSS_DRV_SHAPER_ENABLE=n NSS_DRV_SJACK_ENABLE=n NSS_DRV_TLS_ENABLE=n NSS_DRV_TRUSTSEC_ENABLE=n NSS_DRV_TSTAMP_ENABLE=n NSS_DRV_TUN6RD_ENABLE=n NSS_DRV_TUNIPIP6_ENABLE=n NSS_DRV_VXLAN_ENABLE=n NSS_DRV_MATCH_ENABLE=n NSS_DRV_MIRROR_ENABLE=n NSS_DRV_IPV4_REASM_ENABLE=n NSS_DRV_IPV6_REASM_ENABLE=n CROSS_COMPILE="mips-openwrt-linux-musl-" ARCH="mips" M="/home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5" EXTRA_CFLAGS="-I/home/kali/openwrt-redmi-ax3000/staging_dir/target-mips_24kc_musl/usr/include/qca-nss-gmac -I/home/kali/openwrt-redmi-ax3000/staging_dir/target-mips_24kc_musl/usr/include/qca-nss-dp -I/home/kali/openwrt-redmi-ax3000/staging_dir/target-mips_24kc_musl/usr/include/qca-ssdk -DNSS_MEM_PROFILE_LOW" SoC=""ath79"" modules
make[4]: Entering directory '/home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-5.4.225'
  CC [M]  /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/nss_cmn.o
In file included from /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/nss_core.h:37,
                 from /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/nss_hal/include/nss_hal.h:26,
                 from /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/nss_tx_rx_common.h:25,
                 from /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/nss_cmn.c:26:
/home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/exports/nss_api_if.h:33:10: fatal error: nss_arch.h: No such file or directory
 #include "nss_arch.h"
          ^~~~~~~~~~~~
compilation terminated.
make[5]: *** [scripts/Makefile.build:262: /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/nss_cmn.o] Error 1
make[4]: *** [Makefile:1739: /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5] Error 2
make[4]: Leaving directory '/home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-5.4.225'
make[3]: *** [Makefile:143: /home/kali/openwrt-redmi-ax3000/build_dir/target-mips_24kc_musl/linux-ath79_generic/qca-nss-drv-NHSS.QSDK.11.5.0.5/.built] Error 2
make[3]: Leaving directory '/home/kali/openwrt-redmi-ax3000/package/kernel/qca/qca-nss-drv'
time: package/kernel/qca/qca-nss-drv/compile#0.70#0.46#1.01
    ERROR: package/kernel/qca/qca-nss-drv failed to build.
make[2]: *** [package/Makefile:116: package/kernel/qca/qca-nss-drv/compile] Error 1
make[2]: Leaving directory '/home/kali/openwrt-redmi-ax3000'
make[1]: *** [package/Makefile:110: /home/kali/openwrt-redmi-ax3000/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/kali/openwrt-redmi-ax3000'
make: *** [/home/kali/openwrt-redmi-ax3000/include/toplevel.mk:230:world] 错误 2

小白编译求教0.0

关于红米AX3000的一些问题和对openwrt的一些疑惑

因为我是小白奥,我不是很理解,为啥硬件规格上256m的内存刷完这个系统后就变成了150多一点,而且为啥系统概览内存栏里面有个已缓存,缓存不是一般占的都是闪存吗,还有,为啥我无法搜索到另一台也是ow系统的无线信号,双频都搜不到

Missing some kmod files (depended by qca-nss) when compiling the firmware

Followed the instruction, when do 'make download -j1', show lots of error messages related to qca-nss module.
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-ocf', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-ocf', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-ovsmgr', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-wifi', which does not exist WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a build dependency on 'kmod-qca-nss-crypto', which does not exist

image

重启后不同vlan被dhcp分配ip问题?

我为eth0划分了两个vlan,一个作为lan一个用来看iptv。我的iptv是使用dhcp方式获取的ip,lan使用的openwrt自带的dhcp分配ip。但是当我重启之后lan下的有线设备会获取到iptv的ip,需要手动重启接口才能正常获取ip。

[New device request] RAX3000Q

MTD info:

dev: size erasesize name
mtd0: 00080000 00020000 "0:SBL1"
mtd1: 00080000 00020000 "0:MIBIB"
mtd2: 00040000 00020000 "0:BOOTCONFIG"
mtd3: 00040000 00020000 "0:BOOTCONFIG1"
mtd4: 00100000 00020000 "0:QSEE_1"
mtd5: 00100000 00020000 "0:QSEE"
mtd6: 00040000 00020000 "0:DEVCFG_1"
mtd7: 00040000 00020000 "0:DEVCFG"
mtd8: 00040000 00020000 "0:CDT"
mtd9: 00040000 00020000 "0:CDT_1"
mtd10: 00080000 00020000 "0:APPSBLENV"
mtd11: 00140000 00020000 "0:APPSBL"
mtd12: 00140000 00020000 "0:APPSBL_1"
mtd13: 00100000 00020000 "0:ART"
mtd14: 00080000 00020000 "0:TRAINING"
mtd15: 03000000 00020000 "rootfs_1"
mtd16: 03000000 00020000 "rootfs"
mtd17: 00a40000 00020000 "TZPARAM"
mtd18: 00a40000 00020000 "TZBAK"
mtd19: 002fce60 0001f000 "kernel"
mtd20: 00367000 0001f000 "wifi_fw"
mtd21: 0000400 0001f000 "bt_fw"
mtd22: 01303000 0001f000 "ubi_rootfs"
mtd23: 00c1c000 0001f000 "rootfs_data"
mtd24: 0070600 0001f000 "tzparam"

能否加入ssr-plus这个插件

我是M79主板的刷了openwrt.ai的固件速度只有500M,只有刷大佬的固件速度才正常达到千兆,但大佬的固件缺少ssr-plus这个插件,能否加入这个插件?

some qsdk kmod packages are not compiled and actually empty

This issue only affects the ipq50xx-qsdk-kernel-5.4-openwrt-21.02-qsdk-11.5.05.841.1029 variant. A heuristic approach to find the problematic packages would be: filtering packages whose size <1,200 bytes, e.g.

$ URL=https://hzyitc.github.io/openwrt-redmi-ax3000/ipq50xx-qsdk-kernel-5.4-openwrt-21.02-qsdk-11.5.05.841.1029/ci-20230629-173133-5b10c505/kmod-wireguard_5.4-qsdk-11.5.0.5-1_arm_cortex-a7_neon-vfpv4.ipk

$ curl -sLI $URL | grep -i length
content-length: 1168

$ curl -sL  $URL | tar xzO ./data.tar.gz | tar tz
./

wi-fi not working on my black cylinder AX3000, please help

The Dec 30, 2022 version "openwrt-ipq50xx-generic-redmi_ax3000-squashfs-nand-factory.ubi" does. None others could drive wi-fi properly, the signal strength is ok. The kernel-4.4 version released a few days ago cannot even boot up. It's possible to get a copy of source code of the Dec 30 2022. Thanks for the great project. By the way, what is bdf files, it's possible to get it from miwifi firmware, I could roll it back to the stock.

[ 20.539283] ath11k c000000.wifi: qmi failed to load QDSS config: qdss_trace_config.bin
[ 20.539322] ath11k c000000.wifi: Failed to download QDSS config to FW: -12
[ 43.270716] remoteproc remoteproc2: stopped remote processor cd00000.remoteproc:remoteproc_pd2
[ 43.270757] remoteproc remoteproc2: powering up cd00000.remoteproc:remoteproc_pd2
[ 43.278391] remoteproc remoteproc2: Booting fw image IPQ5018/q6_fw.mdt, size 1820
[ 43.297663] Subsystem error monitoring/handling services are up
[ 43.373843] ath11k soc:wifi1@c000000: qmi ignore invalid mem req type 10
[ 43.374581] ath11k soc:wifi1@c000000: chip_id 0x0 chip_family 0x4 board_id 0x60 soc_id 0xffffffff
[ 43.379905] ath11k soc:wifi1@c000000: fw_version 0x26060503 fw_build_timestamp 2023-09-12 20:54 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HK.2.6.0.1-01283-QCAHKSWPL_SILICONZ-1
[ 43.391948] ath11k soc:wifi1@c000000: qmi caldata downloaded: type: 2
[ 43.416491] remoteproc remoteproc2: remote processor cd00000.remoteproc:remoteproc_pd2 is now up
[ 43.417982] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 43.604002] ieee80211 phy1: copying sband (band 1) due to VHT EXT NSS BW flag
[ 43.610244] ath11k soc:wifi1@c000000: Direct firmware load for ath11k/qcn6122/hw1.0/qdss_trace_config.bin failed with error -2
[ 43.610282] ath11k soc:wifi1@c000000: Falling back to sysfs fallback for: ath11k/qcn6122/hw1.0/qdss_trace_config.bin
[ 43.912935] ath11k soc:wifi1@c000000: Direct firmware load for qdss_trace_config.bin failed with error -2
[ 43.912971] ath11k soc:wifi1@c000000: Falling back to sysfs fallback for: qdss_trace_config.bin
[ 44.077194] ath11k soc:wifi1@c000000: qmi failed to load QDSS config: qdss_trace_config.bin
[ 44.077227] ath11k soc:wifi1@c000000: Failed to download QDSS config to FW: -12 download QDSS config to FW: -12

在最新的releases中,并没有找到ubi文件

您好大佬,就是我在sha256上写到了
openwrt-ipq50xx-arm-redmi_ax3000-squashfs-nand-factory.ubi: ab4b6ef5f37b2f477bb0811f1aad6ff13ba78763a20c5f7fd90789bedc3305bf
但是下面的包却没有openwrt-ipq50xx-arm-redmi_ax3000-squashfs-nand-factory.ubi,请问下有什么办法才能直接下载嘛

Zerorier build failed

In file included from service/OneService.cpp:96:0:
ext/inja/inja.hpp:63:23: fatal error: string_view: No such file or directory
compilation terminated.
make[4]: *** [: service/OneService.o] Error 1
make[3]: *** [Makefile:84: /workdir/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/ZeroTierOne-1.10.2/.built] Error 2
make[4]: Leaving directory '/workdir/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/ZeroTierOne-1.10.2'
make[3]: Leaving directory '/workdir/openwrt/feeds/packages/net/zerotier'
time: package/feeds/packages/zerotier/compile#0.33#0.07#0.37
ERROR: package/feeds/packages/zerotier failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/zerotier/compile] Error 1
make[2]: Leaving directory

Hello, I encountered the above problem in my compilation. Can you help me see why? Thank you.

target 镜像如何选择才能通过 luci 网页更新系统?

目的

  • 通过 luci 网页更新 op

编译后的文件

  • 目前是根据下面的 config 配置编译出来了以下文件, 但是还是不知道用哪个镜像可以通过 网页来更新...
  • 尝试过直接用 ubi 文件进行更新, 但是貌似更新失败了
  • 以前一般用 bin/img/trx 就可以在 luci web 上面进行更新, 但是都没有,,,
    https://openwrt.org/docs/techref/image.format
bin/targets/ipq50xx/arm/
├── config.buildinfo
├── feeds.buildinfo
├── openwrt-ipq50xx-arm-redmi_ax3000-ext4-nand-factory.ubi.gz
├── openwrt-ipq50xx-arm-redmi_ax3000-initramfs-fit-uImage.itb
├── openwrt-ipq50xx-arm-redmi_ax3000.manifest
├── openwrt-ipq50xx-arm-redmi_ax3000-rootfs.tar.gz
├── openwrt-ipq50xx-arm-redmi_ax3000-squashfs-nand-factory.ubi
├── packages
├── sha256sums
└── version.buildinfo

config 配置

image
#❯ grep TARGET .config | grep -v ^#
CONFIG_TARGET_ipq50xx=y
CONFIG_TARGET_ipq50xx_arm=y
CONFIG_TARGET_ipq50xx_arm_DEVICE_redmi_ax3000=y
CONFIG_HAS_SUBTARGETS=y
CONFIG_TARGET_BOARD="ipq50xx"
CONFIG_TARGET_SUBTARGET="arm"
CONFIG_TARGET_PROFILE="DEVICE_redmi_ax3000"
CONFIG_TARGET_ARCH_PACKAGES="arm_cortex-a7"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe"
CONFIG_TARGET_ROOTFS_INITRAMFS=y
CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE=y
CONFIG_TARGET_ROOTFS_TARGZ=y
CONFIG_TARGET_ROOTFS_EXT4FS=y
CONFIG_TARGET_EXT4_RESERVED_PCT=0
CONFIG_TARGET_EXT4_BLOCKSIZE_4K=y
CONFIG_TARGET_EXT4_BLOCKSIZE=4096
CONFIG_TARGET_ROOTFS_SQUASHFS=y
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP=y
CONFIG_TARGET_UBIFS_JOURNAL_SIZE=""
CONFIG_TARGET_IMAGES_GZIP=y
CONFIG_TARGET_ROOTFS_PARTSIZE=104
CONFIG_TARGET_ROOTFS_DIR=""
CONFIG_TARGET_OPTIMIZATION="-Os -pipe"
CONFIG_TARGET_SUFFIX="muslgnueabi"
CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y
CONFIG_TARGET_PREINIT_TIMEOUT=2
CONFIG_TARGET_PREINIT_IFNAME=""
CONFIG_TARGET_PREINIT_IP="192.168.1.1"
CONFIG_TARGET_PREINIT_NETMASK="255.255.255.0"
CONFIG_TARGET_PREINIT_BROADCAST="192.168.1.255"
CONFIG_TARGET_INIT_PATH="/usr/sbin:/usr/bin:/sbin:/bin"
CONFIG_TARGET_INIT_ENV=""
CONFIG_TARGET_INIT_CMD="/sbin/init"
CONFIG_TARGET_INIT_SUPPRESS_STDERR=y
  • 提前谢谢大佬

802.11v启用的问题

你好!

使用的是qsdk-5.4.164内核版本
现时已下设定:
option ieee80211k '1'
option ieee80211r '1'
option ieee80211v '1'

重启后,802.11kr启用成功,802.11v没有成功启用
请问802.11v怎样设置才能开启

谢谢!

缺少了nvram的命令

无法在openwrt shell 刷入原固件应为少了nvram这个命令,只能tftp 重新刷机。

Can't interrupt the U-boot

i'm stuck on step 7. Send any key stroke to UART to interrupt the U-boot.

it shows bootwait is on, bootdelay=2. but i can't send anything to uart. my uart usb work normal with another router.
image

Extend rootfs?

Maybe we can try to change the mibib file and merge overlay and rootfs_1 into a larger partition to break the firmware size that can be flash , like ax6:reference link

为什么我通过 opkg 安装的命令会提示 not found

  • 以 frpc, frps 为例. frpc 是我直接编译进去的, frps 是我通过 opkg install 安装的
  • 从下图可以看到, frps 已安装并且确实是有可执行文件的也在 PATH 下面. 但是实际上执行 frps 提示找不到
  • frpc 倒是直接能找到.
root@OpenWrt:/etc/frp/frps.d# echo $PATH
/usr/sbin:/usr/bin:/sbin:/bin
root@OpenWrt:/etc/frp/frps.d#

image

架构是不是有点问题啊,IPQ50xx好像是Cortex-A53来着

root@OpenWrt:/etc/opkg# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='21.02-SNAPSHOT'
DISTRIB_REVISION='ci-20231102-143135-f05d568d'
DISTRIB_TARGET='ipq50xx/arm'
DISTRIB_ARCH='arm_cortex-a7_neon-vfpv4'
DISTRIB_DESCRIPTION='OpenWrt 21.02-SNAPSHOT ci-20231102-143135-f05d568d'
DISTRIB_TAINTS=''
root@OpenWrt:/etc/opkg# cat /etc/opkg/distfeeds.conf
src/gz openwrt_core https://hzyitc.github.io/openwrt-redmi-ax3000/ipq50xx-qsdk-kernel-5.4-openwrt-21.02-qsdk-11.5.05.841.1029/ci-20231102-143135-f05d568d
src/gz openwrt_base https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/telephony

opkg换源

默认opkg源的github pages速度很慢连接不稳定,能否考虑更换为cloudflare pages
src/gz openwrt_core https://hzyitc.github.io/openwrt-redmi-ax3000/ipq50xx-qsdk-kernel-5.4-openwrt-21.02-qsdk-11.5.05.841.1029/ci-20231204-171654-fa53000e

是否支持QCN6102

我有好几个设备是IPQ5018+QCN6102的方案。我想请问大佬QCN6122的驱动是否能用于QCN6102?

mac80211 build failed

make[2] -C package/utils/mtd-utils download
ERROR: package/kernel/mac80211 failed to build (build variant: regular).
make package/download: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on

Excuse me, does this affect the final compiled data?

AX3000 Is functional + Rebase against upstream?

Hi,
I can confirm that the installation procedure works works for the AX3000, and that all appears functional (with limited testing).
Main page table can be updated.

As a secondary item, can the repo be updated against latest upstream 23.05?

编译的时候遇到点问题,求大佬解答下,谢谢

在运行 ./scripts/feeds install -a 时警告

WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-ocf', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-ecm', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-ocf', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-ecm', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-ovsmgr', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-ecm-premium', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-cfi-cryptoapi', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-nss-ecm-premium', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a dependency on 'kmod-qca-wifi', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-clients/Makefile' has a build dependency on 'kmod-qca-nss-crypto', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-nss-drv/Makefile' has a dependency on 'kmod-qca-nss-gmac', which does not exist
WARNING: Makefile 'package/kernel/qca/qca-ssdk/Makefile' has a dependency on 'kmod-qca-rfs', which does not exist

这个有啥影响吗?

另外在编译时候选择openwrt 配置时架构是用IPQ50xx吧?我选择完后直接选择下方的保存,执行下一步了,然后报错了

make[2] -C package/system/uci download
 make[2] -C package/system/urandom-seed download
 make[2] -C package/system/urngd download
 make[2] -C package/system/usign download
 make[2] -C package/utils/jsonfilter download
 make[2] -C package/utils/busybox download
 make[2] -C package/utils/mtd-utils download
    ERROR: package/kernel/mac80211 failed to build (build variant: regular).
make package/download: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
 make[1] target/download
 make[2] -C target/linux download

新人小白第一次尝试自己编译,不是太明白。
编译环境: deepin20
编译需要的都安装了,

sudo apt install build-essential clang flex g++ gawk gcc-multilib gettext \
  git libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev \
  coccinelle

不过不是走的 ppa:npalix/coccinelle 源,用的是deepin默认的源。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.