immortalwrt/target/linux
Tianling Shen f236c1c4f5
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
  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=immortalwrt-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=immortalwrt-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=immortalwrt-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 Immortalwrt initramfs image using TFTP server.
7. Cut off the power and re-engage, wait for TFTP recovery to complete.
8. After ImmortalWrt 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=immortalwrt-mediatek-filogic-jdcloud_re-cp-03-initramfs-recovery.itb of=/dev/mmcblk0p4 bs=512 conv=fsync

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit e6cad552da)
2023-12-08 03:15:06 +08:00
..
airoha kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
apm821xx Merge Official sOURCE 2023-10-23 20:17:09 +08:00
archs38 Merge Official Source 2023-05-12 19:20:08 +08:00
armsr Merge Official sOURCE 2023-10-23 20:17:09 +08:00
at91 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
ath25 Merge Official Source 2023-09-27 10:14:47 +08:00
ath79 Merge Official Source 2023-11-22 13:55:05 +08:00
bcm27xx Merge Official Source 2023-11-22 13:55:05 +08:00
bcm47xx Merge Official Source 2023-10-11 09:20:52 +08:00
bcm53xx Merge Official Source 2023-11-04 12:58:38 +08:00
bcm63xx Merge Official Source 2023-08-13 10:38:44 +08:00
bcm4908 kernel: bump 5.15 to 5.15.137 2023-10-29 13:00:28 +01:00
bmips Merge Official Source 2023-08-13 10:38:44 +08:00
gemini treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
generic generic: net: phy: realtek: add interrupt support for RTL8221B 2023-12-07 11:12:12 +01:00
imx kernel: backport NVMEM patches queued for the v6.5 2023-07-10 12:54:53 +02:00
ipq40xx Merge Official Source 2023-11-04 12:58:38 +08:00
ipq806x Merge Official Source 2023-11-04 12:58:38 +08:00
ipq807x Merge Official Source 2023-11-27 22:45:01 +08:00
kirkwood Merge Official Source 2023-05-21 20:13:18 +08:00
lantiq Merge Official Source 2023-11-22 13:55:05 +08:00
layerscape treewide: fix shell errors during dump stage 2023-11-13 14:02:38 +01:00
malta Merge Official Source 2023-05-12 19:20:08 +08:00
mediatek mediatek: add support for JDCloud RE-CP-03 2023-12-08 03:15:06 +08:00
mpc85xx Merge Official Source 2023-12-08 03:14:32 +08:00
mvebu Merge Official Source 2023-11-27 22:45:01 +08:00
mxs mxs: rework image generation 2023-07-06 17:04:13 +02:00
octeon kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
octeontx kernel: bump 5.15 to 5.15.138 2023-11-19 14:44:36 +01:00
omap Merge Official Source 2023-05-12 19:20:08 +08:00
oxnas Merge Official Source 2023-10-11 09:20:52 +08:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-11-02 09:45:08 +01:00
qoriq kernel: fix handling of CONFIG_DYNAMIC_DEBUG 2023-05-03 10:26:17 -07:00
ramips Merge Official Source 2023-11-27 22:45:01 +08:00
realtek realtek: add support for HPE 1920-8g-poe+ (65W) 2023-10-14 20:15:05 +02:00
rockchip rockchip: require image metadata 2023-11-27 22:11:20 +08:00
sifiveu Merge Official Source 2023-06-17 18:28:30 +08:00
sunxi sunxi: fixes led for nanopi boards 2023-10-31 00:44:03 +01:00
tegra Merge Official Source 2023-05-12 19:20:08 +08:00
uml Merge Official Source 2023-09-27 10:14:47 +08:00
x86 Merge Official Source 2023-11-27 22:45:01 +08:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile