public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH V4 0/5] MXS nand fixes in SPL
@ 2022-05-15  9:35 Michael Trimarchi
  2022-05-15  9:35 ` [PATCH V4 1/5] nand: raw: mxs_nand: Fix specific hook registration Michael Trimarchi
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Michael Trimarchi @ 2022-05-15  9:35 UTC (permalink / raw)
  To: Han Xu, U-Boot-Denx
  Cc: Ye Li, Stefano Babic, Miquel Raynal, Fabio Estevam,
	Dario Binacchi, Sean Anderson, linux-amarula, Jagan Teki,
	Ariel D'Alessandro, Tom Rini

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 (coming from Dario). 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. Move BSH board using the spl loading instead
the romapi

Michael Trimarchi (5):
  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
  board: bsh: Switch to nand spl load instead of romapi

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

-- 
2.25.1


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

end of thread, other threads:[~2022-05-20 13:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-15  9:35 [PATCH V4 0/5] MXS nand fixes in SPL Michael Trimarchi
2022-05-15  9:35 ` [PATCH V4 1/5] nand: raw: mxs_nand: Fix specific hook registration Michael Trimarchi
2022-05-20 13:42   ` sbabic
2022-05-15  9:35 ` [PATCH V4 2/5] mtd: nand: mxs_nand_spl: Fix bad block skipping Michael Trimarchi
2022-05-20 13:43   ` sbabic
2022-05-15  9:35 ` [PATCH V4 3/5] arm: mach-imx: cmd_nandbcb fix bad block handling Michael Trimarchi
2022-05-20 13:42   ` sbabic
2022-05-15  9:35 ` [PATCH V4 4/5] spl: spl_nand: Fix bad block handling in fitImage Michael Trimarchi
2022-05-20 13:41   ` sbabic
2022-05-15  9:35 ` [PATCH V4 5/5] board: bsh: Switch to nand spl load instead of romapi Michael Trimarchi
2022-05-18 10:17   ` Michael Nazzareno Trimarchi
2022-05-18 11:53     ` Stefano Babic
2022-05-15 12:54 ` [PATCH V4 0/5] MXS nand fixes in SPL Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox