New version of Cudy WR1300 (V2.0)

The config from openwrt website made the difference and worked like a charm. Thank you very much!
The image works as described. Only the 5G LED doesn't work but WiFi works. Hope that the code will be merged soon. My small Linux box took 4 hours to compile everything :slight_smile:

1 Like

The merge request from @amhairghin was accepted which is great.

Do we need to adapt the table of hardware and the device tech data in order to guide users to the correct images? Maybe splitting up https://openwrt.org/toh/hwdata/cudy/cudy_wr1300 in v1 and v2?

Done:

Thanks, but with that https://openwrt.org/toh/hwdata/cudy/cudy_wr1300 has become a dead link. Would it be possible to have that URL either redirect to the v1 page or have links links to both new pages?

Right now that no longer makes sense since there is nothing on the wiki linking to that address.

If you go to the hardware table you will see that all links point to cudy_wr1300_v1 (v2 does not appear yet because it is only in trunk).

this dts is wrong, you can see it here:

Which dts are you referring to? Here we are discussing about v2 of the router. In the thread you link it seems that something about v1 is being discussed which is completely outside the scope of this discussion.

spi-max-frequency should be the same v1 or v2

Not necessarily. Cudy might (intentionally or accidentally¹) have improved the SPI circuit in v2 so that it can deal with higher frequencies. At least I haven't heared of any SPI issues with 80 MHz on v2 yet.

That said, I'd opt for reducing it to 40 MHz as OpenWrt's default on v1 and v2 for now to avoid stability issues, and ask for volunteers to test it at 80 on v2 and report their results.


¹ I think accidentally would be more likely, given that they still use only 10 MHz in their own images.

i check yesterday and cudy have the same for v1 and v2

Yes, but they use only 10 MHz, which is most likely much lower than the circuits in both versions are actually capable of. It looks like vendors tend to be overcautious here, so it does make sense that OpenWrt uses higher values, but 80 MHz seem to be too much at least for v1.

1 Like

yes, but 80 MHz is way over 10

Reducing the value in the dts is trivial, but I don't see the need to do it beforehand in v2 because there are v1 routers that need to have that value reduced. So far no one has reported failures in v2 with the value at 80. In fact it is likely that having to reduce the value in v1 is due to the USB port, which v2 does not have.

In conclusion. Let's not get ahead of ourselves. If someone with v2 reports errors we will check to see if it is necessary to reduce the value. In the meantime, reducing it because there are bugs with v1 does not seem logical to me.

Looking at the page of WR1300, there is a new version released, V3. https://www.cudy.com/wr1300_software_download

V3 and V2 have the same OpenWrt version. See: http://www.cudytech.com/openwrt_software_download

1 Like

OpenWrt 22.03.3 was released today. Unfortunately it seems that WR1300-v2 didn't make it into the release. Does anybody know why it is not part of 22.03.3? I cannot find a precompiled image in the OpenWrt repository.

For now it is part of the master (or trunk), so there are only snapshots that distinguish between v1 and v2.

I think this is mainly because version 22.03.3 comes from the 22.03 branch which does not include this change. I believe that the changes will not be included until the new version 23.XX is released.

I would guess (and hope) that a patch that adds support for a new revision with only minor changes of an already supported board would also be accepted in the 22.03 branch, but somebody (ideally somebody with access to the hardware) would have to prepare and submit it.

I understand that this is the way OpenWrt works. A new router comes in when a new branch is created and a new branch is only created from the master when a new major version is created.

The only thing I can do (and if you trust me) is to upload somewhere the sysupgrade from 22.03.3 to v2.

I am still wondering a bit as the change log of 22.03.3 lists a few new router models that were added.

Thanks for offering to provide a new sysupgrade image. That might help people who buy this router at the moment as v1 is not on sale any longer. I was able to use the diff from 22.03.2 for 22.03.3 and compiled the image. Your changes still work like a charm. :+1: