Skip to content

bring parisc linux into the modern age by adding ext4 support to the bootloader

James Bottomley linux-ext4 linux-fsdevel linux-parisc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iplboot: eliminate unused struct bootfsipl/bootloader.h ipl/ext2.c+29 -640 replies
2/4iplboot: update the ext2_fs.h headeripl/ext2_fs.h+41 -10 replies
3/4iplboot: add ext4 supportipl/ext2.c+173 -70 replies
4/4palo: add support for formatting as ext4palo/palo.c+4 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] bring parisc linux into the modern age by adding ext4 support to the bootloader

The parisc bootloader, palo, has understood how to read ext2/3 filesystems for decades. However, keeping an ext2/3 partition around simply to boot from is becoming a bit old, so add support for ext4 to the iplboot code. Note, this still doesn't fix ipl specific limitations, like the inability to read a disk beyond 2GB, so you will still need a low sector /boot partition for this.

The assumptions I've made adding ext4 are that the only additional variables over ext2/3 are the variable group descriptor size support, conditioned on the EXT4_FEATURE_INCOMPAT_64BIT flag and extent based inodes conditioned on the EXT3_EXTENTS_FL (it's been renamed to EXT4_EXTENTS_FL now in libext2fs).

Filesystem people interested in reviewing the extent handling code probably only need look at patch 3/4 iplboot: add ext4 support

James

---

James Bottomley (4):
iplboot: eliminate unused struct bootfs
iplboot: update the ext2_fs.h header
iplboot: add ext4 support
palo: add support for formatting as ext4

 ipl/bootloader.h |  13 ---
 ipl/ext2.c       | 256 +++++++++++++++++++++++++++++++++++++++++++------------
 ipl/ext2_fs.h    |  42 ++++++++-
 iplboot          | Bin 45056 -> 45056 bytes
 palo/palo.c      |   6 +-
 5 files changed, 245 insertions(+), 72 deletions(-)
Signature · 1 line
2.16.4