immortalwrt/target/linux
Tianling Shen 1444c9da8e
mediatek: add Nokia EA0326GMP support
Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 128 MB SPI-NAND
  RAM: 256MB
  Ethernet: 4x 10/100/1000 Mbps
  Switch: MediaTek MT7531AE
  WiFi: MediaTek MT7976C
  Button: Reset, WPS/Mesh
  Power: DC 12V 1A

Gain SSH access:
1. Login into web interface, and download the configuration.
2. Download the configration utilities:
   https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz
     These binaries are extraced from the factory firmware, which are
     dynamically linked with aarch64 musl 1.1.24. To use them, you
     must run them under the same runtime environment, otherwise the
     binaries will not work properly!
3. Upload the configuration and utilities to a suitable environment.
4. Uncompress the utilities, move them to '/bin' and give them executable permisison:
   tar -zxf openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz
   mv mkconfig seama /bin
   chmod +x /bin/mkconfig
   chmod +x /bin/seama
5. Decrypt and uncompress the configuration:
     Enter fakeroot if you are not login as root.
   mkconfig -a de-enca -m EA0326GMP_3FE79221BAAA -i EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz -o backup.tar.gz
   tar -zxf backup.tar.gz
6. Edit 'etc/config/dropbear', set 'enable' to '1'.
7. Edit `etc/passwd`, remove root password: 'root::1:0:99999:7:::'.
8. Repack the configuration:
   tar -zcf backup.tar.gz etc/
   mkconfig -a enca -m EA0326GMP_3FE79221BAAA -i backup.tar.gz -o EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz
9. Upload new configuration via web interface, now you can SSH to EA0326GMP.

A minimum configuration which enabled SSH access is also provided to simplify the process:
https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-enable-ssh.tar.gz

Flash instructions:
1. SSH to EA0326GMP, backup everything, especially 'Factory' part.
2. Write new BL2:
   mtd write immortalwrt-mediatek-filogic-nokia_ea0326gmp-preloader.bin BL2
3. Write new FIP:
   mtd write immortalwrt-mediatek-filogic-nokia_ea0326gmp-bl31-uboot.fip FIP
4. Set static IP on your PC:
   IP 192.168.1.254/24, GW 192.168.1.1
5. Serve ImmortalWrt initramfs image using TFTP server.
6. Cut off the power and re-engage, wait for TFTP recovery to complete.
7. Run 'fw_setenv bootargs' if comes with SNAPSHOT u-boot.
8. After ImmortalWrt has booted, perform sysupgrade.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 767c4681fd)
[updated flash instructions for 23.05 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-04-02 19:41:38 +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
armsr Merge Official sOURCE 2023-10-23 20:17:09 +08:00
at91 kernel: bump 5.15 to 5.15.150 2024-03-08 11:28:10 +01:00
ath25 Merge Official Source 2023-09-27 10:14:47 +08:00
ath79 Merge Official Source 2024-03-09 13:57:42 +08:00
bcm27xx Merge Official Source 2024-03-09 13:57:42 +08:00
bcm47xx Merge Official Source 2024-01-09 20:24:33 +08:00
bcm53xx Merge Official Source 2024-03-09 13:57:42 +08:00
bcm63xx Merge Official Source 2024-02-12 12:54:55 +08:00
bcm4908 kernel: bump 5.15 to 5.15.137 2023-10-29 13:00:28 +01:00
bmips Merge Official Source 2024-02-12 12:54:55 +08:00
gemini kernel: bump 5.15 to 5.15.146 2024-01-08 23:15:35 +01:00
generic Merge Official Source 2024-03-16 13:53:37 +08:00
imx
ipq40xx Merge Official Source 2024-02-14 13:00:37 +08:00
ipq806x Merge Official Source 2024-03-09 13:57:42 +08:00
ipq807x ipq807x: prpl-haze: fix sysupgrade flashing from bootloader 2024-01-29 09:38:17 +00:00
kirkwood Merge Official Source 2023-12-17 10:41:53 +08:00
lantiq Merge Official Source 2024-03-09 13:57:42 +08:00
layerscape kernel: 5.15: backport v6.1 PHY changes required for Aquantia 2024-01-31 11:57:41 +01:00
malta
mediatek mediatek: add Nokia EA0326GMP support 2024-04-02 19:41:38 +08:00
mpc85xx Merge Official Source 2023-12-08 03:14:32 +08:00
mvebu mvebu: puzzle-m90x: optimize thermal zone 2024-03-23 13:20:15 +08:00
mxs
octeon kernel: bump 5.15 to 5.15.145 2024-01-07 12:57:30 +00:00
octeontx kernel: bump 5.15 to 5.15.149 2024-03-08 11:28:10 +01:00
omap
oxnas Merge Official Source 2024-01-09 20:24:33 +08:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-11-02 09:45:08 +01:00
qoriq
ramips ramips: disable build for tl-wr850n-v2 by default 2024-03-27 17:06:51 +08:00
realtek realtek: fix Netgear GS110TPP OEM install 2024-02-18 09:59:30 +01:00
rockchip rockchip: remove swiotlb parameter from boot script 2024-03-26 00:56:47 +08:00
sifiveu
sunxi sunxi: overclock Allwinner H5 up to 1.36 GHz 2024-02-13 13:52:48 +08:00
tegra
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
Makefile linux: add dtb makefile target to targets list 2024-02-10 13:29:43 +01:00