[U-Boot] [PATCH v3 1/1] Add ZFS filesystem support
Prabhakar Lad
prabhakar.csengg at gmail.com
Thu May 24 09:18:54 CEST 2012
Hi Jorgen,
On Thu, May 24, 2012 at 6:42 AM, Jorgen Lundman <lundman at lundman.net> wrote:
> U-Boot port is based on sources forked from GRUB-0.97 by Sun in 2004,
> which can be found here:
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/zfs-include/zfs.h
>
> Released by Sun for GRUB under the license:
> * This program is free software; you can redistribute it and/or modify
> * it under the terms of the GNU General Public License as published by
> * the Free Software Foundation; either version 2 of the License, or
> * (at your option) any later version.
>
> GRUB official releases include ZFS in version:
> ftp://alpha.gnu.org/gnu/grub/grub-1.99~rc1.tar.gz
>
> And patched against GRUB Bazaar repository for ashift fixes (4KB HDDs)
> more conveniently found at github:
> https://github.com/pendor/grub-zfs/commit/e7b6ef3ac3b9685ac4c394c897b1d4221b7381f1
>
> Signed-off-by: Jorgen Lundman <lundman at lundman.net>
>
> ---
>
> v3: * add missing patch revision history (this text)
> * Submitted as single patch per Wolfgang Denk instructions
>
> v2: * Keep Makefile placement alphabetically sorted.
> * Clean ugly line breaks and indentation errors
> * Fix license corruption in fs/Makefile
> ---
> Makefile | 2 +-
> common/Makefile | 1 +
> common/cmd_zfs.c | 236 +++++
> fs/Makefile | 3 +-
> fs/{ => zfs}/Makefile | 39 +-
> fs/zfs/dev.c | 137 +++
> fs/zfs/zfs.c | 2396 ++++++++++++++++++++++++++++++++++++++++++
> fs/zfs/zfs_fletcher.c | 84 ++
> fs/zfs/zfs_lzjb.c | 94 ++
> fs/zfs/zfs_sha256.c | 145 +++
> include/config_cmd_all.h | 1 +
> include/zfs/dmu.h | 119 +++
> include/zfs/dmu_objset.h | 43 +
> include/zfs/dnode.h | 80 ++
> include/zfs/dsl_dataset.h | 52 +
> include/zfs/dsl_dir.h | 48 +
> include/zfs/sa_impl.h | 34 +
> include/zfs/spa.h | 311 ++++++
> include/zfs/uberblock_impl.h | 57 +
> include/zfs/vdev_impl.h | 69 ++
> include/zfs/zap_impl.h | 112 ++
> include/zfs/zap_leaf.h | 103 ++
> include/zfs/zfs.h | 122 +++
> include/zfs/zfs_acl.h | 55 +
> include/zfs/zfs_znode.h | 70 ++
> include/zfs/zil.h | 56 +
> include/zfs/zio.h | 92 ++
> include/zfs/zio_checksum.h | 49 +
> include/zfs_common.h | 94 ++
> 29 files changed, 4687 insertions(+), 17 deletions(-)
> create mode 100644 common/cmd_zfs.c
> copy fs/{ => zfs}/Makefile (56%)
> create mode 100644 fs/zfs/dev.c
> create mode 100644 fs/zfs/zfs.c
> create mode 100644 fs/zfs/zfs_fletcher.c
> create mode 100644 fs/zfs/zfs_lzjb.c
> create mode 100644 fs/zfs/zfs_sha256.c
> create mode 100644 include/zfs/dmu.h
> create mode 100644 include/zfs/dmu_objset.h
> create mode 100644 include/zfs/dnode.h
> create mode 100644 include/zfs/dsl_dataset.h
> create mode 100644 include/zfs/dsl_dir.h
> create mode 100644 include/zfs/sa_impl.h
> create mode 100644 include/zfs/spa.h
> create mode 100644 include/zfs/uberblock_impl.h
> create mode 100644 include/zfs/vdev_impl.h
> create mode 100644 include/zfs/zap_impl.h
> create mode 100644 include/zfs/zap_leaf.h
> create mode 100644 include/zfs/zfs.h
> create mode 100644 include/zfs/zfs_acl.h
> create mode 100644 include/zfs/zfs_znode.h
> create mode 100644 include/zfs/zil.h
> create mode 100644 include/zfs/zio.h
> create mode 100644 include/zfs/zio_checksum.h
> create mode 100644 include/zfs_common.h
..
[snip]
..
A README entry in the doc folder would be very much helpful for
the users to use ZFS..
Thx,
--Prabhakar Lad
http://in.linkedin.com/pub/prabhakar-lad/19/92b/955
> +int lzjb_decompress(void *, void *, uint32_t, uint32_t);
> +#endif
> --
> 1.7.0.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
More information about the U-Boot
mailing list