Adding OpenWrt support for Xiaomi AX3600 (Part 1)

Should be easy (only dts entries). What i'm dubious is the scaling driver... Wonder if they still have the same problem with cache scaling (saw some patch to add a devfreq driver that can sync with the cpu freq but I think it got rejected.) (also tsens should work out of the box)
Also about ethernet driver. What are we using? DSA or still swconfig?

Its not only DTS entries, we are still missing the CPR APSS voltage regulator and APSS PLL clk driver.
I dont think they are scaling the cache at all, or its being done outside of Linux control as only the generic OPP DT frequency scaling is used.

Tsens does not work out of the box, they have modified the v2 a bit as it seems.

Their ethernet driver is using switchdev + the awfull SSDK for the PHY-s/switch.
I dont like that at all.

PHY-s are not hard as I already have a working QCA8075 PHY driver, QCA8081 for 2.5G is much simpler and it should not be hard and for 10G Aquantia ones are already mainline.
But the switch is still the same one from IPQ40xx with the same issues, but they now have multiple EDMA ethernet adapters modified to run at higher speeds.

MDIO controller is the same one as in IPQ40xx, I have upstreamed that and even Clause 45 support was merged into 5.10.
I will add clock handling to it as well as IPQ807x/IPQ60xx have a separate MDIO clocks.

No pending upstream patches for anything clk or networking related stuff.

Patch upstream pending for review (or they didn't even tried to push that?)

So it will be a task of take the code from qsdk and port to 5.10

For the start at least

FYI i am using this adapter, supports 1.8v / 2.5v / 3.3v / 5v logic (FTDI FT232RL based)

https://www.amazon.co.uk/DSD-TECH-SH-U09C5-Converter-Support/dp/B07WX2DSVB

So we are all basically using the FT232RL.
Also, I just pushed MDIO support as well.

3 Likes

Ordered now a FT232RL with 1.8V option right here:

It'll probably arrive within a few weeks. until then, if you need any checks with stock international firmware - please let me know.

I just got my RAX120 and I wonder, do I need an FTDI with 1.8v for the console? Or can I use 3.3?
I am asking because I donĀ“t know very well when you talk about the xiaomi or the netgear device...
Is there anything I can do to help with?
The repository that you have been mentioning is for the netgear or xiaomi?

Take your multimeter and check the voltage on your serial pin header...

This thread title is "Adding OpenWrt support for Xiaomi AX3600" so i guess it's about this device exclusively...

Same as above...

For a generic ipq807x discussion, you should head over to:

2 Likes

Opened mine... (one screw hided behind the center sticker and not that easy to open) (also wtf why so big and half the space is just heatsink... )
Notice something strange, from the original bootlog the usb driver is installed and a hub is actually detected... Wonder if they just skip the usb port on the board and there is a way to add them manually.

2 Likes

An USB port would be really interesting, at least for me :wink:

no header on the pcb so a skill in microsolder is required i think...

They simply did not disable the USB ports at all as they just reused the AC04 reference board DTS

1 Like

@robimarko do we have a quick guide to enable uboot / ssh? or should i use the search function?

I used this:

1 Like

Also this Adding OpenWrt support for Xiaomi AX3600 - For Developers - OpenWrt Forum

1 Like

Having some problem with tx terminal. Do you use it? Can you confirm that serial header from pin one is (vcc, gnd, rx, tx)

Its VCC, RX, GND, TX.
You can see the silkscreen above the header

1 Like

wow didn't notice that ahahah sorry