Support for Cudy TR3000 256MB

Cudy tr3000 128MB version is already supported. Now Cudy has released a new 256MB version. The official website has improved the DTS file. Can the 256MB version be supported?

Cudy TR3000 256MB

DTS information

This is the openwrt startup log provided by Cudy

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.83 (root@ThinkBook) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r0-c8fbaa7) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Mar 17 13:09:01 2025
[    0.000000] Machine model: Cudy TR3000 v1
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[    0.000000] OF: reserved mem: 0x0000000047c80000..0x0000000047d7ffff (1024 KiB) nomap non-reusable wmcpu-reserved@47c80000
[    0.000000] OF: reserved mem: 0x0000000047d80000..0x0000000047dbffff (256 KiB) nomap non-reusable wo-emi@47d80000
[    0.000000] OF: reserved mem: 0x0000000047dc0000..0x0000000047ffffff (2304 KiB) nomap non-reusable wo-data@47dc0000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x0000000047c7ffff]
[    0.000000]   node   0: [mem 0x0000000047c80000-0x0000000047ffffff]
[    0.000000]   node   0: [mem 0x0000000048000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 18 pages/cpu s35048 r8192 d30488 u73728
[    0.000000] pcpu-alloc: s35048 r8192 d30488 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: 
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x000000005fd68000-0x000000005fde8000] (0MB)
[    0.000000] Memory: 496272K/524288K available (8896K kernel code, 996K rwdata, 2584K rodata, 448K init, 292K bss, 28016K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000069] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000077] pid_max: default: 32768 minimum: 301
[    0.002971] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.002980] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.005106] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.005637] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.005790] rcu: Hierarchical SRCU implementation.
[    0.005793] rcu: 	Max phase no-delay instances is 1000.
[    0.006174] smp: Bringing up secondary CPUs ...
[    0.006534] Detected VIPT I-cache on CPU1
[    0.006576] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.006605] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.006670] smp: Brought up 1 node, 2 CPUs
[    0.006676] SMP: Total of 2 processors activated.
[    0.006679] CPU features: detected: 32-bit EL0 Support
[    0.006682] CPU features: detected: CRC32 instructions
[    0.006714] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.006718] CPU: All CPU(s) started at EL2
[    0.006719] alternatives: applying system-wide alternatives
[    0.010241] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010257] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.011542] pinctrl core: initialized pinctrl subsystem
[    0.012709] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.013011] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.013037] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.013057] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.013432] thermal_sys: Registered thermal governor 'fair_share'
[    0.013436] thermal_sys: Registered thermal governor 'bang_bang'
[    0.013438] thermal_sys: Registered thermal governor 'step_wise'
[    0.013441] thermal_sys: Registered thermal governor 'user_space'
[    0.013478] ASID allocator initialised with 65536 entries
[    0.014186] pstore: Using crash dump compression: deflate
[    0.014190] pstore: Registered ramoops as persistent store backend
[    0.014193] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.015597] /soc/interrupt-controller@c000000: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[    0.021342] Modules: 29424 pages in range for non-PLT usage
[    0.021350] Modules: 520944 pages in range for PLT usage
[    0.022399] cryptd: max_cpu_qlen set to 1000
[    0.024468] SCSI subsystem initialized
[    0.025089] libata version 3.00 loaded.
[    0.026546] clocksource: Switched to clocksource arch_sys_counter
[    0.028876] NET: Registered PF_INET protocol family
[    0.028984] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.030268] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.030281] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.030294] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.030323] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.030419] TCP: Hash tables configured (established 4096 bind 4096)
[    0.030739] MPTCP token hash table entries: 512 (order: 1, 12288 bytes, linear)
[    0.030849] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.030865] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.031053] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.031076] PCI: CLS 0 bytes, default 64
[    0.032500] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.037315] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.037323] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.081262] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.082489] printk: console [ttyS0] disabled
[    0.102841] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 72, base_baud = 2500000) is a ST16650V2
[    0.102880] printk: console [ttyS0] enabled
[    0.850334] loop: module loaded
[    0.856451] spi-nand spi0.0: calibration result: 0x2
[    0.861584] spi-nand spi0.0: Micron SPI NAND was found.
[    0.866827] spi-nand spi0.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[    0.875373] Signature found at block 2047 [0x0ffe0000]
[    0.880540] NMBM management region starts at block 1920 [0x0f000000]
[    0.888050] First info table with writecount 0 found in block 1920
[    0.897563] Second info table with writecount 0 found in block 1923
[    0.903826] NMBM has been successfully attached
[    0.908659] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.915242] Creating 6 MTD partitions on "spi0.0":
[    0.920049] 0x000000000000-0x000000100000 : "BL2"
[    0.925718] 0x000000100000-0x000000180000 : "u-boot-env"
[    0.931796] 0x000000180000-0x000000380000 : "Factory"
[    0.938536] 0x000000380000-0x0000003c0000 : "bdinfo"
[    0.944346] 0x0000003c0000-0x0000005c0000 : "FIP"
[    0.950511] 0x0000005c0000-0x00000ebc0000 : "ubi"
[    1.069063] ubi0: default fastmap pool size: 90
[    1.073595] ubi0: default fastmap WL pool size: 45
[    1.078395] ubi0: attaching mtd5
[    1.576564] random: crng init done
[    1.738814] ubi0: scanning is finished
[    1.748774] ubi0: attached mtd5 (name "ubi", size 230 MiB)
[    1.754264] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.761141] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.767923] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.774870] ubi0: good PEBs: 1840, bad PEBs: 0, corrupted PEBs: 0
[    1.780953] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    1.788164] ubi0: max/mean erase counter: 3/2, WL threshold: 4096, image sequence number: 2053000312
[    1.797283] ubi0: available PEBs: 0, total reserved PEBs: 1840, PEBs reserved for bad PEB handling: 38
[    1.806586] ubi0: background thread "ubi_bgt0d" started, PID 187
[    1.813189] block ubiblock0_1: created from ubi0:1(rootfs)
[    1.818711] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.329681] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081680000, irq 75
[    2.339491] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc081680000, irq 75
[    2.349210] i2c_dev: i2c /dev entries driver
[    2.355496] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    2.364296] NET: Registered PF_INET6 protocol family
[    2.369993] Segment Routing with IPv6
[    2.373672] In-situ OAM (IOAM) with IPv6
[    2.377656] NET: Registered PF_PACKET protocol family
[    2.382820] 8021q: 802.1Q VLAN Support v1.8
[    2.405919] phy phy-soc:usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[    2.413385] clk: Disabling unused clocks
[    2.421824] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.429193] Freeing unused kernel memory: 448K
[    2.433757] Run /sbin/init as init process
[    2.437964]   with arguments:
[    2.440924]     /sbin/init
[    2.443618]   with environment:
[    2.446768]     HOME=/
[    2.449117]     TERM=linux
[    2.627010] init: Console is alive
[    2.630544] init: - watchdog -
[    3.240347] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.271977] usbcore: registered new interface driver usbfs
[    3.277528] usbcore: registered new interface driver hub
[    3.282881] usbcore: registered new device driver usb
[    3.293139] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    3.306014] xhci-mtk 11200000.usb: xHCI Host Controller
[    3.311279] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    3.321704] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    3.330982] xhci-mtk 11200000.usb: irq 79, io mem 0x11200000
[    3.336751] xhci-mtk 11200000.usb: xHCI Host Controller
[    3.341973] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    3.349372] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    3.356874] hub 1-0:1.0: USB hub found
[    3.360659] hub 1-0:1.0: 1 port detected
[    3.364907] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.373423] hub 2-0:1.0: USB hub found
[    3.377223] hub 2-0:1.0: 1 port detected
[    3.387571] usbcore: registered new interface driver usb-storage
[    3.394584] usbcore: registered new interface driver uas
[    3.400121] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.417639] init: - preinit -
[    3.743142] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY] (irq=POLL)
[    3.755867] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/gmii link mode
[    6.877014] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.926776] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[    8.003689] mount_root: loading kmods from internal overlay
[    8.020802] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    8.031038] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    8.149165] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[    8.157298] block: unable to load configuration (fstab: Entry not found)
[    8.164071] block: attempting to load /tmp/overlay/etc/config/fstab
[    8.170600] block: unable to load configuration (fstab: Entry not found)
[    8.177383] block: attempting to load /etc/config/fstab
[    8.183853] block: unable to load configuration (fstab: Entry not found)
[    8.190663] block: no usable configuration
[    8.197279] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    8.203033] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 714
[    8.224563] UBIFS (ubi0:2): recovery needed
[    8.303088] UBIFS (ubi0:2): recovery completed
[    8.307609] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    8.315427] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    8.325334] UBIFS (ubi0:2): FS size: 207351808 bytes (197 MiB, 1633 LEBs), max 1645 LEBs, journal size 10412032 bytes (9 MiB, 82 LEBs)
[    8.337407] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[    8.344007] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 65A7D91F-38CD-457E-AB1A-9955F96D8F41, small LPT model
[    8.356433] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    8.367359] block: extroot: not configured
[    8.371579] UBIFS (ubi0:2): un-mount UBI device 0
[    8.376290] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" stops
[    8.385195] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    8.390962] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 717
[    8.431187] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    8.439033] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    8.448938] UBIFS (ubi0:2): FS size: 207351808 bytes (197 MiB, 1633 LEBs), max 1645 LEBs, journal size 10412032 bytes (9 MiB, 82 LEBs)
[    8.461012] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[    8.467617] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 65A7D91F-38CD-457E-AB1A-9955F96D8F41, small LPT model
[    8.523651] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[    8.533781] block: extroot: not configured
[    8.539717] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    8.546968] block: extroot: not configured
[    8.552627] mount_root: switching to ubifs overlay
[    8.564123] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.577861] urandom-seed: Seeding with /etc/urandom.seed
[    8.617904] procd: - early -
[    8.620849] procd: - watchdog -
[    9.165043] procd: - watchdog -
[    9.170370] procd: - ubus -
[    9.247536] procd: - init -
[    9.749108] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.787700] NET: Registered PF_ALG protocol family
[    9.805695] GACT probability on
[    9.817253] Mirror/redirect action on
[    9.831363] u32 classifier
[    9.834073]     input device check on
[    9.837766]     Actions configured
[    9.865331] ntfs3: Enabled Linux POSIX ACLs support
[    9.879181] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    9.899251] urngd: v1.0.2 started.
[    9.923812] usbcore: registered new interface driver ax_usb_nic
[    9.937665] usbcore: registered new interface driver cdc_wdm
[    9.948170] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[    9.955650] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[    9.996510] usbcore: registered new device driver r8152-cfgselector
[   10.002878] usbcore: registered new interface driver r8152
[   10.028241] usbcore: registered new interface driver ums-alauda
[   10.034872] usbcore: registered new interface driver ums-cypress
[   10.057604] usbcore: registered new interface driver ums-datafab
[   10.064895] usbcore: registered new interface driver ums-freecom
[   10.077441] usbcore: registered new interface driver ums-isd200
[   10.084677] usbcore: registered new interface driver ums-jumpshot
[   10.107362] usbcore: registered new interface driver ums-karma
[   10.114143] usbcore: registered new interface driver ums-sddr09
[   10.137404] usbcore: registered new interface driver ums-sddr55
[   10.144197] usbcore: registered new interface driver ums-usbat
[   10.164768] usbcore: registered new interface driver usbserial_generic
[   10.171380] usbserial: USB Serial support registered for generic
[   10.178448] usbcore: registered new interface driver cdc_eem
[   10.185494] usbcore: registered new interface driver cdc_ether
[   10.192875] usbcore: registered new interface driver cdc_ncm
[   10.210917] usbcore: registered new interface driver huawei_cdc_ncm
[   10.239903] mt798x-wmac 18000000.wifi: attaching wed device 0 version 2
[   10.296814] platform 15010000.wed: MTK WED WO Firmware Version: DEV_000000, Build Time: 20221208202138
[   10.306125] platform 15010000.wed: MTK WED WO Chip ID 00 Region 3
[   10.856986] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20240823161240a
[   10.856986] 
[   11.071136] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20240823161304
[   11.173736] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20240823161841
[   11.271741] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[   11.308417] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[   11.382160] PPP generic driver version 2.4.2
[   11.387732] PPP MPPE Compression module registered
[   11.393417] NET: Registered PF_PPPOX protocol family
[   11.400373] usbcore: registered new interface driver rndis_host
[   11.410236] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   11.418134] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   11.430912] usbcore: registered new interface driver cdc_mbim
[   11.439114] usbcore: registered new interface driver option
[   11.444759] usbserial: USB Serial support registered for GSM modem (1-port)
[   11.454101] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.469402] mtdblock: MTD device 'bdinfo' is NAND, please consider using UBI block devices instead.
[   11.679970] mtdblock: MTD device 'bdinfo' is NAND, please consider using UBI block devices instead.
[   12.645961] bridger[1664]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[   15.715195] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY] (irq=POLL)
[   15.727975] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/gmii link mode
[   15.736874] br-lan: port 1(eth1) entered blocking state
[   15.742100] br-lan: port 1(eth1) entered disabled state
[   15.747368] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.754317] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[   16.078004] RTL8221B-VB-CG 2.5Gbps PHY (C45) mdio-bus:01: rtl822xb_config_init failed: -110
[   16.086362] RTL8221B-VB-CG 2.5Gbps PHY (C45) mdio-bus:01: SerDes setup timed out, retrying
[   16.372944] mtk_soc_eth 15100000.ethernet eth0: PHY [mdio-bus:01] driver [RTL8221B-VB-CG 2.5Gbps PHY (C45)] (irq=53)
[   16.386623] mtk_soc_eth 15100000.ethernet eth0: configuring for phy/2500base-x link mode
[   18.803121] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   18.819089] br-lan: port 2(phy1-ap0) entered blocking state
[   18.824674] br-lan: port 2(phy1-ap0) entered disabled state
[   18.830342] mt798x-wmac 18000000.wifi phy1-ap0: entered allmulticast mode
[   18.837368] mt798x-wmac 18000000.wifi phy1-ap0: entered promiscuous mode
[   18.877054] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[   18.885536] br-lan: port 1(eth1) entered blocking state
[   18.890796] br-lan: port 1(eth1) entered forwarding state
[   19.600909] br-lan: port 2(phy1-ap0) entered blocking state
[   19.606489] br-lan: port 2(phy1-ap0) entered forwarding state

