[PATCH v2 0/5] mtd: rawnand: zynq: Fixes and software ECC support
Miquel Raynal
miquel.raynal at bootlin.com
Fri Jun 12 10:44:54 CEST 2026
Hi Love,
> We are seeing issue with zynq-zc770-xm011 board with NAND write.
>
> Below is the log snippet:
>
> """
> U-Boot 2026.07-rc4-00024-gbc44b6a0aeb0 (Jun 10 2026 - 20:00:05 +0530)
>
> CPU: Zynq 7z020
> Silicon: v3.1
> Model: Xilinx ZC770 XM011 board
> DRAM: ECC disabled 1 GiB
> Core: 20 devices, 15 uclasses, devicetree: board
> Flash: 0 Bytes
> NAND: 128 MiB
> MMC:
> Loading Environment from nowhere... OK
> In: serial at e0001000
> Out: serial at e0001000
> Err: serial at e0001000
> Net: No ethernet found.
> U-Boot 2026.07-rc4-00024-gbc44b6a0aeb0 (Jun 10 2026 - 20:00:05
> +0530)CPU: Zynq 7z020Silicon: v3.1Model: Xilinx ZC770 XM011 boardDRAM:
> ECC disabled 1 GiBCore: 20 devices, 15 uclasses, devicetree: boardFlash:
> 0 BytesNAND: 128 MiBMMC: Loading Environment from nowhere... OKIn:
> serial at e0001000Out: serial at e0001000Err: serial at e0001000Net: No ethernet
> found.
> Hit any key to stop autoboot: 2
> Hit any key to stop autoboot: 0
> Zynq> nand info
> nand info
>
> Device 0: nand0, sector size 128 KiB
> Page size 2048 b
> OOB size 64 b
> Erase size 131072 b
> ecc strength 0 bits
> ecc step size 2048 b
> subpagesize 2048 b
> options 0x00000000
> Device 0: nand0, sector size 128 KiB Page size 2048 b OOB size 64 b
> Erase size 131072 b ecc strength 0 bits ecc step size 2048 b subpagesize
> 2048 b options 0x00000000 bbt options 0x00028000
> Zynq> nand erase.spread 0 0x2000000
> NAND erase.spread: device 0 offset 0x0, size 0x2000000
> Erasing at 0x1fa0000 -- 99% complete.
> Erasing at 0x1fe0000 -- 100% complete.
> OK
> Zynq> nand write 0x80000 0 0x2000000
>
> NAND write: device 0 offset 0x0, size 0x2000000
> NAND write to offset 0 failed -5
> """
>
> Please have a look.
We reproduced it too. I mostly focused on the read part initially but
write support matters too and my colleague Bastien in copy is working on
it.
Thanks,
Miquèl
More information about the U-Boot
mailing list