Skip to content

MXS nand fixes in SPL

Michael Trimarchi u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 3 repliesIn review
  2. v35 patches 0 repliesSuperseded
  3. v24 patches 15 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nand: raw: mxs_nand: Fix specific hook registrationdrivers/mtd/nand/raw/mxs_nand.c+16 -161 reply
2/5mtd: nand: mxs_nand_spl: Fix bad block skippingdrivers/mtd/nand/raw/mxs_nand_spl.c+49 -411 reply
3/5arm: mach-imx: cmd_nandbcb fix bad block handlingarch/arm/mach-imx/cmd_nandbcb.c+7 -141 reply
4/5spl: spl_nand: Fix bad block handling in fitImagecommon/spl/spl_nand.c+1 -41 reply
5/5board: bsh: Switch to nand spl load instead of romapiboard/bsh/imx8mn_smm_s2/spl.c+3 -02 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHan XuTim HarveyTom RiniFabio Estevam
SeriesR-b
1/5A-b T-b
2/5A-b T-b
3/5A-b T-b
4/5T-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH V4 0/5] MXS nand fixes in SPL

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(-)
Signature · 1 line
2.25.1