[ANN] U-Boot v2022.07-rc1 released

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Tue Apr 26 08:40:55 CEST 2022


Hi Tom

On Tue, Apr 26, 2022 at 1:27 AM Tom Rini <trini at konsulko.com> wrote:
>
> Hey all,
>
> It's release day and so here's v2022.07-rc1.  There's a lot in here, and
> there's a few more things yet to come, hopefully this week, in terms of
> pull requests.
>
> In terms of a changelog,
> git log --merges v2022.04..v2022.07-rc1
> contains what I've pulled but as always, better PR messages and tags
> will provide better results here.
>
> So we're now looking at regular releases every other Monday, and with
> final release on July 4th, 2022.  Thanks all!
>
> --
> Tom

I have sent some patches that fixes imx6/8 architecture on bad block
skipping. Right now we have this in uboot

 while (is_badblock(mtd, offs, 1)) {
           page = page + nand_page_per_block;
          /* Check i we've reached the end of flash. */
          if (page >= mtd->size >> chip->page_shift) {
                      free(page_buf);
                      return -ENOMEM;
         }
}

in spl code of nand controller. That code does not work if get one bad block

https://lore.kernel.org/all/20220423081155.27687-2-michael@amarulasolutions.com/T/

It's not enough to add offs += mtd->erasesize; because the first erase
block is not considered at all.

And even take a look at the follow up RFC.

Michael


More information about the U-Boot mailing list