Commit 18bace5
committed
mediatek: add CMCC RAX3000Me support
This is a draft which I need community help with. Cherry-picked from immortalwrt/immortalwrt@57f31cd
I own 2 CMCC RAX3000Me devices, I had to solder an UART pins for both of them. I can build and install ImmortalWrt without any issues but when I build this PR in OpenWrt it does not boot. Using ImmortalWrt BL2 and FIP there is something with fit image I guess because boot stops at
```
[ 1.362592] Waiting for root device /dev/fit0...
[ 12.128099] platform fitblk: deferred probe pending
[ 12.132979] platform 15100000.ethernet: deferred probe pending
```
If I flash BL2 and FIP from my OpenWrt build it even stops at
```
NOTICE: BL2: v2.10.0 (release):OpenWrt v2024.01.17~bacca82a-3 (mt7981-spim-nand-ddr3)
NOTICE: BL2: Built : 20:40:36, Jun 23 2025
NOTICE: WDT: [40000000] Software reset (reboot)
NOTICE: EMI: Using DDR3 settings
NOTICE: EMI: Detected DRAM size: 512MB
NOTICE: EMI: complex R/W mem test passed
NOTICE: CPU: MT7981 (1300MHz)
NOTICE: Couldn't find a valid ONFI parameter page, try bitwise majority to recover it
ERROR: Parameter page recovery failed, aborting
ERROR: Parameter page check failed
NOTICE: SPI_NAND parses attributes from parameter page.
NOTICE: SPI_NAND Detected ID 0xff
NOTICE: Page size -1, Block size 1, size 4294967041
ERROR: nand_read(0) failed with -22. 0 bytes read
ERROR: nand_read(0) failed with -22. 0 bytes read
ERROR: BL2: Failed to load image id 3 (-5)
```
We have many many devices here which I want to work properly on vanilla official OpenWrt.1 parent 6cac528 commit 18bace5
11 files changed
Lines changed: 702 additions & 15 deletions
File tree
- package/boot
- uboot-mediatek
- patches
- uboot-tools/uboot-envtools/files
- target/linux/mediatek
- dts
- filogic/base-files
- etc
- board.d
- hotplug.d/ieee80211
- lib/upgrade
- image
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
270 | 306 | | |
271 | 307 | | |
272 | 308 | | |
| |||
906 | 942 | | |
907 | 943 | | |
908 | 944 | | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
909 | 948 | | |
910 | 949 | | |
911 | 950 | | |
| |||
0 commit comments