This is the DTS file provided by Cudy

// SPDX-License-Identifier: (GPL-2.0 OR MIT)

/dts-v1/;

#include <dt-bindings/leds/common.h>

#include "mt7981.dtsi"

/ {
	model = "Cudy TR3000 256MB v1";
	compatible = "cudy,tr3000-256mb-v1", "mediatek,mt7981-spim-snand-rfb";

	aliases {
		label-mac-device = &gmac1;
		led-boot = &led_status;
		led-failsafe = &led_status;
		led-running = &led_status;
		led-upgrade = &led_status;
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	gpio-keys {
		compatible = "gpio-keys";

		reset {
			label = "reset";
			linux,code = <KEY_RESTART>;
			gpios = <&pio 1 GPIO_ACTIVE_LOW>;
		};

		mode {
			label = "mode";
			linux,input-type = <EV_SW>;
			linux,code = <BTN_0>;
			gpios = <&pio 0 GPIO_ACTIVE_LOW>;
			debounce-interval = <60>;
		};
	};

	leds {
		compatible = "gpio-leds";

		led_status: led_0 {
			function = LED_FUNCTION_POWER;
			color = <LED_COLOR_ID_RED>;
			gpios = <&pio 11 GPIO_ACTIVE_LOW>;
		};

		led_1 {
			function = LED_FUNCTION_STATUS;
			color = <LED_COLOR_ID_WHITE>;
			gpios = <&pio 10 GPIO_ACTIVE_LOW>;
		};

	};

	usb_vbus: regulator-usb {
		compatible = "regulator-fixed";

		regulator-name = "usb-vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;

		gpios = <&pio 9 GPIO_ACTIVE_LOW>;
		regulator-boot-on;
	};
};

&uart0 {
	status = "okay";
};

&watchdog {
	status = "okay";
};

&eth {
	pinctrl-names = "default";
	pinctrl-0 = <&mdio_pins>;

	status = "okay";

	gmac0: mac@0 {
		compatible = "mediatek,eth-mac";
		reg = <0>;
		phy-mode = "2500base-x";
		phy-handle = <&phy1>;
		nvmem-cell-names = "mac-address";
		nvmem-cells = <&macaddr_bdinfo_de00 1>;
	};

	gmac1: mac@1 {
		compatible = "mediatek,eth-mac";
		reg = <1>;
		phy-mode = "gmii";
		phy-handle = <&int_gbe_phy>;
		nvmem-cell-names = "mac-address";
		nvmem-cells = <&macaddr_bdinfo_de00 0>;
	};
};

&mdio_bus {
	phy1: phy@1 {
		reg = <1>;
		compatible = "ethernet-phy-ieee802.3-c45";
		phy-mode = "2500base-x";
		reset-gpios = <&pio 39 GPIO_ACTIVE_LOW>;
		interrupts = <38 IRQ_TYPE_LEVEL_LOW>;
		reset-assert-us = <100000>;
		reset-deassert-us = <100000>;
		realtek,aldps-enable;
	};
};

&spi0 {
	pinctrl-names = "default";
	pinctrl-0 = <&spi0_flash_pins>;
	status = "okay";

	spi_nand: flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "spi-nand";
		reg = <0>;
		spi-max-frequency = <52000000>;

		spi-cal-enable;
		spi-cal-mode = "read-data";
		spi-cal-datalen = <7>;
		spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4E 0x41 0x4E 0x44>;
		spi-cal-addrlen = <5>;
		spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;

		spi-tx-bus-width = <4>;
		spi-rx-bus-width = <4>;
		mediatek,nmbm;
		mediatek,bmt-max-ratio = <1>;
		mediatek,bmt-max-reserved-blocks = <64>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "BL2";
				reg = <0x00000 0x0100000>;
				read-only;
			};

			partition@100000 {
				label = "u-boot-env";
				reg = <0x0100000 0x0080000>;
				read-only;
			};

			factory: partition@180000 {
				label = "Factory";
				reg = <0x180000 0x0200000>;
				read-only;
				nvmem-layout {
					compatible = "fixed-layout";
					#address-cells = <1>;
					#size-cells = <1>;

					eeprom_factory_0: eeprom@0 {
						reg = <0x0 0x1000>;
					};
				};
			};

			partition@380000 {
				label = "bdinfo";
				reg = <0x380000 0x0040000>;
				read-only;
				nvmem-layout {
					compatible = "fixed-layout";
					#address-cells = <1>;
					#size-cells = <1>;

					macaddr_bdinfo_de00: macaddr@de00 {
						compatible = "mac-base";
						reg = <0xde00 0x6>;
						#nvmem-cell-cells = <1>;
					};
				};

			};

			partition@3C0000 {
				label = "FIP";
				reg = <0x3C0000 0x0200000>;
				read-only;
			};

			partition@580000 {
				label = "ubi";
				reg = <0x5C0000 0xE600000>;
				compatible = "linux,ubi";
			};
		};
	};
};


&pio {
	spi0_flash_pins: spi0-pins {
		mux {
			function = "spi";
			groups = "spi0", "spi0_wp_hold";
		};
	};
};

&usb_phy {
	status = "okay";
};

&xhci {
	status = "okay";
	vbus-supply = <&usb_vbus>;
};

&wifi {
	status = "okay";
	nvmem-cells = <&eeprom_factory_0>;
	nvmem-cell-names = "eeprom";
};

1 Like

most likely ..

if you own one: https://openwrt.org/docs/guide-developer/adding_new_device, even though most stuff probably can be copied from the 128MB version.

1 Like

I own one and I'm not very good at adding new devices, I would be happy if you could guide me

yeah, that's what the link's for ...

1 Like

How can I load initramfs-kernel to the openwrt I am using now? I originally planned to use kexec to load it, but there is no kexec installation package

root@ImmortalWrt:~# apk add kexec-tools
ERROR: unable to select packages:
  kexec-tools (no such package):
    required by: world[kexec-tools]

We have no idea how to operate Immortalwrt, ask them.

I'd try serial.

1 Like

I want to buy a 256MB version,Please support it.

You have one, you make it happen.

I compiled it several times but it won't work on it.
I can't see any log errors, which is a bit annoying.

the light is work, but i can't visit the openwrt website and can't ping 192.168.1.1

you force install 128 version to 256 version?

I adapted the 256 version,not force install 128 version

[root@lab preinit]# pwd
/opt/openwrt/target/linux/mediatek/filogic/base-files/lib/preinit
[root@lab preinit]# ls
04_set_netdev_label  09_mount_cfg_part  10_fix_eth_mac.sh  75_rootfs_prepare

not have 05_set_preinit_iface file
how to solve this?

i find this
/opt/openwrt/target/linux/mediatek/base-files/lib/preinit

i completed

1 Like
2 Likes

Good news.

That's going to be closed and/or deleted within a couple of hours, template wasn't used.
Unless it can be altered by the submitter.

how to use template? i am not find template.

Neither can I, but it looks like this:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=63b8d98dd0d2f7797ea5b5f25978590982bbbb5d

1 Like