]> git.ipfire.org Git - people/ms/u-boot.git/blame - doc/README.zfs
rockchip: video: rk_vop: migrate to livetree
[people/ms/u-boot.git] / doc / README.zfs
CommitLineData
4d3c95f5
JL
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
93e14596 10 UBOOT #help
4d3c95f5 11
93e14596
WD
12 zfsload- load binary file from a ZFS file system
13 zfsls - list files in a directory (default /)
4d3c95f5
JL
14
152. To list the files in zfs pool, device or partition, execute
93e14596
WD
16 zfsls <interface> <dev[:part]> [POOL/@/dir/file]
17 For example:
18 UBOOT #zfsls mmc 0:5 /rpool/@/usr/bin/
4d3c95f5
JL
19
203. To read and load a file from an ZFS formatted partition to RAM, execute
93e14596
WD
21 zfsload <interface> <dev[:part]> [addr] [filename] [bytes]
22 For example:
23 UBOOT #zfsload mmc 2:2 0x30007fc0 /rpool/@/boot/uImage
4d3c95f5
JL
24
25References :
26 -- ZFS GRUB sources from Solaris GRUB-0.97
27 -- GRUB Bazaar repository
28
29Jorgen Lundman <lundman at lundman.net> 2012.