openwrt-ipq60xx / openwrt

Other
5 stars 1 forks source link

Xiaomi AX1800 #5

Closed proxer05 closed 12 months ago

proxer05 commented 1 year ago

Hi. I see you're working at Xiaomi Rm1800(m59 platform). Can I verify it have same hardware as Xiaomi ax1800/ra67(m67 platform)?

pexcn commented 1 year ago

This firmware only work on Xiaomi AX1800/Redmi AX5, not work to m59 platform. You can try this artifacts https://github.com/openwrt-dev/ci-ipq60xx/actions/runs/6762242713

pexcn commented 1 year ago

You can go to this issue to view more details: https://github.com/JiaY-shi/openwrt/issues/14

proxer05 commented 1 year ago

This firmware only work on Xiaomi AX1800/Redmi AX5, not work to m59 platform. You can try this artifacts https://github.com/openwrt-dev/ci-ipq60xx/actions/runs/6762242713

Ohh. Nice then. I got confused by rm1800 in commit messages😅. What's current status of your build?

pexcn commented 1 year ago

Ohh. Nice then. I got confused by rm1800 in commit messages😅.

My DTS was modified based on this version, but I will change it to AX1800 in the future.

What's current status of your build?

Two bugs, see here for details.

pexcn commented 1 year ago

Hi, @proxer05 how's the effect? Have you found any other bugs?

proxer05 commented 1 year ago

I'm gonna flash it on Friday as I'm not at home atm. Can I flash it using sysupgrade on stock?

proxer05 commented 1 year ago

Also your bug with stuck on sbl after soft reboot might be related to qcom_smc? Check patches from ipq40xx

pexcn commented 1 year ago

I'm gonna flash it on Friday as I'm not at home atm. Can I flash it using sysupgrade on stock?

Maybe not. I have only tried using a third-party uboot to flash using the factory image. Another thing worth noting is that it requires your AX1800 to have at least 512MB of RAM, this means you have to upgrade its RAM.

pexcn commented 1 year ago

WARNING: THIS U-BOOT AND CDT ONLY TESTED ON XIAOMI AX1800

You can try this third-party uboot, it should be possible to flash it via stock firmware:

mtd write uboot.bin /dev/mtd7
mtd verify uboot.bin /dev/mtd7

uboot.zip

In addition, after upgrading the RAM, you need to flash the corresponding CDT to recognize it.

cat /proc/mtd | grep CDT
mtd write /tmp/tmp/CDT-AX1800_1G.bin /dev/mtd5
mtd verify /tmp/tmp/CDT-AX1800_1G.bin /dev/mtd5

CDT.zip

pexcn commented 1 year ago

Also your bug with stuck on sbl after soft reboot might be related to qcom_smc? Check patches from ipq40xx

Can you provide links to relevant patches?

proxer05 commented 1 year ago

Another thing worth noting is that it requires your AX1800 to have at least 512MB of RAM, this means you have to upgrade its RAM.

Which one you used? Does it need to be Micron one?

pexcn commented 1 year ago

Which one you used? Does it need to be Micron one?

I use Micron D9STQ (MT41K512M16HA-125:A) 1GB, you can see https://github.com/Lvellios/OpenWrt-IPQ/ for detail. BTW, Can you provide the patches link of qcom_smc?