immortalwrt/target/linux/ramips
Tianling Shen 681be7df62
ramips: rewrite ZTE E8820S support
- Fixed PCIe reset
- Fixed reset button, WLAN LEDs
- Fixed sysupgrade feature
- Fixed NVMEM bindings

This requires install new custom U-Boot, which can be downloaded at:
https://firmware.download.immortalwrt.eu.org/uboot/ramips/mt7621-zte_e8820s-u-boot.bin

Or build it manually:
git clone https://github.com/DragonBluep/uboot-mt7621 && cd uboot-mt7621
./customize.sh NAND '2176k(Bootloader),1280k(config),1280k(factory),-(firmware)' \
	'0x4a0000' '18' '16' '880' '1200' 'DDR3-512MiB' 'false' '115200'

Flash instructions for existing users:
1. Run the following commands on device:
   opkg install kmod-mtd-rw
   insmod mtd-rw i_want_a_brick=1
   mtd write mt7621-zte_e8820s-u-boot.bin u-boot
2. Cut off the power and re-engage, enter 192.168.1.1 to upload initramfs.bin.
3. After ImmortalWrt has booted, perform sysupgrade.

Flash instructions for new users:
1. Rename the U-Boot file to `ZTE_img.bin`
2. Set static IP on your PC:
   IP 192.168.1.2/24, GW 192.168.1.254
3. Serve the U-Boot file using TFTP server.
4. Cut off the power, keep pressing `reset` button then engage the power.
5. Wait for U-Boot download to complete, enter 192.168.1.1 to upload initramfs.bin.
6. After ImmortalWrt has booted, perform sysupgrade.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 85e0f369a0)
2023-11-09 14:28:20 +08:00
..
base-files/etc
dts ramips: rewrite ZTE E8820S support 2023-11-09 14:28:20 +08:00
files/drivers ramips: do not print error log when mdio bus is disabled 2023-07-26 13:28:37 +02:00
image ramips: rewrite ZTE E8820S support 2023-11-09 14:28:20 +08:00
mt76x8 Merge Official Source 2023-05-19 11:51:16 +08:00
mt7620 Merge Official Source 2023-06-26 16:55:07 +08:00
mt7621 ramips: rewrite ZTE E8820S support 2023-11-09 14:28:20 +08:00
patches-5.15 kernel: bump 5.15 to 5.15.132 2023-09-25 23:04:37 +02:00
rt288x Merge Official Source 2023-05-19 11:51:16 +08:00
rt305x Merge Official Source 2023-05-19 11:51:16 +08:00
rt3883 Merge Official Source 2023-05-19 11:51:16 +08:00
Makefile ramips: Switch default kernel to 5.15 2023-02-17 16:31:53 +02:00
modules.mk ramips: remove eip93 driver 2023-05-12 19:25:42 +08:00