New device support Cudy LT300 v3.0

i'll try to add the cudy LT300 V3.0 to openwrt

thanks to

all credits go to rogerpueyo, his findings and his work.

this is for now mainly a clone of the files from cudy-lt400e-v1
just the prtion sizes adjusted to 16MB flash size, the partition layout is grabbed from the systemlog of a running cudy LT300 V3.0 with cudy's default firmware

work in progress: instead of guessing which LED's or switch ports are not populated i'll try all 4, disabling the unneed later

files added (change to new partition layout and flash size);
openwrt.25.12/target/linux/ramips/dts/mt7628an_cudy_lt300-v3.dts

files changed:

target/linux/ramips/image/mt76x8.mk
target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network

instead of guessing which LED'S or switch ports are not populated i'll try all 4, disabling the unneed later

git clone -b openwrt-add-cudy_lt300v3 https://github.com/jenswes/openwrt.git

or

git clone https://github.com/jenswes/openwrt.git
cd openwrt
git checkout openwrt-add-cudy_lt300v3

for now you can't install this due to the signature check of the default firmware i'll ask the cudy supoort for an intermediate Firmware as we have now something to try

wespe

Great work, looking forward to being able to deploy OpenWRT on my LT300 v3.0!

I’m glad to announce official support for the Cudy LT300 v3: https://github.com/openwrt/openwrt/pull/21982

You can now build a snapshot using https://firmware-selector.openwrt.org/

Considering it got 64MB RAM, I'm surprised they approved it.

On 25.12, even with a fully working modem and several of my scripts running, there is still ~15–20 MB of free RAM left. mt7628 is well optimized