Pull request for efi-2023-01-rc5-2
Documentation: * Reorganize existing TI docs and add K3 generation page * Add texinfodocs and infodocs targets * Update qemu-ppce500 documentation * Use "changesets" not "csets" in statistics pages UEFI * Fix merging of preseeded non-volatile variables * Fix a return value in the EFI_HII_DATABASE_PROTOCOL * Set UEFI specification version to 2.10 -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEbcT5xx8ppvoGt20zxIHbvCwFGsQFAmOtm18ACgkQxIHbvCwF GsQMJQ//Zfr8kaJQbHRBcA/20LvdMuJj5l1IBW3sQbfr2jRztrkA/Ea23k4T8lHK f+Ty1CGDPi5LtdIKrDJDxNF1KDFOUIGgBZ4i+ISoLPazCj9Cug/58GCZM/htO25/ sFqojKNUVYOLBZ/D3PZBDU42hWTH0do1MwyUNuwVu0KPe6uwUrMFRBcSddXQw77r 45iotAPe54hL7lzcNfEJSjeSSZ0CfGAsE+8ZN2r7xBTcU2ACOD6DbcCQgeR8FGEv CwzKU/3wKNLtonxfFmK44FI6knIxl/B3HKzi82gBDOmvlB4bmB8X+CK82WvJ+Q+j 9H/6bqj6ZaEKkJ7k1KbhR/cf6Z4QbRwScb82H2YfhjhiAj6UeoPCTI6lgx7WGkxW DP8wNej0kE0wxWuoiay5ErRU17hPItpwQIbrCBMpnJrEPTour6yjGpJYcbUeGqW2 5gw++0rsyn1rOlH/+ukK0Gzq6DSUE9LuCnl76qG6Vwyuj1e1JO2G9Sr/rxiX5XDx 5h/LoVmhD2yYSSG7MtKNlj38yfnOu1267PSWvQYyLs9XKSnhecT/N4OKMwTmEe1o VO8MapuUaw2mzO3NzlDLKXHzMavN2ov+YWWA+9NiFiytjXFvOsPnMVZJXeR86RI/ Npeu+7jIbQOtSFDQyuV0tGXGZSY5F5WHsXFdwJHkFQGSYhWDwXU= =z7b8 -----END PGP SIGNATURE----- Merge tag 'efi-2023-01-rc5-2' of https://source.denx.de/u-boot/custodians/u-boot-efi Pull request for efi-2023-01-rc5-2 Documentation: * Reorganize existing TI docs and add K3 generation page * Add texinfodocs and infodocs targets * Update qemu-ppce500 documentation * Use "changesets" not "csets" in statistics pages UEFI * Fix merging of preseeded non-volatile variables * Fix a return value in the EFI_HII_DATABASE_PROTOCOL * Set UEFI specification version to 2.10
This commit is contained in:
commit
d36bc89be2
2
Makefile
2
Makefile
@ -2372,7 +2372,7 @@ tcheck:
|
|||||||
# Documentation targets
|
# Documentation targets
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \
|
DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \
|
||||||
linkcheckdocs dochelp refcheckdocs
|
linkcheckdocs dochelp refcheckdocs texinfodocs infodocs
|
||||||
PHONY += $(DOC_TARGETS)
|
PHONY += $(DOC_TARGETS)
|
||||||
$(DOC_TARGETS): scripts_basic FORCE
|
$(DOC_TARGETS): scripts_basic FORCE
|
||||||
$(Q)$(MAKE) $(build)=doc $@
|
$(Q)$(MAKE) $(build)=doc $@
|
||||||
|
@ -34,6 +34,7 @@ coff_header:
|
|||||||
.short (IMAGE_FILE_EXECUTABLE_IMAGE | \
|
.short (IMAGE_FILE_EXECUTABLE_IMAGE | \
|
||||||
IMAGE_FILE_LINE_NUMS_STRIPPED | \
|
IMAGE_FILE_LINE_NUMS_STRIPPED | \
|
||||||
IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
|
IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
|
||||||
|
IMAGE_FILE_LARGE_ADDRESS_AWARE | \
|
||||||
IMAGE_FILE_DEBUG_STRIPPED)
|
IMAGE_FILE_DEBUG_STRIPPED)
|
||||||
optional_header:
|
optional_header:
|
||||||
.short IMAGE_NT_OPTIONAL_HDR64_MAGIC /* PE32+ format */
|
.short IMAGE_NT_OPTIONAL_HDR64_MAGIC /* PE32+ format */
|
||||||
|
@ -16,12 +16,23 @@
|
|||||||
#define LOAD_LONG(reg, idx) ld reg, (idx*SIZE_LONG)(sp)
|
#define LOAD_LONG(reg, idx) ld reg, (idx*SIZE_LONG)(sp)
|
||||||
#define PE_MACHINE IMAGE_FILE_MACHINE_RISCV64
|
#define PE_MACHINE IMAGE_FILE_MACHINE_RISCV64
|
||||||
#define PE_MAGIC IMAGE_NT_OPTIONAL_HDR64_MAGIC
|
#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
|
#else
|
||||||
#define SIZE_LONG 4
|
#define SIZE_LONG 4
|
||||||
#define SAVE_LONG(reg, idx) sw reg, (idx*SIZE_LONG)(sp)
|
#define SAVE_LONG(reg, idx) sw reg, (idx*SIZE_LONG)(sp)
|
||||||
#define LOAD_LONG(reg, idx) lw 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_MACHINE IMAGE_FILE_MACHINE_RISCV32
|
||||||
#define PE_MAGIC IMAGE_NT_OPTIONAL_HDR32_MAGIC
|
#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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -47,11 +58,7 @@ coff_header:
|
|||||||
.long 0 /* PointerToSymbolTable */
|
.long 0 /* PointerToSymbolTable */
|
||||||
.long 0 /* NumberOfSymbols */
|
.long 0 /* NumberOfSymbols */
|
||||||
.short section_table - optional_header /* SizeOfOptionalHeader */
|
.short section_table - optional_header /* SizeOfOptionalHeader */
|
||||||
/* Characteristics */
|
.short IMG_CHARACTERISTICS /* Characteristics */
|
||||||
.short (IMAGE_FILE_EXECUTABLE_IMAGE | \
|
|
||||||
IMAGE_FILE_LINE_NUMS_STRIPPED | \
|
|
||||||
IMAGE_FILE_LOCAL_SYMS_STRIPPED | \
|
|
||||||
IMAGE_FILE_DEBUG_STRIPPED)
|
|
||||||
optional_header:
|
optional_header:
|
||||||
.short PE_MAGIC /* PE32(+) format */
|
.short PE_MAGIC /* PE32(+) format */
|
||||||
.byte 0x02 /* MajorLinkerVersion */
|
.byte 0x02 /* MajorLinkerVersion */
|
||||||
|
10
doc/Makefile
10
doc/Makefile
@ -69,6 +69,14 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
|
|||||||
htmldocs:
|
htmldocs:
|
||||||
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))
|
@+$(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:
|
linkcheckdocs:
|
||||||
@$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var)))
|
@$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var)))
|
||||||
|
|
||||||
@ -109,6 +117,8 @@ cleandocs:
|
|||||||
dochelp:
|
dochelp:
|
||||||
@echo ' U-Boot documentation in different formats from ReST:'
|
@echo ' U-Boot documentation in different formats from ReST:'
|
||||||
@echo ' htmldocs - HTML'
|
@echo ' htmldocs - HTML'
|
||||||
|
@echo ' texinfodocs - Texinfo'
|
||||||
|
@echo ' infodocs - Info'
|
||||||
@echo ' latexdocs - LaTeX'
|
@echo ' latexdocs - LaTeX'
|
||||||
@echo ' pdfdocs - PDF'
|
@echo ' pdfdocs - PDF'
|
||||||
@echo ' epubdocs - EPUB'
|
@echo ' epubdocs - EPUB'
|
||||||
|
@ -7,7 +7,7 @@ QEMU PPC E500
|
|||||||
QEMU for PPC supports a special 'ppce500' machine designed for emulation and
|
QEMU for PPC supports a special 'ppce500' machine designed for emulation and
|
||||||
virtualization purposes. This document describes how to run U-Boot under it.
|
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
|
support for the VirtIO standard networking device connected to the built-in
|
||||||
PCI host controller. Some common devices in the CCSBAR space are modeled,
|
PCI host controller. Some common devices in the CCSBAR space are modeled,
|
||||||
including MPIC, 16550A UART devices, GPIO, I2C and PCI host controller with
|
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
|
Both qemu-system-ppc and qemu-system-ppc64 provide emulation for the following
|
||||||
32-bit PowerPC CPUs:
|
32-bit PowerPC CPUs:
|
||||||
|
|
||||||
|
* e500v1
|
||||||
* e500v2
|
* e500v2
|
||||||
* e500mc
|
* 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
|
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.
|
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
|
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
|
these SoCs are e500v1/e500v2 based MPC85xx series, hence you cannot test anything
|
||||||
built for P4080 (e500mc), P5020 (e5500) and T2080 (e6500).
|
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
|
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::
|
interface at PCI address 0.1.0, but we can switch that to an e1000 NIC by::
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
||||||
.. sectionauthor:: Tom Rini <trini@konsulko.com>
|
.. sectionauthor:: Tom Rini <trini@konsulko.com>
|
||||||
|
|
||||||
|
AM335x Generation
|
||||||
|
=================
|
||||||
|
|
||||||
Summary
|
Summary
|
||||||
=======
|
-------
|
||||||
|
|
||||||
This document covers various features of the `am335x_evm` default
|
This document covers various features of the `am335x_evm` default
|
||||||
configuration, some of the related defconfigs, and how to enable hardware
|
configuration, some of the related defconfigs, and how to enable hardware
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
||||||
.. sectionauthor:: Vignesh Raghavendra <vigneshr@ti.com>
|
.. sectionauthor:: Vignesh Raghavendra <vigneshr@ti.com>
|
||||||
|
|
||||||
Texas Instruments AM62 Platforms
|
AM62 Platforms
|
||||||
================================
|
===============
|
||||||
|
|
||||||
Introduction:
|
Introduction:
|
||||||
-------------
|
-------------
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
.. SPDX-License-Identifier: GPL-2.0+
|
.. SPDX-License-Identifier: GPL-2.0+
|
||||||
|
|
||||||
Texas Instruments
|
Texas Instruments
|
||||||
=================
|
#################
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
am335x_evm
|
am335x_evm
|
||||||
j721e_evm
|
k3
|
||||||
am62x_sk
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
.. SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
||||||
.. sectionauthor:: Lokesh Vutla <lokeshvutla@ti.com>
|
.. sectionauthor:: Lokesh Vutla <lokeshvutla@ti.com>
|
||||||
|
|
||||||
Texas Instruments K3 Platforms
|
J721E Platforms
|
||||||
==============================
|
===============
|
||||||
|
|
||||||
Introduction:
|
Introduction:
|
||||||
-------------
|
-------------
|
||||||
|
274
doc/board/ti/k3.rst
Normal file
274
doc/board/ti/k3.rst
Normal file
@ -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`
|
@ -449,7 +449,7 @@ for fn in os.listdir('.'):
|
|||||||
# One entry per manual page. List of tuples
|
# One entry per manual page. List of tuples
|
||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [
|
||||||
(master_doc, 'dasuboot', 'The U-Boot Documentation',
|
(master_doc, 'u-boot', 'The U-Boot Documentation',
|
||||||
[author], 1)
|
[author], 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -463,8 +463,8 @@ man_pages = [
|
|||||||
# (source start file, target name, title, author,
|
# (source start file, target name, title, author,
|
||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
(master_doc, 'DasUBoot', 'The U-Boot Documentation',
|
(master_doc, 'u-boot', 'The U-Boot Documentation',
|
||||||
author, 'DasUBoot', 'One line description of project.',
|
author, 'U-Boot', 'Boot loader for embedded systems',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v1.3.0
|
Release Statistics for U-Boot v1.3.0
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
* Processed 1153 csets from 102 developers
|
* Processed 1153 changesets from 102 developers
|
||||||
|
|
||||||
* 38 employers found
|
* 38 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v1.3.1
|
Release Statistics for U-Boot v1.3.1
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
* Processed 40 csets from 5 developers
|
* Processed 40 changesets from 5 developers
|
||||||
|
|
||||||
* 5 employers found
|
* 5 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v1.3.2
|
Release Statistics for U-Boot v1.3.2
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
* Processed 744 csets from 79 developers
|
* Processed 744 changesets from 79 developers
|
||||||
|
|
||||||
* 38 employers found
|
* 38 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v1.3.3
|
Release Statistics for U-Boot v1.3.3
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
* Processed 646 csets from 75 developers
|
* Processed 646 changesets from 75 developers
|
||||||
|
|
||||||
* 38 employers found
|
* 38 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v1.3.4
|
Release Statistics for U-Boot v1.3.4
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
* Processed 511 csets from 86 developers
|
* Processed 511 changesets from 86 developers
|
||||||
|
|
||||||
* 46 employers found
|
* 46 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2008.10
|
Release Statistics for U-Boot v2008.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 2498 csets from 174 developers
|
* Processed 2498 changesets from 174 developers
|
||||||
|
|
||||||
* 85 employers found
|
* 85 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2009.01
|
Release Statistics for U-Boot v2009.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 464 csets from 69 developers
|
* Processed 464 changesets from 69 developers
|
||||||
|
|
||||||
* 33 employers found
|
* 33 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2009.03
|
Release Statistics for U-Boot v2009.03
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 489 csets from 90 developers
|
* Processed 489 changesets from 90 developers
|
||||||
|
|
||||||
* 46 employers found
|
* 46 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2009.06
|
Release Statistics for U-Boot v2009.06
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 433 csets from 74 developers
|
* Processed 433 changesets from 74 developers
|
||||||
|
|
||||||
* 27 employers found
|
* 27 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2009.08
|
Release Statistics for U-Boot v2009.08
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 657 csets from 96 developers
|
* Processed 657 changesets from 96 developers
|
||||||
|
|
||||||
* 35 employers found
|
* 35 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2009.11
|
Release Statistics for U-Boot v2009.11
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 531 csets from 90 developers
|
* Processed 531 changesets from 90 developers
|
||||||
|
|
||||||
* 39 employers found
|
* 39 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2010.03
|
Release Statistics for U-Boot v2010.03
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 468 csets from 92 developers
|
* Processed 468 changesets from 92 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2010.06
|
Release Statistics for U-Boot v2010.06
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 402 csets from 100 developers
|
* Processed 402 changesets from 100 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2010.09
|
Release Statistics for U-Boot v2010.09
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 402 csets from 100 developers
|
* Processed 402 changesets from 100 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2010.12
|
Release Statistics for U-Boot v2010.12
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 777 csets from 111 developers
|
* Processed 777 changesets from 111 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2011.03
|
Release Statistics for U-Boot v2011.03
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 451 csets from 80 developers
|
* Processed 451 changesets from 80 developers
|
||||||
|
|
||||||
* 25 employers found
|
* 25 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2011.06
|
Release Statistics for U-Boot v2011.06
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 636 csets from 134 developers
|
* Processed 636 changesets from 134 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2011.09
|
Release Statistics for U-Boot v2011.09
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 645 csets from 120 developers
|
* Processed 645 changesets from 120 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2011.12
|
Release Statistics for U-Boot v2011.12
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1530 csets from 146 developers
|
* Processed 1530 changesets from 146 developers
|
||||||
|
|
||||||
* 34 employers found
|
* 34 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2012.04
|
Release Statistics for U-Boot v2012.04
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 773 csets from 126 developers
|
* Processed 773 changesets from 126 developers
|
||||||
|
|
||||||
* 36 employers found
|
* 36 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2012.07
|
Release Statistics for U-Boot v2012.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 775 csets from 114 developers
|
* Processed 775 changesets from 114 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2012.12
|
Release Statistics for U-Boot v2012.12
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 925 csets from 134 developers
|
* Processed 925 changesets from 134 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2013.07
|
Release Statistics for U-Boot v2013.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 948 csets from 162 developers
|
* Processed 948 changesets from 162 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2013.10
|
Release Statistics for U-Boot v2013.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 710 csets from 135 developers
|
* Processed 710 changesets from 135 developers
|
||||||
|
|
||||||
* 28 employers found
|
* 28 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2014.01
|
Release Statistics for U-Boot v2014.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 980 csets from 154 developers
|
* Processed 980 changesets from 154 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2014.04
|
Release Statistics for U-Boot v2014.04
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 769 csets from 109 developers
|
* Processed 769 changesets from 109 developers
|
||||||
|
|
||||||
* 26 employers found
|
* 26 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2014.07
|
Release Statistics for U-Boot v2014.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1074 csets from 146 developers
|
* Processed 1074 changesets from 146 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2014.10
|
Release Statistics for U-Boot v2014.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1111 csets from 145 developers
|
* Processed 1111 changesets from 145 developers
|
||||||
|
|
||||||
* 24 employers found
|
* 24 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2015.01
|
Release Statistics for U-Boot v2015.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1588 csets from 162 developers
|
* Processed 1588 changesets from 162 developers
|
||||||
|
|
||||||
* 35 employers found
|
* 35 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2015.04
|
Release Statistics for U-Boot v2015.04
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1585 csets from 169 developers
|
* Processed 1585 changesets from 169 developers
|
||||||
|
|
||||||
* 36 employers found
|
* 36 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2015.07
|
Release Statistics for U-Boot v2015.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1563 csets from 156 developers
|
* Processed 1563 changesets from 156 developers
|
||||||
|
|
||||||
* 28 employers found
|
* 28 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2015.10
|
Release Statistics for U-Boot v2015.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 2069 csets from 182 developers
|
* Processed 2069 changesets from 182 developers
|
||||||
|
|
||||||
* 32 employers found
|
* 32 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2016.01
|
Release Statistics for U-Boot v2016.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1513 csets from 149 developers
|
* Processed 1513 changesets from 149 developers
|
||||||
|
|
||||||
* 33 employers found
|
* 33 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2016.03
|
Release Statistics for U-Boot v2016.03
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1375 csets from 126 developers
|
* Processed 1375 changesets from 126 developers
|
||||||
|
|
||||||
* 26 employers found
|
* 26 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2016.05
|
Release Statistics for U-Boot v2016.05
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1043 csets from 133 developers
|
* Processed 1043 changesets from 133 developers
|
||||||
|
|
||||||
* 23 employers found
|
* 23 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2016.07
|
Release Statistics for U-Boot v2016.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1078 csets from 133 developers
|
* Processed 1078 changesets from 133 developers
|
||||||
|
|
||||||
* 27 employers found
|
* 27 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2016.09
|
Release Statistics for U-Boot v2016.09
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 987 csets from 129 developers
|
* Processed 987 changesets from 129 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2016.11
|
Release Statistics for U-Boot v2016.11
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1031 csets from 114 developers
|
* Processed 1031 changesets from 114 developers
|
||||||
|
|
||||||
* 26 employers found
|
* 26 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2017.01
|
Release Statistics for U-Boot v2017.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 883 csets from 137 developers
|
* Processed 883 changesets from 137 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2017.03
|
Release Statistics for U-Boot v2017.03
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 664 csets from 126 developers
|
* Processed 664 changesets from 126 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2017.05
|
Release Statistics for U-Boot v2017.05
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 915 csets from 139 developers
|
* Processed 915 changesets from 139 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2017.07
|
Release Statistics for U-Boot v2017.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1371 csets from 129 developers
|
* Processed 1371 changesets from 129 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2017.09
|
Release Statistics for U-Boot v2017.09
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1308 csets from 130 developers
|
* Processed 1308 changesets from 130 developers
|
||||||
|
|
||||||
* 27 employers found
|
* 27 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2017.11
|
Release Statistics for U-Boot v2017.11
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 989 csets from 123 developers
|
* Processed 989 changesets from 123 developers
|
||||||
|
|
||||||
* 28 employers found
|
* 28 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2018.01
|
Release Statistics for U-Boot v2018.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 785 csets from 132 developers
|
* Processed 785 changesets from 132 developers
|
||||||
|
|
||||||
* 32 employers found
|
* 32 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2018.03
|
Release Statistics for U-Boot v2018.03
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1193 csets from 151 developers
|
* Processed 1193 changesets from 151 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2018.05
|
Release Statistics for U-Boot v2018.05
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 977 csets from 128 developers
|
* Processed 977 changesets from 128 developers
|
||||||
|
|
||||||
* 26 employers found
|
* 26 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2018.07
|
Release Statistics for U-Boot v2018.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1055 csets from 141 developers
|
* Processed 1055 changesets from 141 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2018.09
|
Release Statistics for U-Boot v2018.09
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 983 csets from 138 developers
|
* Processed 983 changesets from 138 developers
|
||||||
|
|
||||||
* 32 employers found
|
* 32 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2018.11
|
Release Statistics for U-Boot v2018.11
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1105 csets from 130 developers
|
* Processed 1105 changesets from 130 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2019.01
|
Release Statistics for U-Boot v2019.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1149 csets from 140 developers
|
* Processed 1149 changesets from 140 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2019.04
|
Release Statistics for U-Boot v2019.04
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1193 csets from 182 developers
|
* Processed 1193 changesets from 182 developers
|
||||||
|
|
||||||
* 28 employers found
|
* 28 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2019.07
|
Release Statistics for U-Boot v2019.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 2047 csets from 215 developers
|
* Processed 2047 changesets from 215 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2019.10
|
Release Statistics for U-Boot v2019.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 2007 csets from 190 developers
|
* Processed 2007 changesets from 190 developers
|
||||||
|
|
||||||
* 32 employers found
|
* 32 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2020.01
|
Release Statistics for U-Boot v2020.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1826 csets from 192 developers
|
* Processed 1826 changesets from 192 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2020.04
|
Release Statistics for U-Boot v2020.04
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1639 csets from 189 developers
|
* Processed 1639 changesets from 189 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2020.07
|
Release Statistics for U-Boot v2020.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1918 csets from 203 developers
|
* Processed 1918 changesets from 203 developers
|
||||||
|
|
||||||
* 32 employers found
|
* 32 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2020.10
|
Release Statistics for U-Boot v2020.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 2048 csets from 227 developers
|
* Processed 2048 changesets from 227 developers
|
||||||
|
|
||||||
* 31 employers found
|
* 31 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2021.01
|
Release Statistics for U-Boot v2021.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1694 csets from 163 developers
|
* Processed 1694 changesets from 163 developers
|
||||||
|
|
||||||
* 27 employers found
|
* 27 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2021.04
|
Release Statistics for U-Boot v2021.04
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1675 csets from 194 developers
|
* Processed 1675 changesets from 194 developers
|
||||||
|
|
||||||
* 28 employers found
|
* 28 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2021.07
|
Release Statistics for U-Boot v2021.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1730 csets from 187 developers
|
* Processed 1730 changesets from 187 developers
|
||||||
|
|
||||||
* 30 employers found
|
* 30 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2021.10
|
Release Statistics for U-Boot v2021.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1509 csets from 176 developers
|
* Processed 1509 changesets from 176 developers
|
||||||
|
|
||||||
* 28 employers found
|
* 28 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2022.01
|
Release Statistics for U-Boot v2022.01
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1417 csets from 164 developers
|
* Processed 1417 changesets from 164 developers
|
||||||
|
|
||||||
* 29 employers found
|
* 29 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2022.04
|
Release Statistics for U-Boot v2022.04
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1555 csets from 193 developers
|
* Processed 1555 changesets from 193 developers
|
||||||
|
|
||||||
* 27 employers found
|
* 27 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2022.07
|
Release Statistics for U-Boot v2022.07
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1696 csets from 183 developers
|
* Processed 1696 changesets from 183 developers
|
||||||
|
|
||||||
* 27 employers found
|
* 27 employers found
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Release Statistics for U-Boot v2022.10
|
Release Statistics for U-Boot v2022.10
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
* Processed 1521 csets from 151 developers
|
* Processed 1521 changesets from 151 developers
|
||||||
|
|
||||||
* 25 employers found
|
* 25 employers found
|
||||||
|
|
||||||
|
@ -22,10 +22,11 @@ $(BUILDDIR)/linker_lists.h.rst: ${API}/linker_lists.h ${PARSER} $(SRC_DIR)/linke
|
|||||||
|
|
||||||
# Media build rules
|
# Media build rules
|
||||||
|
|
||||||
.PHONY: all html epub xml latex
|
.PHONY: all html texinfo epub xml latex
|
||||||
|
|
||||||
all: $(IMGDOT) $(BUILDDIR) ${TARGETS}
|
all: $(IMGDOT) $(BUILDDIR) ${TARGETS}
|
||||||
html: all
|
html: all
|
||||||
|
texinfo: all
|
||||||
epub: all
|
epub: all
|
||||||
xml: all
|
xml: all
|
||||||
latex: $(IMGPDF) all
|
latex: $(IMGPDF) all
|
||||||
|
@ -7,6 +7,7 @@ Synopsis
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
wget address [[hostIPaddr:]path]
|
wget address [[hostIPaddr:]path]
|
||||||
|
|
||||||
Description
|
Description
|
||||||
@ -52,8 +53,8 @@ Configuration
|
|||||||
|
|
||||||
The command is only available if CONFIG_CMD_WGET=y.
|
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
|
TCP Selective Acknowledgments can be enabled via CONFIG_PROT_TCP_SACK=y.
|
||||||
help increasing the downloading speed.
|
This will improve the download speed.
|
||||||
|
|
||||||
Return value
|
Return value
|
||||||
------------
|
------------
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <pe.h>
|
#include <pe.h>
|
||||||
|
|
||||||
/* UEFI spec version 2.9 */
|
/* 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 */
|
/* Types and defines for EFI CreateEvent */
|
||||||
enum efi_timer_delay {
|
enum efi_timer_delay {
|
||||||
|
@ -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 = {
|
const struct efi_hii_database_protocol efi_hii_database = {
|
||||||
|
@ -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;
|
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.
|
* restored from U-Boot's preseed.
|
||||||
*/
|
*/
|
||||||
if (!safe &&
|
if (!safe &&
|
||||||
@ -187,6 +187,8 @@ efi_status_t efi_var_restore(struct efi_var_file *buf, bool safe)
|
|||||||
continue;
|
continue;
|
||||||
if (!var->length)
|
if (!var->length)
|
||||||
continue;
|
continue;
|
||||||
|
if (efi_var_mem_find(&var->guid, var->name, NULL))
|
||||||
|
continue;
|
||||||
ret = efi_var_mem_ins(var->name, &var->guid, var->attr,
|
ret = efi_var_mem_ins(var->name, &var->guid, var->attr,
|
||||||
var->length, data, 0, NULL,
|
var->length, data, 0, NULL,
|
||||||
var->time);
|
var->time);
|
||||||
|
@ -146,9 +146,7 @@ efi_status_t __efi_runtime efi_var_mem_ins(
|
|||||||
|
|
||||||
var = (struct efi_var_entry *)
|
var = (struct efi_var_entry *)
|
||||||
((uintptr_t)efi_var_buf + efi_var_buf->length);
|
((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 = u16_strlen(variable_name) + 1;
|
||||||
;
|
|
||||||
++var_name_len;
|
|
||||||
data = var->name + var_name_len;
|
data = var->name + var_name_len;
|
||||||
|
|
||||||
if ((uintptr_t)data - (uintptr_t)efi_var_buf + size1 + size2 >
|
if ((uintptr_t)data - (uintptr_t)efi_var_buf + size1 + size2 >
|
||||||
|
@ -425,6 +425,9 @@ efi_status_t efi_init_variables(void)
|
|||||||
if (ret != EFI_SUCCESS)
|
if (ret != EFI_SUCCESS)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
ret = efi_var_from_file();
|
||||||
|
if (ret != EFI_SUCCESS)
|
||||||
|
return ret;
|
||||||
if (IS_ENABLED(CONFIG_EFI_VARIABLES_PRESEED)) {
|
if (IS_ENABLED(CONFIG_EFI_VARIABLES_PRESEED)) {
|
||||||
ret = efi_var_restore((struct efi_var_file *)
|
ret = efi_var_restore((struct efi_var_file *)
|
||||||
__efi_var_file_begin, true);
|
__efi_var_file_begin, true);
|
||||||
@ -432,9 +435,6 @@ efi_status_t efi_init_variables(void)
|
|||||||
log_err("Invalid EFI variable seed\n");
|
log_err("Invalid EFI variable seed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = efi_var_from_file();
|
|
||||||
if (ret != EFI_SUCCESS)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
return efi_init_secure_state();
|
return efi_init_secure_state();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user