summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-07drivers: remoteproc: ti_k3 : enable secure booting with firmware imagesManorit Chawdhry
Remoteproc firmware images aren't authenticated in the current boot flow. Authenticates remoteproc firmware images to complete the root of trust in secure booting. Signed-off-by: Manorit Chawdhry <[email protected]> Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> # Intel Edison Reviewed-by: Bin Meng <[email protected]>
2024-06-07include: mach-k3: move k3 security functions to security.hManorit Chawdhry
ti_secure_image_post_process and ti_secure_image_check_binary is used for the authentication purposes in the current boot flow. Authentication of remoteproc firmware images require ti_secure_image_post_process to be available outside mach-k3. Signed-off-by: Manorit Chawdhry <[email protected]> Signed-off-by: Udit Kumar <[email protected]> Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> # Intel Edison Reviewed-by: Bin Meng <[email protected]>
2024-06-07Merge patch series "k3-j721e: Enable OF_UPSTREAM for J721E"Tom Rini
Neha Malcom Francis <[email protected]> says: This series was plucked out from the larger series [1] that did some templating reformatting and also enabled OF_UPSTREAM for J721E. The former has been kept aside till all the platforms affected have moved to using OF_UPSTREAM to have less conflicts while merging. Patches split J721E EVM and J721E SK to using separate builds, as well as enable OF_UPSTREAM for both the platforms. Boot logs: https://gist.github.com/nehamalcom/8f326376b6c6b1196084721405159bb9 [1] https://lore.kernel.org/all/[email protected]/
2024-06-07arm: dts: k3-j721e: Move to OF_UPSTREAMNeha Malcom Francis
Move to using OF_UPSTREAM config and thus using the devicetree-rebasing subtree. Signed-off-by: Neha Malcom Francis <[email protected]> Acked-by: Sumit Garg <[email protected]>
2024-06-07configs: j721e_sk: Move to separate defconfig for J721E SK boardNeha Malcom Francis
Add defconfig for J721E SK R5 and A72 configuration. This includes and modifies the J721E EVM defconfigs: j721e_evm_r5_defconfig -> j721e_sk_r5_defconfig j721e_evm_a72_defconfig -> j721e_sk_a72_defconfig Signed-off-by: Neha Malcom Francis <[email protected]>
2024-06-07arm: dts: k3-j721e-r5*: Introduce k3-j721e-r5.dtsiNeha Malcom Francis
Introduce k3-j721e-r5.dtsi to be used by board R5 DTS files. This helps sync SoC changes across boards. Signed-off-by: Neha Malcom Francis <[email protected]> Reviewed-by: Manorit Chawdhry <[email protected]>
2024-06-07Merge patch series "arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS control"Tom Rini
Emanuele Ghidoli <[email protected]> says: Manually, since SysConfig tool do not have the relevant option, set PHY_LP4_WDQS_OE_EXTEND to 1. Since WDQS control mode is required on our modules LPDDR4, this enables WDQS control mode 1.
2024-06-07arm: dts: k3-am625-verdin: Enable LPDDR4 WDQS controlEmanuele Ghidoli
Manually, since SysConfig tool do not have the relevant option, set PHY_LP4_WDQS_OE_EXTEND to 1. Since WDQS control mode is required on our modules LPDDR4, this enables WDQS control mode 1. Signed-off-by: Emanuele Ghidoli <[email protected]>
2024-06-07arm: dts: k3-am625-verdin: Update autogenerated LPDDR4 configurationEmanuele Ghidoli
Update the autogenerated LPDDR4 configuration using the latest available SysConfig tool. This changes are cosmetic and are made to track the last used tool version. Signed-off-by: Emanuele Ghidoli <[email protected]>
2024-06-07Merge patch series "'eeprom' command improvements"Tom Rini
Marek Behún <[email protected]> says: This series contains improvements for the 'eeprom' command: - refactors - fixes - improvements - ability to use driver model EEPROMs (uclass UCLASS_I2C_EEPROM) - more flexible EEPROM layout support It should not cause any behavior change for any existing board. This series is a dependency for some DDR issue fixes for Turris Omnia. I will be sending that one separately. github PR link (with CI): https://github.com/u-boot/u-boot/pull/540 - there is a failure for test.py for sandbox sandbox_clang but it seems unrelated to these changes
2024-06-07cmd: eeprom: Extend to EEPROMs probed via driver modelMarek Behún
Extend the 'eeprom' command to allow accessing EEPROMs probed via driver model, uclass UCLASS_I2C_EEPROM. When the CONFIG_I2C_EEPROM config option is enabled (and so the i2c-eeprom driver is built), the 'eeprom' command now accepts driver model device name as EEPROM specifier for the 'eeprom' command, in addition to the legacy [[bus] devaddr] specifier. Moreover if no device specifier is given, then the first UCLASS_I2C_EEPROM device is used, if found. Signed-off-by: Marek Behún <[email protected]>
2024-06-07cmd: eeprom: Don't read/write whole EEPROM if not necessaryMarek Behún
Don't read/write whole EEPROM if not necessary when printing / updating EEPROM layout fields. Only read/write layout.data_size bytes. Signed-off-by: Marek Behún <[email protected]>
2024-06-07cmd: eeprom: Refactor command execution into function by actionMarek Behún
Refactor the eeprom_execute_command() function into separate functions do_eeprom_rw(), do_eeprom_print() and do_eeprom_update(). Signed-off-by: Marek Behún <[email protected]>
2024-06-07cmd: eeprom: Refactor eeprom device specifier parsingMarek Behún
In preparation for allowing to access eeprom by driver-model device name, refactor the eeprom device specifier parsing. Instead of filling two parameters (i2c_bus, i2c_addr), the parsing function now fills one parameter of type struct eeprom_dev_spec. Signed-off-by: Marek Behún <[email protected]>
2024-06-07cmd: eeprom: Deduplicate parse_i2c_bus_addr() callsMarek Behún
Deduplicate the calls to parse_i2c_bus_addr(). Signed-off-by: Marek Behún <[email protected]>
2024-06-07cmd: eeprom: Hide eeprom layout versioning behind a Kconfig optionMarek Behún
Add a new Kconfig option EEPROM_LAYOUT_VERSIONS, and hide eeprom layout versionsing code behind it. Only print the relevant help in 'eeprom' command usage if this option is enabled. Enable this new option for cm_fx6_defconfig and cm_t43_defconfig. These are the only boards using EEPROM layout versioning. Signed-off-by: Marek Behún <[email protected]>
2024-06-07cmd: eeprom: Fix usage help for the eeprom commandMarek Behún
The bus and devaddr arguments of the eeprom command are optional, and if only one is given, it is assumed to be devaddr. Change the usage help from <bus> <devaddr> to [[bus] [devaddr] Signed-off-by: Marek Behún <[email protected]>
2024-06-07common: eeprom_field: Drop unnecessary comparisonMarek Behún
The byte variable is of type unsigned char, it is never less than zero. The error case is handled by *endptr, so drop the comparison altogether. Signed-off-by: Marek Behún <[email protected]>
2024-06-07common: eeprom_field: Fix updating binary fieldMarek Behún
The __eeprom_field_update_bin() function is expected to parse a hex string into bytes (potentially in reverse order), but the simple_strtoul() function is given 0 as base. This does not work since the string does not contain '0x' prefix. Add explicit base 16. Signed-off-by: Marek Behún <[email protected]>
2024-06-07common: eeprom_layout: Split field finding code from the field update functionMarek Behún
Split the eeprom layout field finding code from the eeprom_layout_update_field() function in order to make it usable in alternative implementations of update method. Signed-off-by: Marek Behún <[email protected]>
2024-06-07common: eeprom_layout: Assign default layout methods and parameters before ↵Marek Behún
specific ones Assign the default eeprom layout parameter .data_size and methods .print() and .update() before calling eeprom_layout_assign() in eeprom_layout_setup(). This allows eeprom_layout_assign() to overwrite these if needed. Signed-off-by: Marek Behún <[email protected]>
2024-06-06Merge tag 'u-boot-dfu-20240606' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-dfu u-boot-dfu-20240606 - dwc3 fix crash when ep0 stalls or gadget is stopped - Kconfig build fix for DFU_SF (SPI flash DFU driver)
2024-06-06Merge tag 'doc-2024-07-rc5' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi Documentation: * Update netconsole examples mentioning stderr. * Describe what an "fpga" image is in FIT files. * process.rst: Document device tree resync rules.
2024-06-06doc: process.rst: Document device tree resync rulesTom Rini
Document the logic of when we do a full resync of the device trees used by OF_UPSTREAM as well as that cherry-picking is allowed as needed. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2024-06-06doc: process.rst: Use subsubheading for "Phases of the Development Process"Tom Rini
These sections which talk about the different phases of the development process should be using the subsubheading identifier. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2024-06-06doc: Update netconsole examples, mention stderrFiona Klute
Stderr was missing from the initial description and example. As I understand the env command documentation the subcommand style is preferred, though the old format is still fully supported. Signed-off-by: Fiona Klute <[email protected]> Reviewed-by: Tony Dinh <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
2024-06-06doc: Detailed example for netconsole setupFiona Klute
This adds details that I would have liked to have readily available, in particular how to activate the network interface before enabling netconsole, and how to integrate netconsole so you can use the U-Boot prompt. Signed-off-by: Fiona Klute <[email protected]> Reviewed-by: Tony Dinh <[email protected]>
2024-06-06doc: add clarity to what a "fpga" image isSam Povilus
Update fit documentation to clarify that FPGA images are vendor specific and opaque bitstreams. Signed-off-by: Sam Povilus <[email protected]>
2024-06-06doc: Remove extraneous curly bracesSam Povilus
Update documentation to remove un-needed curly braces. Signed-off-by: Sam Povilus <[email protected]>
2024-06-06dfu: add missing dependency for SPI flash DFU driverHeinrich Schuchardt
Building the SPI flash DFU driver fails if SPI flash support is missing. drivers/dfu/dfu_sf.c:123:29: error: ‘CONFIG_SF_DEFAULT_MODE’ undeclared (first use in this function); Add the missing dependency. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2024-06-05Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usbTom Rini
2024-06-04Merge tag 'v2024.07-rc4' into nextTom Rini
Prepare v2024.070-rc4
2024-06-04usb: dwc3: gadget: fix crash in dwc3_gadget_giveback()Neil Armstrong
If the ep0 stalls or request are dequeued when gagdet is stopped, the request dma may not be mapped yet and dwc3_flush_cache() may be called with a NULL pointer. Check req->request.dma before calling dwc3_flush_cache() and later the usb_gadget_unmap_request() functions since it means that usb_gadget_map_request() hasn't been called yet. Fixes: fd15b58c1a9 ("dwc3: flush cache only if there is a buffer attached to a request") Signed-off-by: Neil Armstrong <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/20240528-topic-sm8x50-dwc3-gadget-crash-fix-v1-1-58434ab4b3d3@linaro.org Signed-off-by: Mattijs Korpershoek <[email protected]>
2024-06-03Prepare v2024.07-rc4v2024.07-rc4Tom Rini
Signed-off-by: Tom Rini <[email protected]>
2024-06-03Merge tag 'u-boot-imx-next-20240603' of ↵Tom Rini
https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/20956 - Support different RAM sizes on imx8m phycoce boards. - Support new toradex variants. - Support Samsung 4GB DDR and Realtek RTL8211E PHY on imx8mm-cl-iot-gate. - Convert imx8mm-phycore and imx8mp-phycore boards to use OF_UPSTREAM.
2024-06-03Merge branch 'next-cleanup' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-sh into next
2024-06-03Merge https://source.denx.de/u-boot/custodians/u-boot-samsungTom Rini
2024-06-03Merge branch 'master-cleanup' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-sh
2024-06-03imx8mm-cl-iot-gate: Add support for the Realtek RTL8211E PHYFabio Estevam
Newer imx8mm-cl-iot-gate versions are populated with a Realtek RTL8211E PHY instead of the Atheros AR8033. Adapted Compulab's patch from: https://github.com/compulab-yokneam/meta-bsp-imx8mm/blob/iot-gate-imx8_5.10.72/recipes-bsp/u-boot/compulab/imx8mm/0125-imx8mm-net-enable-phy-Realtek-RTL8211E.patch to support both PHYs in U-Boot. Signed-off-by: Fabio Estevam <[email protected]>
2024-06-03imx8mm-cl-iot-gate: Add support for Samsung 4GB DDRFabio Estevam
Newer versions of the imx8mm-cl-iot-gate boards may come populated with a Samsung 4GB DDR model. Add support for it. Signed-off-by: Fabio Estevam <[email protected]>
2024-06-03board: phycore_imx8mp: enable setting 2GHz timings without RAM sizeBenjamin Hahn
make it possible to set the RAM timing frequency statically independent from the RAM size. Fixed RAM timing frequency can be used while the RAM size is still determined by the EEPROM image. Signed-off-by: Benjamin Hahn <[email protected]> Signed-off-by: Teresa Remmet <[email protected]>
2024-06-03board: phytec: phycore_imx8mp: Make RAM size configuration fixTeresa Remmet
We might not be able to always rely on the EEPROM introspection data. So add a config option alternative which configures the RAM size to a fix value. We still try to read the EEPROM introspection data at this point. So we can print the SoM information if available. Signed-off-by: Teresa Remmet <[email protected]>
2024-06-03board: phytec: phycore_imx8mp: Add support for different RAM sizesTeresa Remmet
Add support for different RAM sizes and speed grades on the phyCORE-i.MX8MP. Add support for 1GB 1.5GHz, 1GB 2GHz, 4GB 1.5GHz, 4GB 2GHz and 8GB 2GHz RAM. The RAM size and speed grade is detected by the information stored in the EEPROM on the SoM. Co-developed-by: Benjamin Hahn <[email protected]> Signed-off-by: Benjamin Hahn <[email protected]> Co-developed-by: Yannic Moog <[email protected]> Signed-off-by: Yannic Moog <[email protected]> Co-developed-by: Yashwanth Varakala <[email protected]> Signed-off-by: Yashwanth Varakala <[email protected]> Signed-off-by: Teresa Remmet <[email protected]>
2024-06-03board: phytec: phycore-imx8mp: spl: Fix syle issueTeresa Remmet
Use tabs instead of spaces. Signed-off-by: Teresa Remmet <[email protected]>
2024-06-03arm: imx8mp-phycore: move to OF_UPSTREAMYannic Moog
The PHYCORE_IMX8MP is used by the phyBOARD-Pollux. Migrate board to OF_UPSTREAM. Linux kernel device tree for the board can be used as is, corresponding U-Boot device tree files are removed. U-Boot tweaks are kept unchanged. Signed-off-by: Yannic Moog <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Acked-by: Teresa Remmet <[email protected]>
2024-06-03arm: imx8mm-phycore: move to OF_UPSTREAMYannic Moog
The PHYCORE_IMX8MM is used by the phyBOARD-Polis and the phyGATE-Tauri-L. Migrate both boards to OF_UPSTREAM. Linux kernel device trees for both boards can be used as is, corresponding U-Boot device tree files are removed. U-Boot tweaks are kept unchanged. Signed-off-by: Yannic Moog <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Acked-by: Teresa Remmet <[email protected]>
2024-06-03toradex: tdx-cfg-block: add verdin i.mx8m mini 0090 pid4Emanuele Ghidoli
Add new PID4 0090 Verdin iMX8M Mini Quad 4GB WB ET to support the new hardware variant. Signed-off-by: Emanuele Ghidoli <[email protected]>
2024-06-03toradex: tdx-cfg-block: add verdin imx95 sku 0089 pid4Emanuele Ghidoli
Add new PID4 0089 Verdin iMX95 Hexa 16GB WB IT to config block handling. Signed-off-by: Emanuele Ghidoli <[email protected]>
2024-06-03toradex: tdx-cfg-block: add aquila am69 sku 0088 pid4Emanuele Ghidoli
Add new PID4 0088 Aquila AM69 Octa 32GB WB IT to config block handling. Signed-off-by: Emanuele Ghidoli <[email protected]>
2024-06-03board: toradex: verdin-imx8mm: increase maximum addressable ram to 4GBEmanuele Ghidoli
Add support for SKUs with higher memory sizes. Actual memory size is auto-detected. Signed-off-by: Emanuele Ghidoli <[email protected]>