openwrt-ipq60xx / openwrt

Other
3 stars 1 forks source link

Redmi AX5 #1

Open pexcn opened 10 months ago

pexcn commented 10 months ago

I have a Redmi AX5, but I haven't upgraded the RAM, maybe support for it will be added in the future, maybe not. So backup some necessary information here.

ax5_stock_firmware_boot.log ax5-bdf.zip

UPDATE ON 20240105 ax5-cn-and-intl-bdwlan.zip

breeze303 commented 9 months ago

I have an ax5 that has been upgraded to 1G memory. If you need to test it, please contact me.

breeze303 commented 9 months ago

At present, the firmware I flashed after successfully compiling can boot normally. If add luci, there will be problems.

pexcn commented 9 months ago

I have an ax5 that has been upgraded to 1G memory. If you need to test it, please contact me.

You can try the firmware of Xiaomi AX1800 for flashing, it should be able to boot directly.

At present, the firmware I flashed after successfully compiling can boot normally. If add luci, there will be problems.

What's the problem?

breeze303 commented 9 months ago

Can't start and the LED keeps flashing.

pexcn commented 9 months ago

Can't start and the LED keeps flashing.

Can you provide boot log?

breeze303 commented 9 months ago

I made a new firmware and will see if it can boot later,if possible, I hope we can communicate in Chinese, because my English is not very good, thank you.😀

pexcn commented 9 months ago

可以

breeze303 commented 9 months ago

我编译了个新的,晚点刷上去看看,要不启动的话再输出下ttl给你看看

breeze303 commented 9 months ago

openwrt-qualcommax-ipq60xx-xiaomi_ax1800-squashfs-nand-factory.zip 这是固件

pexcn commented 9 months ago

你可以试试这里的固件,它包含luci,可以正常启动

breeze303 commented 9 months ago

你可以尝试这里的支架,它包含luci,可以正常启动

好的谢谢,我晚上试试

breeze303 commented 8 months ago

IMG_8748 可以刷进了,可以分享下config看看吗?不知道是不是我make menuconfig没选好

pexcn commented 8 months ago

参考 https://github.com/openwrt-dev/configs-ipq60xx

breeze303 commented 8 months ago

你说它每次重启不会自己启动这个问题,我似乎没有遇到,是不是已经修复了?

pexcn commented 8 months ago

你说它每次重启不会自己启动这个问题,我似乎没有遇到,是不是已经修复了?

没有修复,目前只有小米AX1800发现有这个问题

breeze303 commented 8 months ago

好吧,ax5一切正常,我改天搬个ax5选项出来,这样好看些,虽然ax1800和ax5都一样😂

pexcn commented 8 months ago

好吧,ax5一切正常,我改天搬个ax5选项出来,这样好看些,虽然ax1800和ax5都一样😂

两个型号的BDF有些区别的,你可以用这个issue里最开始提到的文件试试

breeze303 commented 8 months ago

好的谢谢,我有空再试试

breeze303 commented 8 months ago

你有测试过这个nss有起效吗

pexcn commented 8 months ago

没,有测试的具体步骤吗?

breeze303 commented 8 months ago

好像是跑iperf3看cpu占有率,最准确是用wifi跑,但这个固件没有wifi

pexcn commented 8 months ago

固件是支持WiFi的,之前测过WiFi下载跑到900Mbps以上,CPU占用大概30%

breeze303 commented 8 months ago

你发的那份刷完没有无线的选项,但软件包里能看到驱动也是奇怪

pexcn commented 8 months ago

日志有什么报错吗?

breeze303 commented 8 months ago

好像没有

breeze303 commented 8 months ago

可以看看你的无线界面吗

pexcn commented 8 months ago

好像没有

贴一下你的dmesg日志看看

可以看看你的无线界面吗

wifi

breeze303 commented 8 months ago

贴一下你的dmesg日志看看

上班去了,没在家,晚上我截图下

breeze303 commented 8 months ago

image 卡在这里了

breeze303 commented 8 months ago

image 刷你给的固件的话wifi这里是这样的

breeze303 commented 8 months ago

image 卡在这里了

貌似是wifi驱动成功后就无法启动,失败反而能启动

pexcn commented 8 months ago

这就不清楚了,我的AX5暂时没办法测试

breeze303 commented 8 months ago

这就不清楚了,我的AX5暂时没办法测试

应该是要替换你上面的dbf才行,还是得把ax5单独区分出来和ax1800不太兼容

pexcn commented 8 months ago

如果换的话,要改dts,具体可以参考 https://forum.openwrt.org/t/adding-openwrt-support-for-netgear-rax120-nighthawk-ax12/75592/63

breeze303 commented 8 months ago

如果换的话,要改dts,具体可以参考 https://forum.openwrt.org/t/adding-openwrt-support-for-netgear-rax120-nighthawk-ax12/75592/63

修改文件指向就行了吧,patch这些也要增加ax5的型号吧?我参考你的push记录应该就行

pexcn commented 8 months ago

是的,参考AX1800的提交记录

breeze303 commented 8 months ago

package/firmware/ipq-wifi/src/board-xiaomi_ax1800.ipq6018 这个文件是哪里提取?

breeze303 commented 8 months ago

我发现好像不需要patch来add相关的dtb?

pexcn commented 8 months ago

package/firmware/ipq-wifi/src/board-xiaomi_ax1800.ipq6018 这个文件是哪里提取?

从原厂固件提取,再参考这个提交里提到的那个链接生成

breeze303 commented 8 months ago

https://github.com/qca/qca-swiss-army-knife这个吗?不太会怎么用😂

pexcn commented 8 months ago

下载这个issue的ax5-bdf.zip文件解压就看到说明了,源文件都在里面

breeze303 commented 8 months ago

适配是完成了,无线不太行,编译ax1800用这个config编译不过

参考 https://github.com/openwrt-dev/configs-ipq60xx

这是报错日志 新建 文本文档.txt

pexcn commented 8 months ago

日志里没看出来什么问题。我怀疑是你的环境有问题,github actions在线编译用的就是这个config,可以编译通过。具体你可以参考下另一个库ci-ipq60xx

breeze303 commented 8 months ago

我看看

breeze303 commented 8 months ago

image 可以了,无线没反应还要修修

pexcn commented 8 months ago

你的红米AX5不是1G内存的?原机256MB内存必然启动不了,起码要512MB才能启动

breeze303 commented 8 months ago

你的红米AX5不是1G内存的?原机256MB内存必然启动不了,起码要512MB才能启动

我有两台,一台改了一台没改

pexcn commented 8 months ago

没改的不能用WiFi,256MB启动会有个内核模块崩溃的,我试过了

breeze303 commented 8 months ago

没改的不能用WiFi,256MB启动会有个内核模块崩溃的,我试过了

那怪不得之前Wi-Fi启动然后开不了机

pexcn commented 8 months ago

模块崩溃也是可以开机进系统的,只是无线没办法使用