[PATCH v1] board: verdin-am62: remove spl_perform_fixups

2025-03-19 Thread Stefan Eichenberger
From: Stefan Eichenberger spl_perform_fixups is redundant in the current implementation. SPLs call dram_init during spl_enable_cache in arch/arm/mach-k3/common.c. In U-Boot, dram_init and dram_init_banksize are automatically called in init_sequence_f. Therefore, SPLs and U-Boot always determine

Re: [PATCH v1] common/memsize.c: Fix get_ram_size() original data restore

2025-03-17 Thread Stefan Eichenberger
Hi Tom, On Fri, Mar 14, 2025 at 10:34:22AM -0600, Tom Rini wrote: > On Fri, Mar 14, 2025 at 11:06:49AM +0100, Stefan Eichenberger wrote: > > > From: Stefan Eichenberger > > > > The get_ram_size() function fails to restore the original RAM data when > > the data ca

[PATCH v1] common/memsize.c: Fix get_ram_size() original data restore

2025-03-14 Thread Stefan Eichenberger
From: Stefan Eichenberger The get_ram_size() function fails to restore the original RAM data when the data cache is enabled. This issue was observed on an AM625 R5 SPL with 512MB of RAM and is a regression that became visible with commit bc07851897bd ("board: ti: Pull redundant DDR functio

[PATCH v1] board: verdin-am62: fix missing memory fixup call

2025-03-03 Thread Stefan Eichenberger
From: Stefan Eichenberger The commit bc07851897bd ("board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled") broke DRAM support for the Verdin AM62. This was partially fixed with commit 3f866c47b582 ("board: verdin-am62: add dra

[PATCH v1] board: verdin-am62: add dram_init_banksize

2025-02-10 Thread Stefan Eichenberger
From: Stefan Eichenberger Add the dram_init_banksize function to the board file to properly set DRAM memory sizes during boot. The commit bc07851897bd ("board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled") relocated the dram_ini

[PATCH v1] toradex: tdx-cfg-block: fix switch to user partition

2025-01-24 Thread Stefan Eichenberger
From: Stefan Eichenberger The Toradex configuration block is stored in the first boot partition of the eMMC. After reading the configuration block, U-Boot switches back to the user partition. Currently, this operation always targets mmc device 0, even when the configuration block is stored on

[PATCH v1 2/5] toradex: tdx-cfg-block: increase indentation for longer defines

2024-12-11 Thread Stefan Eichenberger
From: Stefan Eichenberger This preparation step ensures that the first column has sufficient space to handle longer defines. This is necessary for the new Apalis iMX8 defines. Signed-off-by: Stefan Eichenberger --- board/toradex/common/tdx-cfg-block.c | 178 +-- 1 file

[PATCH v1 5/5] imx: mach: imx8: fdt: set correct frequencies for the industrial SoC

2024-12-11 Thread Stefan Eichenberger
From: Stefan Eichenberger Set correct CPU and GPU frequencies for the industrial i.MX8 SoC variant. Ensure that the CPU and GPU frequencies are properly configured for the industrial variant of the SoC. According to the "i.MX 8QuadMax Industrial Applications Processors" datasheet, the

[PATCH v1 4/5] toradex: apalis-imx8: simplify module version handling

2024-12-11 Thread Stefan Eichenberger
From: Stefan Eichenberger Simplify module version handling by removing the special case for the Apalis iMX8QM. The Apalis iMX8QM has been treated as a special case in module version handling, but was always the default. By removing this special handling, the code is simplified and easier to

[PATCH v1 3/5] toradex: tdx-cfg-block: add new apalis imx8 pids

2024-12-11 Thread Stefan Eichenberger
From: Stefan Eichenberger Add new PIDs for the Apalis iMX8 modules featuring the industrial variant of the SoC, which supports a maximum CPU frequency of 1300 MHz. Signed-off-by: Stefan Eichenberger --- board/toradex/apalis-imx8/apalis-imx8.c | 5 + board/toradex/common/tdx-cfg-block.c

[PATCH v1 1/5] toradex: tdx-cfg-block: set apalis imx8dxp to always disabled

2024-12-11 Thread Stefan Eichenberger
From: Stefan Eichenberger Apalis iMX8DXP 1GB is currently set to enable when compiling for Apalis iMX8. This is a mistake the Apalis iMX8DXP 1GB was never released and is not compatible to the Apalis iMX8 series. Signed-off-by: Stefan Eichenberger --- board/toradex/common/tdx-cfg-block.c | 2

[PATCH v1 0/5] add support for Apalis iMX8 1300MHz version

2024-12-11 Thread Stefan Eichenberger
ied: https://lore.kernel.org/u-boot/20241125174911.70723-1-ivi...@gmail.com/ Stefan Eichenberger (5): toradex: tdx-cfg-block: set apalis imx8dxp to always disabled toradex: tdx-cfg-block: increase indentation for longer defines toradex: tdx-cfg-block: add new apalis imx8 pids toradex: apalis-imx8

[PATCH v1] arm: dts: verdin-imx8mm/imx8mp: use gpio-hog for sleep moci

2024-04-17 Thread Stefan Eichenberger
From: Stefan Eichenberger In Linux, we allow sleep moci to be turned off when the carrier board supports it and the system is in suspend. In U-Boot, however, we want the sleep moci to be always on. So we use a gpio hog and disable the regulator. This change is necessary because we switched to

[PATCH v1] arm: dts: verdin-am62: use gpio-hog for sleep moci

2024-04-17 Thread Stefan Eichenberger
From: Stefan Eichenberger In Linux, we allow sleep moci to be turned off when the carrier board supports it and the system is in suspend. In U-Boot, however, we want the sleep moci to be always on. So we use a gpio hog and disable the regulator. This change is necessary because we switched to

[PATCH 2/2] tools/fitimage: make sure dumpimage still works when "@" are detected

2022-01-10 Thread Stefan Eichenberger
Image contains unit addresses @, this will break signing ... Signed-off-by: Stefan Eichenberger --- tools/fit_common.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tools/fit_common.c b/tools/fit_common.c index 52b63296f8..5c8920de54 100644 --- a/tools/fit_

[PATCH 1/2] tools/fitimage: remove redundant format check

2022-01-10 Thread Stefan Eichenberger
fit_extract_contents does a fit_check_format even thought it was already checked during imagetool_verify_print_header. Therefore, this check is not necessary. This commit removes the redundancy. Signed-off-by: Stefan Eichenberger --- tools/fit_image.c | 5 - 1 file changed, 5 deletions

[PATCH 0/2] fix dumpimage for fit images

2022-01-10 Thread Stefan Eichenberger
dumpimage does not work properly when an image includes "@" because signing would fail. However, this should be supported because it is enabled by default (even when signing is disabled). This patch series tries to fix this by just printing a warning instead of failing completel

[PATCH 2/2] arm: mvebu: a38x: serdes: improve USB3 electrical configuration

2021-12-09 Thread Stefan Eichenberger
retically have once in a while a pattern that will be at frequency of 152Khz, hence the previous setting (205khz HPF) can possibly filter this pattern which can cause to an error in the receiver, thus this change to avoid such scenarios. Signed-off-by: Stefan Eichenberger Signed-off-b

[PATCH 1/2] arm: mvebu: a38x: serdes: fix serdes config for USB3

2021-12-09 Thread Stefan Eichenberger
is the same value as the original U-Boot from Marvell is using. There it is called FIRST_CELL which is a define for 0. See: https://github.com/MarvellEmbeddedProcessors/u-boot-marvell commit 56f963ce4c ("fix: serdes: a38x, a39x: Fix USB3 serdes DB initialization") Signed-off-by: Stefan Ei

[PATCH 0/2] arm: mvebu: a38x: improve USB3 serdes configuration

2021-12-09 Thread Stefan Eichenberger
This patchset improves the USB3 serdes configuration for the Armada 38x SoC from Marvell. The changes are based on the version from Marvell found here: https://github.com/MarvellEmbeddedProcessors/u-boot-marvell Stefan Eichenberger (2): arm: mvebu: a38x: serdes: fix serdes config for USB3 arm

[U-Boot] Armada 385: PEX detection pulse width

2017-04-21 Thread Stefan Eichenberger
Dear Adam, On the mainline u-boot we found a commit which helps to fix a problem regarding PCIe and the Armada 370: http://git.denx.de/?p=u-boot.git;a=commit;h=6bbe0924a799d33c1a8c9de38b60a5e0251f2aea We currently facing a similar problem with the Armada 385 and PCIe. The problem also appears wit

Re: [U-Boot] arm: mvebu: u-boot does not start on db-88f6820-gp

2015-09-14 Thread Stefan Eichenberger
Hi Stefan, On 09/11/2015 05:02 PM, Stefan Eichenberger wrote: Hi Stefan, On 09/11/2015 04:24 PM, Stefan Roese wrote: Hi Stefan, On 11.09.2015 15:50, Stefan Eichenberger wrote: On 09/04/2015 06:44 PM, Stefan Roese wrote: Unfortunately u-boot now hangs if I try to load an image from the SD

Re: [U-Boot] arm: mvebu: u-boot does not start on db-88f6820-gp

2015-09-11 Thread Stefan Eichenberger
Hi Stefan, On 09/04/2015 06:44 PM, Stefan Roese wrote: Unfortunately u-boot now hangs if I try to load an image from the SD-Card: e.g. if I run the following command u-boot hangs: ext4load mmc 0:2 0x200 /boot/kernel.bin I don't see why exactly it crashes, it seems for me that it's always

Re: [U-Boot] arm: mvebu: u-boot does not start on db-88f6820-gp

2015-09-11 Thread Stefan Eichenberger
Hi Stefan, On 09/11/2015 04:24 PM, Stefan Roese wrote: Hi Stefan, On 11.09.2015 15:50, Stefan Eichenberger wrote: On 09/04/2015 06:44 PM, Stefan Roese wrote: Unfortunately u-boot now hangs if I try to load an image from the SD-Card: e.g. if I run the following command u-boot hangs: ext4load

[U-Boot] arm: mvebu: u-boot does not start on db-88f6820-gp

2015-09-04 Thread Stefan Eichenberger
Hi Stefan, I have a problem with u-boot compiled from master and the db-88f6820-gp evaluation board from Marvell. The problem is the reconfiguration of the base register address (SOC_REGS_PHY_BASE) under u-boot on A38x. Some functions (e.g. mvebu_soc_family) try to access the new SOC_REGS_PHY

Re: [U-Boot] arm: mvebu: u-boot does not start on db-88f6820-gp

2015-09-04 Thread Stefan Eichenberger
Hi Stefan, On 09/04/2015 05:14 PM, Stefan Roese wrote: Hi Stefan, On 04.09.2015 16:44, Stefan Eichenberger wrote: I have a problem with u-boot compiled from master and the db-88f6820-gp evaluation board from Marvell. The problem is the reconfiguration of the base register address