"Drop ffs" functionality in MTD DFU backend

Guillermo Rodriguez Garcia guille.rodriguez at gmail.com
Tue Sep 1 12:59:45 CEST 2020


Hello all,

I am using u-boot on a STM32MP1 EV1 board. Until recently, the NAND
DFU backend was used to flash UBI images to the board. I used the
DFU_NAND_TRIMFFS option to ensure that the UBI image was correctly
flashed to NAND.

Recently, ST has switched from the NAND DFU backend to the MTD DFU
backend. Is there a way to tell  the MTD subsystem to do the same
(drop trailing all-0xff pages) in order to flash UBI images to raw
NAND?

Thank you,

Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com


More information about the U-Boot mailing list