[GIT] Pull request: u-boot-dfu (26.01.2020)

Guillermo Rodriguez Garcia guille.rodriguez at gmail.com
Mon Jan 27 09:14:11 CET 2020


Hi Marek,

El lun., 27 ene. 2020 a las 8:52, Lukasz Majewski (<lukma at denx.de>) escribió:
>
> Hi Marek,
>
> > On 1/26/20 9:26 PM, Lukasz Majewski wrote:
> > Hi,
> >
> > [...]
> >
> > > ----------------------------------------------------------------
> > > Guillermo Rodríguez (1):
> > >       dfu: Add option to skip empty pages when flashing UBI images
> > > to
> >
> > Can that option be enabled/disabled at runtime instead of being
> > hardcoded?
>
> It has been designed in a similar way to Android's existing
> FASTBOOT_FLASH_NAND_TRIMFFS option.

Without this option, UBI images need to be built with --space-fixup
[1] so that the kernel can "fix" the NAND on first mount.
When this option is used, --space-fixup is no longer necessary because
dfu knows how to correctly flash UBI images. However, UBI images built
with --space-fixup will still work fine.
In other words, enabling this option at buildtime has no countereffects.
So there is no point in making it configurable at runtime, if support
has been built into U-boot.

 [1]: http://www.linux-mtd.infradead.org/faq/ubifs.html#L_free_space_fixup

Best regards,

Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com


More information about the U-Boot mailing list