[PATCH v2 1/9] fs: fat: Support reading from a larger block size
Bin Meng
bmeng.cn at gmail.com
Thu Aug 3 11:47:30 CEST 2023
On Mon, Jul 31, 2023 at 1:15 AM Simon Glass <sjg at chromium.org> wrote:
>
> At present it is not possible to read from some CDROM drives since the
> FAT sector size does not match the media's block size. Add a conversion
> option for this, so that reading is possible.
>
> This does increase SPL size for read-only FAT support by 25 bytes but
> all but 6 are covered by the previous patch. We could reduce the
> overhead of this feature to 0 bytes by making the code uglier (using
> a static variable).
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Use log_warning() for the warning
>
> fs/fat/Kconfig | 13 ++++++
> fs/fat/fat.c | 107 ++++++++++++++++++++++++++++++++++++++++-----
> fs/fat/fat_write.c | 8 ++--
> 3 files changed, 114 insertions(+), 14 deletions(-)
>
As discussed in another thread [1], this patch will not be accepted
due to invalid use case of using -cdrom on isohybrid images.
[1] https://patchwork.ozlabs.org/project/uboot/patch/20230619125956.v4.32.Ia13846500fab3d5a1d5573db11a040d233994fa6@changeid/
Regards,
Bin
More information about the U-Boot
mailing list