Hi Martin,
Am 02.06.25 um 14:31 schrieb Martin Schwan:
Add a bootmeth driver which supports booting A/B system with RAUC as
their update client.
Signed-off-by: Martin Schwan
---
boot/Kconfig | 51 ++
boot/Makefile| 1 +
boot/bootmeth_rauc.c | 432
On 5/16/25 1:46 PM, Primoz Fiser wrote:
Migrate to OF_UPSTREAM for phyCORE-i.MX93 since board can use upstream
Linux kernel device-tree for phyBOARD-Segin-i.MX93.
Signed-off-by: Primoz Fiser
Reviewed-by: Wadim Egorov
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts
lock dependency for it, also while at it, move
it from u-boot.dtsi to R5 as that is the only entity that should require
it as DM isn't up.
Fixes: 5d1aac358f3c ("arm: dts: k3-*-r5: Remove clocks from mcu_timer0")
Signed-off-by: Manorit Chawdhry
Acked-by: Wadim Egorov
---
arch/a
lock dependency for it, also while at it, move
it from u-boot.dtsi to R5 as that is the only entity that should require
it as DM isn't up.
Fixes: 5d1aac358f3c ("arm: dts: k3-*-r5: Remove clocks from mcu_timer0")
Signed-off-by: Manorit Chawdhry
Tested-by: Wadim Egorov
---
arch/
Call get_reset_reason() during CPU info output and display the result
if the SoC provides the implementation. This helps in debugging by
providing context on the last system reset reason.
Signed-off-by: Wadim Egorov
---
arch/arm/mach-k3/common.c| 10 ++
arch/arm/mach-k3
Implement get_reset_reason() for AM62x to enable reporting of
the reset cause in the cpuinfo output.
Signed-off-by: Wadim Egorov
---
arch/arm/mach-k3/am62x/boot.c | 40 +++
arch/arm/mach-k3/include/mach/am62_hardware.h | 19 +
2 files changed, 59
reuse.
It will be mostly copy&paste for the mentioned devices.
Also, I am not sure how this Register operates exactly. I noticed that
two bits can be set at once, so I started to check for set bits instead
of having a switch/case logic.
Wadim Egorov (2):
arm: mach-k3: Detect and print r
On 5/8/25 10:32 PM, Tom Rini wrote:
On Thu, May 08, 2025 at 03:16:39PM +0200, Wadim Egorov wrote:
This series introduces new Kconfig options to configure default environment
variables used in script-based boot scenarios. Specifically, it allows
setting the following standard boot
From: Nathan Morrisson
Add fit_addr_r to the environment to allow us to boot from a FIT image.
Signed-off-by: Nathan Morrisson
Signed-off-by: Wadim Egorov
---
v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html
v2: No changes
---
board/phytec/phycore_am64x/phycore_am64x.env | 1
Am 08.05.25 um 18:27 schrieb Tom Rini:
On Thu, May 08, 2025 at 03:16:41PM +0200, Wadim Egorov wrote:
Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default
environment values for loading boot scripts from SPI flash. When enabled,
SPI_FLASH_SCRIPT_OFFSET and
Make the "bootflow scan -lb" command execute first and
fallback to the legacy BSP boot scripts.
Signed-off-by: Wadim Egorov
---
v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html
v2: No changes
---
configs/phycore_am62ax_a53_defconfig | 2 +-
configs/phycore_am62x_a53
As part of our migration to the standard boot process, configure the
default values for the bootmeths and boot_targets environment variables.
Signed-off-by: Wadim Egorov
---
v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html
v2:
- Rebased on current master, fixing conflicts
user-customized order untouched.
Signed-off-by: Wadim Egorov
---
v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html
v2:
- Move boot_targets_setup() inside IS_ENABLED(CONFIG_BOARD_LATE_INIT)
block to fix compile warning on R5 case:
warning: ‘boot_targets_setup’ defined but
Factor out the mac address setup into setup_mac_from_eeprom().
Signed-off-by: Wadim Egorov
---
v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html
v2:
- Move setup_mac_from_eeprom() inside IS_ENABLED(CONFIG_BOARD_LATE_INIT)
---
board/phytec/common/k3/board.c | 44
Enable standard boot with SPI Flash & sync after savedefconfig.
Signed-off-by: Wadim Egorov
---
configs/phycore_am62ax_a53_defconfig | 2 +-
configs/phycore_am62x_a53_defconfig | 2 +-
configs/phycore_am64x_a53_defconfig | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --g
From: Nathan Morrisson
Add fit_addr_r to the environment to allow us to boot from a FIT image.
Signed-off-by: Nathan Morrisson
Signed-off-by: Wadim Egorov
---
v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html
v2: No changes
---
board/phytec/phycore_am62x/phycore_am62x.env | 1
Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default
environment values for loading boot scripts from SPI flash. When enabled,
SPI_FLASH_SCRIPT_OFFSET and SPI_FLASH_SCRIPT_SIZE define the default
script_offset_f and script_size_f variables.
Signed-off-by: Wadim Egorov
Am 08.05.25 um 16:16 schrieb Wadim Egorov:
This series introduces new Kconfig options to configure default environment
variables used in script-based boot scenarios. Specifically, it allows
setting the following standard boot environment variables:
- boot_script_dhcp via BOOTSCRIPT_DHCP
Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default
environment values for loading boot scripts from SPI flash. When enabled,
SPI_FLASH_SCRIPT_OFFSET and SPI_FLASH_SCRIPT_SIZE define the default
script_offset_f and script_size_f variables.
Signed-off-by: Wadim Egorov
reproducibility and simplifying integration
in automated firmware build workflows.
Wadim Egorov (2):
boot: Add BOOTSCRIPT_DHCP Kconfig option for boot_script_dhcp env
mtd: bootdev: Add Kconfig option for defining script parameters
boot/Kconfig| 18 ++
drivers/mtd/spi
Introduce a new Kconfig option BOOTSCRIPT_DHCP to allow setting a value
for boot_script_dhcp in the default environment.
Signed-off-by: Wadim Egorov
---
boot/Kconfig | 18 ++
include/env_default.h | 3 +++
2 files changed, 21 insertions(+)
diff --git a/boot/Kconfig b
Introduce a new Kconfig option BOOTSCRIPT_DHCP to allow setting a value
for boot_script_dhcp in the default environment.
Signed-off-by: Wadim Egorov
---
boot/Kconfig | 18 ++
include/env_default.h | 3 +++
2 files changed, 21 insertions(+)
diff --git a/boot/Kconfig b
reproducibility and simplifying integration
in automated firmware build workflows.
Wadim Egorov (2):
boot: Add BOOTSCRIPT_DHCP Kconfig option for boot_script_dhcp env
mtd: bootdev: Add Kconfig option for defining script parameters
boot/Kconfig| 18 ++
drivers/mtd/spi
s are not found
Signed-off-by: Bryan Brattlof
Acked-by: Wadim Egorov
---
Changes in v2:
- Rebased on -master
- Link to v1:
https://lore.kernel.org/r/20250429-non-optional-v1-1-b4cad3bc7...@ti.com
---
arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 5 -
arch/arm/dts/k3-am625-r5
Hi Martin,
Am 29.01.25 um 16:25 schrieb Martin Schwan:
Add a bootmeth driver which supports booting A/B system with RAUC as
their update client.
Signed-off-by: Martin Schwan
---
boot/Kconfig | 11 ++
boot/Makefile| 1 +
boot/bootmeth_rauc.c | 408
Factor out the mac address setup into setup_mac_from_eeprom().
Signed-off-by: Wadim Egorov
---
board/phytec/common/k3/board.c | 44 ++
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c
user-customized order untouched.
Signed-off-by: Wadim Egorov
---
board/phytec/common/k3/board.c | 36 --
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c
index 828973a8e28..bddc818743a
Make the "bootflow scan -lb" command execute first and
fallback to the legacy BSP boot scripts.
Signed-off-by: Wadim Egorov
---
configs/phycore_am62ax_a53_defconfig | 2 +-
configs/phycore_am62x_a53_defconfig | 2 +-
configs/phycore_am64x_a53_defconfig | 2 +-
3 files changed, 3
Enable standard boot with SPI Flash & sync after savedefconfig.
Signed-off-by: Wadim Egorov
---
configs/phycore_am62ax_a53_defconfig | 2 +-
configs/phycore_am62x_a53_defconfig | 2 +-
configs/phycore_am64x_a53_defconfig | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --g
From: Nathan Morrisson
Add fit_addr_r to the environment to allow us to boot from a FIT image.
Signed-off-by: Nathan Morrisson
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62x/phycore_am62x.env | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/phytec/phycore_am62x
From: Nathan Morrisson
Add fit_addr_r to the environment to allow us to boot from a FIT image.
Signed-off-by: Nathan Morrisson
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am64x/phycore_am64x.env | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/phytec/phycore_am64x
As part of our migration to the standard boot process, configure the
default values for the bootmeths and boot_targets environment variables.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62ax/phycore_am62ax.env | 3 +++
board/phytec/phycore_am62x/phycore_am62x.env | 3 +++
board
are slightly updated to make sure the count
of on/off calls is even and the results match what we *now* expect. They
are also extended to test the low-level functions.
Signed-off-by: Miquel Raynal
Tested-by: Wadim Egorov # On phycore-am62x
---
arch/sandbox/include/asm/power-domain.h
Am 25.04.25 um 09:49 schrieb Miquel Raynal:
On one side we have a power domain uclass which is mostly clueless about
the topology of the power domains it manages.
On the other side we have SoCs which are getting more and more complex,
ie. with several layers of power domains. Sometimes (eg. on T
suggested in [1].
[1] https://lists.denx.de/pipermail/u-boot/2025-April/587032.html
Signed-off-by: Wadim Egorov
---
drivers/firmware/scmi/sandbox-scmi_devices.c | 1 -
drivers/power/domain/power-domain-uclass.c| 40 ++---
.../power/domain/sandbox-power-domain-test.c | 1 -
inc
Am 16.04.25 um 12:50 schrieb Neha Malcom Francis:
Hi Miquel
On 16/04/25 14:36, Miquel Raynal wrote:
Hello,
-int power_domain_on(struct power_domain *power_domain)
+int power_domain_on_lowlevel(struct power_domain *power_domain)
{
+ struct power_domain_priv *priv = dev_get_uclass_priv(
Am 30.01.25 um 16:51 schrieb Tom Rini:
On Thu, Jan 30, 2025 at 09:48:19AM +, Martin Schwan wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On Wed, 2025-01-29 at 10:03 -0600, Tom Rini wrote:
On Wed, Jan 29, 2025 at 03:25:25PM +0100, Martin Schwan wrote:
Add a bootmeth driver which s
Add support for ethernet boot in the A53 SPL. Increase the SPL Size
limit and update SPL_STACK_R_ADDR.
Signed-off-by: Wadim Egorov
---
configs/phycore_am62x_a53_defconfig | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configs/phycore_am62x_a53_defconfig
b/configs
board-lyra-rdk-u-boot: Disable Ethernet2
Nathan Morrisson (2):
arch: arm: mach-k3: am62a7: Probe CPSW NUSS in board_init_f()
board: phytec: phycore_am62ax: Share ethernet resources with boot r5
core
Wadim Egorov (4):
arm: dts: k3-am625-phyboard-lyra-rdk: Add boot phase tag to
phy_gmi
Provide a defconfig for booting the phycore-am62ax via Ethernet.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62ax/MAINTAINERS | 1 +
configs/phycore_am62ax_r5_ethboot_defconfig | 43 +
2 files changed, 44 insertions(+)
create mode 100644 configs
.
[1] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62ax/hosts.html
Based on patch 19 from
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1307981/sk-am62a-lp-rgmii-boot-mode-problem
Signed-off-by: Nathan Morrisson
Signed-off-by: Wadim Egorov
---
board
Provide a defconfig for booting the phycore-am62x via Ethernet.
We need a separate defconfig because the AM62x has not enough internal
SRAM to support all boot sources.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62x/MAINTAINERS | 1 +
configs/phycore_am62x_r5_ethboot_defconfig
From: Nathan Morrisson
Probe CPSW NUSS in am62a7 board_init_f() to support ethernet boot.
Signed-off-by: Nathan Morrisson
Signed-off-by: Wadim Egorov
---
arch/arm/mach-k3/am62ax/am62a7_init.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/mach-k3/am62ax/am62a7_init.c
From: Andreas Dannenberg
This data was generated using the ksswtool-autogen project with the
followig commit:
eed7492 ("soc: am62ax: Add cpsw_3guss_main_0 id to the dev list")
Signed-off-by: Andreas Dannenberg
Signed-off-by: Nathan Morrisson
Signed-off-by: Wadim Egorov
---
arch/a
auto negotiation to complete... done
Signed-off-by: Daniel Schultz
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am62a7-phyboard-lyra-rdk-u-boot.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/k3-am62a7-phyboard-lyra-rdk-u-boot.dtsi
b/arch/arm/d
Add bootph-all tag to phy_gmii_sel node. This is needed for booting via
Ethernet. While at it, drop main_pktdma reg redefinitions which are already
provided by the top-level SoC device tree file.
Signed-off-by: Wadim Egorov
---
.../arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi | 14
length of the
string excluding null character. Fix this by increasing TFTP pkt length by
1 to avoid TFTP error of request being not-null terminated while
requesting length of packet.
Signed-off-by: Chintan Vankar
Tested-by: Wadim Egorov
Erm, if tiny-printf's sprintf doesn't work li
Provide a common part for our K3 based boards including general details
about environment handling and EFI capsule updates.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62x/MAINTAINERS | 1 +
doc/board/phytec/k3-common.rst | 67 ++
doc/board/phytec
Add the bootph-all tag to usb0_phy_ctrl node to ensure it is
properly initialized during the boot process. This fixes the
following issue:
dwc3-am62 dwc3-usb@f90: unable to get ti,syscon-phy-pll-refclk regmap
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am62a7-phyboard-lyra-rdk-u
new defconfig allows to boot from USB.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62ax/MAINTAINERS| 1 +
configs/phycore_am62ax_r5_usbdfu_defconfig | 4
2 files changed, 5 insertions(+)
create mode 100644 configs/phycore_am62ax_r5_usbdfu_defconfig
diff --git a/board/phytec
From: Daniel Schultz
Add the phyCORE-AM62Ax to our common board directory to
enable our SOM detection for this product.
Signed-off-by: Daniel Schultz
Signed-off-by: Wadim Egorov
---
board/phytec/common/Kconfig | 11 +++
board/phytec/common/am6_som_detection.c | 5
Add the bootph-all tag to usb0_phy_ctrl node to ensure it is
properly initialized during the boot process. This fixes the
following issue:
dwc3-am62 dwc3-usb@f90: unable to get ti,syscon-phy-pll-refclk regmap
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am625-phyboard-lyra-rdk-u
This function is only used in the board.c file. Make it static.
Signed-off-by: Wadim Egorov
---
board/phytec/common/k3/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c
index 9d833456810..7d2146d5727
Fill in phycore-am62ax capsule GUID properties of the base
binman capsule nodes.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am62a-phycore-som-binman.dtsi | 43 ++-
1 file changed, 41 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/k3-am62a-phycore-som-binman.dtsi
Include SoM dt-overlays that handle variants of our SoMs into
u-boot's FIT image.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am62a-phycore-som-binman.dtsi | 66 ++-
1 file changed, 65 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/k3-am62a-phycore-som-binman
Include SoM dt-overlays for DT control so we can include them
into our u-boot FIT image.
Signed-off-by: Wadim Egorov
---
configs/phycore_am62ax_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/phycore_am62ax_a53_defconfig
b/configs/phycore_am62ax_a53_defconfig
index
This patch series syncs the phyCORE-AM62Ax feature-wise with our other
K3-based SoMs by adding SoM overlay handling and capsule updates. It
also introduces support for USBDFU boot and includes various minor fixes.
Daniel Schultz (1):
board: phytec: common: Add phyCORE-AM62Ax
Wadim Egorov (12
Include the boot logic to boot via Network, from a OSPI/QSPI
NOR flash or via USB DFU.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62ax/phycore_am62ax.env | 11 +++
1 file changed, 11 insertions(+)
diff --git a/board/phytec/phycore_am62ax/phycore_am62ax.env
b/board/phytec
Enable raw & on disk capsule updates and provide configs required
for updating MTD devices. Also resync after savedefconfig.
Signed-off-by: Wadim Egorov
---
configs/phycore_am62ax_a53_defconfig | 11 +++
1 file changed, 11 insertions(+)
diff --git a/configs/phycore_am62ax_a53_defco
TI's k3_dfu.env includes redundant dfu_alt_info_* data, some of which
is incompatible with our board configuration. Replace it with a custom
variant that better aligns with our setup, ensuring correct offsets and
eliminating unnecessary entries.
Signed-off-by: Wadim Egorov
---
board/p
Define firmware names for phycore-am62ax capsules.
Signed-off-by: Wadim Egorov
---
include/configs/phycore_am62ax.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/phycore_am62ax.h b/include/configs/phycore_am62ax.h
index 661ba8f73ca..4f612d2c2ce 100644
--- a/include
if (IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT))
- env_set("dfu_alt_info", update_info.dfu_string);
-}
-#endif
-
#if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) || IS_ENABLED(CONFIG_ENV_IS_IN_MMC)
int mmc_get_env_dev(void)
{
Reviewed-by: Wadim Egorov # for
board/phytec/common/k3/board.c
Am 11.02.25 um 13:42 schrieb Daniel Schultz:
There are some device-tree overlays with missing entries for the
keyfile. Add them to sign all images in the U-Boot FIT image.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
Changes:
v2: Removed keyfile definitions which are
Am 11.02.25 um 13:42 schrieb Daniel Schultz:
There are some device-tree overlays with missing entries for the
keyfile. Add them to sign all images in the U-Boot FIT image.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
Changes:
v2: Removed keyfile definitions which are
Hi Daniel,
Am 10.02.25 um 14:36 schrieb Daniel Schultz:
There are some device-tree overlays and firmwares with missing entries
for the keyfile. Add them to sign all images in the U-Boot FIT image.
Signed-off-by: Daniel Schultz
---
arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 49 ++
Am 10.02.25 um 22:25 schrieb Daniel Schultz:
Increase the maximum Image size from 23 MB to 26 MB by moving the
initramfs start address up. This gives us a bigger ranger to
provide kernel images which are not stripped down too much.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
Am 10.02.25 um 22:25 schrieb Daniel Schultz:
Increase the maximum Image size from 23 MB to 26 MB by moving the
initramfs start address up. This gives us a bigger ranger to
provide kernel images which are not stripped down too much.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
: Wadim Egorov
---
configs/phycore_am62x_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/phycore_am62x_a53_defconfig
b/configs/phycore_am62x_a53_defconfig
index 0494fc408b7..d7aa59bf1dd 100644
--- a/configs/phycore_am62x_a53_defconfig
+++ b/configs
: Wadim Egorov
---
configs/phycore_am64x_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/phycore_am64x_a53_defconfig
b/configs/phycore_am64x_a53_defconfig
index f0c7ee26384..4ee1bd829a3 100644
--- a/configs/phycore_am64x_a53_defconfig
+++ b/configs
Hi Dhruva,
Am 05.02.25 um 12:55 schrieb Dhruva Gole:
On Feb 05, 2025 at 05:30:12 +0100, Wadim Egorov wrote:
Detect RAM size via EEPROM and adjust DDR size and banks accordingly.
Include necessary fixups to handle ECC-enabled configurations.
Signed-off-by: Wadim Egorov
Tested-by: Daniel
Add bootph-all properties to I2C0 nodes to ensure the bus and EEPROM
are accessible across all stages. This enables reading the SoM
configuration at any point during the boot process.
Signed-off-by: Wadim Egorov
Tested-by: Daniel Schultz
---
v2: Add Tested-by from Daniel
---
arch/arm/dts/k3
Detect RAM size via EEPROM and adjust DDR size and banks accordingly.
Include necessary fixups to handle ECC-enabled configurations.
Signed-off-by: Wadim Egorov
Tested-by: Daniel Schultz
---
v2: Add Tested-by from Daniel
---
board/phytec/phycore_am64x/Kconfig | 25 +
board/phytec
Enable configs required for detecting and fixing up for different RAM variants.
Also resync after savedefconfig.
Signed-off-by: Wadim Egorov
Tested-by: Daniel Schultz
---
v1: https://lists.denx.de/pipermail/u-boot/2025-January/578618.html
v2:
- Rebase after 0e198ff1a911 ("configs: Resync
Am 27.01.25 um 21:22 schrieb Neha Malcom Francis:
Instead of defaulting to choosing the entire DDR region when enabling
inline ECC, allow picking of a range within the DDR space using DT to
enable.
It expects such a node within the memory node, in the absence of which
we resort to enabling inlin
Hi Neha,
Am 27.01.25 um 21:22 schrieb Neha Malcom Francis:
This header file is not in use in these arch/board specific files,
remove them.
Signed-off-by: Neha Malcom Francis
---
arch/arm/mach-k3/k3-ddr.c | 1 -
board/ti/common/k3-ddr.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/
* Return -EINVAL instead of -1.
Reviewed-by: Wadim Egorov
Tested-by: Wadim Egorov
Hi Dhruva,
Am 27.01.25 um 13:22 schrieb Dhruva Gole:
Hi Wadim,
On Jan 27, 2025 at 05:16:10 +0100, Wadim Egorov wrote:
Add bootph-all properties to I2C0 nodes to ensure the bus and EEPROM
are accessible across all stages. This enables reading the SoM
configuration at any point during the boot
Enable configs required for detecting and fixing up for different RAM variants.
Also resync after savedefconfig.
Signed-off-by: Wadim Egorov
---
configs/phycore_am64x_r5_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs/phycore_am64x_r5_defconfig
b
Detect RAM size via EEPROM and adjust DDR size and banks accordingly.
Include necessary fixups to handle ECC-enabled configurations.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am64x/Kconfig | 25 +
board/phytec/phycore_am64x/phycore-am64x.c | 105 -
2
Add bootph-all properties to I2C0 nodes to ensure the bus and EEPROM
are accessible across all stages. This enables reading the SoM
configuration at any point during the boot process.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi | 8
1 file
Am 16.01.25 um 18:29 schrieb Daniel Schultz:
We set the boot source as environment variable 'boot'.
Also include 'uart' and 'usbdfu' as possible boot sources.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
board/phytec/common/k3/board.c
Reviewed-by: Wadim Egorov
---
configs/phycore_am64x_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/phycore_am64x_a53_defconfig
b/configs/phycore_am64x_a53_defconfig
index 4a91b72e700..3027a94b0d1 100644
--- a/configs/phycore_am64x_a53_defconfig
+++ b/configs
Am 16.01.25 um 18:29 schrieb Daniel Schultz:
Enable the GPIO command to allow access to the GPIO pins.
Signed-off-by: Daniel Schultz
Reviewed-by: Wadim Egorov
---
configs/phycore_am64x_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/phycore_am64x_a53_defconfig
Reviewed-by: Wadim Egorov
---
configs/phycore_am64x_a53_defconfig | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configs/phycore_am64x_a53_defconfig
b/configs/phycore_am64x_a53_defconfig
index bc450004722..4b9dcceda45 100644
--- a/configs/phycore_am64x_a53_defconfig
+++ b
e OS.
Signed-off-by: Wadim Egorov
---
board/phytec/phycore_am62x/phycore-am62x.c | 31 +++---
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/board/phytec/phycore_am62x/phycore-am62x.c
b/board/phytec/phycore_am62x/phycore-am62x.c
index a0e098e010e..b199fdaa59b 10064
by: Santhosh Kumar K
Reviewed-by: Wadim Egorov
---
drivers/ram/k3-ddrss/k3-ddrss.c | 72 ++---
1 file changed, 57 insertions(+), 15 deletions(-)
diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c
index c29eec62bd8f..29ce53453c1f 100644
Am 13.12.24 um 17:31 schrieb Santhosh Kumar K:
From: Neha Malcom Francis
Add CONFIG_K3_INLINE_ECC so that ECC functions can be compiled into R5 SPL
only when the config has been enabled.
Signed-off-by: Neha Malcom Francis
Reviewed-by: Wadim Egorov
---
drivers/ram/Kconfig | 10
ned-off-by: Santhosh Kumar K
Reviewed-by: Wadim Egorov
---
drivers/ram/k3-ddrss/k3-ddrss.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c
index e4f9891bee20..05ea61bbfe9a 100644
--- a/drivers/ram/k
ecc() is agnostic to the number of DDR
controllers present.
Signed-off-by: Santhosh Kumar K
Signed-off-by: Neha Malcom Francis
Reviewed-by: Wadim Egorov
---
arch/arm/mach-k3/Makefile | 2 +-
arch/arm/mach-k3/include/mach/k3-ddr.h | 15 ++
arch/arm/mach-k3/k3-dd
ange (8/8 in v4 to 1/9 in v5),
use 'u64'
Tested on a phycore-am62x with a 1 and 2 GB variant, so you can have my
Tested-by: Wadim Egorov
for this series.
v4: https://lore.kernel.org/u-boot/20241021044024.835846-1-s...@ti.com/
Changes since v3:
Pull redundant DDR functio
Am 24.10.24 um 18:19 schrieb Bryan Brattlof:
On October 24, 2024 thus sayeth Neha Malcom Francis:
Hi Bryan
On 23/10/24 20:09, Bryan Brattlof wrote:
On October 21, 2024 thus sayeth Santhosh Kumar K:
As R5 is a 32 bit processor, the RAM banks' base and size calculation
is restricted to 32 bits,
.
Signed-off-by: Wadim Egorov
---
board/phytec/common/k3/board.c | 80 +
include/configs/phycore_am62x.h | 4 ++
include/configs/phycore_am64x.h | 4 ++
3 files changed, 88 insertions(+)
diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c
Fill in phycore-am64x capsule GUID properties of the base
binman capsule nodes.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am642-phycore-som-binman.dtsi | 38 +++
1 file changed, 38 insertions(+)
diff --git a/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
b/arch/arm/dts/k3
Enable raw & on disk capsule updates and provide configs required
for updating MTD devices. Also resync after savedefconfig.
Signed-off-by: Wadim Egorov
---
configs/phycore_am62x_a53_defconfig | 10 ++
configs/phycore_am64x_a53_defconfig | 8
2 files changed, 18 insert
This implements capsule updates for all our K3 SoMs for
eMMC, OSPI NOR and uSD cards.
We can use capsule updates to update the bootloader on all our
supported flash devices.
Wadim Egorov (4):
arm: dts: k3-am625-phycore-som-binman: Provide capsule nodes
arm: dts: k3-am642-phycore-som-binman
Fill in phycore-am62x capsule GUID properties of the base
binman capsule nodes.
Signed-off-by: Wadim Egorov
---
arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 39 +++
1 file changed, 39 insertions(+)
diff --git a/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
b/arch/arm/dts/k3
ease make sure "make htmldocs" is working.
Am 15.11.24 um 20:50 schrieb Garrett Giordano:
Add documentation for PHYTEC phyCORE-AM62ax SoM.
Signed-off-by: Garrett Giordano
With that fixed,
Reviewed-by: Wadim Egorov
---
doc/board/phytec/index.rst | 1 +
doc/board/p
--- a/board/phytec/phycore_imx93/MAINTAINERS
+++ b/board/phytec/phycore_imx93/MAINTAINERS
@@ -9,5 +9,5 @@ F: arch/arm/dts/imx93-phyboard-segin-u-
boot.dtsi
F: board/phytec/phycore_imx93/
F: board/phytec/common/imx93_som_detection.c
F: board/phytec/common/imx93_som_dete
Am 13.11.24 um 19:29 schrieb Fabio Estevam:
On Wed, Nov 13, 2024 at 1:16 PM Christoph Stoidner wrote:
+
+ eeprom@50 {
+ bootph-pre-ram;
+ bootph-some-ram;
+ compatible = "atmel,24c32";
+ reg = <0x50>;
+ pagesize = <
Am 13.11.24 um 17:00 schrieb Christoph Stoidner:
The phyCORE-i.MX 93 is available in various variants (e.g. different ram
sizes, eMMC HS400 yes/no). It's eeprom contains information which features
the existing module supports.
Extend the existing board-code to support all the SOM variants. Th
1 - 100 of 255 matches
Mail list logo