[U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

Jorgen Lundman lundman at lundman.net
Thu Jul 19 05:20:05 CEST 2012



Mike Frysinger wrote:
> i could care less about ZFS.  i think you missed the entire point i
> highlighted: we cannot accept GPLv3 code.  u-boot is currently GPLv2, so
> adding GPLv3 simply won't work.
> -mike

Very well, to attempt to go around this I would then have to use the 
original file, and port it forward to u-boot;


Original Sun Version;
: solaris11/usr/src/grub/grub-0.97/stage2/zfs_fletcher.c

  *  the Free Software Foundation; either version 2 of the License, or

fletcher_2_native(const void *buf, uint64_t size, zio_cksum_t *zcp)
fletcher_2_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp)



Current u-boot patch version;

  *      the Free Software Foundation; either version 3 of the License, or

fletcher_2(const void *buf, uint64_t size, grub_zfs_endian_t 
endian,zio_cksum_t *zcp)
fletcher_4(const void *buf, uint64_t size, grub_zfs_endian_t endian, 
zio_cksum_t *zcp)


Which _effectively_ changes the "3" to "2", and renames two functions. The 
file only contains 2 functions, and refers to the "checksumming algorithm 
the user can chose to use on a filesystem".


Then, it is acceptable?


-- 
Jorgen Lundman       | <lundman at lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)




More information about the U-Boot mailing list