- Aug 13, 2024
-
-
This option is very old and the migration deadline was years ago. Drop it so that the I2C system can be simplified. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
These use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
These use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
These boards use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
These boards use pre-driver model code and it is several years since the migration deadline. Disable the 'date' command so that this old code can be removed. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
This is used by a few boards but we are years past the migration date, so let's drop it now. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
This is only used by devkit3250 which is being removed. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
This function is not used, so drop it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
- Aug 09, 2024
-
-
Tom Rini authored
Simon Glass <sjg@chromium.org> says: Universal Payload (UPL) is an Industry Standard for firmware components[1]. UPL is designed to improve interoperability within the firmware industry, allowing mixing and matching of projects with less friction and fewer project-specific implementations. UPL is cross-platform, supporting ARM, x86 and RISC-V initially. This series provides some initial support for this, targeting 0.9.1 and sandbox only. Features still to come include: - Support for architectures - FIT validation - Handoff validation - Interoperability tests
-
Now that sandbox_vpl supports UPL, add a test that checks that the payload can be loaded by SPL and the handoff information passed through to U-Boot proper. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Add support for loading a UPL image from SPL. This uses the simple FIT implementation, but also loads the full FIT just to permit more testing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
UPL significantly alters the boot flow for sandbox. Add a flag to enable this so that it can be enabled only on tests which need it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Add some documentation to explain the basic concept along with a link to the full spec. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Use the sandbox_vpl build to test UPL since it supports a real devicetree in SPL. The sandbox_spl build uses OF_PLATDATA. Enable writing the UPL handoff in SPL and reading it in U-Boot proper. Provide a test to check that this handoff works. Note that the test uses the standard devicetree rather than the test one, since it is a lot smaller and fits in the existing bloblist. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Read the UPL early in boot so that it is available. For now none of the information is used. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Specify the FIT and include information about each loaded image, as required by the UPL handoff. Write the UPL handoff into the bloblist before jumping to the next phase. Control this using a runtime flag to avoid conflicting with other handoff mechanisms. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This flag is set for simple FIT, so set it for full FIT too. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Add the basic code to create a handoff structure in SPL, so it can be passed to the next phase. For now this is not plumbed in. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Add a 'upl' command to work with Universal Payload features. For now it only supports reading and writing a handoff structure. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Add some unit tests to check that we can write a UPL handoff and read it back. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Universal Payload provides a standard way of handing off control between two firmware phases. Add support for writing the handoff information from a structure. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Universal Payload provides a standard way of handing off control between two firmware phases. Add support for reading the handoff information into a structure. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
It is possible for U-Boot functions such as printf() to be called within state_init(). This can end up checking gd->flags (e.g. in putc()) before global_data is set up. Move the setup earlier to avoid this. This fixes the suppression of some debug output in memory allocation (when enabled). Signed-off-by:
Simon Glass <sjg@chromium.org>
-
At present sandbox builds package up u-boot.bin in the .img file. This cannot actually be executed, since it is not an ELF file. For sandbox_vpl we want to be able to run the full boot flow. Adjust the build rule for sandbox_vpl to package the ELF file and thereby allow full testing of the sandbox transition from SPL to U-Boot proper. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
The existing API for these functions is different from the rest of U-Boot, in that any error code must be obtained from the errno variable on failure. This variable is part of the C library, so accessing it outside of the special 'sandbox' shim-functions is not ideal. Adjust the API to return an error code, to avoid this. Update existing uses to check for any negative value, rather than just -1. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Since the removal of OF_HOSTFILE logic in board_fdt_blob_setup(), the logic for obtaining the DT is handled in the OF_BOARD option. If a devicetree comes from a bloblist it is immediately overwritten by this function. Fix this by skipping the function if a devicetree is already present. This is sort-of a fix for e7fb7896 ("sandbox: Remove OF_HOSTFILE") but it has only come to light since bloblist was added, so I have not added a Fixes tag. Unfortunately it is not possible to report the correct FDT source with the current code. It might be best to use an error-return code for board_fdt_blob_setup() so that an error can be reported if the board does not provide the DT. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
When the devicetree comes from a bloblist, it is currently overwritten by the appended one, if present. It should be preserved. Adjust the logic to support this. Fixes: 70fe2385 ("fdt: Allow the devicetree to come from a bloblist") Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This code is useful for loading an image in sandbox_spl so move it into a place where it can be called as needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Fix a missing dot in a comment, since '..' is confusing. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
The argument array is not changed by the callee, so mark it const. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Tom Rini authored
Merge tag 'i2cupdates-for-v2024-10-next' of https://source.denx.de/u-boot/custodians/u-boot-i2c into next i2c updates for v2024.10 next - DM_I2C conversion for some remaining boards from Anatolij
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to fix board removal warning. Convert EEPROM access to use DM_I2C API. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Convert EEPROM and IT6251 access to use DM_I2C API. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Conversion to DM_I2C is mandatory, enable DM_I2C to disable board removal warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-