Hi,
I'm trying to install Openwrt 23.05.5 onto a TZE MF286D, I've been following the install guide, but seem to have run into an issue after doing the initial boot to the factory image, removed the stock partitions and then attempt the sysupgrade.
The upgrade fails as it's stating that there is an ECC error and it keeps repeating the message over and over. I've tried with 23.0.5.5 but no luck.
When I reboot the rooter, the stock image is now gone (I did take a backup as per the MF286R page) but now booting the factory image results in the same errors.
This error repeats:
root@OpenWrt:/tmp# sysupgrade -n /tmp/openwrt-23.05.5-ipq40xx-generic-zte_mf286d
-squashfs-sysupgrade.bin
[ 83.477650] ubi0: attaching mtd9
[ 83.698618] ubi0 warning: 0xc070b5d0: error -74 (ECC error) while reading 64 bytes from PEB 169:2048, read only 64 bytes, retry
[ 83.699636] ubi0 warning: 0xc070b5d0: error -74 (ECC error) while reading 64 bytes from PEB 169:2048, read only 64 bytes, retry
[ 83.709923] ubi0 warning: 0xc070b5d0: error -74 (ECC error) while reading 64 bytes from PEB 169:2048, read only 64 bytes, retry
[ 83.721380] ubi0 error: 0xc070b610: error -74 (ECC error) while reading 64 bytes from PEB 169:2048, read 64 bytes
[ 83.731899] CPU: 3 PID: 2503 Comm: ubiattach Not tainted 5.15.167 #0
[ 83.742275] Hardware name: Generic DT based system
[ 83.748705] Function entered at [<c030d13c>] from [<c03095b4>]
[ 83.753300] Function entered at [<c03095b4>] from [<c060f4e4>]
[ 83.759116] Function entered at [<c060f4e4>] from [<c070b614>]
[ 83.764933] Function entered at [<c070b614>] from [<c070bc68>]
[ 83.770746] Function entered at [<c070bc68>] from [<c0710f1c>]
[ 83.776564] Function entered at [<c0710f1c>] from [<c070590c>]
[ 83.782380] Function entered at [<c070590c>] from [<c0706d70>]
[ 83.788193] Function entered at [<c0706d70>] from [<c04958fc>]
[ 83.794012] Function entered at [<c04958fc>] from [<c0300040>]
[ 83.799827] Exception stack(0xc0c19fa8 to 0xc0c19ff0)
[ 83.805648] 9fa0: 00000003 bedcf48c 00000003 40186f40 bedcf48c bedcf460
[ 83.810774] 9fc0: 00000003 bedcf48c 0001273f 00000036 bedcf48c 00000003 00000000 00000000
[ 83.818932] 9fe0: 00014f88 bedcf330 00011b50 b6ec973c
[ 83.828830] ubi0 warning: 0xc070b5d0: error -74 (ECC error) while reading 64 bytes from PEB 170:2048, read only 64 bytes, retry
[ 83.833058] ubi0 warning: 0xc070b5d0: error -74 (ECC error) while reading 64 bytes from PEB 170:2048, read only 64 bytes, retry
[ 83.844378] ubi0 warning: 0xc070b5d0: error -74 (ECC error) while reading 64 bytes from PEB 170:2048, read only 64 bytes, retry
[ 83.855832] ubi0 error: 0xc070b610: error -74 (ECC error) while reading 64 bytes from PEB 170:2048, read 64 bytes
[ 83.866371] CPU: 3 PID: 2503 Comm: ubiattach Not tainted 5.15.167 #0
[ 83.876737] Hardware name: Generic DT based system
=============
When I reboot I now get this:
U-Boot 2012.07 [Chaos Calmer 15.05.1,f53cef1+r49254] (Mar 05 2021 - 15:20:47)
smem ram ptable found: ver: 1 len: 3
DRAM: 256 MiB
machid : 0x8010001
NAND: ID = 302012c
Vendor = 2c
Device = 1
ONFI device found
SF: Detected GD25Q16 with page size 4 KiB, total 2 MiB
ipq_spi: page_size: 0x100, sector_size: 0x1000, size: 0x200000
130 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
machid: 8010001
flash_type: 0
Uaztemain: enter into !
ZTE_InitFotaFlashPara: nand_curr_device=0
zte_getHandOffState: read data=0xff from 0x0
Press ESC to abort autoboot in 0 seconds
Creating 1 MTD partitions on "nand0":
0x000001800000-0x000003500000 : "mtd=0"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
Nand Flash error. Status = 12336
NAND page read failed. page: 5a41 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5a81 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5ac1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5b01 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5bc1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5c01 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5c41 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5c81 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5cc1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5d01 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5d41 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5d81 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5ec1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5f01 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5f41 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5f81 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 5fc1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6001 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6041 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6081 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 60c1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6101 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6141 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6181 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 61c1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6201 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6241 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6281 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 62c1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6301 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6341 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6381 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 63c1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6401 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6441 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6481 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c1 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6501 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c2 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c3 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c4 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c5 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c6 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c7 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c8 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64c9 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64ca status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64cb status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 64cc status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6502 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6503 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6504 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6505 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6506 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6507 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6508 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 6509 status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 650a status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 650b status ffffffb6
Nand Flash error. Status = 12336
NAND page read failed. page: 650c status ffffffb6
UBI error: vtbl_check: bad CRC at record 21: 0x3beac59f, not 0xf116c36b
UBI error: vtbl_check: bad CRC at record 21: 0x3beac59f, not 0xf116c36b
UBI error: process_lvol: both volume tables are corrupted
UBI error: ubi_init: cannot attach mtd2
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
(IPQ40xx) #