immortalwrt/target/linux
Tianling Shen c0c3234e17 mediatek: add support for JDCloud RE-CP-03
Hardware specification:
  SoC: MediaTek MT7986A 4x A53
  Flash: 128GB eMMC
  RAM: 1GB DDR4
  Ethernet: 4x 1GbE, 1x 2.5GbE (RTL8221B)
  Switch: MediaTek MT7531AE
  WiFi: MediaTek MT7976C
  Button: Reset, Joylink
  Power: DC 12V 2A

Flash instructions:
1. Download and flash the vendor migration firmware via webUI:
   https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7986-jdcloud_re-cp-03-vendor-migration.bin
   (Default address is 192.168.68.1, user root, no password)
2. After device has booted up, write new GPT table:
   dd if=openwrt-mediatek-filogic-jdcloud_re-cp-03-gpt.bin of=/dev/mmcblk0 bs=512 seek=0 count=34 conv=fsync
3. Erase and write new BL2:
   echo 0 > /sys/block/mmcblk0boot0/force_ro
   dd if=/dev/zero of=/dev/mmcblk0boot0 bs=512 count=8192 conv=fsync
   dd if=openwrt-mediatek-filogic-jdcloud_re-cp-03-preloader.bin of=/dev/mmcblk0boot0 bs=512 conv=fsync
4. Erase and write new FIP:
   dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=13312 count=8192 conv=fsync
   dd if=openwrt-mediatek-filogic-jdcloud_re-cp-03-bl31-uboot.fip of=/dev/mmcblk0 bs=512 seek=13312 conv=fsync
5. Set static IP on your PC:
   IP 192.168.1.254/24, GW 192.168.1.1
6. Serve OpenWrt initramfs image using TFTP server.
7. Cut off the power and re-engage, wait for TFTP recovery to complete.
8. After OpenWrt has booted, perform sysupgrade.
9. Additionally, if you want to have eMMC recovery boot feature:
     (Don't worry! You will always have TFTP recovery boot feature.)
   dd if=openwrt-mediatek-filogic-jdcloud_re-cp-03-initramfs-recovery.itb of=/dev/mmcblk0p4 bs=512 conv=fsync

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-19 21:43:32 +01:00
..
airoha
apm821xx
archs38
armsr kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
at91
ath25
ath79 kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
bcm27xx kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
bcm47xx kernel: bump 5.15 to 5.15.146 2024-01-06 10:53:39 +01:00
bcm53xx
bcm63xx
bcm4908
bmips bmips: dts: remove unneeded cferom alias 2024-01-18 08:57:43 +01:00
gemini kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
generic kernel: bump 6.1 to 6.1.73 2024-01-19 21:24:44 +01:00
imx
ipq40xx kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
ipq806x ipq806x: DTS format fixup for Fortinet FAP-421E 2024-01-16 15:55:02 +01:00
ixp4xx
kirkwood
lantiq
layerscape layerscape: refresh patches-6.1 2024-01-16 13:42:02 +00:00
malta
mediatek mediatek: add support for JDCloud RE-CP-03 2024-01-19 21:43:32 +01:00
mpc85xx
mvebu
mxs
octeon
octeontx
omap
oxnas oxnas: do not use pcie-controller 2024-01-01 02:34:48 +01:00
pistachio
qoriq
qualcommax ipq807x: prpl-haze: enable LED driver on device tree 2024-01-15 16:59:57 +01:00
ramips ramips: mt7621: convert Linksys devices EEPROM to NVMEM format 2024-01-17 01:14:50 +01:00
realtek rtl838x: debugfs use constants from mach-rtl83xx.h 2024-01-15 18:09:22 +01:00
rockchip rockchip: fix boot from non-MMC devices 2024-01-19 21:31:39 +01:00
sifiveu
sunxi
tegra
uml
x86
zynq
Makefile