openwrt/package/boot/uboot-mediatek/patches
Tianling Shen 40e7fab9e4 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 openwrt-mediatek-filogic-nokia_ea0326gmp-preloader.bin BL2
3. Write new FIP:
   mtd write openwrt-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 OpenWrt initramfs image using TFTP server.
6. Cut off the power and re-engage, wait for TFTP recovery to complete.
7. After OpenWrt has booted, perform sysupgrade.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-06-06 18:56:32 +01:00
..
000-mtk-20-configs-mt7622-enable-environment-for-mt7622_rfb.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
050-mt7622-enable-pstore.patch uboot-mediatek: remove '0x' prefix from pstore node 2022-04-19 17:07:38 +01:00
051-mt7986-enable-pstore.patch uboot-mediatek: update to U-Boot 2023.01 2023-01-13 14:49:52 +00:00
052-mt7981-enable-pstore.patch mediatek: mt7981: add reserved memory to support pstore 2023-05-27 11:01:36 +01:00
100-02-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch uboot-mediatek: snfi: FM35Q1GA is x4-only 2024-06-05 21:05:52 +01:00
100-03-mtd-mtk-snand-add-support-for-SPL.patch uboot-mediatek: update to U-Boot 2023.01 2023-01-13 14:49:52 +00:00
100-04-env-add-support-for-generic-MTD-device.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-05-mtd-add-a-new-mtd-device-type-for-NMBM.patch uboot-mediatek: update to v2023.04 2023-04-12 22:02:27 +01:00
100-06-mtd-add-core-facility-code-of-NMBM.patch uboot-mediatek: update to version 2023.07.02 2023-07-29 15:07:11 +01:00
100-07-mtd-nmbm-add-support-for-mtd.patch uboot-mediatek: update to U-Boot 2023.01 2023-01-13 14:49:52 +00:00
100-08-common-board_r-add-support-to-initialize-NMBM-after-.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-09-cmd-add-nmbm-command.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-10-cmd-mtd-add-markbad-subcommand-for-NMBM-testing.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-11-env-add-support-for-NMBM-upper-MTD-layer.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-12-mtd-mtk-snand-add-NMBM-support-for-SPL.patch uboot-mediatek: additions from MTK SDK 2022-08-28 20:33:15 +01:00
100-13-cmd-add-a-new-command-for-NAND-flash-debugging.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-14-mtd-spi-nor-add-support-to-read-flash-unique-ID.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-15-cmd-sf-add-support-to-read-flash-unique-ID.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-16-cmd-bootmenu-add-ability-to-select-item-by-shortkey.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-17-common-spl-spl_nand-enable-CONFIG_SYS_NAND_U_BOOT_OF.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-18-board-mt7629-add-support-for-booting-from-SPI-NAND.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-19-board-mt7622-use-new-spi-nand-driver.patch uboot-mediatek: update to version 2023.07.02 2023-07-29 15:07:11 +01:00
100-20-board-mt7981-add-reference-board-using-new-spi-nand-.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-21-mtd-spi-nor-add-more-flash-ids.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-22-mtd-spi-nand-backport-from-upstream-kernel.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-23-mmc-mtk-sd-add-support-to-display-verbose-error-log.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-24-cmd-ubi-make-volume-find-create-remove-APIs-public.patch uboot-mediatek: update to v2023.04 2023-04-12 22:02:27 +01:00
100-25-cmd-ubi-allow-creating-volume-with-all-free-spaces.patch uboot-mediatek: update to U-Boot 2023.01 2023-01-13 14:49:52 +00:00
100-26-env-ubi-add-support-to-create-environment-volume-if-.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-27-mtd-ubi-add-support-for-UBI-end-of-filesystem-marker.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
100-29-board-mediatek-wire-up-NMBM-support.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
103-mt7988-enable-pstore.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
105-configs-add-usefull-stuff-to-mt7988-rfb.patch mediatek: convert mt7988a-rfb to keep bl31/uboot in UBI 2024-05-19 09:47:04 +02:00
106-configs-sync-mt7981-rfb-storage.patch uboot-mediatek: add build for mt7981 rfb 2023-09-21 10:15:08 +01:00
107-configs-add-useful-options-to-mt7981-rfb.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
108-dts-arm64-mt7981-rfb-add-mtd-partitions.patch uboot-mediatek: add build for mt7981 rfb 2023-09-21 10:15:08 +01:00
110-no-kwbimage.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
120-use-xz-instead-of-lzma.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
130-fix-mkimage-host-build.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
160-net-phy-add-support-for-Airoha-ethernet-PHY-driver.patch uboot-mediatek: add builds for BananaPi BPi-R3 mini 2024-02-15 19:30:08 +00:00
200-cmd-add-imsz-and-imszb.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
211-cmd-bootmenu-custom-title.patch uboot-mediatek: update to v2023.04 2023-04-12 22:02:27 +01:00
220-cmd-env-readmem.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
230-cmd-add-pstore-check.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
250-fix-mmc-erase-timeout.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
280-image-fdt-save-name-of-FIT-configuration-in-chosen-node.patch uboot-mediatek: update to version 2023.07.02 2023-07-29 15:07:11 +01:00
290-mt7981-add-USB-nodes.patch uboot-mediatek: refresh patches 2024-05-25 03:54:20 +01:00
300-mt7623-fix-mmc-get-env-dev.patch mediatek: mt7623: phase out uImage.FIT partition parser 2024-02-24 03:02:35 +00:00
301-mt7622-generic-reset-button-ignore-env.patch uboot-mediatek: add patches for MT7988 and builds for RFB 2023-07-29 15:07:11 +01:00
302-mt7623-generic-reset-button-ignore-env.patch mediatek: mt7623: phase out uImage.FIT partition parser 2024-02-24 03:02:35 +00:00
303-mt7986-generic-reset-button-ignore-env.patch uboot-mediatek: fix factory/reset button 2023-04-20 11:40:24 +01:00
304-mt7981-generic-reset-button-ignore-env.patch uboot-mediatek: add Qihoo 360T7 support 2023-05-27 11:17:08 +01:00
305-mt7988-generic-reset-button-ignore-env.patch uboot-mediatek: update to version 2023.07.02 2023-07-29 15:07:11 +01:00
310-mt7988-select-rootdisk.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
311-mt7986-select-rootdisk.patch uboot-mediatek: fix typo patch filename 2024-03-11 19:14:14 +00:00
312-mt7622-select-rootdisk.patch mediatek: mt7622: convert BPi-R64 to all-UBI layout and fitblk 2024-02-15 19:30:08 +00:00
313-mt7623-select-rootdisk.patch mediatek: mt7623: phase out uImage.FIT partition parser 2024-02-24 03:02:35 +00:00
400-update-bpir2-defconfig.patch mediatek: mt7623: phase out uImage.FIT partition parser 2024-02-24 03:02:35 +00:00
401-update-u7623-defconfig.patch uboot-mediatek: bpi-r2: fix root= default cmdline parameter 2024-05-08 01:54:32 +01:00
402-update-bananapi-bpi-r64-device-tree.patch uboot-mediatek: fix factory/reset button 2023-04-20 11:40:24 +01:00
403-add-bananapi_bpi-r64-snand.patch mediatek: mt7622: convert BPi-R64 to all-UBI layout and fitblk 2024-02-15 19:30:08 +00:00
404-add-bananapi_bpi-r64_defconfigs.patch uboot-mediatek: add 'rootwait' to bootargs where needed 2024-03-09 13:59:58 +00:00
405-dts-mt7623n-bpi-r2-fix-leds.patch uboot-mediatek: fix factory/reset button 2023-04-20 11:40:24 +01:00
406-dts-mt7623n-bpi-r2-uart0-force-highspeed.patch uboot-mediatek: fix factory/reset button 2023-04-20 11:40:24 +01:00
410-add-linksys-e8450.patch uboot-mediatek: remove rootfs_data before attempting to replace fip 2024-03-01 00:59:49 +00:00
412-add-ubnt-unifi-6-lr.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
420-add-support-for-RAVPower-RP-WD009.patch uboot-mediatek: update to U-Boot 2024.01 release 2024-02-15 19:06:37 +00:00
421-zbtlink_zbt-wg3526-16m.patch uboot-mediatek: add basic build for ZBT-WG3526 (MT7621, 16M SPI-NOR) 2024-02-15 19:06:37 +00:00
429-add-netcore-n60.patch uboot-mediatek: add Netcore N60 support 2024-03-29 22:53:53 +01:00
430-add-bpi-r3.patch uboot-mediatek: add 'rootwait' to bootargs where needed 2024-03-09 13:59:58 +00:00
431-add-xiaomi_redmi-ax6000.patch uboot-mediatek: Sync phy-mode for Xiaomi Redmi Router AX6000 2023-10-28 23:25:31 +02:00
432-add-tplink-xdr608x.patch uboot-mediatek: add missing 'memory' nodes to downstream boards 2023-07-31 17:54:31 +01:00
433-add-qihoo_360t7.patch uboot-mediatek: add missing 'memory' nodes to downstream boards 2023-07-31 17:54:31 +01:00
434-add-xiaomi_mi-router-wr30u.patch uboot-mediatek: add missing 'memory' nodes to downstream boards 2023-07-31 17:54:31 +01:00
435-add-h3c_magic-nx30-pro.patch uboot-mediatek: add missing 'memory' nodes to downstream boards 2023-07-31 17:54:31 +01:00
436-add-glinet-mt6000.patch uboot-mediatek: fix typo in bootmenu for GL-MT6000 2023-10-20 18:13:57 +02:00
437-add-cmcc_rax3000m.patch uboot-mediatek: add support for CMCC RAX3000M 2023-10-28 19:05:07 +02:00
438-add-jcg_q30-pro.patch uboot-mediatek: add JCG Q30 PRO support 2023-11-19 16:52:16 +01:00
439-add-zyxel_ex5601-t0.patch uboot-mediatek: add initial Zyxel EX5601-T0 support 2023-11-25 14:51:21 +01:00
440-add-xiaomi_mi-router-ax3000t.patch mediatek: filogic: add support for Xiaomi AX3000T 2024-01-06 17:51:11 +01:00
441-add-jdcloud_re-cp-03.patch mediatek: switch to fitblk for JDCloud RE-CP-03 2024-04-30 03:28:13 +01:00
442-add-bpi-r3-mini.patch uboot-mediatek: add 'rootwait' to bootargs where needed 2024-03-09 13:59:58 +00:00
443-add-nokia_ea0326gmp.patch mediatek: add Nokia EA0326GMP support 2024-06-06 18:56:32 +01:00
450-add-bpi-r4.patch uboot-mediatek: bpi-r4: add support for 2.5GE PoE variant 2024-05-06 09:12:05 +02:00
452-add-xiaomi-redmi-ax6s.patch uboot-mediatek: add Redmi AX6S as UBI loader 2024-03-21 16:52:09 +08:00
453-add-openwrt-one.patch uboot-mediatek: add support for OpenWrt One 2024-05-21 10:26:06 +02:00