Here logs from command to the next shell prompt:
root@OpenWrt:~# mtd -p 524288 write /tmp/part2 /dev/mtd1
Unlocking /dev/mtd1 ...
Seeking on mtd device '/dev/mtd1' to: 524288
Writing from /tmp/part2 to /dev/mtd1 ... [e]
Skipping bad block at 0x0006000
root@OpenWrt:~# ^C
looks like that definitely was 0x0006000
New logs:
root@OpenWrt:~# ubidetach -d 0
root@OpenWrt:~# insmod mtd-rw i_want_a_brick=1
root@OpenWrt:~# mtd write /tmp/openwrt-mediatek-mt7622-linksys_e8450-ubi-preloader.bin /dev/mtd0
Unlocking /dev/mtd0 ...
Writing from /tmp/openwrt-mediatek-mt7622-linksys_e8450-ubi-preloader.bin to /dev/mtd0 ...
root@OpenWrt:~# mtd write /tmp/openwrt-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip /dev/mtd1
Unlocking /dev/mtd1 ...
Writing from /tmp/openwrt-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip to /dev/mtd1 ... [e]
Skipping bad block at 0x0006000
root@OpenWrt:~#
logs after reboot:
F0: 102B 0000
F6: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0400 0041 [0000]
G0: 1190 0000
T0: 0000 02B0 [000F]
Jump to BL
NOTICE: BL2: v2.4(release):OpenWrt v2021-05-08-d2c75b21-2 (mt7622-snand-1ddr)
NOTICE: BL2: Built : 13:06:30, Aug 10 2022
NOTICE: SPI-NAND: FM35Q1GA (128MB)
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.4(release):OpenWrt v2021-05-08-d2c75b21-2 (mt7622-snand-1ddr)
NOTICE: BL31: Built : 13:06:30, Aug 10 2022
printed two times again