aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--arch/arm/lib/crt0_aarch64_efi.S1
-rw-r--r--arch/riscv/lib/crt0_riscv_efi.S17
-rw-r--r--doc/Makefile10
-rw-r--r--doc/board/emulation/qemu-ppce500.rst8
-rw-r--r--doc/board/ti/am335x_evm.rst5
-rw-r--r--doc/board/ti/am62x_sk.rst4
-rw-r--r--doc/board/ti/index.rst5
-rw-r--r--doc/board/ti/j721e_evm.rst4
-rw-r--r--doc/board/ti/k3.rst274
-rw-r--r--doc/conf.py6
-rw-r--r--doc/develop/statistics/u-boot-stats-v1.3.0.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v1.3.1.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v1.3.2.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v1.3.3.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v1.3.4.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2008.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2009.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2009.03.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2009.06.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2009.08.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2009.11.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2010.03.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2010.06.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2010.09.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2010.12.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2011.03.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2011.06.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2011.09.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2011.12.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2012.04.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2012.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2012.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2013.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2013.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2014.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2014.04.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2014.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2014.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2015.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2015.04.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2015.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2015.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2016.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2016.03.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2016.05.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2016.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2016.09.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2016.11.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2017.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2017.03.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2017.05.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2017.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2017.09.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2017.11.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2018.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2018.03.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2018.05.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2018.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2018.09.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2018.11.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2019.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2019.04.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2019.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2019.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2020.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2020.04.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2020.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2020.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2021.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2021.04.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2021.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2021.10.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2022.01.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2022.04.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2022.07.rst2
-rw-r--r--doc/develop/statistics/u-boot-stats-v2022.10.rst2
-rw-r--r--doc/media/Makefile3
-rw-r--r--doc/usage/cmd/wget.rst5
-rw-r--r--include/efi_api.h2
-rw-r--r--lib/efi_loader/efi_hii.c2
-rw-r--r--lib/efi_loader/efi_var_file.c4
-rw-r--r--lib/efi_loader/efi_var_mem.c4
-rw-r--r--lib/efi_loader/efi_variable.c6
84 files changed, 396 insertions, 98 deletions
diff --git a/Makefile b/Makefile
index c977c90..66cfbb1 100644
--- a/Makefile
+++ b/Makefile
@@ -2372,7 +2372,7 @@ tcheck:
# Documentation targets
# ---------------------------------------------------------------------------
DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \
- linkcheckdocs dochelp refcheckdocs
+ linkcheckdocs dochelp refcheckdocs texinfodocs infodocs
PHONY += $(DOC_TARGETS)
$(DOC_TARGETS): scripts_basic FORCE
$(Q)$(MAKE) $(build)=doc $@
diff --git a/arch/arm/lib/crt0_aarch64_efi.S b/arch/arm/lib/crt0_aarch64_efi.S
index 7f38465..b4fc263 100644
--- a/arch/arm/lib/crt0_aarch64_efi.S
+++ b/arch/arm/lib/crt0_aarch64_efi.S
@@ -34,6 +34,7 @@ coff_header:
.short (IMAGE_FILE_EXECUTABLE_IMAGE | \
IMAGE_FILE_LINE_NUMS_STRIPPED | \
IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
+ IMAGE_FILE_LARGE_ADDRESS_AWARE | \
IMAGE_FILE_DEBUG_STRIPPED)
optional_header:
.short IMAGE_NT_OPTIONAL_HDR64_MAGIC /* PE32+ format */
diff --git a/arch/riscv/lib/crt0_riscv_efi.S b/arch/riscv/lib/crt0_riscv_efi.S
index a01e08a..793eefd 100644
--- a/arch/riscv/lib/crt0_riscv_efi.S
+++ b/arch/riscv/lib/crt0_riscv_efi.S
@@ -16,12 +16,23 @@
#define LOAD_LONG(reg, idx) ld reg, (idx*SIZE_LONG)(sp)
#define PE_MACHINE IMAGE_FILE_MACHINE_RISCV64
#define PE_MAGIC IMAGE_NT_OPTIONAL_HDR64_MAGIC
+#define IMG_CHARACTERISTICS \
+ (IMAGE_FILE_EXECUTABLE_IMAGE | \
+ IMAGE_FILE_LINE_NUMS_STRIPPED | \
+ IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
+ IMAGE_FILE_LARGE_ADDRESS_AWARE | \
+ IMAGE_FILE_DEBUG_STRIPPED)
#else
#define SIZE_LONG 4
#define SAVE_LONG(reg, idx) sw reg, (idx*SIZE_LONG)(sp)
#define LOAD_LONG(reg, idx) lw reg, (idx*SIZE_LONG)(sp)
#define PE_MACHINE IMAGE_FILE_MACHINE_RISCV32
#define PE_MAGIC IMAGE_NT_OPTIONAL_HDR32_MAGIC
+#define IMG_CHARACTERISTICS \
+ (IMAGE_FILE_EXECUTABLE_IMAGE | \
+ IMAGE_FILE_LINE_NUMS_STRIPPED | \
+ IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
+ IMAGE_FILE_DEBUG_STRIPPED)
#endif
@@ -47,11 +58,7 @@ coff_header:
.long 0 /* PointerToSymbolTable */
.long 0 /* NumberOfSymbols */
.short section_table - optional_header /* SizeOfOptionalHeader */
- /* Characteristics */
- .short (IMAGE_FILE_EXECUTABLE_IMAGE | \
- IMAGE_FILE_LINE_NUMS_STRIPPED | \
- IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
- IMAGE_FILE_DEBUG_STRIPPED)
+ .short IMG_CHARACTERISTICS /* Characteristics */
optional_header:
.short PE_MAGIC /* PE32(+) format */
.byte 0x02 /* MajorLinkerVersion */
diff --git a/doc/Makefile b/doc/Makefile
index f5de65e..d0904a9 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -69,6 +69,14 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
htmldocs:
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))
+texinfodocs:
+ @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,texinfo,$(var),texinfo,$(var)))
+
+# Note: the 'info' Make target is generated by sphinx itself when
+# running the texinfodocs target defined above.
+infodocs: texinfodocs
+ $(MAKE) -C $(BUILDDIR)/texinfo info
+
linkcheckdocs:
@$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var)))
@@ -109,6 +117,8 @@ cleandocs:
dochelp:
@echo ' U-Boot documentation in different formats from ReST:'
@echo ' htmldocs - HTML'
+ @echo ' texinfodocs - Texinfo'
+ @echo ' infodocs - Info'
@echo ' latexdocs - LaTeX'
@echo ' pdfdocs - PDF'
@echo ' epubdocs - EPUB'
diff --git a/doc/board/emulation/qemu-ppce500.rst b/doc/board/emulation/qemu-ppce500.rst
index 5de0aaf..82b50a0 100644
--- a/doc/board/emulation/qemu-ppce500.rst
+++ b/doc/board/emulation/qemu-ppce500.rst
@@ -7,7 +7,7 @@ QEMU PPC E500
QEMU for PPC supports a special 'ppce500' machine designed for emulation and
virtualization purposes. This document describes how to run U-Boot under it.
-The QEMU ppce500 machine models a generic PowerPC E500 virtual machine with
+The QEMU ppce500 machine models a generic PowerPC e500 virtual machine with
support for the VirtIO standard networking device connected to the built-in
PCI host controller. Some common devices in the CCSBAR space are modeled,
including MPIC, 16550A UART devices, GPIO, I2C and PCI host controller with
@@ -39,6 +39,7 @@ embedded DTB created by QEMU reflects the new setting.
Both qemu-system-ppc and qemu-system-ppc64 provide emulation for the following
32-bit PowerPC CPUs:
+* e500v1
* e500v2
* e500mc
@@ -61,8 +62,9 @@ When U-Boot boots, you will notice the following::
This is because we only specified a core name to QEMU and it does not have a
meaningful SVR value which represents an actual SoC that integrates such core.
You can specify a real world SoC device that QEMU has built-in support but all
-these SoCs are e500v2 based MPC85xx series, hence you cannot test anything
-built for P4080 (e500mc), P5020 (e5500) and T2080 (e6500).
+these SoCs are e500v1/e500v2 based MPC85xx series, hence you cannot test anything
+built for P10xx/P2010/P2020 (e500v2), P204x/P304x/P40xx (e500mc), P50xx/T10xx (e5500)
+and T208x/T4080/T4160/T4240 (e6500).
By default a VirtIO standard PCI networking device is connected as an ethernet
interface at PCI address 0.1.0, but we can switch that to an e1000 NIC by::
diff --git a/doc/board/ti/am335x_evm.rst b/doc/board/ti/am335x_evm.rst
index a90f32d..7db9604 100644
--- a/doc/board/ti/am335x_evm.rst
+++ b/doc/board/ti/am335x_evm.rst
@@ -1,8 +1,11 @@
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
.. sectionauthor:: Tom Rini <trini@konsulko.com>
+AM335x Generation
+=================
+
Summary
-=======
+-------
This document covers various features of the `am335x_evm` default
configuration, some of the related defconfigs, and how to enable hardware
diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk.rst
index 4e68c20..b1b7d99 100644
--- a/doc/board/ti/am62x_sk.rst
+++ b/doc/board/ti/am62x_sk.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
.. sectionauthor:: Vignesh Raghavendra <vigneshr@ti.com>
-Texas Instruments AM62 Platforms
-================================
+AM62 Platforms
+===============
Introduction:
-------------
diff --git a/doc/board/ti/index.rst b/doc/board/ti/index.rst
index 250d924..89d537d 100644
--- a/doc/board/ti/index.rst
+++ b/doc/board/ti/index.rst
@@ -1,11 +1,10 @@
.. SPDX-License-Identifier: GPL-2.0+
Texas Instruments
-=================
+#################
.. toctree::
:maxdepth: 2
am335x_evm
- j721e_evm
- am62x_sk
+ k3
diff --git a/doc/board/ti/j721e_evm.rst b/doc/board/ti/j721e_evm.rst
index ad70f15..e898601 100644
--- a/doc/board/ti/j721e_evm.rst
+++ b/doc/board/ti/j721e_evm.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
.. sectionauthor:: Lokesh Vutla <lokeshvutla@ti.com>
-Texas Instruments K3 Platforms
-==============================
+J721E Platforms
+===============
Introduction:
-------------
diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
new file mode 100644
index 0000000..b49a60c
--- /dev/null
+++ b/doc/board/ti/k3.rst
@@ -0,0 +1,274 @@
+.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+.. sectionauthor:: Bryan Brattlof <bb@ti.com>
+
+K3 Generation
+=============
+
+Summary
+-------
+
+Texas Instrument's K3 family of SoCs utilize a heterogeneous multicore
+and highly integrated device architecture targeted to maximize
+performance and power efficiency for a wide range of industrial,
+automotive and other broad market segments.
+
+Typically the processing cores and the peripherals for these devices are
+partitioned into three functional domains to provide ultra-low power
+modes as well as accommodating application and industrial safety systems
+on the same SoC. These functional domains are typically called the:
+
+* Wakeup (WKUP) domain
+* Micro-controller (MCU) domain
+* Main domain
+
+For a more detailed view of what peripherals are attached to each
+domain, consult the device specific documentation.
+
+K3 Based SoCs
+-------------
+
+.. toctree::
+ :maxdepth: 1
+
+ j721e_evm
+ am62x_sk
+
+Boot Flow Overview
+------------------
+
+For all K3 SoCs the first core started will be inside the Security
+Management Subsystem (SMS) which will secure the device and start a core
+in the wakeup domain to run the ROM code. ROM will then initialize the
+boot media needed to load the binaries packaged inside `tiboot3.bin`,
+including a 32bit U-Boot SPL, (called the wakup SPL) that ROM will jump
+to after it has finished loading everything into internal SRAM.
+
+.. code-block:: text
+
+ | WKUP Domain
+ ROM -> WKUP SPL ->
+
+The wakeup SPL, running on a wakeup domain core, will initialize DDR and
+any peripherals needed load the larger binaries inside the `tispl.bin`
+into DDR. Once loaded the wakeup SPL will start one of the 'big'
+application cores inside the main domain to initialize the main domain,
+starting with ARM Trusted Firmware (ATF), before moving on to start
+OPTEE and the main domain's U-Boot SPL.
+
+.. code-block:: text
+
+ | WKUP Domain | Main Domain ->
+ ROM -> WKUP SPL -> ATF -> OPTEE -> Main SPL
+
+The main domain's SPL, running on a 64bit application core, has
+virtually unlimited space (billions of bytes now that DDR is working) to
+initialize even more peripherals needed to load in the `u-boot.img`
+which loads more firmware into the micro-controller & wakeup domains and
+finally prepare the main domain to run Linux.
+
+.. code-block:: text
+
+ | WKUP Domain | Main Domain ->
+ ROM -> WKUP SPL -> ATF -> OPTEE -> Main SPL -> UBoot -> Linux
+
+This is the typical boot flow for all K3 based SoCs, however this flow
+offers quite a lot in the terms of flexibility, especially on High
+Security (HS) SoCs.
+
+Boot Flow Variations
+^^^^^^^^^^^^^^^^^^^^
+
+All K3 SoCs will generally use the above boot flow with two main
+differences depending on the capabilities of the boot ROM and the number
+of cores inside the device. These differences split the bootflow into
+essentially 4 unique but very similar flows:
+
+* Split binary with a combined firmware: (eg: AM65)
+* Combined binary with a combined firmware: (eg: AM64)
+* Split binary with a split firmware: (eg: J721E)
+* Combined binary with a split firmware: (eg: AM62)
+
+For devices that utilize the split binary approach, ROM is not capable
+of loading the firmware into the SoC requiring the wakeup domain's
+U-Boot SPL to load the firmware.
+
+Devices with a split firmware will have two firmwares loaded into the
+device at different times during the bootup process. TI's Foundational
+Security (TIFS), needed to operate the Security Management Subsystem,
+will either be loaded by ROM or the WKUP U-Boot SPL, then once the
+wakeup U-Boot SPL has completed, the second Device Management (DM)
+firmware can be loaded on the now free core in the wakeup domain.
+
+For more information on the bootup process of your SoC, consult the
+device specific boot flow documentation.
+
+Software Sources
+----------------
+
+All scripts and code needed to build the `tiboot3.bin`, `tispl.bin` and
+`u-boot.img` for all K3 SoCs can be located at the following places
+online
+
+* **Das U-Boot**
+
+ | **source:** https://source.denx.de/u-boot/u-boot.git
+ | **branch:** master
+
+* **K3 Image Gen**
+
+ | **source:** https://git.ti.com/git/k3-image-gen/k3-image-gen.git
+ | **branch:** master
+
+* **ARM Trusted Firmware (ATF)**
+
+ | **source:** https://github.com/ARM-software/arm-trusted-firmware.git
+ | **branch:** master
+
+* **Open Portable Trusted Execution Environment (OPTEE)**
+
+ | **source:** https://github.com/OP-TEE/optee_os.git
+ | **branch:** master
+
+* **TI Firmware (TIFS, DM, DSMC)**
+
+ | **source:** https://git.ti.com/git/processor-firmware/ti-linux-firmware.git
+ | **branch:** ti-linux-firmware
+
+* **TI's Security Development Tools**
+
+ | **source:** https://git.ti.com/git/security-development-tools/core-secdev-k3.git
+ | **branch:** master
+
+Build Procedure
+---------------
+
+Depending on the specifics of your device, you will need three or more
+binaries to boot your SoC.
+
+* `tiboot3.bin` (bootloader for the wakeup domain)
+* `tispl.bin` (bootloader for the main domain)
+* `u-boot.img`
+
+During the bootup process, both the 32bit wakeup domain and the 64bit
+main domains will be involved. This means everything inside the
+`tiboot3.bin` running in the wakeup domain will need to be compiled for
+32bit cores and most binaries in the `tispl.bin` will need to be
+compiled for 64bit main domain CPU cores.
+
+All of that to say you will need both a 32bit and 64bit cross compiler
+(assuming you're using an x86 desktop)
+
+.. code-block:: bash
+
+ export CC32=arm-linux-gnueabihf-
+ export CC64=aarch64-linux-gnu-
+
+Building tiboot3.bin
+^^^^^^^^^^^^^^^^^^^^^
+
+1. To generate the U-Boot SPL for the wakeup domain, use the following
+ commands, substituting :code:`{SOC}` for the name of your device (eg:
+ am62x)
+
+.. code-block:: bash
+
+ # inside u-boot source
+ make ARCH=arm O=build/wkup CROSS_COMPILE=$CC32 {SOC}_evm_r5_defconfig
+ make ARCH=arm O=build/wkup CROSS_COMPILE=$CC32
+
+2. Next we will use the K3 Image Gen scripts to package the various
+ firmware and the wakeup UBoot SPL into the final `tiboot3.bin`
+ binary. (or the `sysfw.itb` if your device uses the split binary
+ flow)
+
+.. code-block:: bash
+
+ # inside k3-image-gen source
+ make CROSS_COMPILE=$CC32 SOC={SOC} SOC_TYPE={hs,gp} \
+ TI_SECURE_DEV_PKG=<path/to/securit-development-tools> \
+ SYSFW_PATH=<path/to/ti-sysfw/ti-fs-firmware-{SOC}-{hs|gp}.bin> \
+ SYSFW_HS_INNER_CERT_PATH=<path/to/ti-sysfw/ti-fs-firmware-{SOC}-hs-cert.bin
+
+For devices that use the *combined binary flow*, you will also need to
+supply the location of the SPL we created in step 1 above, so it can be
+packaged into the final `tiboot3.bin`.
+
+.. code-block:: bash
+
+ SBL=<path/to/wakeup/u-boot-spl.bin>
+
+At this point you should have all the needed binaries to boot the wakeup
+domain of your K3 SoC.
+
+**Combined Binary Boot Flow** (eg: am62x, am64x, ... )
+
+ `k3-image-gen/tiboot3-{SOC}-{hs,gp}-evm.bin`
+
+**Split Binary Boot Flow** (eg: j721e, am65x)
+
+ | `u-boot/build/wkup/tiboot3.bin`
+ | `k3-image-gen/sysfw-{SOC}-evm.bin`
+
+.. note ::
+
+ It's important to rename the generated `tiboot3.bin` and `sysfw.itb`
+ to match exactly `tiboot3.bin` and `sysfw.itb` as ROM and the wakeup
+ UBoot SPL will only look for and load the files with these names.
+
+Building tispl.bin
+^^^^^^^^^^^^^^^^^^^
+
+The `tispl.bin` is a standard fitImage combining the firmware need for
+the main domain to function properly as well as Device Management (DM)
+firmware if your device using a split firmware.
+
+3. We will first need ATF, as it's the first thing to run on the 'big'
+ application cores on the main domain.
+
+.. code-block:: bash
+
+ # inside arm-trusted-firmware source
+ make CROSS_COMPILE=$CC64 ARCH=aarch64 PLAT=k3 \
+ TARGET_BOARD={lite|generic} \
+ SPD=opteed \
+
+Typically all `j7*` devices will use `TARGET_BOARD=generic` while all
+Sitara (`am6*`) devices use the `lite` option.
+
+4. The Open Portable Trusted Execution Environment (OPTEE) is designed
+ to run as a companion to a non-secure Linux kernel for Cortex-A cores
+ using the TrustZone technology built into the core.
+
+.. code-block:: bash
+
+ # inside optee_os source
+ make CROSS_COMPILE=$CC32 CROSS_COMPILE64=$CC64 \
+ PLATFORM=k3 CFG_ARM64_core=y
+
+5. Finally, after ATF has initialized the main domain and OPTEE has
+ finished, we can jump back into U-Boot again, this time running on a
+ 64bit core in the main domain.
+
+.. code-block:: bash
+
+ # inside u-boot source
+ make ARCH=arm O=build/main CROSS_COMPILE=$CC64 {SOC}_evm_a{53,72}_defconfig
+ make ARCH=arm O=build/main CROSS_COMPILE=$CC64 \
+ ATF=<path/to/atf/bl31.bin \
+ TEE=<path/to/optee/tee-pager_v2.bin
+
+If your device uses a split firmware, you will also need to supply the
+path to the Device Management (DM) Firmware to be included in the final
+`tispl.bin` binary
+
+.. code-block:: bash
+
+ DM=<path/to/ti-linux-firmware/ti-dm/ipc_echo_testb_mcu1_0_release_strip.xer5f>
+
+At this point you should have every binary needed initialize both the
+wakeup and main domain and to boot to the U-Boot prompt
+
+**Main Domain Bootloader**
+
+ | `u-boot/build/main/tispl.bin`
+ | `u-boot/build/main/u-boot.img`
diff --git a/doc/conf.py b/doc/conf.py
index 62c8d31..3db70f8 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -449,7 +449,7 @@ for fn in os.listdir('.'):
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- (master_doc, 'dasuboot', 'The U-Boot Documentation',
+ (master_doc, 'u-boot', 'The U-Boot Documentation',
[author], 1)
]
@@ -463,8 +463,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
- (master_doc, 'DasUBoot', 'The U-Boot Documentation',
- author, 'DasUBoot', 'One line description of project.',
+ (master_doc, 'u-boot', 'The U-Boot Documentation',
+ author, 'U-Boot', 'Boot loader for embedded systems',
'Miscellaneous'),
]
diff --git a/doc/develop/statistics/u-boot-stats-v1.3.0.rst b/doc/develop/statistics/u-boot-stats-v1.3.0.rst
index c891468..cbf433f 100644
--- a/doc/develop/statistics/u-boot-stats-v1.3.0.rst
+++ b/doc/develop/statistics/u-boot-stats-v1.3.0.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v1.3.0
====================================
-* Processed 1153 csets from 102 developers
+* Processed 1153 changesets from 102 developers
* 38 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v1.3.1.rst b/doc/develop/statistics/u-boot-stats-v1.3.1.rst
index e6ddd54..6a5c592 100644
--- a/doc/develop/statistics/u-boot-stats-v1.3.1.rst
+++ b/doc/develop/statistics/u-boot-stats-v1.3.1.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v1.3.1
====================================
-* Processed 40 csets from 5 developers
+* Processed 40 changesets from 5 developers
* 5 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v1.3.2.rst b/doc/develop/statistics/u-boot-stats-v1.3.2.rst
index f050558..21fc2df 100644
--- a/doc/develop/statistics/u-boot-stats-v1.3.2.rst
+++ b/doc/develop/statistics/u-boot-stats-v1.3.2.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v1.3.2
====================================
-* Processed 744 csets from 79 developers
+* Processed 744 changesets from 79 developers
* 38 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v1.3.3.rst b/doc/develop/statistics/u-boot-stats-v1.3.3.rst
index c381a73..0464275 100644
--- a/doc/develop/statistics/u-boot-stats-v1.3.3.rst
+++ b/doc/develop/statistics/u-boot-stats-v1.3.3.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v1.3.3
====================================
-* Processed 646 csets from 75 developers
+* Processed 646 changesets from 75 developers
* 38 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v1.3.4.rst b/doc/develop/statistics/u-boot-stats-v1.3.4.rst
index 125de24..33ef989 100644
--- a/doc/develop/statistics/u-boot-stats-v1.3.4.rst
+++ b/doc/develop/statistics/u-boot-stats-v1.3.4.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v1.3.4
====================================
-* Processed 511 csets from 86 developers
+* Processed 511 changesets from 86 developers
* 46 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2008.10.rst b/doc/develop/statistics/u-boot-stats-v2008.10.rst
index b163a5c..0370c70 100644
--- a/doc/develop/statistics/u-boot-stats-v2008.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2008.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2008.10
======================================
-* Processed 2498 csets from 174 developers
+* Processed 2498 changesets from 174 developers
* 85 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2009.01.rst b/doc/develop/statistics/u-boot-stats-v2009.01.rst
index 94c9bda..3495b6d 100644
--- a/doc/develop/statistics/u-boot-stats-v2009.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2009.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2009.01
======================================
-* Processed 464 csets from 69 developers
+* Processed 464 changesets from 69 developers
* 33 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2009.03.rst b/doc/develop/statistics/u-boot-stats-v2009.03.rst
index 8c8a10e..bff94f0 100644
--- a/doc/develop/statistics/u-boot-stats-v2009.03.rst
+++ b/doc/develop/statistics/u-boot-stats-v2009.03.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2009.03
======================================
-* Processed 489 csets from 90 developers
+* Processed 489 changesets from 90 developers
* 46 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2009.06.rst b/doc/develop/statistics/u-boot-stats-v2009.06.rst
index 192d85f..9e2f3ba 100644
--- a/doc/develop/statistics/u-boot-stats-v2009.06.rst
+++ b/doc/develop/statistics/u-boot-stats-v2009.06.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2009.06
======================================
-* Processed 433 csets from 74 developers
+* Processed 433 changesets from 74 developers
* 27 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2009.08.rst b/doc/develop/statistics/u-boot-stats-v2009.08.rst
index 57c044a..f9711b8 100644
--- a/doc/develop/statistics/u-boot-stats-v2009.08.rst
+++ b/doc/develop/statistics/u-boot-stats-v2009.08.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2009.08
======================================
-* Processed 657 csets from 96 developers
+* Processed 657 changesets from 96 developers
* 35 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2009.11.rst b/doc/develop/statistics/u-boot-stats-v2009.11.rst
index b9f64b1..2e1b2ea 100644
--- a/doc/develop/statistics/u-boot-stats-v2009.11.rst
+++ b/doc/develop/statistics/u-boot-stats-v2009.11.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2009.11
======================================
-* Processed 531 csets from 90 developers
+* Processed 531 changesets from 90 developers
* 39 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2010.03.rst b/doc/develop/statistics/u-boot-stats-v2010.03.rst
index 15b5741..5a8b0d6 100644
--- a/doc/develop/statistics/u-boot-stats-v2010.03.rst
+++ b/doc/develop/statistics/u-boot-stats-v2010.03.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2010.03
======================================
-* Processed 468 csets from 92 developers
+* Processed 468 changesets from 92 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2010.06.rst b/doc/develop/statistics/u-boot-stats-v2010.06.rst
index 7234874..ddd59ee 100644
--- a/doc/develop/statistics/u-boot-stats-v2010.06.rst
+++ b/doc/develop/statistics/u-boot-stats-v2010.06.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2010.06
======================================
-* Processed 402 csets from 100 developers
+* Processed 402 changesets from 100 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2010.09.rst b/doc/develop/statistics/u-boot-stats-v2010.09.rst
index acdab5b..6a0def0 100644
--- a/doc/develop/statistics/u-boot-stats-v2010.09.rst
+++ b/doc/develop/statistics/u-boot-stats-v2010.09.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2010.09
======================================
-* Processed 402 csets from 100 developers
+* Processed 402 changesets from 100 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2010.12.rst b/doc/develop/statistics/u-boot-stats-v2010.12.rst
index 3247526..2127adf 100644
--- a/doc/develop/statistics/u-boot-stats-v2010.12.rst
+++ b/doc/develop/statistics/u-boot-stats-v2010.12.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2010.12
======================================
-* Processed 777 csets from 111 developers
+* Processed 777 changesets from 111 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2011.03.rst b/doc/develop/statistics/u-boot-stats-v2011.03.rst
index 404a83c..5242471 100644
--- a/doc/develop/statistics/u-boot-stats-v2011.03.rst
+++ b/doc/develop/statistics/u-boot-stats-v2011.03.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2011.03
======================================
-* Processed 451 csets from 80 developers
+* Processed 451 changesets from 80 developers
* 25 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2011.06.rst b/doc/develop/statistics/u-boot-stats-v2011.06.rst
index 4edc091..e1b00e9 100644
--- a/doc/develop/statistics/u-boot-stats-v2011.06.rst
+++ b/doc/develop/statistics/u-boot-stats-v2011.06.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2011.06
======================================
-* Processed 636 csets from 134 developers
+* Processed 636 changesets from 134 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2011.09.rst b/doc/develop/statistics/u-boot-stats-v2011.09.rst
index c135a48..9e2538e1e 100644
--- a/doc/develop/statistics/u-boot-stats-v2011.09.rst
+++ b/doc/develop/statistics/u-boot-stats-v2011.09.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2011.09
======================================
-* Processed 645 csets from 120 developers
+* Processed 645 changesets from 120 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2011.12.rst b/doc/develop/statistics/u-boot-stats-v2011.12.rst
index cb9244f..3d2fdcd 100644
--- a/doc/develop/statistics/u-boot-stats-v2011.12.rst
+++ b/doc/develop/statistics/u-boot-stats-v2011.12.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2011.12
======================================
-* Processed 1530 csets from 146 developers
+* Processed 1530 changesets from 146 developers
* 34 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2012.04.rst b/doc/develop/statistics/u-boot-stats-v2012.04.rst
index f0324d9..1fe67b3 100644
--- a/doc/develop/statistics/u-boot-stats-v2012.04.rst
+++ b/doc/develop/statistics/u-boot-stats-v2012.04.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2012.04
======================================
-* Processed 773 csets from 126 developers
+* Processed 773 changesets from 126 developers
* 36 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2012.07.rst b/doc/develop/statistics/u-boot-stats-v2012.07.rst
index 040ddab..7bcf81a 100644
--- a/doc/develop/statistics/u-boot-stats-v2012.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2012.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2012.07
======================================
-* Processed 775 csets from 114 developers
+* Processed 775 changesets from 114 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2012.10.rst b/doc/develop/statistics/u-boot-stats-v2012.10.rst
index ec06b57..715ec34 100644
--- a/doc/develop/statistics/u-boot-stats-v2012.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2012.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2012.12
======================================
-* Processed 925 csets from 134 developers
+* Processed 925 changesets from 134 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2013.07.rst b/doc/develop/statistics/u-boot-stats-v2013.07.rst
index b0ee57c..61b90a5 100644
--- a/doc/develop/statistics/u-boot-stats-v2013.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2013.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2013.07
======================================
-* Processed 948 csets from 162 developers
+* Processed 948 changesets from 162 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2013.10.rst b/doc/develop/statistics/u-boot-stats-v2013.10.rst
index 55a5856..4088020 100644
--- a/doc/develop/statistics/u-boot-stats-v2013.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2013.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2013.10
======================================
-* Processed 710 csets from 135 developers
+* Processed 710 changesets from 135 developers
* 28 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2014.01.rst b/doc/develop/statistics/u-boot-stats-v2014.01.rst
index 809f3ff..5842269 100644
--- a/doc/develop/statistics/u-boot-stats-v2014.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2014.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2014.01
======================================
-* Processed 980 csets from 154 developers
+* Processed 980 changesets from 154 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2014.04.rst b/doc/develop/statistics/u-boot-stats-v2014.04.rst
index 47d3314..a794b11 100644
--- a/doc/develop/statistics/u-boot-stats-v2014.04.rst
+++ b/doc/develop/statistics/u-boot-stats-v2014.04.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2014.04
======================================
-* Processed 769 csets from 109 developers
+* Processed 769 changesets from 109 developers
* 26 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2014.07.rst b/doc/develop/statistics/u-boot-stats-v2014.07.rst
index d931ca0..d3b47f6 100644
--- a/doc/develop/statistics/u-boot-stats-v2014.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2014.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2014.07
======================================
-* Processed 1074 csets from 146 developers
+* Processed 1074 changesets from 146 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2014.10.rst b/doc/develop/statistics/u-boot-stats-v2014.10.rst
index ef33126..b5c794a 100644
--- a/doc/develop/statistics/u-boot-stats-v2014.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2014.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2014.10
======================================
-* Processed 1111 csets from 145 developers
+* Processed 1111 changesets from 145 developers
* 24 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2015.01.rst b/doc/develop/statistics/u-boot-stats-v2015.01.rst
index d81afd5..73b6d77 100644
--- a/doc/develop/statistics/u-boot-stats-v2015.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2015.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2015.01
======================================
-* Processed 1588 csets from 162 developers
+* Processed 1588 changesets from 162 developers
* 35 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2015.04.rst b/doc/develop/statistics/u-boot-stats-v2015.04.rst
index a16da2e..75a0215 100644
--- a/doc/develop/statistics/u-boot-stats-v2015.04.rst
+++ b/doc/develop/statistics/u-boot-stats-v2015.04.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2015.04
======================================
-* Processed 1585 csets from 169 developers
+* Processed 1585 changesets from 169 developers
* 36 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2015.07.rst b/doc/develop/statistics/u-boot-stats-v2015.07.rst
index 7999b27..ed6baee 100644
--- a/doc/develop/statistics/u-boot-stats-v2015.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2015.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2015.07
======================================
-* Processed 1563 csets from 156 developers
+* Processed 1563 changesets from 156 developers
* 28 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2015.10.rst b/doc/develop/statistics/u-boot-stats-v2015.10.rst
index 1e9c98d..6936b36 100644
--- a/doc/develop/statistics/u-boot-stats-v2015.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2015.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2015.10
======================================
-* Processed 2069 csets from 182 developers
+* Processed 2069 changesets from 182 developers
* 32 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2016.01.rst b/doc/develop/statistics/u-boot-stats-v2016.01.rst
index 8a7bcb7..95ed8d1 100644
--- a/doc/develop/statistics/u-boot-stats-v2016.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2016.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2016.01
======================================
-* Processed 1513 csets from 149 developers
+* Processed 1513 changesets from 149 developers
* 33 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2016.03.rst b/doc/develop/statistics/u-boot-stats-v2016.03.rst
index 6fe2219..f66aa02 100644
--- a/doc/develop/statistics/u-boot-stats-v2016.03.rst
+++ b/doc/develop/statistics/u-boot-stats-v2016.03.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2016.03
======================================
-* Processed 1375 csets from 126 developers
+* Processed 1375 changesets from 126 developers
* 26 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2016.05.rst b/doc/develop/statistics/u-boot-stats-v2016.05.rst
index a40c51f..792b332 100644
--- a/doc/develop/statistics/u-boot-stats-v2016.05.rst
+++ b/doc/develop/statistics/u-boot-stats-v2016.05.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2016.05
======================================
-* Processed 1043 csets from 133 developers
+* Processed 1043 changesets from 133 developers
* 23 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2016.07.rst b/doc/develop/statistics/u-boot-stats-v2016.07.rst
index d55e63e..d62729a 100644
--- a/doc/develop/statistics/u-boot-stats-v2016.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2016.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2016.07
======================================
-* Processed 1078 csets from 133 developers
+* Processed 1078 changesets from 133 developers
* 27 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2016.09.rst b/doc/develop/statistics/u-boot-stats-v2016.09.rst
index dabd187..75c0332 100644
--- a/doc/develop/statistics/u-boot-stats-v2016.09.rst
+++ b/doc/develop/statistics/u-boot-stats-v2016.09.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2016.09
======================================
-* Processed 987 csets from 129 developers
+* Processed 987 changesets from 129 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2016.11.rst b/doc/develop/statistics/u-boot-stats-v2016.11.rst
index 3bf61d5..9fb6e3e 100644
--- a/doc/develop/statistics/u-boot-stats-v2016.11.rst
+++ b/doc/develop/statistics/u-boot-stats-v2016.11.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2016.11
======================================
-* Processed 1031 csets from 114 developers
+* Processed 1031 changesets from 114 developers
* 26 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2017.01.rst b/doc/develop/statistics/u-boot-stats-v2017.01.rst
index 4a996ea..6f14d7e 100644
--- a/doc/develop/statistics/u-boot-stats-v2017.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2017.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2017.01
======================================
-* Processed 883 csets from 137 developers
+* Processed 883 changesets from 137 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2017.03.rst b/doc/develop/statistics/u-boot-stats-v2017.03.rst
index 733c975..bce2fe1 100644
--- a/doc/develop/statistics/u-boot-stats-v2017.03.rst
+++ b/doc/develop/statistics/u-boot-stats-v2017.03.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2017.03
======================================
-* Processed 664 csets from 126 developers
+* Processed 664 changesets from 126 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2017.05.rst b/doc/develop/statistics/u-boot-stats-v2017.05.rst
index bae4788..39e7684 100644
--- a/doc/develop/statistics/u-boot-stats-v2017.05.rst
+++ b/doc/develop/statistics/u-boot-stats-v2017.05.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2017.05
======================================
-* Processed 915 csets from 139 developers
+* Processed 915 changesets from 139 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2017.07.rst b/doc/develop/statistics/u-boot-stats-v2017.07.rst
index 9956378..3999d62 100644
--- a/doc/develop/statistics/u-boot-stats-v2017.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2017.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2017.07
======================================
-* Processed 1371 csets from 129 developers
+* Processed 1371 changesets from 129 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2017.09.rst b/doc/develop/statistics/u-boot-stats-v2017.09.rst
index 09b4bf8..a6768da 100644
--- a/doc/develop/statistics/u-boot-stats-v2017.09.rst
+++ b/doc/develop/statistics/u-boot-stats-v2017.09.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2017.09
======================================
-* Processed 1308 csets from 130 developers
+* Processed 1308 changesets from 130 developers
* 27 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2017.11.rst b/doc/develop/statistics/u-boot-stats-v2017.11.rst
index 700e09d..ba2f9e3 100644
--- a/doc/develop/statistics/u-boot-stats-v2017.11.rst
+++ b/doc/develop/statistics/u-boot-stats-v2017.11.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2017.11
======================================
-* Processed 989 csets from 123 developers
+* Processed 989 changesets from 123 developers
* 28 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2018.01.rst b/doc/develop/statistics/u-boot-stats-v2018.01.rst
index b2b3d0f..a5c68e7 100644
--- a/doc/develop/statistics/u-boot-stats-v2018.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2018.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2018.01
======================================
-* Processed 785 csets from 132 developers
+* Processed 785 changesets from 132 developers
* 32 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2018.03.rst b/doc/develop/statistics/u-boot-stats-v2018.03.rst
index f79c7b6..7453aa1 100644
--- a/doc/develop/statistics/u-boot-stats-v2018.03.rst
+++ b/doc/develop/statistics/u-boot-stats-v2018.03.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2018.03
======================================
-* Processed 1193 csets from 151 developers
+* Processed 1193 changesets from 151 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2018.05.rst b/doc/develop/statistics/u-boot-stats-v2018.05.rst
index 57a3d83..648832a 100644
--- a/doc/develop/statistics/u-boot-stats-v2018.05.rst
+++ b/doc/develop/statistics/u-boot-stats-v2018.05.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2018.05
======================================
-* Processed 977 csets from 128 developers
+* Processed 977 changesets from 128 developers
* 26 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2018.07.rst b/doc/develop/statistics/u-boot-stats-v2018.07.rst
index c17b214..da1b8aa 100644
--- a/doc/develop/statistics/u-boot-stats-v2018.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2018.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2018.07
======================================
-* Processed 1055 csets from 141 developers
+* Processed 1055 changesets from 141 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2018.09.rst b/doc/develop/statistics/u-boot-stats-v2018.09.rst
index 2a5a979..d360b9a 100644
--- a/doc/develop/statistics/u-boot-stats-v2018.09.rst
+++ b/doc/develop/statistics/u-boot-stats-v2018.09.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2018.09
======================================
-* Processed 983 csets from 138 developers
+* Processed 983 changesets from 138 developers
* 32 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2018.11.rst b/doc/develop/statistics/u-boot-stats-v2018.11.rst
index 8c84bb8..6ce39b9 100644
--- a/doc/develop/statistics/u-boot-stats-v2018.11.rst
+++ b/doc/develop/statistics/u-boot-stats-v2018.11.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2018.11
======================================
-* Processed 1105 csets from 130 developers
+* Processed 1105 changesets from 130 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2019.01.rst b/doc/develop/statistics/u-boot-stats-v2019.01.rst
index bcec3e8..32b7cca 100644
--- a/doc/develop/statistics/u-boot-stats-v2019.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2019.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2019.01
======================================
-* Processed 1149 csets from 140 developers
+* Processed 1149 changesets from 140 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2019.04.rst b/doc/develop/statistics/u-boot-stats-v2019.04.rst
index 6d76e0e..24920b6 100644
--- a/doc/develop/statistics/u-boot-stats-v2019.04.rst
+++ b/doc/develop/statistics/u-boot-stats-v2019.04.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2019.04
======================================
-* Processed 1193 csets from 182 developers
+* Processed 1193 changesets from 182 developers
* 28 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2019.07.rst b/doc/develop/statistics/u-boot-stats-v2019.07.rst
index 25af8ad..eb2ff5f 100644
--- a/doc/develop/statistics/u-boot-stats-v2019.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2019.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2019.07
======================================
-* Processed 2047 csets from 215 developers
+* Processed 2047 changesets from 215 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2019.10.rst b/doc/develop/statistics/u-boot-stats-v2019.10.rst
index 367b932..bd3eead 100644
--- a/doc/develop/statistics/u-boot-stats-v2019.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2019.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2019.10
======================================
-* Processed 2007 csets from 190 developers
+* Processed 2007 changesets from 190 developers
* 32 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2020.01.rst b/doc/develop/statistics/u-boot-stats-v2020.01.rst
index 35b1721..8aa9dc4 100644
--- a/doc/develop/statistics/u-boot-stats-v2020.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2020.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2020.01
======================================
-* Processed 1826 csets from 192 developers
+* Processed 1826 changesets from 192 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2020.04.rst b/doc/develop/statistics/u-boot-stats-v2020.04.rst
index 6650ad3..c3f839f 100644
--- a/doc/develop/statistics/u-boot-stats-v2020.04.rst
+++ b/doc/develop/statistics/u-boot-stats-v2020.04.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2020.04
======================================
-* Processed 1639 csets from 189 developers
+* Processed 1639 changesets from 189 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2020.07.rst b/doc/develop/statistics/u-boot-stats-v2020.07.rst
index ea99c59..8218f97 100644
--- a/doc/develop/statistics/u-boot-stats-v2020.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2020.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2020.07
======================================
-* Processed 1918 csets from 203 developers
+* Processed 1918 changesets from 203 developers
* 32 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2020.10.rst b/doc/develop/statistics/u-boot-stats-v2020.10.rst
index 0c0ccbe..fbd7e05 100644
--- a/doc/develop/statistics/u-boot-stats-v2020.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2020.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2020.10
======================================
-* Processed 2048 csets from 227 developers
+* Processed 2048 changesets from 227 developers
* 31 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2021.01.rst b/doc/develop/statistics/u-boot-stats-v2021.01.rst
index f8193bb..41fb193 100644
--- a/doc/develop/statistics/u-boot-stats-v2021.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2021.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2021.01
======================================
-* Processed 1694 csets from 163 developers
+* Processed 1694 changesets from 163 developers
* 27 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2021.04.rst b/doc/develop/statistics/u-boot-stats-v2021.04.rst
index 2f5df96..e47b6fc 100644
--- a/doc/develop/statistics/u-boot-stats-v2021.04.rst
+++ b/doc/develop/statistics/u-boot-stats-v2021.04.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2021.04
======================================
-* Processed 1675 csets from 194 developers
+* Processed 1675 changesets from 194 developers
* 28 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2021.07.rst b/doc/develop/statistics/u-boot-stats-v2021.07.rst
index e086220..b41d2e3 100644
--- a/doc/develop/statistics/u-boot-stats-v2021.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2021.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2021.07
======================================
-* Processed 1730 csets from 187 developers
+* Processed 1730 changesets from 187 developers
* 30 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2021.10.rst b/doc/develop/statistics/u-boot-stats-v2021.10.rst
index b2dcffe..63c8f8b 100644
--- a/doc/develop/statistics/u-boot-stats-v2021.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2021.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2021.10
======================================
-* Processed 1509 csets from 176 developers
+* Processed 1509 changesets from 176 developers
* 28 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2022.01.rst b/doc/develop/statistics/u-boot-stats-v2022.01.rst
index a6d130c..7b60c24 100644
--- a/doc/develop/statistics/u-boot-stats-v2022.01.rst
+++ b/doc/develop/statistics/u-boot-stats-v2022.01.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2022.01
======================================
-* Processed 1417 csets from 164 developers
+* Processed 1417 changesets from 164 developers
* 29 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2022.04.rst b/doc/develop/statistics/u-boot-stats-v2022.04.rst
index 5d61832..ef23511 100644
--- a/doc/develop/statistics/u-boot-stats-v2022.04.rst
+++ b/doc/develop/statistics/u-boot-stats-v2022.04.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2022.04
======================================
-* Processed 1555 csets from 193 developers
+* Processed 1555 changesets from 193 developers
* 27 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2022.07.rst b/doc/develop/statistics/u-boot-stats-v2022.07.rst
index c1b627c..dc54e9a 100644
--- a/doc/develop/statistics/u-boot-stats-v2022.07.rst
+++ b/doc/develop/statistics/u-boot-stats-v2022.07.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2022.07
======================================
-* Processed 1696 csets from 183 developers
+* Processed 1696 changesets from 183 developers
* 27 employers found
diff --git a/doc/develop/statistics/u-boot-stats-v2022.10.rst b/doc/develop/statistics/u-boot-stats-v2022.10.rst
index 0693d68..6fb71d4 100644
--- a/doc/develop/statistics/u-boot-stats-v2022.10.rst
+++ b/doc/develop/statistics/u-boot-stats-v2022.10.rst
@@ -3,7 +3,7 @@
Release Statistics for U-Boot v2022.10
======================================
-* Processed 1521 csets from 151 developers
+* Processed 1521 changesets from 151 developers
* 25 employers found
diff --git a/doc/media/Makefile b/doc/media/Makefile
index b9b43a3..9b32258 100644
--- a/doc/media/Makefile
+++ b/doc/media/Makefile
@@ -22,10 +22,11 @@ $(BUILDDIR)/linker_lists.h.rst: ${API}/linker_lists.h ${PARSER} $(SRC_DIR)/linke
# Media build rules
-.PHONY: all html epub xml latex
+.PHONY: all html texinfo epub xml latex
all: $(IMGDOT) $(BUILDDIR) ${TARGETS}
html: all
+texinfo: all
epub: all
xml: all
latex: $(IMGPDF) all
diff --git a/doc/usage/cmd/wget.rst b/doc/usage/cmd/wget.rst
index 4fcfa03..e1e7f8d 100644
--- a/doc/usage/cmd/wget.rst
+++ b/doc/usage/cmd/wget.rst
@@ -7,6 +7,7 @@ Synopsis
--------
::
+
wget address [[hostIPaddr:]path]
Description
@@ -52,8 +53,8 @@ Configuration
The command is only available if CONFIG_CMD_WGET=y.
-CONFIG_PROT_TCP_SACK can be turned on for the TCP SACK options. This will
-help increasing the downloading speed.
+TCP Selective Acknowledgments can be enabled via CONFIG_PROT_TCP_SACK=y.
+This will improve the download speed.
Return value
------------
diff --git a/include/efi_api.h b/include/efi_api.h
index 00c98e0..9bd70b0 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -21,7 +21,7 @@
#include <pe.h>
/* UEFI spec version 2.9 */
-#define EFI_SPECIFICATION_VERSION (2 << 16 | 90)
+#define EFI_SPECIFICATION_VERSION (2 << 16 | 100)
/* Types and defines for EFI CreateEvent */
enum efi_timer_delay {
diff --git a/lib/efi_loader/efi_hii.c b/lib/efi_loader/efi_hii.c
index 75ff58a..27db3be 100644
--- a/lib/efi_loader/efi_hii.c
+++ b/lib/efi_loader/efi_hii.c
@@ -780,7 +780,7 @@ get_package_list_handle(const struct efi_hii_database_protocol *this,
}
}
- return EFI_EXIT(EFI_NOT_FOUND);
+ return EFI_EXIT(EFI_INVALID_PARAMETER);
}
const struct efi_hii_database_protocol efi_hii_database = {
diff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c
index 3d58caa..62e071b 100644
--- a/lib/efi_loader/efi_var_file.c
+++ b/lib/efi_loader/efi_var_file.c
@@ -176,7 +176,7 @@ efi_status_t efi_var_restore(struct efi_var_file *buf, bool safe)
data = var->name + u16_strlen(var->name) + 1;
/*
- * Secure boot related and non-volatile variables shall only be
+ * Secure boot related and volatile variables shall only be
* restored from U-Boot's preseed.
*/
if (!safe &&
@@ -187,6 +187,8 @@ efi_status_t efi_var_restore(struct efi_var_file *buf, bool safe)
continue;
if (!var->length)
continue;
+ if (efi_var_mem_find(&var->guid, var->name, NULL))
+ continue;
ret = efi_var_mem_ins(var->name, &var->guid, var->attr,
var->length, data, 0, NULL,
var->time);
diff --git a/lib/efi_loader/efi_var_mem.c b/lib/efi_loader/efi_var_mem.c
index 0bac594..e1058e3 100644
--- a/lib/efi_loader/efi_var_mem.c
+++ b/lib/efi_loader/efi_var_mem.c
@@ -146,9 +146,7 @@ efi_status_t __efi_runtime efi_var_mem_ins(
var = (struct efi_var_entry *)
((uintptr_t)efi_var_buf + efi_var_buf->length);
- for (var_name_len = 0; variable_name[var_name_len]; ++var_name_len)
- ;
- ++var_name_len;
+ var_name_len = u16_strlen(variable_name) + 1;
data = var->name + var_name_len;
if ((uintptr_t)data - (uintptr_t)efi_var_buf + size1 + size2 >
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c
index 8ca2d85..503a33e 100644
--- a/lib/efi_loader/efi_variable.c
+++ b/lib/efi_loader/efi_variable.c
@@ -425,6 +425,9 @@ efi_status_t efi_init_variables(void)
if (ret != EFI_SUCCESS)
return ret;
+ ret = efi_var_from_file();
+ if (ret != EFI_SUCCESS)
+ return ret;
if (IS_ENABLED(CONFIG_EFI_VARIABLES_PRESEED)) {
ret = efi_var_restore((struct efi_var_file *)
__efi_var_file_begin, true);
@@ -432,9 +435,6 @@ efi_status_t efi_init_variables(void)
log_err("Invalid EFI variable seed\n");
}
- ret = efi_var_from_file();
- if (ret != EFI_SUCCESS)
- return ret;
return efi_init_secure_state();
}