u-boot/doc
Simon Glass 1834c081d3 efi: Add video support to the app
The current EFI video driver only works when running in the stub. In that
case the stub calls boot services (before jumping to U-Boot proper) and
copies the graphics info over to the efi table. This is necessary because
the stub exits boot services before jumping to U-Boot.

The app maintains access to boot services throughout its life, so does not
need to do this. Update the driver to support calling boot services
directly.

Enable video output for the app. Note that this uses the
EFI_GRAPHICS_OUTPUT_PROTOCOL protocol, even though it mentions vesa.

A sample qemu command-line for this case is:

   qemu-system-x86_64 -bios /usr/share/edk2.git/ovmf-ia32/OVMF-pure-efi.fd
   -drive id=disk,file=try.img,if=none,format=raw -nic none
   -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-11-07 18:36:55 +01:00
..
SPI
SPL net: Rename SPL_NET_SUPPORT to SPL_NET 2021-09-04 12:48:53 -04:00
android fastboot: add UUU command UCmd and ACmd support 2021-02-26 15:30:55 +01:00
api doc: add system reset to API documentation 2021-10-21 03:46:03 +02:00
arch Revert most of the series for adding vexpress_aemv8r support 2021-09-03 10:42:15 -04:00
board board: samsung: add support for Galaxy A series of 2017 (a5y17lte) 2021-10-31 11:25:39 -04:00
build doc: add python3-pkg-resources to build dependencies 2021-10-21 03:46:03 +02:00
chromium doc: Update documentation for cros-2021.04 release 2021-07-15 19:50:28 +08:00
develop efi: Add video support to the app 2021-11-07 18:36:55 +01:00
device-tree-bindings serial: qcom: add support for GENI serial driver 2021-10-31 08:46:44 -04:00
imx arm: Remove zmx25 board and ARCH_MX25 2021-10-01 21:08:18 -04:00
media
mvebu WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
sphinx doc: require Sphinx 3.4.3 2021-10-21 03:46:03 +02:00
sphinx-static
uImage.FIT mkimage: use environment variable MKIMAGE_SIGN_PIN to set pin for OpenSSL Engine 2021-07-28 20:46:34 -04:00
usage doc: mmc rescan speed mode 2021-11-07 18:36:55 +01:00
.gitignore
I2C_Edge_Conditions
Makefile doc: handle 'make htmldocs' warnings as errors 2021-08-01 22:23:01 +02:00
README.Heterogeneous-SoCs
README.JFFS2
README.JFFS2_NAND
README.LED
README.OFT
README.POST
README.SNTP
README.SPL spi: Rename SPI_SUPPORT to SPI 2021-09-04 12:26:02 -04:00
README.TPL
README.VLAN
README.VSC3316-3308
README.arm-caches
README.arm-relocation
README.armada-secureboot
README.asn1
README.atmel_mci
README.atmel_pmecc
README.autoboot
README.bcm7xxx
README.bcmns3
README.bedbug doc: remove AMCC PPC405 processor references 2021-10-25 21:13:06 +02:00
README.bitbangMII
README.bootcount
README.boston
README.bus_vcxk
README.cfi
README.commands.itest
README.commands.spl WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
README.console
README.davinci
README.davinci.nand_spl
README.dfutftp WS cleanup: remove excessive empty lines 2021-09-30 08:08:56 -04:00
README.displaying-bmps
README.distro WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
README.dns
README.enetaddr
README.esbc_validate
README.ext4
README.falcon WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
README.fec_mxc
README.fsl-clk
README.fsl-ddr
README.fsl-dpaa
README.fsl-esdhc
README.fsl-hwconfig
README.fsl-trustzone-components
README.fsl_iim
README.fuse
README.generic-board
README.generic_usb_ohci
README.gpio
README.gpt cmd: gpt: Add option to write GPT partitions to environment variable 2021-05-04 12:52:46 -04:00
README.hwconfig
README.i2c
README.iomux
README.kconfig
README.kwbimage
README.link-local
README.lynxkdi
README.malta
README.marvell Revert "arm64: dts: a3720: add support for espressobin with populated emmc" 2020-12-07 07:11:37 +01:00
README.mediatek
README.memory-test
README.mpc83xx.ddrecc
README.mpc83xxads
README.mpc85xx
README.mpc85xx-sd-spi-boot
README.mpc85xx-spin-table
README.mpc85xxcds
README.multi-dtb-fit
README.mxc_ocotp
README.nand Convert CONFIG_NAND_OMAP_ECCSCHEME to Kconfig 2021-10-06 09:16:24 -04:00
README.nokia_rx51 Nokia RX-51: Add support for booting kernel in zImage format 2021-07-15 17:56:04 +05:30
README.odroid WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
README.omap-ulpi-viewport
README.omap3
README.pblimage
README.pcap WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
README.plan9
README.power-framework
README.pxe cmd: pxe: add support for FDT overlays 2021-01-27 10:47:54 -05:00
README.ramboot-ppc85xx
README.rmobile
README.rockchip
README.rockusb
README.s5p4418
README.s5pc1xx
README.sata
README.sched
README.scrapyard
README.semihosting Revert most of the series for adding vexpress_aemv8r support 2021-09-03 10:42:15 -04:00
README.serial_multi
README.sha1
README.silent
README.socfpga
README.splashprepare
README.srio-pcie-boot-corenet
README.standalone
README.t1040-l2switch
README.tee
README.ti-secure
README.ubi
README.ubispl
README.ublimage
README.udp
README.unaligned-memory-access.txt
README.uniphier
README.update
README.usb
README.vf610
README.video
README.vxworks
README.watchdog
README.zfs
bounces
conf.py doc: fix Latex margins 2021-08-14 20:54:41 +02:00
feature-removal-schedule.txt
git-mailrc MAINTAINERS: Update ARM TI entry 2021-09-09 11:28:54 -04:00
index.rst doc: move i.MX7D/i.MX8MM A/B booting to board specific 2021-08-17 17:24:07 +02:00
kwboot.1 doc/kwboot.1: Update man page 2021-10-01 11:07:13 +02:00
mkimage.1

README.zfs

This patch series adds support for ZFS listing and load to u-boot.

To Enable zfs ls and load commands, modify the board specific config file with
#define CONFIG_CMD_ZFS

Steps to test:

1. After applying the patch, zfs specific commands can be seen
   in the boot loader prompt using
	UBOOT #help

	zfsload- load binary file from a ZFS file system
	zfsls  - list files in a directory (default /)

2. To list the files in zfs pool, device or partition, execute
	zfsls <interface> <dev[:part]> [POOL/@/dir/file]
	For example:
	UBOOT #zfsls mmc 0:5 /rpool/@/usr/bin/

3. To read and load a file from an ZFS formatted partition to RAM, execute
	zfsload <interface> <dev[:part]> [addr] [filename] [bytes]
	For example:
	UBOOT #zfsload mmc 2:2 0x30007fc0 /rpool/@/boot/uImage

References :
	-- ZFS GRUB sources from Solaris GRUB-0.97
	-- GRUB Bazaar repository

Jorgen Lundman <lundman at lundman.net> 2012.