All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: "Kumar, Love" <love.kumar@amd.com>,
	Bastien Curutchet <bastien.curutchet@bootlin.com>
Cc: Michal Simek <michal.simek@amd.com>,
	 u-boot@lists.denx.de,
	 Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	 Dario Binacchi <dario.binacchi@amarulasolutions.com>,
	 Michael Trimarchi <michael@amarulasolutions.com>,
	 Andrea Scian <andrea.scian@dave.eu>,
	 Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH v2 0/5] mtd: rawnand: zynq: Fixes and software ECC support
Date: Fri, 12 Jun 2026 10:44:54 +0200	[thread overview]
Message-ID: <87cxxwgnax.fsf@bootlin.com> (raw)
In-Reply-To: <d8771451-d817-4e5e-913a-f5ffb0a28879@amd.com> (Love Kumar's message of "Fri, 12 Jun 2026 10:45:06 +0530")

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@e0001000
> Out:   serial@e0001000
> Err:   serial@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@e0001000Out: serial@e0001000Err: serial@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

      reply	other threads:[~2026-06-12 12:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-02 10:28 [PATCH v2 0/5] mtd: rawnand: zynq: Fixes and software ECC support Miquel Raynal (DAVE.eu)
2026-06-02 10:28 ` [PATCH v2 1/5] mtd: rawnand: zynq: Align the layout structures with the driver namespace Miquel Raynal (DAVE.eu)
2026-06-02 10:28 ` [PATCH v2 2/5] mtd: rawnand: zynq: Add comments about very bad practices Miquel Raynal (DAVE.eu)
2026-06-02 10:28 ` [PATCH v2 3/5] mtd: rawnand: zynq: Make sure an of node is attached Miquel Raynal (DAVE.eu)
2026-06-02 10:28 ` [PATCH v2 4/5] mtd: rawnand: zynq: Do not fail the probe for no reason Miquel Raynal (DAVE.eu)
2026-06-02 10:28 ` [PATCH v2 5/5] mtd: rawnand: zynq: Fix Software ECC engine support Miquel Raynal (DAVE.eu)
2026-06-03  8:42 ` [PATCH v2 0/5] mtd: rawnand: zynq: Fixes and software ECC support Michal Simek
2026-06-12  5:15   ` Kumar, Love
2026-06-12  8:44     ` Miquel Raynal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cxxwgnax.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=andrea.scian@dave.eu \
    --cc=bastien.curutchet@bootlin.com \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=love.kumar@amd.com \
    --cc=michael@amarulasolutions.com \
    --cc=michal.simek@amd.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.