Hi, Would appreciate your comments. Thanks, Avri > -----Original Message----- > From: Avri Altman <avri.altman@xxxxxxx> > Sent: Sunday, June 25, 2023 1:38 PM > To: Ulf Hansson <ulf.hansson@xxxxxxxxxx>; linux-mmc@xxxxxxxxxxxxxxx > Cc: Avri Altman <Avri.Altman@xxxxxxx> > Subject: [PATCH 0/6] mmc-utils: ffu: ffu of large images > > ffu is done using a single multi-ioctl to carry the entire firmware image. This is > limiting the fw image size to be at most 512KB, as the mmc driver restricts > each single ioc data to be at most MMC_IOC_MAX_BYTES. > > The spec however, allows the fw image to be written using multiple write > commands. So if the fw image is larger than 512KB, split it into a series of > smaller chunks. > > Avri Altman (6): > mmc-utils: Add fill_switch_cmd handler > mmc-utils: Add arg argument to set_single_cmd > mmc-utils: ffu: Simplify ext_csd bytes parsing > mmc-utils: ffu: Add ffu multi-command set handler > mmc-utils: ffu: Allow ffu of large images > mmc-utils: ffu: Add optional chunk-size argument > > mmc.c | 6 +- > mmc_cmds.c | 161 +++++++++++++++++++++++++++-------------------------- > 2 files changed, 86 insertions(+), 81 deletions(-) > > -- > 2.40.1