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