openwrt/package/boot
Alexey Bartenev e7b3414fd5 ramips: add support for SNR-CPE-W4N-MT router
General specification:
- SoC Type: MediaTek MT7620N (580MHz)
- ROM: 8 MB SPI-NOR (W25Q64FV)
- RAM: 64 MB DDR (M13S5121632A)
- Switch: MediaTek MT7530
- Ethernet: 5 ports - 5×100MbE (WAN, LAN1-4)
- Wireless 2.4 GHz: b/g/n
- Buttons: 1 button (RESET)
- Bootloader: U-Boot 1.1.3, MediaTek U-Boot: 5.0.0.5
- Power: 12 VDC, 1.0 A

Flash by the native uploader in 2 stages:
1. Use the native uploader to flash an initramfs image. Choose
 openwrt-ramips-mt7620-snr_cpe-w4n-mt-initramfs-kernel.bin file by
 "Administration/Management/Firmware update/Choose File" in vendor's
 web interface (ip: 192.168.1.10, login: Admin, password: Admin).
 Wait ~160 seconds.
2. Flash a sysupgrade image via the initramfs image. Choose
 openwrt-ramips-mt7620-snr_cpe-w4n-mt-squashfs-sysupgrade.bin
 file by "System/Backup/Flash Firmware/Flash image..." in
 LuCI web interface (ip: 192.168.1.1, login: root, no password).
 Wait ~240 seconds.

Flash by U-Boot TFTP method:
1. Configure your PC with IP 192.168.1.131
2. Set up TFTP server and put the
 openwrt-ramips-mt7620-snr_cpe-w4n-mt-squashfs-sysupgrade.bin
 image on your PC
3. Connect serial port (57600 8N1) and turn on the router.
 Then interrupt "U-Boot Boot Menu" by hitting 2 key (select "2:
 Load system code then write to Flash via TFTP.").
Press Y key when show "Warning!! Erase Linux in Flash then burn
 new one. Are you sure? (Y/N)"
Input device IP (192.168.1.1) ==:192.168.1.1
Input server IP (192.168.1.131) ==:192.168.1.131
Input Linux Kernel filename () ==:
openwrt-ramips-mt7620-snr_cpe-w4n-mt-squashfs-sysupgrade.bin
3. Wait ~120 seconds to complete flashing

Signed-off-by: Alexey Bartenev <41exey@proton.me>
(cherry picked from commit 7796c2d7ef5ff465c8c75ee294b0b5fb3165f4b9)
[Fix merging conflict]
Signed-off-by: Alexey Bartenev <41exey@proton.me>
2023-11-21 00:43:17 +01:00
..
arm-trusted-firmware-bcm63xx arm-trusted-firmware-bcm63xx: add ATF for Broadcom devices 2021-12-24 22:42:03 +01:00
arm-trusted-firmware-mediatek arm-trusted-firmware-mediatek: skip bad blocks on SPI-NAND (SNFI) 2022-08-12 22:47:39 +02:00
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: bump mv-ddr-marvell to current version 2021-11-27 19:36:36 +01:00
arm-trusted-firmware-rockchip atf-rockchip: update to 2.3 2020-07-28 15:52:44 +02:00
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: drop CPE ID 2022-12-22 00:14:30 +01:00
arm-trusted-firmware-tools arm-trusted-firmware-tools: add patch to pass LDFLAGS 2021-02-10 19:19:18 +00:00
at91bootstrap treewide: Add extra CPE identifier 2023-09-27 22:33:09 +02:00
fconfig treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
grub2 grub2: add missing license 2022-04-05 23:33:35 +02:00
imx-bootlets imx-bootlets: refresh patches 2021-02-24 16:15:02 +01:00
kexec-tools kexec-tools: add patch to fix issue with appended DTB and zImage on ARM 2021-05-23 15:11:38 +02:00
kobs-ng kobs-ng: update dependencies after 'imx6' -> 'imx' rename 2021-11-03 12:45:40 +01:00
mt7623n-preloader mt7623n-preloader: remove mt7622-preloader 2021-02-28 04:12:23 +00:00
tfa-layerscape layerscape: update PKG_HASH / PKG_MIRROR_HASH 2022-07-23 00:11:21 +02:00
uboot-at91 uboot-at91: use sdmmc0 as booting media for sama5d27_som1_ek 2022-09-02 21:42:49 +02:00
uboot-bcm4908 uboot-bcm4908: update to the latest generic 2023-08-28 16:36:00 +02:00
uboot-envtools ramips: add support for SNR-CPE-W4N-MT router 2023-11-21 00:43:17 +01:00
uboot-fritz4040 uboot-fritz4040: Add support for Toshiba NAND 2022-05-15 16:39:45 +02:00
uboot-imx uboot-imx: fix wrong make flags overriding 2022-06-07 22:28:59 +02:00
uboot-kirkwood uboot-kirkwood: refresh patches 2021-06-06 19:06:29 +02:00
uboot-lantiq uboot-lantiq: danube: fix hanging lzma kernel uncompression #2 2021-11-27 21:49:10 +01:00
uboot-layerscape uboot-layerscape: adjust LS1012A-IOT config and env 2022-11-05 22:44:03 +01:00
uboot-mediatek uboot-mediatek: mt7622: suppress unwanted pinctrl warning 2022-09-03 03:55:34 +01:00
uboot-mvebu uboot-mvebu: backport LibreSSL patches for older version of LibreSSL 2022-10-03 19:51:50 +02:00
uboot-mxs u-boot.mk: always link host libraries static 2021-10-24 18:00:49 +02:00
uboot-omap uboot-omap: Remove omap3_overo configuration 2021-11-28 22:26:27 +01:00
uboot-oxnas treewide: use AUTORELEASE on all uboot-* packages 2021-10-02 21:26:12 +02:00
uboot-ramips treewide: use AUTORELEASE on all uboot-* packages 2021-10-02 21:26:12 +02:00
uboot-rockchip rockchip: rename "Rock Pi 4" to "Rock Pi 4A" 2021-10-10 00:57:56 +02:00
uboot-sunxi sunxi: remove frequency for NanoPi R1 2022-12-22 00:45:24 +01:00
uboot-tegra treewide: use AUTORELEASE on all uboot-* packages 2021-10-02 21:26:12 +02:00
uboot-zynq u-boot.mk: always link host libraries static 2021-10-24 18:00:49 +02:00