Skip to content

Add Support for Storage Devices with Blocksizes != 512.

egbert.eich at googlemail.com u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5disk/gpt: Fix GPT Partition handling for Blocksize != 512.disk/part_efi.c include/common.h include/part.h +1 more+27 -204 replies
2/5disk/iso: Add Support for Block Sizes > 512 Byte to ISO partition support.disk/part_iso.c include/common.h+4 -10 replies
3/5fs/fat: Don't multiply fatsize with sector size.fs/fat/fat_write.c+0 -10 replies
4/5part/dev_desc: Add log2 of Blocksize to block_dev_desc data struct.common/cmd_ide.c common/cmd_sata.c common/cmd_scsi.c +6 more+17 -02 replies
5/5fs/ext4: Support device block sizes != 512 bytes.fs/ext4/dev.c fs/ext4/ext4_common.c fs/ext4/ext4_common.h +5 more+68 -665 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] Add Support for Storage Devices with Blocksizes != 512.

From: Egbert Eich <[email protected]>

The patches provide fixes for partition tables:
- GPT
- ISO (to ignore devices with blocksize != 512)

The ext4 fs code also got fixed. I've reviewed the fat code, it seems to be ok already (except for a bug that I came across).
I may be persuaded to take a shot at other fs which are supported by a vanilla Linux kernel.

Cheers,
Egbert.

Egbert Eich (5):
disk/gpt: Fix GPT Partition handling for Blocksize != 512. disk/iso: Add Support for Block Sizes > 512 Byte to ISO partition
support.
fs/fat: Don't multiply fatsize with sector size. part/dev_desc: Add log2 of Blocksize to block_dev_desc data struct. fs/ext4: Support device block sizes != 512 bytes.

 common/cmd_ide.c          |    4 +++
 common/cmd_sata.c         |    1 +
 common/cmd_scsi.c         |    2 +
 common/usb_storage.c      |    1 +
 disk/part_efi.c           |   32 +++++++++++++-------------
 disk/part_iso.c           |    3 ++
 drivers/block/ata_piix.c  |    1 +
 drivers/block/pata_bfin.c |    1 +
 drivers/block/systemace.c |    1 +
 drivers/mmc/mmc.c         |    1 +
 fs/ext4/dev.c             |   52 +++++++++++++++++++++++++++-----------------
 fs/ext4/ext4_common.c     |   26 ++++++++++------------
 fs/ext4/ext4_common.h     |    2 +-
 fs/ext4/ext4_journal.c    |    6 +---
 fs/ext4/ext4_write.c      |   27 +++++++++++------------
 fs/ext4/ext4fs.c          |   11 +++++----
 fs/fat/fat_write.c        |    1 -
 include/common.h          |   12 +++++++--
 include/ext4fs.h          |    1 +
 include/ext_common.h      |    9 +-------
 include/part.h            |    8 +++++++
 include/part_efi.h        |    2 -
 22 files changed, 116 insertions(+), 88 deletions(-)
Signature · 1 line
1.7.7