All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/4] MXS nand fixes in SPL
@ 2022-04-27  5:50 Michael Trimarchi
  2022-04-27  5:50 ` [PATCH V2 1/4] nand: raw: mxs_nand: Fix specific hook registration Michael Trimarchi
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Michael Trimarchi @ 2022-04-27  5:50 UTC (permalink / raw)
  To: Han Xu, U-Boot-Denx
  Cc: Ye Li, Stefano Babic, Miquel Raynal, Fabio Estevam,
	Dario Binacchi, Sean Anderson, linux-kernel, Jagan Teki,
	Ariel D'Alessandro

Those patches come after some testing of failing in factory on some
unit. We found out that the bootrom imx loader was not able to handling
badblock. This can be a limit of the implementation right now in imx8mn.
Anyway not all the imx platform has the support of this loader. I found
some problems on the implementation so I have fixed it up according the
experience of Sitara. I tested only using a Fit Image as a flash
container. This version add in the series the fix of cmd_nandbcb and
the fix of spl_nand load. I can imagine that a lot of boards and users
are affected. I have started to backport this changes in some older
uboot and adapt it

Michael Trimarchi (4):
  nand: raw: mxs_nand: Fix specific hook registration
  mtd: nand: mxs_nand_spl: Fix bad block skipping
  arm: mach-imx: cmd_nandbcb fix bad block handling
  spl: spl_nand: Fix bad block handling in fitImage

 arch/arm/mach-imx/cmd_nandbcb.c     | 21 +++----
 common/spl/spl_nand.c               |  5 +-
 drivers/mtd/nand/raw/mxs_nand.c     | 32 +++++-----
 drivers/mtd/nand/raw/mxs_nand_spl.c | 90 ++++++++++++++++-------------
 4 files changed, 73 insertions(+), 75 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-05-11 15:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27  5:50 [PATCH V2 0/4] MXS nand fixes in SPL Michael Trimarchi
2022-04-27  5:50 ` [PATCH V2 1/4] nand: raw: mxs_nand: Fix specific hook registration Michael Trimarchi
2022-05-06 14:40   ` Han Xu
2022-04-27  5:50 ` [PATCH V2 2/4] mtd: nand: mxs_nand_spl: Fix bad block skipping Michael Trimarchi
2022-04-28  0:27   ` Han Xu
2022-04-28  5:01     ` Michael Nazzareno Trimarchi
2022-05-01  6:36       ` Michael Nazzareno Trimarchi
2022-05-02 21:32         ` Han Xu
2022-05-03  5:14           ` Michael Nazzareno Trimarchi
2022-05-06  8:21             ` Michael Nazzareno Trimarchi
2022-05-06 14:41   ` Han Xu
2022-05-06 14:44     ` Michael Nazzareno Trimarchi
2022-04-27  5:50 ` [PATCH V2 3/4] arm: mach-imx: cmd_nandbcb fix bad block handling Michael Trimarchi
2022-05-06 14:41   ` Han Xu
2022-05-11  6:49     ` Michael Nazzareno Trimarchi
2022-05-11 15:17       ` Tim Harvey
2022-04-27  5:50 ` [PATCH 4/4] spl: spl_nand: Fix bad block handling in fitImage Michael Trimarchi
2022-04-28 12:45   ` Tom Rini
2022-05-06 14:42   ` Han Xu
2022-05-11 15:16 ` [PATCH V2 0/4] MXS nand fixes in SPL Tim Harvey

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.