-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请求添加 CMCC RAX3000Q/QY 支持,并PR到openwrt官方仓库 #73
Comments
麻烦提供下原厂rom。 |
***@***.***:/tmp# cat /proc/mtd
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"
mtd5: 00100000 00020000 "0:QSEE_1"
mtd6: 00040000 00020000 "0:DEVCFG"
mtd7: 00040000 00020000 "0:DEVCFG_1"
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"
mtd16: 03000000 00020000 "rootfs_1"
mtd17: 00a40000 00020000 "TZPARAM"
mtd18: 00a40000 00020000 "TZBAK"
mtd19: 002fd6f8 0001f000 "kernel"
mtd20: 00369000 0001f000 "wifi_fw"
mtd21: 00004800 0001f000 "bt_fw"
mtd22: 0118f000 0001f000 "ubi_rootfs"
mtd23: 00d90000 0001f000 "rootfs_data"
mtd24: 0070600 0001f000 "tzparam"
mtd25: 0070600 0001f000 "tzbak"
***@***.***:/# cat /proc/cmdline
console=ttyMSM0,115200n8 cnss2.bdf_integrated=0x24 cnss2.bdf_pci0=0x60
cnss2.bdf_pci1=0x60 cnss2.skip_radio_bmap=4 ubi.mtd=rootfs
root=mtd:ubi_rootfs rootfstype=squashfs rootwait swiotlb=1
***@***.***:/tmp# mount
mtd:ubi_rootfs on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_4 on /overlay type ubifs (rw,noatime)
overlayfs:/overlay on / type overlay
(rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
/dev/mtdblock20 on /lib/firmware/IPQ5018/WIFI_FW type squashfs (ro,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
ubi1:tzparam on /etc/tzcfg type ubifs (rw,relatime)
ubi2:tzbak on /etc/tzbak type ubifs (rw,relatime)
因为没有nand的编程器,请问需要如何操作才能导出你要的数据?
以下是dd导出的:
ROM.tar.gz
<https://drive.google.com/file/d/1SM-i-3tNkx9UTW18FaMM8dCg8By_kCoF/view?usp=drive_web>
mtdblock15
<https://drive.google.com/file/d/1pG_qHtRyX77631dydZMgnNYOTHJ9Lnr7/view?usp=drive_web>
mtdblock17
<https://drive.google.com/file/d/1JHBL8WIAecItSuCYgEob7IVnz8qE78ug/view?usp=drive_web>
mtdblock22
<https://drive.google.com/file/d/1lIWETEXDz56s6MA4EqnYacYozZrjP1F0/view?usp=drive_web>
hzyitc ***@***.***> 于2024年6月24日周一 00:10写道:
… 麻烦提供下原厂rom。
—
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYZ46ZMB3OJEYXIIBRZIRATZI3XPTAVCNFSM6AAAAABIFOWE7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGA4TSMBZGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
内核版本:Linux OpenWrt 4.4.60 #5 SMP Thu Jan 19 09:30:40 CST 2023 armv7l
GNU/Linux
mtdblock20
<https://drive.google.com/file/d/1QFq5xDBva8ybnymPIXV3V2l95B8t-SGc/view?usp=drive_web>
mtdblock19
<https://drive.google.com/file/d/1Q25mBmzNKMuvU5wh92MPc7cZCUopgNrt/view?usp=drive_web>
Tony Teng ***@***.***> 于2024年6月25日周二 20:21写道:
… ***@***.***:/tmp# cat /proc/mtd
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"
mtd5: 00100000 00020000 "0:QSEE_1"
mtd6: 00040000 00020000 "0:DEVCFG"
mtd7: 00040000 00020000 "0:DEVCFG_1"
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"
mtd16: 03000000 00020000 "rootfs_1"
mtd17: 00a40000 00020000 "TZPARAM"
mtd18: 00a40000 00020000 "TZBAK"
mtd19: 002fd6f8 0001f000 "kernel"
mtd20: 00369000 0001f000 "wifi_fw"
mtd21: 00004800 0001f000 "bt_fw"
mtd22: 0118f000 0001f000 "ubi_rootfs"
mtd23: 00d90000 0001f000 "rootfs_data"
mtd24: 0070600 0001f000 "tzparam"
mtd25: 0070600 0001f000 "tzbak"
***@***.***:/# cat /proc/cmdline
console=ttyMSM0,115200n8 cnss2.bdf_integrated=0x24 cnss2.bdf_pci0=0x60
cnss2.bdf_pci1=0x60 cnss2.skip_radio_bmap=4 ubi.mtd=rootfs
root=mtd:ubi_rootfs rootfstype=squashfs rootwait swiotlb=1
***@***.***:/tmp# mount
mtd:ubi_rootfs on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_4 on /overlay type ubifs (rw,noatime)
overlayfs:/overlay on / type overlay
(rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
/dev/mtdblock20 on /lib/firmware/IPQ5018/WIFI_FW type squashfs
(ro,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
ubi1:tzparam on /etc/tzcfg type ubifs (rw,relatime)
ubi2:tzbak on /etc/tzbak type ubifs (rw,relatime)
因为没有nand的编程器,请问需要如何操作才能导出你要的数据?
以下是dd导出的:
ROM.tar.gz
<https://drive.google.com/file/d/1SM-i-3tNkx9UTW18FaMM8dCg8By_kCoF/view?usp=drive_web>
mtdblock15
<https://drive.google.com/file/d/1pG_qHtRyX77631dydZMgnNYOTHJ9Lnr7/view?usp=drive_web>
mtdblock17
<https://drive.google.com/file/d/1JHBL8WIAecItSuCYgEob7IVnz8qE78ug/view?usp=drive_web>
mtdblock22
<https://drive.google.com/file/d/1lIWETEXDz56s6MA4EqnYacYozZrjP1F0/view?usp=drive_web>
hzyitc ***@***.***> 于2024年6月24日周一 00:10写道:
> 麻烦提供下原厂rom。
>
> —
> Reply to this email directly, view it on GitHub
> <#73 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AYZ46ZMB3OJEYXIIBRZIRATZI3XPTAVCNFSM6AAAAABIFOWE7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGA4TSMBZGY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
太棒了,终于有人搞这个了,30买了个二手的,又花了10块钱进群,刷了个什么NWRT,结果使用体验非常差,挺恶心的。求大佬适配CMCC RAX3000Q/QY |
大佬,CMCC AX3000Q/QY 分析的怎么样? 值得研究吗? |
需要时间,最近工作比较忙 |
加油大佬,就等你了! |
@hzyitc 有空看下 CMCC AX3000Q/QY ,是否还需要提供其他文件? |
dmesg只有一小节,不清楚用的是哪个DT。需要完整的串口启动日志。
以及有线拓扑:
|
root@OpenWrt:~# swconfig switch1 show |
root@OpenWrt:~# cat /etc/config/network config interface 'loopback' config globals 'globals' config switch config interface 'lan' config alias 'lan6' config interface 'wan' config interface 'wan6' config switch config switch_vlan config switch_vlan config switch_vlan config switch_vlan |
root@OpenWrt:~# strings /proc/device-tree/model |
root@OpenWrt:~# strings /proc/device-tree/compatible |
root@OpenWrt:~# dmesg |
@hzyitc 不知道是否满足您的要求。 |
@lo5a 可以运行下下面的命令,然后插拔下每个网口,看看各个网口对应的交换片的哪个口吗?
根据提供的network,它交换片连线有点奇怪,好像 1是WAN,2 4 5是LAN,3 6是CPU。(3 6 可能说反了) |
dmesg信息还是不完整。最好是能用串口记录,从uboot到系统完整启动的所有日志。 不过这个现在暂时可以不用。 但最后测试时还是需要串口兜底的,在启动失败或者网口配置错误时,可以救砖。 |
1 2 4 5确实如您所说,3 6就不懂了。 |
我没有拆机,没用ttl解ssh,所以没有串口记录,其他大佬能否提供一下呢? |
众人拾柴火焰高,希望大家能踊跃参与,让 @hzyitc 大佬能早日出包,造福RAX3000QY机主,感谢hzyitc大佬的辛勤付出! |
拆机了一个,完整串口打印如下: U-Boot 2016.01 (Jan 26 2022 - 18:11:36 +0800), Build: jenkins-RAX3000Q-76 DRAM: smem ram ptable found: ver: 1 len: 4 *** Warning - bad CRC, using default environment PCI1 is not defined in the device tree Loading kernel from FIT Image at 44000000 ...Using '[email protected]' configuration Loading fdt from FIT Image at 44000000 ...Using '[email protected]' configuration Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 7.591343] ubi: mtd16 is already attached to ubi0 WIFI FW mount is successful OpenWrt login: root |
Uboot env 以及支持的命令如下 : Environment size: 542/262140 bytes exit - exit script flasherase- flerase part_name flinfo - print FLASH memory information go - start application at address 'addr' itest - return true/false on integer compare setenv - set environment variables uart - UART sub-system |
已推送。 不保证能启动。仅限有串口,懂救砖的用户测试。 |
有人编译成功的吗?方便发出来,还有刷机方法方便简单写一下吗? |
测试可以启动,但是mac地址获取失败: U-Boot 2016.01 (Jan 26 2022 - 18:11:36 +0800), Build: jenkins-RAX3000Q-76 DRAM: smem ram ptable found: ver: 1 len: 4 PCI1 is not defined in the device tree Loading kernel from FIT Image at 44000000 ...Using '[email protected]' configuration Loading fdt from FIT Image at 44000000 ...Using '[email protected]' configuration Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) built-in shell (ash) | |.-----.-----.-----.| | | |.----.| |_
|
再次感谢 hzyitc 的辛勤付出,CMCC RAX3000Q/QY 可以刷机成功,除了MAC无法自动读取外其他功能都正常。 |
点赞,支持,试一下,感谢大佬付出 刷进去了,直接UBOOT刷入 不需要多个设备可以无视MAC,没有NSS 可以中继,有的能连上,有的信号又连不上 插件有的可用,有的又不行。 工作模式只能选一个,不能 a/g a/n ac/ax 这种吗? |
@TonyTeng22 wifi 5g的速率能达到多少?和原厂固件相比差很多么? |
@hzyitc 编译时可以提供sysupgrade固件吗?这样就不需要每次都拆机串口刷机了。如果能提供不死uboot就更好了 |
其他分支也更新了,麻烦测试下 |
sysupgrade直接用ubi包 当前不可用是因为我没做适配。得研究下这个设备的ab升级流程。 |
k4.4 CMCC RAX3000Q 刷入无限重启 |
看来无线还是有比较大的改进余地,信道选149或36,功率选20或21,不知有没有改善,亚瑟选这两个效果比较好。 |
大佬最好能够把不拆机刷机包研究出来,便于大伙刷机测试,为大佬点赞! |
k5.4正式版测试WiFi异常, 没有加载私有驱动,无5G热点 |
k5.4pre 预览版 5G有160M设置选项但是,设置后无热点 ,80M 正常出热点,但是无法连上 |
截止7.30日目前能用的版本是:20240724153345 的 5.15 pre-release |
其实2.4g可以不要,我用路由器,都是把2.4g关掉,还能减少发热。 uboot.zip 这里有个uboot可以直接刷入,但是刷完再进uboot就进不去了,不知道什么原因 |
大佬,经过你的分析,这个交换片连线具体是怎么连的啊?1是WAN,245是LAN,036分别连的什么?理论上0应该是CPU。现在这个设备刷了其他相同硬件配置的固件,可能会出现环路,是不是应该和这个交换机连接有关啊?? |
eth1addr 的地址应该是标签上的地址+1 ,不然你的LAN和WAN的MAC地址会是一样的。 |
跨网段mac层是隔离的,一个mac足矣 |
感谢分享uboot,nwrt固件是基于qsdk的32位系统,qcawifi闭源驱动,一般使用应该可以吧,真要跑一些服务,内存太小了。 |
此 uboot 的 bootargs 有误 需改为: |
感谢分享!有改好的不死uboot吗?这个固件稳定吗?无线的速度如何? |
速度一般吧:300 - 400mbps |
5.15没有nss,吃cpu的,速度慢是正常现象 |
同求改好的uboot,谢谢 |
设备树文件中的QCN6102的bdf-addr好像错了。 不知道会不会影响5G信号。。。。 |
我有5,600M,跑不满千兆。无法开启160Mhz。 |
这个固件怎么刷?我也下了,按同样步骤无法启动 |
你好 hzyitc,
非常感谢你关于红米AX3000的贡献, 以及上个月向openwrt官方仓库PR尝试. 让IPQ50xx WIFI6用户看到了曙光和希望。
RAX3000Q/QY 的拆机文章在这里,拆机
打开telnet: ping 测试 输入:$(telnetd&) 开始; 然后输入$(echo${IFS}root::0:0:::/bin/sh${IFS}>/etc/passwd)
ps:
flash:
RAX300QY_dmesg:
RAX300QY_dmesg.txt
ini:
RAX3000QY_ini.txt
facto
factory_param_config.def.txt
ry_param_config.def:
Originally posted by @TonyTeng22 in #72
The text was updated successfully, but these errors were encountered: