README.zfs 903 B

1234567891011121314151617181920212223242526272829
  1. This patch series adds support for ZFS listing and load to u-boot.
  2. To Enable zfs ls and load commands, modify the board specific config file with
  3. #define CONFIG_CMD_ZFS
  4. Steps to test:
  5. 1. After applying the patch, zfs specific commands can be seen
  6. in the boot loader prompt using
  7. UBOOT #help
  8. zfsload- load binary file from a ZFS file system
  9. zfsls - list files in a directory (default /)
  10. 2. To list the files in zfs pool, device or partition, execute
  11. zfsls <interface> <dev[:part]> [POOL/@/dir/file]
  12. For example:
  13. UBOOT #zfsls mmc 0:5 /rpool/@/usr/bin/
  14. 3. To read and load a file from an ZFS formatted partition to RAM, execute
  15. zfsload <interface> <dev[:part]> [addr] [filename] [bytes]
  16. For example:
  17. UBOOT #zfsload mmc 2:2 0x30007fc0 /rpool/@/boot/uImage
  18. References :
  19. -- ZFS GRUB sources from Solaris GRUB-0.97
  20. -- GRUB Bazaar repository
  21. Jorgen Lundman <lundman at lundman.net> 2012.