summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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]>
2024-06-03board: toradex: verdin-imx8mm: add 4 GB lpddr4 memory supportEmanuele Ghidoli
Add support for MT53E512M32D1ZW-046 IT:C memory. This 4 GB memory has 17 row bits instead of 16 and requires 380 ns of tRFC (tRFCab) instead of 280 ns due to increased channel density to 16 Gb. Both modifications are retro-compatible with previous memories. Signed-off-by: Emanuele Ghidoli <[email protected]>
2024-06-02ARM: dts: renesas: Drop R8A779H0 V4M DTs with OF_UPSTREAM counterpartsMarek Vasut
Remove R8A779H0 V4M DTs which are now replaced by OF_UPSTREAM counterparts. No functional change expected. This patch finalizes OF_UPSTREAM conversion of R8A779H0 V4M which DTs landed in Linux 6.9 . Signed-off-by: Marek Vasut <[email protected]> Acked-by: Sumit Garg <[email protected]>
2024-06-02ARM: dts: renesas: Switch to using upstream DT on Renesas R8A779H0 V4MMarek Vasut
Enable OF_UPSTREAM to use upstream DT and add renesas/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory. This patch finalizes OF_UPSTREAM conversion of R8A779H0 V4M which DTs landed in Linux 6.9 . Signed-off-by: Marek Vasut <[email protected]> Acked-by: Sumit Garg <[email protected]>
2024-06-02configs: rzg2_beacon: Realign ENV location and offsetAdam Ford
The ENV size and offset were changed to different values in Beacon's downstream release. Change them to the same values as the downstream for consistent behavior. Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2024-06-02renesas: beacon-rzg2m: Add Marek to MAINTAINER fileAdam Ford
Since any changes to the RZ/G2 family go through Marek's tree, update the MAINTAINER file to automatically show his name when running get_maintainer.pl. Without this, he is not copied. Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2024-06-01ARM: dts: renesas: Reserve space in 64bit R-Car DTsMarek Vasut
Reserve 4 kiB of space in 64bit R-Car DTs when those DTs are compiled to permit patching in OpTee-OS /firmware node, /reserved-memory node, possibly also additional /memory@ nodes and RPC node by TFA. This duplicates behavior in arch/arm/dts/Makefile with OF_UPSTREAM. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Sumit Garg <[email protected]>
2024-06-01ARM: dts: renesas: Remove leftovers after OF_UPSTREAM conversionMarek Vasut
Remove leftover DTSI files after OF_UPSTREAM conversion. Those are no longer used and no longer necessary, remove them. No functional change. Signed-off-by: Marek Vasut <[email protected]> Acked-by: Adam Ford <[email protected]>
2024-06-01usb: remove not used variable in usb_ether_curr_devHeiko Schocher
grepping for usb_ether_curr_dev in u-boot source code shows $ grep -r usb_ether_curr_dev . ./cmd/usb.c:static int __maybe_unused usb_ether_curr_dev = -1; /* current ethernet device */ $ only declared but never used, so it can safely removed from code. Signed-off-by: Heiko Schocher <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2024-05-30Merge https://source.denx.de/u-boot/custodians/u-boot-riscvTom Rini
- board: fix support for icicle - board: support Star64 board - andes: minor fixes - riscv: deprecate cache enablement in start.S
2024-05-30Merge patch series "omap3: igep0x00: Fix boot failure and modernize the ↵Tom Rini
boards support" Javier Martinez Canillas <[email protected]> says: Hello, I noticed that the IGEPv2 board did not boot anymore with mainline U-Boot. This was caused by a driver change to allocate its platform data before relocation and U-Boot not having enough pre-relocation heap size for this. This series fixes this issue and also makes the board support more modern, by enabling DM for SPL and migrating the IGEP boards to use upstream DTBs.
2024-05-30omap3: igep0x00: Migrate to use upstream DTJavier Martinez Canillas
Enable OF_UPSTREAM to use upstream DT and add a ti/omap/ prefix to the DEFAULT_DEVICE_TREE config option. That way, a DTS from the upstream dts/upstream/src/ directory is used instead of the arch/$(ARCH)/dts/ directory. These in turn are removed. Signed-off-by: Javier Martinez Canillas <[email protected]> Acked-by: Sumit Garg <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]>
2024-05-30omap3: igep0x00: Update for DM SPL supportJavier Martinez Canillas
This change is heavily based on commit e0cc7df9fdf2 ("omap3_beagle: Update for DM SPL support"), that did the same update for the OMAP3 Beagle board. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]>
2024-05-30omap3: igep0x00: Drop unused SPI supportJavier Martinez Canillas
There are no SPI peripherals in neither the IGEPv2 board nor the IGEP COM Module, so there's no reason to have this enabled in the boards defconfig. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]>
2024-05-30omap3: igep00x0: Increase malloc() pool sizeJavier Martinez Canillas
The IGEPv2 board boot started to fail since the commit afd4f15a39de ("spi: omap3_spi: Read platform data in ofdata_to_platdata()"). Because this made the OMAP3 SPI controller driver to allocate its platform data before doing a relocation, but the igep0x00 config sets this pool size to just 1 KiB. Increase the pre-relocation malloc heap size to 16 KiB, as is set by other OMAP3 boards. This not only restores booting but also makes it consistent. Leave the SPL pool size to the previous 1 KiB size since 16 KiB may not be a possible size in that constrained environment and is also the value that is set by other OMAP3 boards. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Enric Balletbo i Serra <[email protected]>
2024-05-30andes: Use UCCTLCOMMAND instead of MCCTLCOMMANDLeo Yu-Chi Liang
Use CSR_UCCTLCOMMAND instead of CSR_MCCTLCOMMAND to do cache flush operation in M-mode and S-mode. Signed-off-by: Leo Yu-Chi Liang <[email protected]>
2024-05-30riscv: remove cache enablement in start.SLeo Yu-Chi Liang
Cache could be enabled in harts_early_init board-specific hook, so remove cache enablement in start.S Signed-off-by: Leo Yu-Chi Liang <[email protected]>
2024-05-30andes: l2 cache driver: fixes typos and cctl statusLeo Yu-Chi Liang
Signed-off-by: Leo Yu-Chi Liang <[email protected]>
2024-05-30board: starfive: support Pine64 Star64 boardH Bell
Add documentation files Signed-off-by: Henry Bell <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: E Shattow <[email protected]>
2024-05-30board: starfive: support Pine64 Star64 boardH Bell
Similar to the Milk-V Mars, The Star64 board contains few differences to the VisionFive 2 boards, so can be part of the same U-boot build. Signed-off-by: Henry Bell <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: E Shattow <[email protected]>
2024-05-30board: microchip: icicle: make both ethernets optionalConor Dooley
A given AMP configuration for a board may make either one, or neither of, the ethernet ports available to U-Boot. The Icicle's init code will fail if mac1 is not present, so move it to the optional approach taken for mac0. Signed-off-by: Conor Dooley <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2024-05-30board: microchip: icicle: correct type for node offsetConor Dooley
Node offsets returned by libfdt can contain negative error numbers, so the variable type should be "int". As things stand, if the ethernet nodes are not found in the early init callback, the if (node < 0) tests pass and the code errors out while trying to set the local-mac-address for a non-existent node. Fixes: 64413e1b7c ("riscv: Add Microchip MPFS Icicle Kit support") Signed-off-by: Conor Dooley <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2024-05-29Merge branch '2024-05-29-assorted-small-fixes'Tom Rini
- A few maintainer updates, bump a python package version, TI K3-AM62P fix
2024-05-29Update maintainer for Versatile Express.Kristian Amlie
Signed-off-by: Kristian Amlie <[email protected]>
2024-05-29rockchip: theobroma: update URLs to point to CHERRY websiteQuentin Schulz
Most of the current URLs should be redirected but some aren't already, so let's anticipate more IT hiccups by migrating to new URLs. Signed-off-by: Quentin Schulz <[email protected]>
2024-05-29migrate Theobroma Systems mail addresses to CHERRY Embedded SolutionsQuentin Schulz
See https://embedded.cherry.de/theobroma-systems-is-now-officially-part-of-cherry-se/ While the mail addresses on the theobroma-systems.com domain should be redirect to cherry.de, let's anticipate IT hiccups and avoid important mails not reaching us by swapping the domain name wherever appropriate for the newer one. Christoph Mueller isn't working at ~Theobroma~ CHERRY Embedded Solutions anymore, but I don't know his new mail address so mails destined to him will keep bouncing. Cc: Heiko Stuebner <[email protected]> <[email protected]> Cc: Jakob Unterwurzacher <[email protected]> Cc: Klaus Goger <[email protected]> Signed-off-by: Quentin Schulz <[email protected]>
2024-05-29.mailmap: redirect Philipp Tomsich Theobroma address to VrullQuentin Schulz
The Theobroma address bounces as Philipp is not working there anymore, so let's update with the one that seems to be working right now. Cc: Philipp Tomsich <[email protected]> Signed-off-by: Quentin Schulz <[email protected]>
2024-05-29arm: mach-k3: am62p: Fixup TF-A/OP-TEE reserved-memory node in FDTBryan Brattlof
The address we load TFA and OPTEE is configurable by the CONFIG_K3_{ATF,OPTEE)_LOAD_ADDR, but the DT node reservations remain static which can cause some confusion about where exactly these firmware are exactly. Fix this by updating the reserved-memory{} nodes when the loaded address does not match the address in DT. Reported-by: Andrew Davis <[email protected]> Signed-off-by: Bryan Brattlof <[email protected]>
2024-05-29board: toradex: change maintainer to FrancescoFrancesco Dolcini
Marcel is leaving Toradex and the email will start bouncing in a few weeks, move maintainership to myself. Cc: Marcel Ziswiler <[email protected]> Signed-off-by: Francesco Dolcini <[email protected]> Acked-by: Marcel Ziswiler <[email protected]>
2024-05-28arm: exynos: Map iRAM APM area for Exynos850 SoCSam Protsenko
This iRAM APM area is needed for I3C access to PMIC via APM block. Without this mapping any access to APM iRAM leads to "Synchronous Abort" exception. Signed-off-by: Sam Protsenko <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2024-05-28arm: dts: e850-96: Remove not needed bootph-all flagsSam Protsenko
Most of the nodes in e850-96 appended device tree that add bootph-all flags are not necessary. All those nodes are instantiated as dependencies of other nodes anyway. Remove those nodes to avoid cluttering the appended dts. 'bdinfo' reports 768 bytes reduction for "Early malloc usage", and 'dm tree' output doesn't change. Keep only pmu_system_controller changes, which are actually needed for serial to work properly. Signed-off-by: Sam Protsenko <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2024-05-28arm: exynos: Migrate E850-96 board to OF_UPSTREAMSam Protsenko
Use upstream device tree files and bindings. To do so: - imply (enable) OF_UPSTREAM option for E850-96 target - point DEFAULT_DEVICE_TREE in E850-96 config to upstream dts - remove now not needed local dts files, binding docs and headers - update MAINTAINERS and board/samsung/e850-96/MAINTAINERS correspondingly Upstream device tree files for Exynos850 SoC and E850-96 board are pretty much the same as local (removed) ones, so the conversion is rather straightforward and painless in this case. The appended dts file (arch/arm/dts/exynos850-e850-96-u-boot.dtsi) stays unchanged. The only remaining local dt-bindings doc for E850-96 board is exynos-pmu.yaml. It wasn't removed as it's quite different from Linux kernel version. Particularly U-Boot local version of exynos-pmu.yaml describes "samsung,uart-debug-1" property, which is not present in Linux kernel binding. Later it might be upstreamed to Linux kernel, and once it's done the U-Boot exynos-pmu.yaml binding can be removed. No functional change. Acked-by: Sumit Garg <[email protected]> Signed-off-by: Sam Protsenko <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2024-05-27Merge tag 'tpm-master-27052024' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-tpm TPM fixes
2024-05-27tpm-v2: allow algorithm name to be configured for pcr_read and pcr_extendTim Harvey
For pcr_read and pcr_extend commands allow the digest algorithm to be specified by an additional argument. If not specified it will default to SHA256 for backwards compatibility. Additionally update test_tpm2.py for the changes in output in pcr_read which now shows the algo and algo length in the output. A follow-on to this could be to extend all PCR banks with the detected algo when the <digest_algo> argument is 'auto'. Signed-off-by: Tim Harvey <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
2024-05-27tpm-v2: add support for mapping algorithm names to algosTim Harvey
replace tpm2_supported_algorithms with an array of structures relating algorithm names, to TCG id's, digest length and mask values. While at it fix the tpm2_algorithm_to_mask to return the proper value. Cc: Eddie James <[email protected]> Cc: Ilias Apalodimas <[email protected]> Fixes: 97707f12fdab ("tpm: Support boot measurements") Signed-off-by: Tim Harvey <[email protected]> Tested-by: Ilias Apalodimas <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
2024-05-27tpm: display warning if using gpio reset with TPMTim Harvey
Instead of displaying what looks like an error message if a gpio-reset dt prop is missing for a TPM display a warning that having a gpio reset on a TPM should not be used for a secure production device. TCG TIS spec [1] says: "The TPM_Init (LRESET#/SPI_RST#) signal MUST be connected to the platform CPU Reset signal such that it complies with the requirements specified in section 1.2.7 HOST Platform Reset in the PC Client Implementation Specification for Conventional BIOS." The reasoning is that you should not be able to toggle a GPIO and reset the TPM without resetting the CPU as well because if an attacker can break into your OS via an OS level security flaw they can then reset the TPM via GPIO and replay the measurements required to unseal keys that you have otherwise protected. Additionally restructure the code for improved readability allowing for removal of the init label. Before: - board with no reset gpio u-boot=> tpm init && tpm info tpm_tis_spi_probe: missing reset GPIO tpm@1 v2.0: VendorID 0x1114, DeviceID 0x3205, RevisionID 0x01 [open] - board with a reset gpio u-boot=> tpm init && tpm info tpm@1 v2.0: VendorID 0x1114, DeviceID 0x3205, RevisionID 0x01 [open] After: - board with no reset gpio u-boot=> tpm init && tpm info tpm@1 v2.0: VendorID 0x1114, DeviceID 0x3205, RevisionID 0x01 [open] - board with a reset gpio u-boot=> tpm init && tpm info tpm@1: TPM gpio reset should not be used on secure production devices tpm@1 v2.0: VendorID 0x1114, DeviceID 0x3205, RevisionID 0x01 [open] [1] https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClientTPMInterfaceSpecification_TIS__1-3_27_03212013.pdf Signed-off-by: Tim Harvey <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
2024-05-25Merge tag 'u-boot-rockchip-20240525' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-rockchip CI: https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/pipelines/20844 - new board: rk3566 Powkiddy X55, rk3588s Indiedroid Nova; - rv1126 migrate to OF_UPSTREAM; - Fix for px30 ringneck board; - Fix for rk3588 SPLL clock init;
2024-05-25board: rockchip: Add Indiedroid NovaChris Morgan
The Indiedroid Nova is a Rockchip RK3588S based SBC from Indiedroid. Specifications: Rockchip RK3588S SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 4/8/16GB memory LPDDR4x Mali G610MC4 GPU Optional eMMC 2x USB 2.0, 2x USB 3.0, 1x USB 3.0 C port with DP Alt 1x MIPI-CSI Port (4-lane or 2x 2-lane) 1x MIPI-DSI 4-lane connector 1x Micro HDMI 2.1 output, 1x DP 1.4 output Gigabit Ethernet Realtek RTL8821CS WiFi 4 pin debug UART connector 40 pin GPIO header Size: 85mm x 56mm (Raspberry Pi Form Factor) Kernel commit: 3900160e164b ("arm64: dts: rockchip: Add Indiedroid Nova board") Signed-off-by: Chris Morgan <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-05-25board: rockchip: add Powkiddy X55Chris Morgan
The Powkiddy X55 is a Rockchip RK3566 based handheld gaming device. UART, ADC, eMMC, and SDMMC are tested to work in U-Boot and this successfully boots mainline Linux. Kernel commit: e99adc97e21a ("arm64: dts: rockchip: Add Powkiddy X55") Signed-off-by: Chris Morgan <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2024-05-24Merge patch series "FWU: Add support for FWU metadata version 2"Tom Rini
Sughosh Ganu <[email protected]> says: The following patch series adds support for version 2 of the FWU metadata. The version 2 metadata structure is defined in the latest revision of the FWU specification [1]. The earlier versions of these patches were migrating to a version 2 only support in U-Boot, similar to TF-A. However, based on feedback from ST [2], this series has been updated to support both versions. A platform would still be needed to enable one of the two versions of metadata through a config symbol. TF-A has code which reads the FWU metadata and boots the platform from the active partition. TF-A has decided to migrate the FWU code to a version 2 only support. These changes have been merged in upstream TF-A. These changes have been tested on the ST DK2 board, which uses the GPT based partitioning scheme. Both V1 and V2 metadata versions have been tested on the DK2 board. These changes need to be tested on platforms with MTD partitioned storage devices.
2024-05-24configs: fwu: re-enable FWU configsSughosh Ganu
Now that support for FWU metadata version 2 has been added, the feature can be enabled on platforms which had enabled it. A new config symbol for selecting the metadata version for the platform is also being added. Signed-off-by: Sughosh Ganu <[email protected]> Tested-by: Michal Simek <[email protected]>
2024-05-24MAINTAINERS: add entry for FWU multi bank update featureSughosh Ganu
Add an entry for the FWU Multi Bank Update feature. Signed-off-by: Sughosh Ganu <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Tested-by: Michal Simek <[email protected]>
2024-05-24doc: fwu: make changes to reflect support for FWU metadata v2Sughosh Ganu
The FWU Update Agent in U-Boot supports both versions of the FWU metadata. Make changes in the documentation to reflect this. Signed-off-by: Sughosh Ganu <[email protected]> Tested-by: Michal Simek <[email protected]>