public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
@ 2026-02-02 12:57 Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 1/9] Kconfig: Sort boards by architecture Jan Kiszka
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev; +Cc: Sai Sree Kartheek Adivi

This enables support for the BeagleV-Fire in isar-cip-core, including
SWUpdate, only excluding secure boot so far.

Note that this comes with an update of our U-Boot version. I've tested
that on all but the TI AM62px (no hardware access) and would like ask
for support on that part.

Jan


CC: Sai Sree Kartheek Adivi <s-adivi@ti.com>

Jan Kiszka (9):
  Kconfig: Sort boards by architecture
  u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
  u-boot: Update to v2026.01
  Add hss-payload-generator recipe
  u-boot: Add recipe for BeagleV-Fire
  linux-cip: Update cip-kernel-config revision
  Add BeagleV-Fire board
  kas: Add BeagleV-Fire target
  ci: Add BeagleV-Fire build target

 .gitlab-ci.yml                                |   7 +
 Kconfig                                       |  26 +-
 conf/machine/beaglev-fire.conf                |  22 ++
 kas/board/beaglev-fire.yml                    |  12 +
 recipes-bsp/hss-payload-generator/files/rules |  22 ++
 .../hss-payload-generator_2025.07.bb          |  27 ++
 ...onvert-SYS_EARLY_PCI_INIT-to-Kconfig.patch |  37 --
 ...-mach-socfpga-Fix-non-Agilex-targets.patch |  97 -----
 ...KASLR-OPTEE-RNG-support-for-K3-devic.patch |  38 --
 ...ustom-CPU-implementation-for-PolarFi.patch | 153 ++++++++
 ...missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch |  30 ++
 ...ot-generate-logo-when-cross-building.patch |  33 --
 ...arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch |  28 --
 ...SoC-level-options-to-the-CPU-Kconfig.patch |  83 +++++
 ...or-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch} |  38 +-
 ...3-riscv-Add-support-for-BeagleV-Fire.patch | 346 ++++++++++++++++++
 ...ector-value-passed-to-mmc_load_imag.patch} |   6 +-
 .../files/0003-test-Fix-optee-unit-test.patch | 134 -------
 ...cfpga-Adjust-a-raw-sectors-for-MMC-l.patch |  16 +-
 ...onfigs-socfpga-Fix-de0_nano_soc-boot.patch |   4 +-
 ...6-configs-socfpga-Permit-EFI-booting.patch | 161 ++++----
 .../u-boot/files/beaglev-fire-config.yaml     |  17 +
 recipes-bsp/u-boot/files/rules.tmpl           |   1 +
 ...t-bbb_2025.07.bb => u-boot-bbb_2026.01.bb} |   0
 .../u-boot/u-boot-beaglev-fire_2026.01.bb     |  28 ++
 ...-2025.07.inc => u-boot-common-2026.01.inc} |  19 +-
 ...5.07.bb => u-boot-de0-nano-soc_2026.01.bb} |   0
 ...025.07.bb => u-boot-qemu-arm64_2026.01.bb} |   0
 ..._2025.07.bb => u-boot-qemu-arm_2026.01.bb} |   0
 ...5.07.bb => u-boot-qemu-riscv64_2026.01.bb} |   0
 ...5.07.bb => u-boot-ti-am62px-sk_2026.01.bb} |   1 -
 recipes-kernel/linux/cip-kernel-config.inc    |   2 +-
 wic/beaglev-fire-efibootguard.wks.in          |  20 +
 wic/beaglev-fire.wks                          |  14 +
 34 files changed, 924 insertions(+), 498 deletions(-)
 create mode 100644 conf/machine/beaglev-fire.conf
 create mode 100644 kas/board/beaglev-fire.yml
 create mode 100644 recipes-bsp/hss-payload-generator/files/rules
 create mode 100644 recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb
 delete mode 100644 recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch
 delete mode 100644 recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch
 delete mode 100644 recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch
 create mode 100644 recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch
 create mode 100644 recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch
 delete mode 100644 recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-building.patch
 delete mode 100644 recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch
 create mode 100644 recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch
 rename recipes-bsp/u-boot/files/{0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch => 0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch} (67%)
 create mode 100644 recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch
 rename recipes-bsp/u-boot/files/{0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch => 0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch} (87%)
 delete mode 100644 recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch
 create mode 100644 recipes-bsp/u-boot/files/beaglev-fire-config.yaml
 rename recipes-bsp/u-boot/{u-boot-bbb_2025.07.bb => u-boot-bbb_2026.01.bb} (100%)
 create mode 100644 recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
 rename recipes-bsp/u-boot/{u-boot-common-2025.07.inc => u-boot-common-2026.01.inc} (76%)
 rename recipes-bsp/u-boot/{u-boot-de0-nano-soc_2025.07.bb => u-boot-de0-nano-soc_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-qemu-arm64_2025.07.bb => u-boot-qemu-arm64_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-qemu-arm_2025.07.bb => u-boot-qemu-arm_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-qemu-riscv64_2025.07.bb => u-boot-qemu-riscv64_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-ti-am62px-sk_2025.07.bb => u-boot-ti-am62px-sk_2026.01.bb} (98%)
 create mode 100644 wic/beaglev-fire-efibootguard.wks.in
 create mode 100644 wic/beaglev-fire.wks

-- 
2.51.0



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 1/9] Kconfig: Sort boards by architecture
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl Jan Kiszka
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 Kconfig | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Kconfig b/Kconfig
index bb27f94b..b60e29df 100644
--- a/Kconfig
+++ b/Kconfig
@@ -79,6 +79,15 @@ config TARGET_HIHOPE_RZG2M
 	select ARCH_ARM64
 	select HAS_SWUPDATE
 
+config TARGET_TI_AM62PX_SK
+	bool "Texas Instruments AM62Px SK"
+	select ARCH_ARM64
+	select HAS_SWUPDATE
+	select HAS_SECURE_BOOT
+	select HAS_DISK_ENCRYPTION
+	select HAS_OPTEE
+	select FTPM_STMM
+
 config TARGET_QEMU_ARM
 	bool "QEMU ARM (armhf)"
 	select ARCH_ARM
@@ -105,15 +114,6 @@ config TARGET_QEMU_RISCV64
 	select ARCH_RISCV64
 	select HAS_SWUPDATE if KERNEL_6_1 || KERNEL_6_12
 
-config TARGET_TI_AM62PX_SK
-	bool "Texas Instruments AM62Px SK"
-	select ARCH_ARM64
-	select HAS_SWUPDATE
-	select HAS_SECURE_BOOT
-	select HAS_DISK_ENCRYPTION
-	select HAS_OPTEE
-	select FTPM_STMM
-
 endchoice
 
 config KAS_INCLUDE_BOARD
@@ -122,12 +122,12 @@ config KAS_INCLUDE_BOARD
 	default "kas/board/x86-uefi.yml" if TARGET_X86_UEFI
 	default "kas/board/qemu-arm64.yml" if TARGET_QEMU_ARM64
 	default "kas/board/hihope-rzg2m.yml" if TARGET_HIHOPE_RZG2M
+	default "kas/board/ti-am62px-sk.yml" if TARGET_TI_AM62PX_SK
 	default "kas/board/qemu-arm.yml" if TARGET_QEMU_ARM
 	default "kas/board/bbb.yml" if TARGET_BBB
 	default "kas/board/de0-nano-soc.yml" if TARGET_DE0_NANO_SOC
 	default "kas/board/iwg20m.yml" if TARGET_IWG20D
 	default "kas/board/qemu-riscv64.yml" if TARGET_QEMU_RISCV64
-	default "kas/board/ti-am62px-sk.yml" if TARGET_TI_AM62PX_SK
 
 comment "Kernel options"
 
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 1/9] Kconfig: Sort boards by architecture Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 13:22   ` [cip-dev] " Quirin Gylstorff
  2026-02-02 12:57 ` [isar-cip-core][PATCH 3/9] u-boot: Update to v2026.01 Jan Kiszka
                   ` (8 subsequent siblings)
  10 siblings, 1 reply; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

Allows custom post-processing steps without having to fork the
rules.tmpl file.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 recipes-bsp/u-boot/files/rules.tmpl          | 1 +
 recipes-bsp/u-boot/u-boot-common-2025.07.inc | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/recipes-bsp/u-boot/files/rules.tmpl b/recipes-bsp/u-boot/files/rules.tmpl
index bbf7bb5a..560a6540 100755
--- a/recipes-bsp/u-boot/files/rules.tmpl
+++ b/recipes-bsp/u-boot/files/rules.tmpl
@@ -31,6 +31,7 @@ override_dh_auto_build:
 		./scripts/get_default_envs.sh >u-boot-initial-env; \
 	fi
 	$(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 tools-only envtools
+	${U_BOOT_EXTRA_BUILDCMD}
 
 override_dh_auto_install:
 	mv tools/env/lib.a tools/env/libubootenv.a
diff --git a/recipes-bsp/u-boot/u-boot-common-2025.07.inc b/recipes-bsp/u-boot/u-boot-common-2025.07.inc
index ed44bad0..7d91a8d1 100644
--- a/recipes-bsp/u-boot/u-boot-common-2025.07.inc
+++ b/recipes-bsp/u-boot/u-boot-common-2025.07.inc
@@ -39,6 +39,10 @@ S = "${WORKDIR}/u-boot-${PV}"
 DEBIAN_BUILD_DEPENDS += ", libssl-dev:native, libssl-dev:${DISTRO_ARCH}, \
     libgnutls28-dev:native, libgnutls28-dev:${DISTRO_ARCH}"
 
+U_BOOT_EXTRA_BUILDCMD ?= ""
+
+TEMPLATE_VARS += "U_BOOT_EXTRA_BUILDCMD"
+
 STATIC_KEYS_BUILD_DEPENDS = ", \
     openssl, efivar, secure-boot-secrets, python3-openssl:native"
 STATIC_KEYS_BUILD_DEPENDS:append:buster   = ", pesign"
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 3/9] u-boot: Update to v2026.01
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 1/9] Kconfig: Sort boards by architecture Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 4/9] Add hss-payload-generator recipe Jan Kiszka
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev; +Cc: Sai Sree Kartheek Adivi

From: Jan Kiszka <jan.kiszka@siemens.com>

Allows to drop a number of patches. Refresh the queue for the DE0 Nano
SoC at this chance. Unfortunately, a lot of those fixes didn't make it
into this release.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
CC: Sai Sree Kartheek Adivi <s-adivi@ti.com>
---
 ...onvert-SYS_EARLY_PCI_INIT-to-Kconfig.patch |  37 ----
 ...-mach-socfpga-Fix-non-Agilex-targets.patch |  97 -----------
 ...KASLR-OPTEE-RNG-support-for-K3-devic.patch |  38 -----
 ...missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch |  30 ++++
 ...ot-generate-logo-when-cross-building.patch |  33 ----
 ...arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch |  28 ---
 ...or-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch} |  38 ++---
 ...ector-value-passed-to-mmc_load_imag.patch} |   6 +-
 .../files/0003-test-Fix-optee-unit-test.patch | 134 ---------------
 ...cfpga-Adjust-a-raw-sectors-for-MMC-l.patch |  16 +-
 ...onfigs-socfpga-Fix-de0_nano_soc-boot.patch |   4 +-
 ...6-configs-socfpga-Permit-EFI-booting.patch | 161 ++++++++++--------
 ...t-bbb_2025.07.bb => u-boot-bbb_2026.01.bb} |   0
 ...-2025.07.inc => u-boot-common-2026.01.inc} |  12 +-
 ...5.07.bb => u-boot-de0-nano-soc_2026.01.bb} |   0
 ...025.07.bb => u-boot-qemu-arm64_2026.01.bb} |   0
 ..._2025.07.bb => u-boot-qemu-arm_2026.01.bb} |   0
 ...5.07.bb => u-boot-qemu-riscv64_2026.01.bb} |   0
 ...5.07.bb => u-boot-ti-am62px-sk_2026.01.bb} |   1 -
 19 files changed, 148 insertions(+), 487 deletions(-)
 delete mode 100644 recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch
 delete mode 100644 recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch
 delete mode 100644 recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch
 create mode 100644 recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch
 delete mode 100644 recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-building.patch
 delete mode 100644 recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch
 rename recipes-bsp/u-boot/files/{0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch => 0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch} (67%)
 rename recipes-bsp/u-boot/files/{0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch => 0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch} (87%)
 delete mode 100644 recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch
 rename recipes-bsp/u-boot/{u-boot-bbb_2025.07.bb => u-boot-bbb_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-common-2025.07.inc => u-boot-common-2026.01.inc} (77%)
 rename recipes-bsp/u-boot/{u-boot-de0-nano-soc_2025.07.bb => u-boot-de0-nano-soc_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-qemu-arm64_2025.07.bb => u-boot-qemu-arm64_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-qemu-arm_2025.07.bb => u-boot-qemu-arm_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-qemu-riscv64_2025.07.bb => u-boot-qemu-riscv64_2026.01.bb} (100%)
 rename recipes-bsp/u-boot/{u-boot-ti-am62px-sk_2025.07.bb => u-boot-ti-am62px-sk_2026.01.bb} (98%)

diff --git a/recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch b/recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch
deleted file mode 100644
index 36c0ea8b..00000000
--- a/recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From d3403a731b5b194a9e4e2ba67911e760dcd89207 Mon Sep 17 00:00:00 2001
-From: Fabio Estevam <festevam@gmail.com>
-Date: Thu, 14 Aug 2025 20:14:35 +0200
-Subject: [PATCH 1/3] Kconfig: Convert SYS_EARLY_PCI_INIT to Kconfig
-
-The CONFIG_SYS_EARLY_PCI_INIT symbol is currently not supported
-by Kconfig.
-
-Make it a Kconfig symbol so that users could select it via defconfig.
-
-Signed-off-by: Fabio Estevam <festevam@gmail.com>
-Reviewed-by: Tom Rini <trini@konsulko.com>
----
- common/Kconfig | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/common/Kconfig b/common/Kconfig
-index a2f653f7e72..cb17f056153 100644
---- a/common/Kconfig
-+++ b/common/Kconfig
-@@ -833,6 +833,13 @@ config PCI_INIT_R
- 	  case of DM PCI-based Ethernet devices, which will not be detected
- 	  without having the enumeration performed earlier.
- 
-+config SYS_EARLY_PCI_INIT
-+	bool "Enumerate PCI buses early during init"
-+	depends on PCI
-+	help
-+	  Do early PCI configuration before the eMMC gets initialised,
-+	  because PCI resources are crucial for eMMC access on some boards.
-+
- config RESET_PHY_R
- 	bool "Reset ethernet PHY during init"
- 	help
--- 
-2.51.0
-
diff --git a/recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch b/recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch
deleted file mode 100644
index 2c05d5cd..00000000
--- a/recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-From c02c7bbadf6d97f3d178289909495483b66a921f Mon Sep 17 00:00:00 2001
-From: Jan Kiszka <jan.kiszka@siemens.com>
-Date: Fri, 14 Nov 2025 12:42:46 +0100
-Subject: [PATCH 1/6] arch: arm: mach-socfpga: Fix non-Agilex targets
-
-The Altera system manager device is only provided for the Agilex
-targets. All others were left with an uninitialized socfpga_sysmgr_base
-after that refactoring, breaking any boot attempts already in SPL.
-
-Tested only on Cyclone5 / DE0-Nano-SoC.
-
-Fixes: 35638172f99a ("arm: socfpga: agilex5: Add new driver model for system manager in Agilex5")
-Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
----
- arch/arm/mach-socfpga/misc.c     | 7 +++++++
- arch/arm/mach-socfpga/spl_a10.c  | 1 +
- arch/arm/mach-socfpga/spl_gen5.c | 1 +
- arch/arm/mach-socfpga/spl_n5x.c  | 1 +
- arch/arm/mach-socfpga/spl_s10.c  | 1 +
- 5 files changed, 11 insertions(+)
-
-diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
-index 97e01140513..dee822fa870 100644
---- a/arch/arm/mach-socfpga/misc.c
-+++ b/arch/arm/mach-socfpga/misc.c
-@@ -277,6 +277,8 @@ void socfpga_get_managers_addr(void)
- void socfpga_get_sys_mgr_addr(const char *compat)
- {
- 	int ret;
-+#if defined(CONFIG_TARGET_SOCFPGA_AGILEX) || \
-+    defined(TARGET_SOCFPGA_AGILEX7M) || defined(TARGET_SOCFPGA_AGILEX5)
- 	struct udevice *sysmgr_dev;
- 
- 	ret = uclass_get_device_by_name(UCLASS_NOP, compat, &sysmgr_dev);
-@@ -286,6 +288,11 @@ void socfpga_get_sys_mgr_addr(const char *compat)
- 	} else {
- 		socfpga_sysmgr_base = (phys_addr_t)dev_read_addr(sysmgr_dev);
- 	}
-+#else
-+	ret = socfpga_get_base_addr("altr,sys-mgr", &socfpga_sysmgr_base);
-+	if (ret)
-+		hang();
-+#endif
- }
- 
- phys_addr_t socfpga_get_rstmgr_addr(void)
-diff --git a/arch/arm/mach-socfpga/spl_a10.c b/arch/arm/mach-socfpga/spl_a10.c
-index c20376f7f8e..6722c9cef3f 100644
---- a/arch/arm/mach-socfpga/spl_a10.c
-+++ b/arch/arm/mach-socfpga/spl_a10.c
-@@ -250,6 +250,7 @@ void board_init_f(ulong dummy)
- 	if (spl_early_init())
- 		hang();
- 
-+	socfpga_get_sys_mgr_addr(NULL);
- 	socfpga_get_managers_addr();
- 
- 	dcache_disable();
-diff --git a/arch/arm/mach-socfpga/spl_gen5.c b/arch/arm/mach-socfpga/spl_gen5.c
-index df79cfe0f7f..cd8b09d7a8d 100644
---- a/arch/arm/mach-socfpga/spl_gen5.c
-+++ b/arch/arm/mach-socfpga/spl_gen5.c
-@@ -72,6 +72,7 @@ void board_init_f(ulong dummy)
- 	if (ret)
- 		hang();
- 
-+	socfpga_get_sys_mgr_addr(NULL);
- 	socfpga_get_managers_addr();
- 
- 	/*
-diff --git a/arch/arm/mach-socfpga/spl_n5x.c b/arch/arm/mach-socfpga/spl_n5x.c
-index 81283ef7162..2b6a443e989 100644
---- a/arch/arm/mach-socfpga/spl_n5x.c
-+++ b/arch/arm/mach-socfpga/spl_n5x.c
-@@ -31,6 +31,7 @@ void board_init_f(ulong dummy)
- 	if (ret)
- 		hang();
- 
-+	socfpga_get_sys_mgr_addr(NULL);
- 	socfpga_get_managers_addr();
- 
- 	/* Ensure watchdog is paused when debugging is happening */
-diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c
-index fa83ff96adc..379e5642b2a 100644
---- a/arch/arm/mach-socfpga/spl_s10.c
-+++ b/arch/arm/mach-socfpga/spl_s10.c
-@@ -33,6 +33,7 @@ void board_init_f(ulong dummy)
- 	if (ret)
- 		hang();
- 
-+	socfpga_get_sys_mgr_addr(NULL);
- 	socfpga_get_managers_addr();
- 
- 	/* Ensure watchdog is paused when debugging is happening */
--- 
-2.51.0
-
diff --git a/recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch b/recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch
deleted file mode 100644
index d831b211..00000000
--- a/recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 7d4136397715d2c08161a32a873c052dd1bb8b6c Mon Sep 17 00:00:00 2001
-From: Gokul Praveen <g-praveen@ti.com>
-Date: Thu, 10 Jul 2025 15:29:22 +0530
-Subject: [PATCH] configs: KASLR OPTEE RNG support for K3 devices
-
-KASLR, or Kernel Address Space Layout Randomization, is a security
-feature in the Linux kernel that randomizes the memory location
-where the kernel is loaded during boot.
-
-OP-TEE RNG is a Random Number Generator (RNG) component within the
-Open Portable Trusted Execution Environment (OP-TEE) which provides
-a random number to U-BOOT and U-BOOT provides this random number
-as seed value to the LINUX kernel for KASLR.
-
-Add KASLR OPTEE RNG support across K3 devices by enabling the required
-configs.
-
-Signed-off-by: Gokul Praveen <g-praveen@ti.com>
-Reviewed-by: Bryan Brattlof <bb@ti.com>
-Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
----
- arch/arm/Kconfig | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
-index 5872455a0fe5..4e7593616d8a 100644
---- a/arch/arm/Kconfig
-+++ b/arch/arm/Kconfig
-@@ -835,6 +835,9 @@ config ARCH_K3
- 	select FIT_SIGNATURE if ARM64
- 	select LTO
- 	imply TI_SECURE_DEVICE
-+	imply DM_RNG if ARM64
-+	imply TEE if ARM64
-+	imply OPTEE if ARM64
- 
- config ARCH_OMAP2PLUS
- 	bool "TI OMAP2+"
diff --git a/recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch b/recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch
new file mode 100644
index 00000000..82153d70
--- /dev/null
+++ b/recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch
@@ -0,0 +1,30 @@
+From 542e5b9c621a8f0eade97c745bbf6150cb79f254 Mon Sep 17 00:00:00 2001
+From: Jan Kiszka <jan.kiszka@siemens.com>
+Date: Fri, 28 Nov 2025 12:08:19 +0100
+Subject: [PATCH 1/6] spl: Kconfig: Add missing SPL_LOAD_BLOCK for
+ SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
+
+We need to explicitly select SPL_LOAD_BLOCK when USE_PARTITION_TYPE is
+enabled, just like the other choices do.
+
+Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
+Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
+---
+ common/spl/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/common/spl/Kconfig b/common/spl/Kconfig
+index 3b7b6cafef8..142cdb34cd5 100644
+--- a/common/spl/Kconfig
++++ b/common/spl/Kconfig
+@@ -573,6 +573,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
+ 
+ config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
+ 	bool "MMC raw mode: by partition type"
++	select SPL_LOAD_BLOCK
+ 	depends on DOS_PARTITION
+ 	help
+ 	  Use partition type for specifying U-Boot partition on MMC/SD in
+-- 
+2.51.0
+
diff --git a/recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-building.patch b/recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-building.patch
deleted file mode 100644
index 16b219f5..00000000
--- a/recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-building.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 371a76e845504c9ba7ca216b6edfb4ae4ec14e56 Mon Sep 17 00:00:00 2001
-From: Jan Kiszka <jan.kiszka@siemens.com>
-Date: Sat, 23 Aug 2025 17:21:09 +0200
-Subject: [PATCH] tools: Do not generate logo when cross-building
-
-This cannot work (unless qemu-user is registered in binfmt_misc) as the
-tools will be for a different architecture.
-
-Fixes "make cross_tools" in case CONFIG_VIDEO_LOGO is enabled.
-
-Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
-Reviewed-by: Tom Rini <trini@konsulko.com>
----
- tools/Makefile | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tools/Makefile b/tools/Makefile
-index 7eb17f92116..ae6a3052646 100644
---- a/tools/Makefile
-+++ b/tools/Makefile
-@@ -333,7 +333,9 @@ HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \
- 		-D__KERNEL_STRICT_NAMES \
- 		-D_GNU_SOURCE
- 
-+ifeq ($(CROSS_BUILD_TOOLS),)
- __build:	$(LOGO-y)
-+endif
- 
- $(LOGO_H):	$(obj)/bmp_logo $(LOGO_BMP)
- 	$(obj)/bmp_logo --gen-info $(LOGO_BMP) > $@
--- 
-2.51.0
-
diff --git a/recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch b/recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch
deleted file mode 100644
index ec82a32b..00000000
--- a/recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b93d9e7cc2b39a6d16356d391d2d7832ed4b9202 Mon Sep 17 00:00:00 2001
-From: Fabio Estevam <festevam@gmail.com>
-Date: Thu, 14 Aug 2025 20:14:36 +0200
-Subject: [PATCH 2/3] qemu_arm: Select CONFIG_SYS_EARLY_PCI_INIT
-
-Select CONFIG_SYS_EARLY_PCI_INIT so that eMMC emulation can
-work.
-
-Signed-off-by: Fabio Estevam <festevam@gmail.com>
----
- board/emulation/qemu-arm/Kconfig | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/board/emulation/qemu-arm/Kconfig b/board/emulation/qemu-arm/Kconfig
-index 80ab9d8e1c3..447061b25cd 100644
---- a/board/emulation/qemu-arm/Kconfig
-+++ b/board/emulation/qemu-arm/Kconfig
-@@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
- 	select HAS_CUSTOM_SYS_INIT_SP_ADDR
- 	select QFW if ACPI
- 	select QFW_MMIO if CMD_QFW
-+	imply SYS_EARLY_PCI_INIT
- 	imply VIRTIO_MMIO
- 	imply VIRTIO_PCI
- 	imply VIRTIO_NET
--- 
-2.51.0
-
diff --git a/recipes-bsp/u-boot/files/0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch b/recipes-bsp/u-boot/files/0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch
similarity index 67%
rename from recipes-bsp/u-boot/files/0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch
rename to recipes-bsp/u-boot/files/0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch
index 4e735718..4f10b912 100644
--- a/recipes-bsp/u-boot/files/0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch
+++ b/recipes-bsp/u-boot/files/0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch
@@ -1,41 +1,28 @@
-From 2695758ae0f8184f6093086c0f2d4a152273d674 Mon Sep 17 00:00:00 2001
+From 3bee0382a4c2025f2696cd06df34c091ebc637d4 Mon Sep 17 00:00:00 2001
 From: Jan Kiszka <jan.kiszka@siemens.com>
 Date: Fri, 14 Nov 2025 13:40:20 +0100
-Subject: [PATCH 3/6] spl: mmc: Account for
+Subject: [PATCH 2/6] spl: mmc: Account for
  SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE being a choice
 
 Add SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE as condition where so
 far SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION was enough - though often
 by chance as both options were enabled.
 
-We also need to explicitly select SPL_LOAD_BLOCK when UES_PARTITION_TYPE
-is enabled, just like the other choices do.
+Reorder the #ifdef blocks at this chance to follow the order in the
+Kconfig menu.
 
 Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
 Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
 ---
- common/spl/Kconfig   |  1 +
- common/spl/spl_mmc.c | 16 ++++++++--------
+ common/spl/spl_mmc.c | 17 +++++++++--------
  include/part.h       |  3 ++-
- 3 files changed, 11 insertions(+), 9 deletions(-)
+ 2 files changed, 11 insertions(+), 9 deletions(-)
 
-diff --git a/common/spl/Kconfig b/common/spl/Kconfig
-index 77cf04d38ed..b757d14fbf1 100644
---- a/common/spl/Kconfig
-+++ b/common/spl/Kconfig
-@@ -563,6 +563,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
- 
- config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
- 	bool "MMC raw mode: by partition type"
-+	select SPL_LOAD_BLOCK
- 	depends on DOS_PARTITION
- 	help
- 	  Use partition type for specifying U-Boot partition on MMC/SD in
 diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
-index 81415ae7594..34fe362d97e 100644
+index d8ce3a84614..1942e417075 100644
 --- a/common/spl/spl_mmc.c
 +++ b/common/spl/spl_mmc.c
-@@ -107,7 +107,8 @@ static int spl_mmc_find_device(struct mmc **mmcp, int mmc_dev)
+@@ -106,7 +106,8 @@ static int spl_mmc_find_device(struct mmc **mmcp, int mmc_dev)
  	return 0;
  }
  
@@ -45,7 +32,7 @@ index 81415ae7594..34fe362d97e 100644
  static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,
  					struct spl_boot_device *bootdev,
  					struct mmc *mmc, int partition,
-@@ -392,19 +393,18 @@ int spl_mmc_load(struct spl_image_info *spl_image,
+@@ -419,19 +420,19 @@ int spl_mmc_load(struct spl_image_info *spl_image,
  
  		raw_sect = spl_mmc_get_uboot_raw_sector(mmc, raw_sect);
  
@@ -62,7 +49,8 @@ index 81415ae7594..34fe362d97e 100644
  						spl_mmc_raw_uboot_offset(part));
  		if (!ret)
  			return 0;
-+#else
++#elif defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION) || \
++      defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE)
 +		ret = mmc_load_image_raw_partition(spl_image, bootdev,
 +						   mmc, raw_part,
 +						   raw_sect);
@@ -72,10 +60,10 @@ index 81415ae7594..34fe362d97e 100644
  		/* If RAW mode fails, try FS mode. */
  		fallthrough;
 diff --git a/include/part.h b/include/part.h
-index fcb3c13dea4..6d16bf7ff85 100644
+index 6caaa6526aa..ba4a63ddc75 100644
 --- a/include/part.h
 +++ b/include/part.h
-@@ -443,7 +443,8 @@ ulong disk_blk_erase(struct udevice *dev, lbaint_t start, lbaint_t blkcnt);
+@@ -461,7 +461,8 @@ ulong disk_blk_erase(struct udevice *dev, lbaint_t start, lbaint_t blkcnt);
  #ifdef CONFIG_XPL_BUILD
  # define part_print_ptr(x)	NULL
  # if defined(CONFIG_SPL_FS_EXT4) || defined(CONFIG_SPL_FS_FAT) || \
diff --git a/recipes-bsp/u-boot/files/0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch b/recipes-bsp/u-boot/files/0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch
similarity index 87%
rename from recipes-bsp/u-boot/files/0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch
rename to recipes-bsp/u-boot/files/0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch
index 1b9cb526..3ed63586 100644
--- a/recipes-bsp/u-boot/files/0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch
+++ b/recipes-bsp/u-boot/files/0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch
@@ -1,7 +1,7 @@
-From 27441e4cad3bcb2fd0c83c85f29a71e68f5a8c2d Mon Sep 17 00:00:00 2001
+From 4d9cfe96b1a770f0f6ab8ba56c9e21ff85e53c49 Mon Sep 17 00:00:00 2001
 From: Jan Kiszka <jan.kiszka@siemens.com>
 Date: Fri, 14 Nov 2025 13:34:48 +0100
-Subject: [PATCH 2/6] spl: mmc: Respect sector value passed to
+Subject: [PATCH 3/6] spl: mmc: Respect sector value passed to
  mmc_load_image_raw_partition
 
 This function and the sector parameter evolved over the time. By now,
@@ -19,7 +19,7 @@ Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  1 file changed, 4 deletions(-)
 
 diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
-index d06f9f0dee6..81415ae7594 100644
+index 1942e417075..47cfe4aef58 100644
 --- a/common/spl/spl_mmc.c
 +++ b/common/spl/spl_mmc.c
 @@ -137,11 +137,7 @@ static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,
diff --git a/recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch b/recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch
deleted file mode 100644
index ed928f64..00000000
--- a/recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-From a7ff306c8ea79743552992638b8d228818cd9975 Mon Sep 17 00:00:00 2001
-From: Jan Kiszka <jan.kiszka@siemens.com>
-Date: Mon, 15 Sep 2025 07:50:26 +0200
-Subject: [PATCH 3/3] test: Fix optee unit test
-
-This was apparently not built for several years: Since a2535243e011,
-optee_copy_fdt_nodes implicitly works against the U-Boot dt. We
-therefore have to tweak its reference before using the function and
-restore things afterwards.
-
-If it had been built, actually trying it out would have failed next: We
-need CONFIG_OPTEE_LIB to actually build the function that is primarily
-being tested here. And we need to re-initialize target fdt, now that the
-tests may run in random order.
-
-Fixes: a2535243e011 ("lib: optee: migration optee_copy_fdt_nodes for OF_LIVE support")
-Fixes: ba2feaf41435 ("test: Split optee tests into three functions")
-Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
----
- test/optee/Kconfig |  1 +
- test/optee/optee.c | 42 +++++++++++++++++++++++++++++++-----------
- 2 files changed, 32 insertions(+), 11 deletions(-)
-
-diff --git a/test/optee/Kconfig b/test/optee/Kconfig
-index 63e2cbf79c7..ebf8d07c41c 100644
---- a/test/optee/Kconfig
-+++ b/test/optee/Kconfig
-@@ -1,6 +1,7 @@
- config UT_OPTEE
- 	bool "Enable OP-TEE Unit Tests"
- 	depends on OF_CONTROL && OPTEE
-+	select OPTEE_LIB
- 	default y
- 	help
- 	  This enables the 'ut optee' command which runs a series of unit
-diff --git a/test/optee/optee.c b/test/optee/optee.c
-index 658621fa2fa..7e1c8d04a11 100644
---- a/test/optee/optee.c
-+++ b/test/optee/optee.c
-@@ -5,16 +5,20 @@
- 
- #include <command.h>
- #include <errno.h>
-+#include <fdtdec.h>
- #include <fdt_support.h>
- #include <log.h>
- #include <malloc.h>
- #include <tee/optee.h>
-+#include <asm/global_data.h>
- 
- #include <linux/sizes.h>
- 
- #include <test/ut.h>
- #include <test/optee.h>
- 
-+DECLARE_GLOBAL_DATA_PTR;
-+
- /* 4k ought to be enough for anybody */
- #define FDT_COPY_SIZE	(4 * SZ_1K)
- 
-@@ -40,14 +44,6 @@ static int optee_test_init(struct unit_test_state *uts)
- 	if (!fdt)
- 		return ret;
- 
--	/*
--	 * Resize the FDT to 4k so that we have room to operate on
--	 *
--	 * (and relocate it since the memory might be mapped
--	 * read-only)
--	 */
--	ut_assertok(fdt_open_into(fdt_base, fdt, FDT_COPY_SIZE));
--
- 	return 0;
- }
- OPTEE_TEST_INIT(optee_test_init, 0);
-@@ -127,9 +123,21 @@ static int optee_fdt_protected_memory(struct unit_test_state *uts)
- static int optee_fdt_copy_empty(struct unit_test_state *uts)
- {
- 	void *fdt_no_optee = &__dtb_test_optee_no_optee_begin;
-+	const void *fdt_blob = gd->fdt_blob;
-+
-+	/*
-+	 * Resize the FDT to 4k so that we have room to operate on
-+	 *
-+	 * (and relocate it since the memory might be mapped
-+	 * read-only)
-+	 */
-+	ut_assertok(fdt_open_into(&__dtb_test_optee_base_begin, fdt,
-+				  FDT_COPY_SIZE));
- 
- 	/* This should still run successfully */
--	ut_assertok(optee_copy_fdt_nodes(fdt_no_optee, fdt));
-+	gd->fdt_blob = fdt_no_optee;
-+	ut_assertok(optee_copy_fdt_nodes(fdt));
-+	gd->fdt_blob = fdt_blob;
- 
- 	expect_success = false;
- 	ut_assertok(optee_fdt_firmware(uts));
-@@ -143,8 +151,14 @@ OPTEE_TEST(optee_fdt_copy_empty, 0);
- static int optee_fdt_copy_prefilled(struct unit_test_state *uts)
- {
- 	void *fdt_optee = &__dtb_test_optee_optee_begin;
-+	const void *fdt_blob = gd->fdt_blob;
- 
--	ut_assertok(optee_copy_fdt_nodes(fdt_optee, fdt));
-+	ut_assertok(fdt_open_into(&__dtb_test_optee_base_begin, fdt,
-+				  FDT_COPY_SIZE));
-+
-+	gd->fdt_blob = fdt_optee;
-+	ut_assertok(optee_copy_fdt_nodes(fdt));
-+	gd->fdt_blob = fdt_blob;
- 
- 	expect_success = true;
- 	ut_assertok(optee_fdt_firmware(uts));
-@@ -158,9 +172,15 @@ OPTEE_TEST(optee_fdt_copy_prefilled, 0);
- static int optee_fdt_copy_already_filled(struct unit_test_state *uts)
- {
- 	void *fdt_optee = &__dtb_test_optee_optee_begin;
-+	const void *fdt_blob = gd->fdt_blob;
-+
-+	ut_assertok(fdt_open_into(&__dtb_test_optee_base_begin, fdt,
-+				  FDT_COPY_SIZE));
- 
- 	ut_assertok(fdt_open_into(fdt_optee, fdt, FDT_COPY_SIZE));
--	ut_assertok(optee_copy_fdt_nodes(fdt_optee, fdt));
-+	gd->fdt_blob = fdt_optee;
-+	ut_assertok(optee_copy_fdt_nodes(fdt));
-+	gd->fdt_blob = fdt_blob;
- 
- 	expect_success = true;
- 	ut_assertok(optee_fdt_firmware(uts));
--- 
-2.51.0
-
diff --git a/recipes-bsp/u-boot/files/0004-arch-arm-mach-socfpga-Adjust-a-raw-sectors-for-MMC-l.patch b/recipes-bsp/u-boot/files/0004-arch-arm-mach-socfpga-Adjust-a-raw-sectors-for-MMC-l.patch
index bdbb4d1d..7a52853d 100644
--- a/recipes-bsp/u-boot/files/0004-arch-arm-mach-socfpga-Adjust-a-raw-sectors-for-MMC-l.patch
+++ b/recipes-bsp/u-boot/files/0004-arch-arm-mach-socfpga-Adjust-a-raw-sectors-for-MMC-l.patch
@@ -1,4 +1,4 @@
-From 93a35b8a962d4f8d9e211c55e2d85b12d2ccce4b Mon Sep 17 00:00:00 2001
+From 6201f8e8df19b890baacb15690be067430e3e4e9 Mon Sep 17 00:00:00 2001
 From: Jan Kiszka <jan.kiszka@siemens.com>
 Date: Fri, 14 Nov 2025 13:53:25 +0100
 Subject: [PATCH 4/6] arch: arm: mach-socfpga: Adjust a raw sectors for MMC
@@ -12,14 +12,14 @@ offset via SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
 
 Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
 ---
- arch/arm/mach-socfpga/board.c | 9 +++++++++
- 1 file changed, 9 insertions(+)
+ arch/arm/mach-socfpga/board.c | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
 
 diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach-socfpga/board.c
-index 8506d510413..a7598e79362 100644
+index 28554b7a109..7f65aed4540 100644
 --- a/arch/arm/mach-socfpga/board.c
 +++ b/arch/arm/mach-socfpga/board.c
-@@ -13,6 +13,7 @@
+@@ -14,6 +14,7 @@
  #include <hang.h>
  #include <handoff.h>
  #include <image.h>
@@ -27,15 +27,17 @@ index 8506d510413..a7598e79362 100644
  #include <usb.h>
  #include <usb/dwc2_udc.h>
  #include <asm/global_data.h>
-@@ -208,3 +209,11 @@ void lmb_arch_add_memory(void)
+@@ -209,3 +210,13 @@ void lmb_arch_add_memory(void)
  	}
  }
  #endif
 +
-+#ifdef CONFIG_SPL
++#if (defined(CONFIG_TARGET_SOCFPGA_ARRIA10) || \
++     defined(CONFIG_TARGET_SOCFPGA_GEN5)) && defined(CONFIG_XPL_BUILD)
 +unsigned long board_spl_mmc_get_uboot_raw_sector(struct mmc *mmc,
 +						 unsigned long raw_sect)
 +{
++	/* offset of u-boot proper inside u-boot-with-spl.sfp image */
 +	return (CONFIG_SPL_PAD_TO * 4) / 512 + raw_sect;
 +}
 +#endif
diff --git a/recipes-bsp/u-boot/files/0005-configs-socfpga-Fix-de0_nano_soc-boot.patch b/recipes-bsp/u-boot/files/0005-configs-socfpga-Fix-de0_nano_soc-boot.patch
index 295a0e2f..388377b2 100644
--- a/recipes-bsp/u-boot/files/0005-configs-socfpga-Fix-de0_nano_soc-boot.patch
+++ b/recipes-bsp/u-boot/files/0005-configs-socfpga-Fix-de0_nano_soc-boot.patch
@@ -1,4 +1,4 @@
-From fdd7059526064d130b6797c7e62ed26b25bd2f77 Mon Sep 17 00:00:00 2001
+From 7af75a1322ef6e5ffbc809d30e4e017cd7f46cc2 Mon Sep 17 00:00:00 2001
 From: Jan Kiszka <jan.kiszka@siemens.com>
 Date: Thu, 13 Nov 2025 18:38:28 +0100
 Subject: [PATCH 5/6] configs: socfpga: Fix de0_nano_soc boot
@@ -15,7 +15,7 @@ Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  1 file changed, 1 insertion(+)
 
 diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig
-index 7188c46d98e..0bcc970728f 100644
+index 32cdf6d3a6c..6564cbd03c6 100644
 --- a/configs/socfpga_de0_nano_soc_defconfig
 +++ b/configs/socfpga_de0_nano_soc_defconfig
 @@ -28,6 +28,7 @@ CONFIG_SPL_NO_BSS_LIMIT=y
diff --git a/recipes-bsp/u-boot/files/0006-configs-socfpga-Permit-EFI-booting.patch b/recipes-bsp/u-boot/files/0006-configs-socfpga-Permit-EFI-booting.patch
index 31d51f2e..d799ec97 100644
--- a/recipes-bsp/u-boot/files/0006-configs-socfpga-Permit-EFI-booting.patch
+++ b/recipes-bsp/u-boot/files/0006-configs-socfpga-Permit-EFI-booting.patch
@@ -1,4 +1,4 @@
-From bd234afd41c8c21ac9caa7992c3e0b8292cca8b0 Mon Sep 17 00:00:00 2001
+From e2c93d129c0ec627ac2542ec93f2a27996429476 Mon Sep 17 00:00:00 2001
 From: Jan Kiszka <jan.kiszka@siemens.com>
 Date: Fri, 14 Nov 2025 16:18:14 +0100
 Subject: [PATCH 6/6] configs: socfpga: Permit EFI booting
@@ -12,218 +12,231 @@ partition table to make both the bootrom and UEFI happy.
 
 Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
 ---
- configs/socfpga_agilex5_defconfig       | 3 +--
- configs/socfpga_arria5_defconfig        | 3 +--
- configs/socfpga_cyclone5_defconfig      | 3 +--
- configs/socfpga_de0_nano_soc_defconfig  | 3 +--
- configs/socfpga_de10_nano_defconfig     | 3 +--
- configs/socfpga_de10_standard_defconfig | 3 +--
- configs/socfpga_de1_soc_defconfig       | 3 +--
- configs/socfpga_is1_defconfig           | 3 +--
- configs/socfpga_mcvevk_defconfig        | 3 +--
- configs/socfpga_secu1_defconfig         | 3 +--
- configs/socfpga_sockit_defconfig        | 3 +--
- configs/socfpga_socrates_defconfig      | 3 +--
- configs/socfpga_sr1500_defconfig        | 3 +--
- configs/socfpga_vining_fpga_defconfig   | 3 +--
- 14 files changed, 14 insertions(+), 28 deletions(-)
+ configs/socfpga_agilex5_defconfig       | 2 --
+ configs/socfpga_agilex_defconfig        | 2 --
+ configs/socfpga_arria5_defconfig        | 2 --
+ configs/socfpga_cyclone5_defconfig      | 2 --
+ configs/socfpga_de0_nano_soc_defconfig  | 2 --
+ configs/socfpga_de10_nano_defconfig     | 2 --
+ configs/socfpga_de10_standard_defconfig | 2 --
+ configs/socfpga_de1_soc_defconfig       | 2 --
+ configs/socfpga_is1_defconfig           | 2 --
+ configs/socfpga_mcvevk_defconfig        | 2 --
+ configs/socfpga_secu1_defconfig         | 2 --
+ configs/socfpga_sockit_defconfig        | 2 --
+ configs/socfpga_socrates_defconfig      | 2 --
+ configs/socfpga_sr1500_defconfig        | 2 --
+ configs/socfpga_vining_fpga_defconfig   | 2 --
+ disk/Kconfig                            | 1 +
+ 16 files changed, 1 insertion(+), 30 deletions(-)
 
 diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig
-index 4ac0a5d9b99..4cb9d1fa4c2 100644
+index 64f2f1bf115..20fd1e237c9 100644
 --- a/configs/socfpga_agilex5_defconfig
 +++ b/configs/socfpga_agilex5_defconfig
-@@ -64,8 +64,7 @@ CONFIG_CMD_WDT=y
+@@ -67,8 +67,6 @@ CONFIG_CMD_WDT=y
  CONFIG_CMD_CACHE=y
  CONFIG_CMD_TIMER=y
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_OF_LIST=""
+ CONFIG_ENV_IS_IN_FAT=y
  CONFIG_ENV_IS_IN_UBI=y
- CONFIG_ENV_UBI_PART="root"
+diff --git a/configs/socfpga_agilex_defconfig b/configs/socfpga_agilex_defconfig
+index 1c3664bc0d7..eb99392f0ea 100644
+--- a/configs/socfpga_agilex_defconfig
++++ b/configs/socfpga_agilex_defconfig
+@@ -57,8 +57,6 @@ CONFIG_CMD_USB=y
+ CONFIG_CMD_CACHE=y
+ CONFIG_CMD_SMC=y
+ CONFIG_CMD_UBI=y
+-# CONFIG_ISO_PARTITION is not set
+-# CONFIG_EFI_PARTITION is not set
+ CONFIG_OF_UPSTREAM=y
+ CONFIG_OF_LIST=""
+ CONFIG_ENV_IS_IN_FAT=y
 diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig
-index f3c142300f2..4685314fbb1 100644
+index 3c860f97ae9..88ef2eb0c76 100644
 --- a/configs/socfpga_arria5_defconfig
 +++ b/configs/socfpga_arria5_defconfig
-@@ -44,8 +44,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -44,8 +44,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),-@1536k(UBI)"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig
-index 97e5fae0f53..ae92bd2feb3 100644
+index 992abdbfdc4..0485d20260c 100644
 --- a/configs/socfpga_cyclone5_defconfig
 +++ b/configs/socfpga_cyclone5_defconfig
-@@ -44,8 +44,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -45,8 +45,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),-@1536k(UBI)"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig
-index 0bcc970728f..a5f8258eaaf 100644
+index 6564cbd03c6..3b021634bb9 100644
 --- a/configs/socfpga_de0_nano_soc_defconfig
 +++ b/configs/socfpga_de0_nano_soc_defconfig
-@@ -46,8 +46,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -46,8 +46,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),-@1536k(UBI)"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_de10_nano_defconfig b/configs/socfpga_de10_nano_defconfig
-index 102e781f5c1..2ea0852824b 100644
+index 4fabd63f2b4..941f9e9f3bc 100644
 --- a/configs/socfpga_de10_nano_defconfig
 +++ b/configs/socfpga_de10_nano_defconfig
-@@ -42,8 +42,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
+@@ -42,8 +42,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  CONFIG_CMD_CACHE=y
  CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_de10_standard_defconfig b/configs/socfpga_de10_standard_defconfig
-index fe3eaad12a3..c903d3669e4 100644
+index 1c9ecbf2bc8..d2b0274249b 100644
 --- a/configs/socfpga_de10_standard_defconfig
 +++ b/configs/socfpga_de10_standard_defconfig
-@@ -42,8 +42,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
+@@ -42,8 +42,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  CONFIG_CMD_CACHE=y
  CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_de1_soc_defconfig b/configs/socfpga_de1_soc_defconfig
-index 19e4ab98d59..c1c4b4466d8 100644
+index 52ed0ff7ffa..f97b3a4055b 100644
 --- a/configs/socfpga_de1_soc_defconfig
 +++ b/configs/socfpga_de1_soc_defconfig
-@@ -42,8 +42,7 @@ CONFIG_CMD_CACHE=y
+@@ -42,8 +42,6 @@ CONFIG_CMD_CACHE=y
  CONFIG_CMD_TIME=y
  CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_is1_defconfig b/configs/socfpga_is1_defconfig
-index 38286f71f84..523b0f8e09a 100644
+index 45d3b2f0807..4136d22e90e 100644
 --- a/configs/socfpga_is1_defconfig
 +++ b/configs/socfpga_is1_defconfig
-@@ -44,8 +44,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -44,8 +44,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),-@1536k(UBI)"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_SPI_FLASH=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_USE_BOOTFILE=y
 diff --git a/configs/socfpga_mcvevk_defconfig b/configs/socfpga_mcvevk_defconfig
-index f61a63d835a..2e43ef68eba 100644
+index bff0c41336f..db288a2cf05 100644
 --- a/configs/socfpga_mcvevk_defconfig
 +++ b/configs/socfpga_mcvevk_defconfig
-@@ -42,8 +42,7 @@ CONFIG_CMD_USB=y
+@@ -42,8 +42,6 @@ CONFIG_CMD_USB=y
  CONFIG_CMD_USB_MASS_STORAGE=y
  CONFIG_CMD_CACHE=y
  CONFIG_CMD_EXT4_WRITE=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_OVERWRITE=y
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
 diff --git a/configs/socfpga_secu1_defconfig b/configs/socfpga_secu1_defconfig
-index f7ae13c891b..e1338cddd0c 100644
+index 5fe35fe6eb8..552ded52873 100644
 --- a/configs/socfpga_secu1_defconfig
 +++ b/configs/socfpga_secu1_defconfig
-@@ -63,8 +63,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=denali-nand"
+@@ -63,8 +63,6 @@ CONFIG_MTDIDS_DEFAULT="nand0=denali-nand"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=denali-nand:512k(nand.4spl),512k(nand.uboot),128k(nand.env1),128k(nand.env2),0x1000000(nand.rec),0x3ee40000(nand.ubi),0x80000@0x3ff80000(nand.bbt)"
  CONFIG_CMD_UBI=y
  # CONFIG_CMD_UBIFS is not set
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_OVERWRITE=y
  CONFIG_ENV_IS_IN_NAND=y
- CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
+ CONFIG_ENV_REDUNDANT=y
 diff --git a/configs/socfpga_sockit_defconfig b/configs/socfpga_sockit_defconfig
-index 96ce2485a02..66d29245c18 100644
+index fed1dd83dc2..6dec5758fba 100644
 --- a/configs/socfpga_sockit_defconfig
 +++ b/configs/socfpga_sockit_defconfig
-@@ -44,8 +44,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -44,8 +44,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),-@1536k(UBI)"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_socrates_defconfig b/configs/socfpga_socrates_defconfig
-index d14dc86a742..73a11ef5019 100644
+index a08c7c0d9e0..3bfb05fa419 100644
 --- a/configs/socfpga_socrates_defconfig
 +++ b/configs/socfpga_socrates_defconfig
-@@ -44,8 +44,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -44,8 +44,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),-@1536k(UBI)"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_MMC=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
  CONFIG_VERSION_VARIABLE=y
 diff --git a/configs/socfpga_sr1500_defconfig b/configs/socfpga_sr1500_defconfig
-index 820b935b70a..3a5d3478357 100644
+index 7744ff9a888..814b4e8ce1d 100644
 --- a/configs/socfpga_sr1500_defconfig
 +++ b/configs/socfpga_sr1500_defconfig
-@@ -51,8 +51,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -51,8 +51,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),-@1536k(UBI)"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_SPI_FLASH=y
- CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_REDUNDANT=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
 diff --git a/configs/socfpga_vining_fpga_defconfig b/configs/socfpga_vining_fpga_defconfig
-index b4e303ed6dd..37f2b070c7f 100644
+index 396b7a9715d..f698b86e59f 100644
 --- a/configs/socfpga_vining_fpga_defconfig
 +++ b/configs/socfpga_vining_fpga_defconfig
-@@ -58,8 +58,7 @@ CONFIG_CMD_EXT4_WRITE=y
+@@ -58,8 +58,6 @@ CONFIG_CMD_EXT4_WRITE=y
  CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
  CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),64k(env1),64k(env2),256k(softing1),256k(softing2),-(rcvrfs);"
  CONFIG_CMD_UBI=y
 -# CONFIG_ISO_PARTITION is not set
 -# CONFIG_EFI_PARTITION is not set
-+# CONFIG_SPL_EFI_PARTITION is not set
  CONFIG_ENV_IS_IN_SPI_FLASH=y
- CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
- CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+ CONFIG_ENV_REDUNDANT=y
+ CONFIG_ENV_RELOC_GD_ENV_ADDR=y
+diff --git a/disk/Kconfig b/disk/Kconfig
+index b0bd02539ee..a58717bda30 100644
+--- a/disk/Kconfig
++++ b/disk/Kconfig
+@@ -142,6 +142,7 @@ config SPL_EFI_PARTITION
+ 	bool "Enable EFI GPT partition table for SPL"
+ 	depends on  SPL
+ 	default n if ARCH_MVEBU
++	default n if ARCH_SOCFPGA
+ 	default n if ARCH_SUNXI
+ 	default y if EFI_PARTITION
+ 	select SPL_PARTITIONS
 -- 
 2.51.0
 
diff --git a/recipes-bsp/u-boot/u-boot-bbb_2025.07.bb b/recipes-bsp/u-boot/u-boot-bbb_2026.01.bb
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-bbb_2025.07.bb
rename to recipes-bsp/u-boot/u-boot-bbb_2026.01.bb
diff --git a/recipes-bsp/u-boot/u-boot-common-2025.07.inc b/recipes-bsp/u-boot/u-boot-common-2026.01.inc
similarity index 77%
rename from recipes-bsp/u-boot/u-boot-common-2025.07.inc
rename to recipes-bsp/u-boot/u-boot-common-2026.01.inc
index 7d91a8d1..7b911660 100644
--- a/recipes-bsp/u-boot/u-boot-common-2025.07.inc
+++ b/recipes-bsp/u-boot/u-boot-common-2026.01.inc
@@ -15,18 +15,14 @@ FILESPATH:append := ":${FILE_DIRNAME}/files"
 
 SRC_URI += " \
     https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
-    file://0001-tools-Do-not-generate-logo-when-cross-building.patch \
-    file://0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch \
-    file://0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch \
-    file://0003-test-Fix-optee-unit-test.patch \
-    file://0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch \
-    file://0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch \
-    file://0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch \
+    file://0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch \
+    file://0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch \
+    file://0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch \
     file://0004-arch-arm-mach-socfpga-Adjust-a-raw-sectors-for-MMC-l.patch \
     file://0005-configs-socfpga-Fix-de0_nano_soc-boot.patch \
     file://0006-configs-socfpga-Permit-EFI-booting.patch \
     file://rules.tmpl;subdir=debian"
-SRC_URI[sha256sum] = "0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7"
+SRC_URI[sha256sum] = "b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54"
 
 SRC_URI:append:ftpm-stmm = " \
     file://ftpm-stmm.cfg"
diff --git a/recipes-bsp/u-boot/u-boot-de0-nano-soc_2025.07.bb b/recipes-bsp/u-boot/u-boot-de0-nano-soc_2026.01.bb
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-de0-nano-soc_2025.07.bb
rename to recipes-bsp/u-boot/u-boot-de0-nano-soc_2026.01.bb
diff --git a/recipes-bsp/u-boot/u-boot-qemu-arm64_2025.07.bb b/recipes-bsp/u-boot/u-boot-qemu-arm64_2026.01.bb
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-qemu-arm64_2025.07.bb
rename to recipes-bsp/u-boot/u-boot-qemu-arm64_2026.01.bb
diff --git a/recipes-bsp/u-boot/u-boot-qemu-arm_2025.07.bb b/recipes-bsp/u-boot/u-boot-qemu-arm_2026.01.bb
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-qemu-arm_2025.07.bb
rename to recipes-bsp/u-boot/u-boot-qemu-arm_2026.01.bb
diff --git a/recipes-bsp/u-boot/u-boot-qemu-riscv64_2025.07.bb b/recipes-bsp/u-boot/u-boot-qemu-riscv64_2026.01.bb
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-qemu-riscv64_2025.07.bb
rename to recipes-bsp/u-boot/u-boot-qemu-riscv64_2026.01.bb
diff --git a/recipes-bsp/u-boot/u-boot-ti-am62px-sk_2025.07.bb b/recipes-bsp/u-boot/u-boot-ti-am62px-sk_2026.01.bb
similarity index 98%
rename from recipes-bsp/u-boot/u-boot-ti-am62px-sk_2025.07.bb
rename to recipes-bsp/u-boot/u-boot-ti-am62px-sk_2026.01.bb
index 622f429a..c4b2d74d 100644
--- a/recipes-bsp/u-boot/u-boot-ti-am62px-sk_2025.07.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-am62px-sk_2026.01.bb
@@ -21,7 +21,6 @@ SRC_URI += " \
 	https://github.com/TexasInstruments/ti-linux-firmware/raw/refs/tags/${TI_FIRMWARE_PV}/ti-dm/am62pxx/ipc_echo_testb_mcu1_0_release_strip.xer5f;downloadfilename=ipc_echo_testb_mcu1_0_release_strip.xer5f;name=am62p-dm \
 	file://rules-${MACHINE} \
 	file://ti-extra.cfg \
-	file://0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch \
 	"
 
 SRC_URI[am62p-dm.sha256sum] = "85ba372a3c9cd0d09c84f9bbe46a72c7e4d6fdaff67df3ee7fbec3996965f044"
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 4/9] Add hss-payload-generator recipe
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (2 preceding siblings ...)
  2026-02-02 12:57 ` [isar-cip-core][PATCH 3/9] u-boot: Update to v2026.01 Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 5/9] u-boot: Add recipe for BeagleV-Fire Jan Kiszka
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

This is still needed to convert the U-Boot binary into the format
expected by the HART Software Service on the BeagleV-Fire. Maybe future
versions of U-Boot will handle this via a binman extension.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 recipes-bsp/hss-payload-generator/files/rules | 22 +++++++++++++++
 .../hss-payload-generator_2025.07.bb          | 27 +++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 recipes-bsp/hss-payload-generator/files/rules
 create mode 100644 recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb

diff --git a/recipes-bsp/hss-payload-generator/files/rules b/recipes-bsp/hss-payload-generator/files/rules
new file mode 100644
index 00000000..939c283b
--- /dev/null
+++ b/recipes-bsp/hss-payload-generator/files/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+#
+# Copyright (c) Siemens, 2025
+#
+# SPDX-License-Identifier: MIT
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+export CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
+endif
+
+override_dh_auto_clean:
+	$(MAKE) -C tools/hss-payload-generator clean
+
+override_dh_auto_build:
+	$(MAKE) -C tools/hss-payload-generator $(PARALLEL_MAKE) CC=$(CROSS_COMPILE)gcc
+
+override_dh_auto_test:
+
+override_dh_auto_install:
+
+%:
+	dh $@ --parallel
diff --git a/recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb b/recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb
new file mode 100644
index 00000000..fa86094c
--- /dev/null
+++ b/recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb
@@ -0,0 +1,27 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens, 2025
+#
+# Authors:
+#  Jan Kiszka <jan.kiszka@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit dpkg
+
+SRC_URI = " \
+    https://github.com/polarfire-soc/hart-software-services/archive/refs/tags/v${PV}.tar.gz;downloadfilename=hart-software-services-v${PV}.tar.gz \
+    file://rules"
+SRC_URI[sha256sum] = "a6e94a3d9383d4af386718ae0ba3b4be2884f5e36ccfd66b3af66166472831c4"
+
+S = "${WORKDIR}/hart-software-services-${PV}"
+
+DEBIAN_BUILD_DEPENDS = "libyaml-dev, libssl-dev, libelf-dev"
+DEBIAN_DEPENDS = "\${shlibs:Depends}"
+
+do_prepare_build() {
+    deb_debianize
+    echo "tools/hss-payload-generator/hss-payload-generator usr/bin" > ${S}/debian/${PN}.install
+}
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 5/9] u-boot: Add recipe for BeagleV-Fire
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (3 preceding siblings ...)
  2026-02-02 12:57 ` [isar-cip-core][PATCH 4/9] Add hss-payload-generator recipe Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 6/9] linux-cip: Update cip-kernel-config revision Jan Kiszka
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

Requires 3 patches, 2 are merged for past 2026.01, one is pending and
had some fix-up needs.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ...ustom-CPU-implementation-for-PolarFi.patch | 153 ++++++++
 ...SoC-level-options-to-the-CPU-Kconfig.patch |  83 +++++
 ...3-riscv-Add-support-for-BeagleV-Fire.patch | 346 ++++++++++++++++++
 .../u-boot/files/beaglev-fire-config.yaml     |  17 +
 .../u-boot/u-boot-beaglev-fire_2026.01.bb     |  23 ++
 recipes-bsp/u-boot/u-boot-common-2026.01.inc  |   3 +
 6 files changed, 625 insertions(+)
 create mode 100644 recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch
 create mode 100644 recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch
 create mode 100644 recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch
 create mode 100644 recipes-bsp/u-boot/files/beaglev-fire-config.yaml
 create mode 100644 recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb

diff --git a/recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch b/recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch
new file mode 100644
index 00000000..aafb7f6c
--- /dev/null
+++ b/recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch
@@ -0,0 +1,153 @@
+From 851a7cf7775590e0d0b9d3cec38c1c3ae9cec528 Mon Sep 17 00:00:00 2001
+From: Conor Dooley <conor.dooley@microchip.com>
+Date: Wed, 19 Nov 2025 12:38:42 +0000
+Subject: [PATCH 1/3] riscv: create a custom CPU implementation for PolarFire
+ SoC
+
+PolarFire SoC needs a custom implementation of top_of_ram(), so stop
+using the generic CPU & create a custom CPU instead.
+
+Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
+Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
+---
+ arch/riscv/Kconfig                     |  1 +
+ arch/riscv/cpu/mpfs/Kconfig            | 16 +++++++++++
+ arch/riscv/cpu/mpfs/Makefile           |  5 ++++
+ arch/riscv/cpu/mpfs/dram.c             | 38 ++++++++++++++++++++++++++
+ arch/riscv/include/asm/arch-mpfs/clk.h |  8 ++++++
+ board/microchip/mpfs_generic/Kconfig   |  4 +--
+ 6 files changed, 70 insertions(+), 2 deletions(-)
+ create mode 100644 arch/riscv/cpu/mpfs/Kconfig
+ create mode 100644 arch/riscv/cpu/mpfs/Makefile
+ create mode 100644 arch/riscv/cpu/mpfs/dram.c
+ create mode 100644 arch/riscv/include/asm/arch-mpfs/clk.h
+
+diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
+index 265b5320777..79867656b15 100644
+--- a/arch/riscv/Kconfig
++++ b/arch/riscv/Kconfig
+@@ -126,6 +126,7 @@ source "arch/riscv/cpu/cv1800b/Kconfig"
+ source "arch/riscv/cpu/fu540/Kconfig"
+ source "arch/riscv/cpu/fu740/Kconfig"
+ source "arch/riscv/cpu/ast2700/Kconfig"
++source "arch/riscv/cpu/mpfs/Kconfig"
+ source "arch/riscv/cpu/generic/Kconfig"
+ source "arch/riscv/cpu/jh7110/Kconfig"
+ source "arch/riscv/cpu/k1/Kconfig"
+diff --git a/arch/riscv/cpu/mpfs/Kconfig b/arch/riscv/cpu/mpfs/Kconfig
+new file mode 100644
+index 00000000000..3e99c1aae38
+--- /dev/null
++++ b/arch/riscv/cpu/mpfs/Kconfig
+@@ -0,0 +1,16 @@
++# SPDX-License-Identifier: GPL-2.0+
++
++config MICROCHIP_MPFS
++	bool
++	select ARCH_EARLY_INIT_R
++	imply CPU
++	imply CPU_RISCV
++	imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
++	imply SIFIVE_CLINT if RISCV_MMODE
++	imply SPL_SIFIVE_CLINT if SPL_RISCV_MMODE
++	imply CMD_CPU
++	imply SPL_CPU
++	imply SPL_OPENSBI
++	imply SPL_LOAD_FIT
++	imply REGMAP
++	imply SYSCON
+diff --git a/arch/riscv/cpu/mpfs/Makefile b/arch/riscv/cpu/mpfs/Makefile
+new file mode 100644
+index 00000000000..e2f62ff7711
+--- /dev/null
++++ b/arch/riscv/cpu/mpfs/Makefile
+@@ -0,0 +1,5 @@
++# SPDX-License-Identifier: GPL-2.0+
++
++ifneq ($(CONFIG_SPL_BUILD),y)
++obj-y += dram.o
++endif
+diff --git a/arch/riscv/cpu/mpfs/dram.c b/arch/riscv/cpu/mpfs/dram.c
+new file mode 100644
+index 00000000000..4398d3e36c8
+--- /dev/null
++++ b/arch/riscv/cpu/mpfs/dram.c
+@@ -0,0 +1,38 @@
++// SPDX-License-Identifier: GPL-2.0+
++/*
++ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
++ */
++
++#include <asm/global_data.h>
++#include <fdtdec.h>
++#include <init.h>
++#include <linux/sizes.h>
++
++DECLARE_GLOBAL_DATA_PTR;
++
++#define MPFS_TOP_OF_CACHED (SZ_2G + SZ_1G)
++#define MPFS_HSS_RESERVATION (SZ_4M)
++
++int dram_init(void) {
++    return fdtdec_setup_mem_size_base();
++}
++
++int dram_init_banksize(void) {
++    return fdtdec_setup_memory_banksize();
++}
++
++phys_size_t board_get_usable_ram_top(phys_size_t total_size) {
++    /*
++     * Ensure that if we run from 32-bit memory that all memory used by
++     * U-Boot is cached addresses, but also account for the reservation at
++     * the top of 32 bit cached DDR used by the HSS.
++     */
++    if (gd->ram_top >= MPFS_TOP_OF_CACHED - MPFS_HSS_RESERVATION)
++        return MPFS_TOP_OF_CACHED - MPFS_HSS_RESERVATION - 1;
++    /*
++     * If we don't find a 32 bit region just return the top of memory.
++     * If the address is a 32-bit region, but fits beneath the HSS'
++     * reservation, ram_top is adequate also.
++     */
++    return gd->ram_top;
++}
+\ No newline at end of file
+diff --git a/arch/riscv/include/asm/arch-mpfs/clk.h b/arch/riscv/include/asm/arch-mpfs/clk.h
+new file mode 100644
+index 00000000000..fbb1399f3c8
+--- /dev/null
++++ b/arch/riscv/include/asm/arch-mpfs/clk.h
+@@ -0,0 +1,8 @@
++/* SPDX-License-Identifier: GPL-2.0+ */
++
++#ifndef __ASM_RISCV_ARCH_MPFS_CLK_H
++#define __ASM_RISCV_ARCH_MPFS_CLK_H
++
++/* Note: This is a placeholder header for driver compilation. */
++
++#endif
+diff --git a/board/microchip/mpfs_generic/Kconfig b/board/microchip/mpfs_generic/Kconfig
+index 8dcf55a0311..49663a4c562 100644
+--- a/board/microchip/mpfs_generic/Kconfig
++++ b/board/microchip/mpfs_generic/Kconfig
+@@ -7,7 +7,7 @@ config SYS_VENDOR
+ 	default "microchip"
+ 
+ config SYS_CPU
+-	default "generic"
++	default "mpfs"
+ 
+ config SYS_CONFIG_NAME
+ 	default "microchip_mpfs_generic"
+@@ -18,7 +18,7 @@ config TEXT_BASE
+ 
+ config BOARD_SPECIFIC_OPTIONS # dummy
+ 	def_bool y
+-	select GENERIC_RISCV
++	select MICROCHIP_MPFS
+ 	select BOARD_EARLY_INIT_F
+ 	select BOARD_LATE_INIT
+ 	imply SMP
+-- 
+2.51.0
+
diff --git a/recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch b/recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch
new file mode 100644
index 00000000..6001146c
--- /dev/null
+++ b/recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch
@@ -0,0 +1,83 @@
+From 61f4e301ad700bcc2d87521258dbd31e073a6088 Mon Sep 17 00:00:00 2001
+From: Conor Dooley <conor.dooley@microchip.com>
+Date: Wed, 19 Nov 2025 12:38:43 +0000
+Subject: [PATCH 2/3] riscv: mpfs: move SoC level options to the CPU Kconfig
+
+There are multiple boards that use the PolarFire SoC, so extract
+the Kconfig sections that are determined at a CPU level from the board
+Kconfigs now that we have a CPU Kconfig.
+
+Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
+---
+ arch/riscv/cpu/mpfs/Kconfig          | 17 +++++++++++++++++
+ board/microchip/mpfs_generic/Kconfig | 20 --------------------
+ 2 files changed, 17 insertions(+), 20 deletions(-)
+
+diff --git a/arch/riscv/cpu/mpfs/Kconfig b/arch/riscv/cpu/mpfs/Kconfig
+index 3e99c1aae38..bcf1ede818b 100644
+--- a/arch/riscv/cpu/mpfs/Kconfig
++++ b/arch/riscv/cpu/mpfs/Kconfig
+@@ -14,3 +14,20 @@ config MICROCHIP_MPFS
+ 	imply SPL_LOAD_FIT
+ 	imply REGMAP
+ 	imply SYSCON
++	imply CLK_CCF
++	imply CLK_MPFS
++	imply SYS_NS16550
++	imply MACB
++	imply MII
++	imply CMD_I2C
++	imply DM_I2C
++	imply SYS_I2C_MICROCHIP
++	imply MMC
++	imply MMC_WRITE
++	imply MMC_SDHCI
++	imply MMC_SDHCI_CADENCE
++	imply MMC_SDHCI_ADMA
++	imply MMC_HS200_SUPPORT
++	imply SPI
++	imply DM_SPI
++	imply MICROCHIP_QSPI
+diff --git a/board/microchip/mpfs_generic/Kconfig b/board/microchip/mpfs_generic/Kconfig
+index 49663a4c562..d38e56c742d 100644
+--- a/board/microchip/mpfs_generic/Kconfig
++++ b/board/microchip/mpfs_generic/Kconfig
+@@ -22,11 +22,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
+ 	select BOARD_EARLY_INIT_F
+ 	select BOARD_LATE_INIT
+ 	imply SMP
+-	imply CLK_CCF
+-	imply CLK_MPFS
+-	imply REGMAP
+-	imply SYSCON
+-	imply SYS_NS16550
+ 	imply CMD_DHCP
+ 	imply CMD_EXT2
+ 	imply CMD_EXT4
+@@ -39,23 +34,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
+ 	imply EFI_PARTITION
+ 	imply IP_DYN
+ 	imply ISO_PARTITION
+-	imply MACB
+-	imply MII
+ 	imply PHY_LIB
+ 	imply PHY_VITESSE
+-	imply MMC
+-	imply MMC_WRITE
+-	imply MMC_SDHCI
+-	imply MMC_SDHCI_CADENCE
+-	imply MMC_SDHCI_ADMA
+-	imply MMC_HS200_SUPPORT
+-	imply CMD_I2C
+-	imply DM_I2C
+-	imply SYS_I2C_MICROCHIP
+-	imply MTD
+-	imply SPI
+-	imply DM_SPI
+-	imply MICROCHIP_COREQSPI
+ 	imply MTD_SPI_NAND
+ 	imply CMD_MTD
+ 	imply CMD_MTDPARTS
+-- 
+2.51.0
+
diff --git a/recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch b/recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch
new file mode 100644
index 00000000..7f84d057
--- /dev/null
+++ b/recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch
@@ -0,0 +1,346 @@
+From 9a3808ac310c2eab02fb66d79c4296c7c7267a9f Mon Sep 17 00:00:00 2001
+From: Jamie Gibbons <jamie.gibbons@microchip.com>
+Date: Tue, 9 Dec 2025 12:45:21 +0100
+Subject: [PATCH 3/3] riscv: Add support for BeagleV-Fire
+
+Bring U-Boot support for the BeagleV-Fire by adding a defconfig and
+supporting board files etc.
+
+Signed-off-by: Jamie Gibbons <jamie.gibbons@microchip.com>
+[Jan: enable OF_UPSTREAM, set DEFAULT_FDT_FILE, regenerate defconfig]
+Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
+---
+ arch/riscv/Kconfig                       |   4 +
+ board/beagle/beaglev_fire/Kconfig        |  39 ++++++++
+ board/beagle/beaglev_fire/MAINTAINERS    |   7 ++
+ board/beagle/beaglev_fire/Makefile       |   6 ++
+ board/beagle/beaglev_fire/beaglev_fire.c | 117 +++++++++++++++++++++++
+ configs/beaglev_fire_defconfig           |  29 ++++++
+ include/configs/beaglev_fire.h           |  57 +++++++++++
+ 7 files changed, 259 insertions(+)
+ create mode 100644 board/beagle/beaglev_fire/Kconfig
+ create mode 100644 board/beagle/beaglev_fire/MAINTAINERS
+ create mode 100644 board/beagle/beaglev_fire/Makefile
+ create mode 100644 board/beagle/beaglev_fire/beaglev_fire.c
+ create mode 100644 configs/beaglev_fire_defconfig
+ create mode 100644 include/configs/beaglev_fire.h
+
+diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
+index 79867656b15..ad7589123c6 100644
+--- a/arch/riscv/Kconfig
++++ b/arch/riscv/Kconfig
+@@ -17,6 +17,9 @@ config TARGET_ANDES_VOYAGER
+ config TARGET_BANANAPI_F3
+ 	bool "Support BananaPi F3 Board"
+ 
++config TARGET_BEAGLEBOARD_BEAGLEVFIRE
++	bool "Support BeagleBoard BeagleV-Fire Board (based on Microchip MPFS)"
++
+ config TARGET_K230_CANMV
+ 	bool "Support K230 CanMV Board"
+ 
+@@ -106,6 +109,7 @@ config SPL_ZERO_MEM_BEFORE_USE
+ source "board/andestech/ae350/Kconfig"
+ source "board/andestech/voyager/Kconfig"
+ source "board/aspeed/ibex_ast2700/Kconfig"
++source "board/beagle/beaglev_fire/Kconfig"
+ source "board/canaan/k230_canmv/Kconfig"
+ source "board/emulation/qemu-riscv/Kconfig"
+ source "board/microchip/mpfs_generic/Kconfig"
+diff --git a/board/beagle/beaglev_fire/Kconfig b/board/beagle/beaglev_fire/Kconfig
+new file mode 100644
+index 00000000000..279d38b3aa9
+--- /dev/null
++++ b/board/beagle/beaglev_fire/Kconfig
+@@ -0,0 +1,39 @@
++if TARGET_BEAGLEBOARD_BEAGLEVFIRE
++
++config SYS_BOARD
++	default "beaglev_fire"
++
++config SYS_VENDOR
++	default "beagle"
++
++config SYS_CPU
++	default "mpfs"
++
++config SYS_CONFIG_NAME
++	default "beaglev_fire"
++
++config TEXT_BASE
++	default 0x80000000 if !RISCV_SMODE
++	default 0x80200000 if RISCV_SMODE
++
++config BOARD_SPECIFIC_OPTIONS # dummy
++	def_bool y
++	select MICROCHIP_MPFS
++	select BOARD_EARLY_INIT_F
++	select BOARD_LATE_INIT
++	imply SMP
++	imply CMD_DHCP
++	imply CMD_EXT2
++	imply CMD_EXT4
++	imply CMD_FAT
++	imply CMD_FS_GENERIC
++	imply CMD_NET
++	imply CMD_PING
++	imply CMD_MMC
++	imply DOS_PARTITION
++	imply EFI_PARTITION
++	imply IP_DYN
++	imply ISO_PARTITION
++	imply PHY_LIB
++	imply PHY_VITESSE
++endif
+diff --git a/board/beagle/beaglev_fire/MAINTAINERS b/board/beagle/beaglev_fire/MAINTAINERS
+new file mode 100644
+index 00000000000..a5dad93ee99
+--- /dev/null
++++ b/board/beagle/beaglev_fire/MAINTAINERS
+@@ -0,0 +1,7 @@
++BeagleBoard MPFS BeagleV-Fire
++M:	Cyril Jean <cyril.jean@microchip.com>
++M:	Jamie Gibbons <jamie.gibbons@microchip.com>
++S:	Maintained
++F:	board/beagle/beaglev_fire/
++F:	include/configs/beaglev_fire.h
++F:	configs/beaglev_fire_defconfig
+\ No newline at end of file
+diff --git a/board/beagle/beaglev_fire/Makefile b/board/beagle/beaglev_fire/Makefile
+new file mode 100644
+index 00000000000..a4109a8aad4
+--- /dev/null
++++ b/board/beagle/beaglev_fire/Makefile
+@@ -0,0 +1,6 @@
++# SPDX-License-Identifier: GPL-2.0+
++#
++# Copyright (C) 2023 Microchip Technology Inc.
++#
++
++obj-y	+= beaglev_fire.o
+\ No newline at end of file
+diff --git a/board/beagle/beaglev_fire/beaglev_fire.c b/board/beagle/beaglev_fire/beaglev_fire.c
+new file mode 100644
+index 00000000000..b2f18c455b7
+--- /dev/null
++++ b/board/beagle/beaglev_fire/beaglev_fire.c
+@@ -0,0 +1,117 @@
++// SPDX-License-Identifier: GPL-2.0+
++/*
++ * Copyright (C) 2019-2023 Microchip Technology Inc.
++ */
++
++#include <dm.h>
++#include <dm/devres.h>
++#include <env.h>
++#include <asm/global_data.h>
++#include <asm/io.h>
++#include <linux/compat.h>
++#include <mpfs-mailbox.h>
++
++DECLARE_GLOBAL_DATA_PTR;
++
++#define MPFS_SYSREG_SOFT_RESET	((unsigned int *)0x20002088)
++#define PERIPH_RESET_VALUE		0x800001e8u
++
++#if IS_ENABLED(CONFIG_MPFS_SYSCONTROLLER)
++static unsigned char mac_addr[6];
++#endif
++
++int board_init(void)
++{
++	/* For now nothing to do here. */
++
++	return 0;
++}
++
++int board_early_init_f(void)
++{
++	unsigned int val;
++
++	/* Reset uart, mmc peripheral */
++	val = readl(MPFS_SYSREG_SOFT_RESET);
++	val = (val & ~(PERIPH_RESET_VALUE));
++	writel(val, MPFS_SYSREG_SOFT_RESET);
++
++	return 0;
++}
++
++int board_late_init(void)
++{
++#if IS_ENABLED(CONFIG_MPFS_SYSCONTROLLER)
++	u32 ret;
++	int node;
++	u8 device_serial_number[16] = {0};
++	void *blob = (void *)gd->fdt_blob;
++	struct udevice *dev;
++	struct mpfs_sys_serv *sys_serv_priv;
++
++	ret = uclass_get_device_by_name(UCLASS_MISC, "syscontroller", &dev);
++	if (ret) {
++		debug("%s: system controller setup failed\n", __func__);
++		return ret;
++	}
++
++	sys_serv_priv = devm_kzalloc(dev, sizeof(*sys_serv_priv), GFP_KERNEL);
++	if (!sys_serv_priv)
++		return -ENOMEM;
++
++	sys_serv_priv->dev = dev;
++
++	sys_serv_priv->sys_controller = mpfs_syscontroller_get(dev);
++	ret = IS_ERR(sys_serv_priv->sys_controller);
++	if (ret) {
++		debug("%s:  Failed to register system controller sub device ret=%d\n", __func__, ret);
++		return -ENODEV;
++	}
++
++	ret = mpfs_syscontroller_read_sernum(sys_serv_priv, device_serial_number);
++	if (ret) {
++		printf("Cannot read device serial number\n");
++		return -EINVAL;
++	}
++
++	/* Update MAC address with device serial number */
++	mac_addr[0] = 0x00;
++	mac_addr[1] = 0x04;
++	mac_addr[2] = 0xA3;
++	mac_addr[3] = device_serial_number[2];
++	mac_addr[4] = device_serial_number[1];
++	mac_addr[5] = device_serial_number[0];
++
++	node = fdt_path_offset(blob, "/soc/ethernet@20110000");
++	if (node >= 0) {
++		ret = fdt_setprop(blob, node, "local-mac-address", mac_addr, 6);
++		if (ret) {
++			printf("Error setting local-mac-address property for ethernet@20110000\n");
++			return -ENODEV;
++		}
++	}
++
++	mpfs_syscontroller_process_dtbo(sys_serv_priv);
++#endif
++
++	return 0;
++}
++
++int ft_board_setup(void *blob, struct bd_info *bd)
++{
++#if IS_ENABLED(CONFIG_MPFS_SYSCONTROLLER)
++	u32 ret;
++	int node;
++
++	node = fdt_path_offset(blob, "/soc/ethernet@20110000");
++	if (node >= 0) {
++		ret = fdt_setprop(blob, node, "local-mac-address", mac_addr, 6);
++		if (ret) {
++			printf("Error setting local-mac-address property for ethernet@20110000\n");
++			return -ENODEV;
++		}
++	}
++#endif
++
++	return 0;
++}
+\ No newline at end of file
+diff --git a/configs/beaglev_fire_defconfig b/configs/beaglev_fire_defconfig
+new file mode 100644
+index 00000000000..8cb86168f2d
+--- /dev/null
++++ b/configs/beaglev_fire_defconfig
+@@ -0,0 +1,29 @@
++CONFIG_RISCV=y
++CONFIG_SYS_MALLOC_LEN=0x800000
++CONFIG_SYS_MALLOC_F_LEN=0x2000
++CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
++CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
++CONFIG_ENV_SIZE=0x2000
++CONFIG_DM_GPIO=y
++CONFIG_DEFAULT_DEVICE_TREE="microchip/mpfs-beaglev-fire"
++CONFIG_OF_LIBFDT_OVERLAY=y
++CONFIG_SYS_BOOTM_LEN=0x4000000
++CONFIG_SYS_LOAD_ADDR=0x80200000
++CONFIG_TARGET_BEAGLEBOARD_BEAGLEVFIRE=y
++CONFIG_ARCH_RV64I=y
++CONFIG_RISCV_SMODE=y
++CONFIG_FIT=y
++CONFIG_DISTRO_DEFAULTS=y
++CONFIG_OF_BOARD_SETUP=y
++CONFIG_DEFAULT_FDT_FILE="microchip/mchp-beaglev-fire.dtb"
++CONFIG_SYS_CBSIZE=256
++CONFIG_SYS_PBSIZE=282
++CONFIG_DISPLAY_CPUINFO=y
++CONFIG_DISPLAY_BOARDINFO=y
++CONFIG_SYS_PROMPT="RISC-V # "
++CONFIG_CMD_GPIO=y
++CONFIG_OF_UPSTREAM=y
++CONFIG_BOOTP_SEND_HOSTNAME=y
++CONFIG_MPFS_GPIO=y
++CONFIG_MMC_SPI=y
++CONFIG_SYSRESET=y
+diff --git a/include/configs/beaglev_fire.h b/include/configs/beaglev_fire.h
+new file mode 100644
+index 00000000000..e3ee0f02f2d
+--- /dev/null
++++ b/include/configs/beaglev_fire.h
+@@ -0,0 +1,57 @@
++/* SPDX-License-Identifier: GPL-2.0+ */
++/*
++ * Copyright (C) 2023 Microchip Technology Inc.
++ */
++
++#ifndef __CONFIG_H
++#define __CONFIG_H
++
++#include <linux/sizes.h>
++
++#define CFG_SYS_SDRAM_BASE       0x80000000
++
++/* Environment options */
++
++#if defined(CONFIG_CMD_DHCP)
++#define BOOT_TARGET_DEVICES_DHCP(func)	func(DHCP, dhcp, na)
++#else
++#define BOOT_TARGET_DEVICES_DHCP(func)
++#endif
++
++#if defined(CONFIG_CMD_MMC)
++#define BOOT_TARGET_DEVICES_MMC(func)	func(MMC, mmc, 0)
++#else
++#define BOOT_TARGET_DEVICES_MMC(func)
++#endif
++
++#define BOOT_TARGET_DEVICES(func) \
++	BOOT_TARGET_DEVICES_MMC(func)\
++	BOOT_TARGET_DEVICES_DHCP(func)
++
++#define BOOTENV_DESIGN_OVERLAYS \
++	"design_overlays=" \
++	"if test -n ${no_of_overlays}; then " \
++		"setenv inc 1; " \
++		"setenv idx 0; " \
++		"fdt resize ${dtbo_size}; " \
++		"while test $idx -ne ${no_of_overlays}; do " \
++			"setenv dtbo_name dtbo_image${idx}; " \
++			"setenv fdt_cmd \"fdt apply $\"$dtbo_name; " \
++			"run fdt_cmd; " \
++			"setexpr idx $inc + $idx; " \
++		"done; " \
++	"fi;\0 " \
++
++#include <config_distro_bootcmd.h>
++
++#define CFG_EXTRA_ENV_SETTINGS \
++	"bootm_size=0x10000000\0" \
++	"kernel_addr_r=0x80200000\0" \
++	"fdt_addr_r=0x8a000000\0" \
++	"fdtoverlay_addr_r=0x8a080000\0" \
++	"ramdisk_addr_r=0x8aa00000\0" \
++	"scriptaddr=0x8e000000\0" \
++	BOOTENV_DESIGN_OVERLAYS \
++	BOOTENV \
++
++#endif /* __CONFIG_H */
+-- 
+2.51.0
+
diff --git a/recipes-bsp/u-boot/files/beaglev-fire-config.yaml b/recipes-bsp/u-boot/files/beaglev-fire-config.yaml
new file mode 100644
index 00000000..c0806c1f
--- /dev/null
+++ b/recipes-bsp/u-boot/files/beaglev-fire-config.yaml
@@ -0,0 +1,17 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens, 2025
+#
+# Authors:
+#  Jan Kiszka <jan.kiszka@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+set-name: 'PolarFire-SoC-HSS::U-Boot'
+
+hart-entry-points: {u54_1: '0x80200000', u54_2: '0x80200000', u54_3: '0x80200000', u54_4: '0x80200000'}
+
+payloads:
+  u-boot.bin: {exec-addr: '0x80200000', owner-hart: u54_1, secondary-hart: u54_2, secondary-hart: u54_3, secondary-hart: u54_4, priv-mode: prv_s}
diff --git a/recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb b/recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
new file mode 100644
index 00000000..6249fa1a
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
@@ -0,0 +1,23 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens, 2026
+#
+# Authors:
+#  Jan Kiszka <jan.kiszka@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+require u-boot-common-${PV}.inc
+
+COMPATIBLE_MACHINE = "^(beaglev-fire)$"
+
+SRC_URI += "file://beaglev-fire-config.yaml;subdir=debian"
+
+DEPENDS += "hss-payload-generator-native"
+DEBIAN_BUILD_DEPENDS += ", hss-payload-generator:native"
+
+U_BOOT_CONFIG = "beaglev_fire_defconfig"
+U_BOOT_BIN = "u-boot.bin"
+U_BOOT_EXTRA_BUILDCMD = "hss-payload-generator -c debian/beaglev-fire-config.yaml payload.bin"
diff --git a/recipes-bsp/u-boot/u-boot-common-2026.01.inc b/recipes-bsp/u-boot/u-boot-common-2026.01.inc
index 7b911660..9d12dd92 100644
--- a/recipes-bsp/u-boot/u-boot-common-2026.01.inc
+++ b/recipes-bsp/u-boot/u-boot-common-2026.01.inc
@@ -21,6 +21,9 @@ SRC_URI += " \
     file://0004-arch-arm-mach-socfpga-Adjust-a-raw-sectors-for-MMC-l.patch \
     file://0005-configs-socfpga-Fix-de0_nano_soc-boot.patch \
     file://0006-configs-socfpga-Permit-EFI-booting.patch \
+    file://0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch \
+    file://0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch \
+    file://0003-riscv-Add-support-for-BeagleV-Fire.patch \
     file://rules.tmpl;subdir=debian"
 SRC_URI[sha256sum] = "b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54"
 
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 6/9] linux-cip: Update cip-kernel-config revision
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (4 preceding siblings ...)
  2026-02-02 12:57 ` [isar-cip-core][PATCH 5/9] u-boot: Add recipe for BeagleV-Fire Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 7/9] Add BeagleV-Fire board Jan Kiszka
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

Brings support for the BeagleV-Fire, the RZ/V2N, RZ/T2H, and RZ/N2H
Renesas SoCs.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 recipes-kernel/linux/cip-kernel-config.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/cip-kernel-config.inc b/recipes-kernel/linux/cip-kernel-config.inc
index 0e0326f9..05a0f4a4 100644
--- a/recipes-kernel/linux/cip-kernel-config.inc
+++ b/recipes-kernel/linux/cip-kernel-config.inc
@@ -15,7 +15,7 @@ SRC_URI:append = " ${@ \
     if bb.utils.to_boolean(d.getVar('USE_CIP_KERNEL_CONFIG')) else '' \
     }"
 
-SRCREV_cip-kernel-config ?= "cda3f5841dec33b81f24cedcc32ea09bb58bbfb5"
+SRCREV_cip-kernel-config ?= "1dc986a03d529225404696a5169c29b6958f453c"
 
 do_fetch[vardeps] += "SRCREV_cip-kernel-config"
 
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 7/9] Add BeagleV-Fire board
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (5 preceding siblings ...)
  2026-02-02 12:57 ` [isar-cip-core][PATCH 6/9] linux-cip: Update cip-kernel-config revision Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 8/9] kas: Add BeagleV-Fire target Jan Kiszka
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

This is the new RISC-V reference target. Add its machine config and the
wks files for regular and SWUpdate-based UEFI booting.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 conf/machine/beaglev-fire.conf                | 22 +++++++++++++++++++
 .../u-boot/u-boot-beaglev-fire_2026.01.bb     |  5 +++++
 wic/beaglev-fire-efibootguard.wks.in          | 20 +++++++++++++++++
 wic/beaglev-fire.wks                          | 14 ++++++++++++
 4 files changed, 61 insertions(+)
 create mode 100644 conf/machine/beaglev-fire.conf
 create mode 100644 wic/beaglev-fire-efibootguard.wks.in
 create mode 100644 wic/beaglev-fire.wks

diff --git a/conf/machine/beaglev-fire.conf b/conf/machine/beaglev-fire.conf
new file mode 100644
index 00000000..585c7803
--- /dev/null
+++ b/conf/machine/beaglev-fire.conf
@@ -0,0 +1,22 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2025
+#
+# Authors:
+#  Jan Kiszka <jan.kiszka@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+DISTRO_ARCH = "riscv64"
+
+IMAGE_FSTYPES ?= "wic"
+
+IMAGER_INSTALL:wic += "${SYSTEMD_BOOTLOADER_INSTALL} u-boot-beaglev-fire"
+IMAGER_BUILD_DEPS += "u-boot-beaglev-fire"
+
+USE_CIP_KERNEL_CONFIG = "1"
+KERNEL_DEFCONFIG = "cip-kernel-config/${KERNEL_DEFCONFIG_VERSION}/${KERNEL_ARCH}/beaglev-fire_defconfig"
+
+WDOG_TIMEOUT = "0"
diff --git a/recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb b/recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
index 6249fa1a..bde8c1ef 100644
--- a/recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
+++ b/recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
@@ -21,3 +21,8 @@ DEBIAN_BUILD_DEPENDS += ", hss-payload-generator:native"
 U_BOOT_CONFIG = "beaglev_fire_defconfig"
 U_BOOT_BIN = "u-boot.bin"
 U_BOOT_EXTRA_BUILDCMD = "hss-payload-generator -c debian/beaglev-fire-config.yaml payload.bin"
+
+do_prepare_build:append() {
+    echo "payload.bin /usr/lib/u-boot/${MACHINE}" > \
+        ${S}/debian/u-boot-${MACHINE}.install
+}
diff --git a/wic/beaglev-fire-efibootguard.wks.in b/wic/beaglev-fire-efibootguard.wks.in
new file mode 100644
index 00000000..f24b53c4
--- /dev/null
+++ b/wic/beaglev-fire-efibootguard.wks.in
@@ -0,0 +1,20 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019-2025
+#
+# SPDX-License-Identifier: MIT
+#
+
+part --source rawcopy --sourceparams "file=/usr/lib/u-boot/beaglev-fire/payload.bin" --part-type 21686148-6449-6E6F-744E-656564454649
+
+include ebg-sysparts.inc
+
+part --source rawcopy --sourceparams "file=${IMAGE_FULLNAME}.${RO_ROOTFS_TYPE}" --align 1024 --fixed-size 1G --uuid "${ABROOTFS_PART_UUID_A}" --part-type 0FC63DAF-8483-4772-8E79-3D69D8477DE4 --part-name systema
+part --source empty --align 1024 --fixed-size 1G --uuid "${ABROOTFS_PART_UUID_B}" --part-type 0FC63DAF-8483-4772-8E79-3D69D8477DE4 --part-name systemb
+
+# var and optional home are extra partitions
+${WIC_HOME_PARTITION}
+part /var --fstype=ext4 --label var --align 1024  --size 512M --fsuuid 96be3374-4258-11ee-be56-0242ac120002 --uuid 9947ed57-102f-4038-880c-9cf5cacaf153
+
+bootloader --ptable gpt --append="rootwait watchdog.handle_boot_enabled=0"
diff --git a/wic/beaglev-fire.wks b/wic/beaglev-fire.wks
new file mode 100644
index 00000000..89e19f23
--- /dev/null
+++ b/wic/beaglev-fire.wks
@@ -0,0 +1,14 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens, 2025
+#
+# SPDX-License-Identifier: MIT
+#
+
+part --source rawcopy --sourceparams "file=/usr/lib/u-boot/beaglev-fire/payload.bin" --part-type 21686148-6449-6E6F-744E-656564454649
+
+part /boot --source bootimg-efi-isar --sourceparams "loader=systemd-boot" --label efi --part-type EF00 --align 1024 --use-uuid
+part / --source rootfs --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --use-uuid --exclude-path boot/
+
+bootloader --ptable gpt --timeout=0 --append "rootwait rw"
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 8/9] kas: Add BeagleV-Fire target
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (6 preceding siblings ...)
  2026-02-02 12:57 ` [isar-cip-core][PATCH 7/9] Add BeagleV-Fire board Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-02 12:57 ` [isar-cip-core][PATCH 9/9] ci: Add BeagleV-Fire build target Jan Kiszka
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 Kconfig                    | 10 ++++++++--
 kas/board/beaglev-fire.yml | 12 ++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)
 create mode 100644 kas/board/beaglev-fire.yml

diff --git a/Kconfig b/Kconfig
index b60e29df..772b8cda 100644
--- a/Kconfig
+++ b/Kconfig
@@ -114,6 +114,11 @@ config TARGET_QEMU_RISCV64
 	select ARCH_RISCV64
 	select HAS_SWUPDATE if KERNEL_6_1 || KERNEL_6_12
 
+config TARGET_BEAGLEV_FIRE
+	bool "BeagleV-Fire (riscv64)"
+	select ARCH_RISCV64
+	select HAS_SWUPDATE
+
 endchoice
 
 config KAS_INCLUDE_BOARD
@@ -128,6 +133,7 @@ config KAS_INCLUDE_BOARD
 	default "kas/board/de0-nano-soc.yml" if TARGET_DE0_NANO_SOC
 	default "kas/board/iwg20m.yml" if TARGET_IWG20D
 	default "kas/board/qemu-riscv64.yml" if TARGET_QEMU_RISCV64
+	default "kas/board/beaglev-fire.yml" if TARGET_BEAGLEV_FIRE
 
 comment "Kernel options"
 
@@ -148,11 +154,11 @@ config KERNEL_4_19
 
 config KERNEL_5_10
 	bool "Kernel 5.10.x-cip"
-	depends on !TARGET_TI_AM62PX_SK
+	depends on !TARGET_TI_AM62PX_SK && !TARGET_BEAGLEV_FIRE
 
 config KERNEL_6_1
 	bool "Kernel 6.1.x-cip"
-	depends on !TARGET_TI_AM62PX_SK
+	depends on !TARGET_TI_AM62PX_SK && !TARGET_BEAGLEV_FIRE
 
 config KERNEL_6_12
 	bool "Kernel 6.12.x-cip"
diff --git a/kas/board/beaglev-fire.yml b/kas/board/beaglev-fire.yml
new file mode 100644
index 00000000..07345f14
--- /dev/null
+++ b/kas/board/beaglev-fire.yml
@@ -0,0 +1,12 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2025
+#
+# SPDX-License-Identifier: MIT
+#
+
+header:
+  version: 14
+
+machine: beaglev-fire
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [isar-cip-core][PATCH 9/9] ci: Add BeagleV-Fire build target
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (7 preceding siblings ...)
  2026-02-02 12:57 ` [isar-cip-core][PATCH 8/9] kas: Add BeagleV-Fire target Jan Kiszka
@ 2026-02-02 12:57 ` Jan Kiszka
  2026-02-10  5:04 ` [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire nobuhiro.iwamatsu.x90
  2026-02-12 12:33 ` Jan Kiszka
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 12:57 UTC (permalink / raw)
  To: cip-dev

From: Jan Kiszka <jan.kiszka@siemens.com>

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db8d642e..602c5034 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -164,6 +164,13 @@ build:qemu-riscv64:
     target: qemu-riscv64
     use_rt: disable
 
+build:beaglev-fire:
+  extends:
+    - .build_base
+  variables:
+    target: beaglev-fire
+    use_rt: enable
+
 # test images
 build:x86-uefi-test:
   extends:
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [cip-dev] [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
  2026-02-02 12:57 ` [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl Jan Kiszka
@ 2026-02-02 13:22   ` Quirin Gylstorff
  2026-02-02 15:26     ` Jan Kiszka
  0 siblings, 1 reply; 17+ messages in thread
From: Quirin Gylstorff @ 2026-02-02 13:22 UTC (permalink / raw)
  To: cip-dev



On 2/2/26 1:57 PM, Jan Kiszka via lists.cip-project.org wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Allows custom post-processing steps without having to fork the
> rules.tmpl file.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>   recipes-bsp/u-boot/files/rules.tmpl          | 1 +
>   recipes-bsp/u-boot/u-boot-common-2025.07.inc | 4 ++++
>   2 files changed, 5 insertions(+)
> 
> diff --git a/recipes-bsp/u-boot/files/rules.tmpl b/recipes-bsp/u-boot/files/rules.tmpl
> index bbf7bb5a..560a6540 100755
> --- a/recipes-bsp/u-boot/files/rules.tmpl
> +++ b/recipes-bsp/u-boot/files/rules.tmpl
> @@ -31,6 +31,7 @@ override_dh_auto_build:
>   		./scripts/get_default_envs.sh >u-boot-initial-env; \
>   	fi
>   	$(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 tools-only envtools
> +	${U_BOOT_EXTRA_BUILDCMD}
>   
>   override_dh_auto_install:
>   	mv tools/env/lib.a tools/env/libubootenv.a
> diff --git a/recipes-bsp/u-boot/u-boot-common-2025.07.inc b/recipes-bsp/u-boot/u-boot-common-2025.07.inc
> index ed44bad0..7d91a8d1 100644
> --- a/recipes-bsp/u-boot/u-boot-common-2025.07.inc
> +++ b/recipes-bsp/u-boot/u-boot-common-2025.07.inc
> @@ -39,6 +39,10 @@ S = "${WORKDIR}/u-boot-${PV}"
>   DEBIAN_BUILD_DEPENDS += ", libssl-dev:native, libssl-dev:${DISTRO_ARCH}, \
>       libgnutls28-dev:native, libgnutls28-dev:${DISTRO_ARCH}"
>   
> +U_BOOT_EXTRA_BUILDCMD ?= ""
Should we not add this variable to the rules.tmpl in Isar? The 
difference currently are secure boot signing and this variable?

Quirin
> +
> +TEMPLATE_VARS += "U_BOOT_EXTRA_BUILDCMD"
> +
>   STATIC_KEYS_BUILD_DEPENDS = ", \
>       openssl, efivar, secure-boot-secrets, python3-openssl:native"
>   STATIC_KEYS_BUILD_DEPENDS:append:buster   = ", pesign"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#21801): https://lists.cip-project.org/g/cip-dev/message/21801
> Mute This Topic: https://lists.cip-project.org/mt/117595046/1753640
> Group Owner: cip-dev+owner@lists.cip-project.org
> Unsubscribe: https://lists.cip-project.org/g/cip-dev/unsub [quirin.gylstorff@siemens.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [cip-dev] [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
  2026-02-02 13:22   ` [cip-dev] " Quirin Gylstorff
@ 2026-02-02 15:26     ` Jan Kiszka
  0 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-02 15:26 UTC (permalink / raw)
  To: Quirin Gylstorff, cip-dev

On 02.02.26 14:22, Quirin Gylstorff wrote:
> 
> 
> On 2/2/26 1:57 PM, Jan Kiszka via lists.cip-project.org wrote:
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Allows custom post-processing steps without having to fork the
>> rules.tmpl file.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>> ---
>>   recipes-bsp/u-boot/files/rules.tmpl          | 1 +
>>   recipes-bsp/u-boot/u-boot-common-2025.07.inc | 4 ++++
>>   2 files changed, 5 insertions(+)
>>
>> diff --git a/recipes-bsp/u-boot/files/rules.tmpl b/recipes-bsp/u-boot/
>> files/rules.tmpl
>> index bbf7bb5a..560a6540 100755
>> --- a/recipes-bsp/u-boot/files/rules.tmpl
>> +++ b/recipes-bsp/u-boot/files/rules.tmpl
>> @@ -31,6 +31,7 @@ override_dh_auto_build:
>>           ./scripts/get_default_envs.sh >u-boot-initial-env; \
>>       fi
>>       $(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1
>> tools-only envtools
>> +    ${U_BOOT_EXTRA_BUILDCMD}
>>     override_dh_auto_install:
>>       mv tools/env/lib.a tools/env/libubootenv.a
>> diff --git a/recipes-bsp/u-boot/u-boot-common-2025.07.inc b/recipes-
>> bsp/u-boot/u-boot-common-2025.07.inc
>> index ed44bad0..7d91a8d1 100644
>> --- a/recipes-bsp/u-boot/u-boot-common-2025.07.inc
>> +++ b/recipes-bsp/u-boot/u-boot-common-2025.07.inc
>> @@ -39,6 +39,10 @@ S = "${WORKDIR}/u-boot-${PV}"
>>   DEBIAN_BUILD_DEPENDS += ", libssl-dev:native, libssl-dev:
>> ${DISTRO_ARCH}, \
>>       libgnutls28-dev:native, libgnutls28-dev:${DISTRO_ARCH}"
>>   +U_BOOT_EXTRA_BUILDCMD ?= ""
> Should we not add this variable to the rules.tmpl in Isar? The
> difference currently are secure boot signing and this variable?
> 

Right, this could be valuable in upstream as well, but even then we
would currently still not able to use it due to our extra static key
injection steps.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (8 preceding siblings ...)
  2026-02-02 12:57 ` [isar-cip-core][PATCH 9/9] ci: Add BeagleV-Fire build target Jan Kiszka
@ 2026-02-10  5:04 ` nobuhiro.iwamatsu.x90
  2026-02-10  8:18   ` Jan Kiszka
  2026-02-12 12:33 ` Jan Kiszka
  10 siblings, 1 reply; 17+ messages in thread
From: nobuhiro.iwamatsu.x90 @ 2026-02-10  5:04 UTC (permalink / raw)
  To: jan.kiszka, cip-dev; +Cc: s-adivi

Hi,

Thanks for your patch.
I tested this patch series on 049ea8ff8370a10d88214b2d488ef6f7c1d28a4e (master)
My board fails to boot. I pasted the boot log below.

Best regards,
  Nobuhiro

```
HSS: decompressing from eNVM to L2 Scratch ... Passed
DDR training ... Passed ( 5401 ms)

---------------------------------
--        BeagleV-Fire         --
---------------------------------

[5.464693] PolarFire(R) SoC Hart Software Services (HSS) - version 0.99.36-BVF-0.3.0
MPFS HAL version 2.2.104 / DDR Driver version 0.4.023 / Mi-V IHC version 0.1.1 / BOARD=bvf
(c) Copyright 2017-2022 Microchip FPGA Embedded Systems Solutions.

incorporating OpenSBI - version 1.2
(c) Copyright 2019-2022 Western Digital Corporation.

[5.495680] Build ID: 3f0ed536ff6a0aaef3c9b81896adaee39ec4d8c1
[5.502538] Built with the following tools:
 - riscv64-unknown-elf-gcc (xPack GNU RISC-V Embedded GCC (Microsemi SoftConsole build), 64-bit) 8.3.0
 - GNU ld (xPack GNU RISC-V Embedded GCC (Microsemi SoftConsole build), 64-bit) 2.32

[5.524411] NOTICE: Running from L2 Scratchpad

[5.530053] Serial Number:
9d5ab5e2c5711676ace9e5cd4b2b1dd000000000000000000000000000000000000000000000000000000000000000000000
[5.542726] Segment Configuration:
        Cached: SEG0_0: offset 0x0080000000, physical DDR 0x00000000
        Cached: SEG0_1: offset 0x1000000000, physical DDR 0x00000000
    Non-cached: SEG1_2: offset 0x00c0000000, physical DDR 0x00000000
    Non-cached: SEG1_3: offset 0x1400000000, physical DDR 0x00000000
Non-cached WCB: SEG1_4: offset 0x00d0000000, physical DDR 0x00000000
Non-cached WCB: SEG1_5: offset 0x1800000000, physical DDR 0x00000000
[5.583609] L2 Cache Configuration:
    L2-Scratchpad:  4 ways (512 KiB)
         L2-Cache:  8 ways (1024 KiB)
           L2-LIM:  4 ways (512 KiB)
[5.598104] DDR-Lo size is   32 MiB
[5.602358] DDR-Hi size is 1888 MiB
[5.626176] Design Info:
    Design Name: CI_DEFAULT_FD28A2CA1789CDC1137
    Design Version: 02.00.2
[5.636592] Attempting to select eMMC ... Passed
[5.891124] User button NOT pressed
Press a key to enter CLI, ESC to skip
Timeout in 1 second
..
[6.900764] CLI boot interrupt timeout
[6.905278] Initializing Mi-V IHC
[6.909357] Initializing IPI Queues (3304 bytes @ a02e660)...
[6.915867] Initializing PMPs
[6.919600] Initializing Boot Image ...
[6.924200] Trying to boot via MMC ...
[6.928714] Attempting to select eMMC ... Passed
[7.183124] Preparing to copy from MMC to DDR ...
[7.188654] Validated GPT Header ...
[7.204547] Validated GPT Partition Entries ...
[7.209842] Boot Partition found at index 0
[7.214789] Attempting to read image header (1632 bytes) ...
[7.221221] Copying 601712 bytes to 0x103fc00000
[7.230057] MMC: Boot Image registered ...
[7.234918] Boot image passed CRC
[7.239258] Boot image set name: "PolarFire-SoC-HSS::U-Boot"


U-Boot 2026.01 (Jan 01 1970 - 01:00:00 +0000)

alloc space exhausted ptr 2010 limit 2000
CPU:   sifive,u54-mc
Model: BeagleBoard BeagleV-Fire
DRAM:  1 GiB
Core:  68 devices, 14 uclasses, devicetree: separate
MMC:   mmc@20008000: 0
Loading Environment from nowhere... OK
In:    serial@20000000
Out:   serial@20000000
Err:   serial@20000000
Net:
Error: ethernet@20110000 No valid MAC address found.
No ethernet found.

Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Failed to load '/'
Failed to load EFI variables

Error: ethernet@20110000 No valid MAC address found.

Error: ethernet@20110000 No valid MAC address found.

Error: ethernet@20110000 No valid MAC address found.

Error: ethernet@20110000 No valid MAC address found.
Booting: Label: mmc 0 Device path: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-)
EFI stub: Booting Linux Kernel...
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...

Error: ethernet@20110000 No valid MAC address found.

Error: ethernet@20110000 No valid MAC address found.
[    0.000000] Linux version 6.12.63-cip15 (isar-users@googlegroups.com) (riscv64-linux-gnu-gcc (Debian 14.2.0-19) 140
[    0.000000] Machine model: BeagleBoard BeagleV-Fire
[    0.000000] SBI specification v1.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10002
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI SRST extension detected
[    0.000000] efi: EFI v2.11 by Das U-Boot
[    0.000000] efi: RTPROP=0xbe335040 SMBIOS 3.0=0xbf387000 INITRD=0xbe2ed040 MEMRESERVE=0xbe2ec040
[    0.000000] OF: reserved mem: failed to allocate memory for node 'non-cached-low-buffer': size 64 MiB
[    0.000000] OF: reserved mem: failed to allocate memory for node 'non-cached-high-buffer': size 256 MiB
[    0.000000] OF: reserved mem: 0x00000000d8000000..0x00000000d9ffffff (32768 KiB) nomap non-reusable buffer@d8000000
[    0.000000] OF: reserved mem: 0x00000000c8000000..0x00000000c9ffffff (32768 KiB) nomap non-reusable buffer@c8000000
[    0.000000] OF: reserved mem: 0x0000000088000000..0x0000000089ffffff (32768 KiB) nomap non-reusable buffer@88000000
[    0.000000] Reserved memory: created DMA memory pool at 0x000000103fc00000, size 4 MiB
[    0.000000] OF: reserved mem: initialized node hss-buffer@103fc00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x000000103fc00000..0x000000103fffffff (4096 KiB) nomap non-reusable hss-buffer@103f0
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000103fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x0000000089ffffff]
[    0.000000]   node   0: [mem 0x000000008a000000-0x00000000bdffffff]
[    0.000000]   node   0: [mem 0x00000000be000000-0x00000000be000fff]
[    0.000000]   node   0: [mem 0x00000000be001000-0x00000000be334fff]
[    0.000000]   node   0: [mem 0x00000000be335000-0x00000000be335fff]
[    0.000000]   node   0: [mem 0x00000000be336000-0x00000000be336fff]
[    0.000000]   node   0: [mem 0x00000000be337000-0x00000000be358fff]
[    0.000000]   node   0: [mem 0x00000000be359000-0x00000000bf386fff]
[    0.000000]   node   0: [mem 0x00000000bf387000-0x00000000bf387fff]
[    0.000000]   node   0: [mem 0x00000000bf388000-0x00000000bfb6bfff]
[    0.000000]   node   0: [mem 0x00000000bfb6c000-0x00000000bfb6dfff]
[    0.000000]   node   0: [mem 0x00000000bfb6e000-0x00000000bfffffff]
[    0.000000]   node   0: [mem 0x00000000c8000000-0x00000000c9ffffff]
[    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000d9ffffff]
[    0.000000]   node   0: [mem 0x000000103fc00000-0x000000103fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000103fffffff]
[    0.000000] On node 0, zone DMA32: 24576 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 56320 pages in unavailable ranges
[    0.000000] SBI HSM extension detected
[    0.000000] Falling back to deprecated "riscv,isa"
[    0.000000] riscv: base ISA extensions acdfim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 22 pages/cpu s50024 r8192 d31896 u90112
[    0.000000] Kernel command line: initrd=\initrd.img-6.12.63-cip15 LABEL=Boot root=PARTUUID=bac9149c-8332-4f2b-a225w
[    0.000000] Unknown kernel command line parameters "LABEL=Boot", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 279552
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000b4e00000-0x00000000b8e00000] (64MB)
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xffffffc4fea00000 - 0xffffffc4ff000000   (6144 kB)
[    0.000000]       pci io : 0xffffffc4ff000000 - 0xffffffc500000000   (  16 MB)
[    0.000000]      vmemmap : 0xffffffc500000000 - 0xffffffc600000000   (4096 MB)
[    0.000000]      vmalloc : 0xffffffc600000000 - 0xffffffd600000000   (  64 GB)
[    0.000000]      modules : 0xffffffff01794000 - 0xffffffff80000000   (2024 MB)
[    0.000000]       lowmem : 0xffffffd600000000 - 0xffffffe5c0000000   (  63 GB)
[    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] rcu:     RCU debug extended QS entry/exit.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] riscv: providing IPIs using SBI IPI extension
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361s
[    0.000003] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
[    0.000628] Console: colour dummy device 80x25
[    0.000658] printk: legacy console [tty0] enabled
[    0.002546] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000)
[    0.002624] pid_max: default: 32768 minimum: 301
[    0.002845] LSM: initializing lsm=capability
[    0.003339] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.003484] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.007294] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3
[    0.012353] riscv: ELF compat mode unsupported
[    0.012383] ASID allocator disabled (0 bits)
[    0.012907] rcu: Hierarchical SRCU implementation.
[    0.012954] rcu:     Max phase no-delay instances is 1000.
[    0.013953] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.014734] Remapping and enabling EFI services.
[    0.016088] smp: Bringing up secondary CPUs ...
[    0.022908] smp: Brought up 1 node, 4 CPUs
[    0.025064] Memory: 869308K/1118208K available (11596K kernel code, 4965K rwdata, 4096K rodata, 2273K init, 517K b)
[    0.027073] devtmpfs: initialized
[    0.038369] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.038491] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.039485] pinctrl core: initialized pinctrl subsystem
[    0.041172] SMBIOS 3.7.0 present.
[    0.041262] DMI: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
[    0.041357] DMI: Memory slots populated: 0/0
[    0.043197] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.044109] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.044230] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.044519] audit: initializing netlink subsys (disabled)
[    0.045141] audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1
[    0.046076] thermal_sys: Registered thermal governor 'step_wise'
[    0.046213] cpuidle: using governor menu
[    0.072606] cpu1: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
[    0.072606] cpu3: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
[    0.072633] cpu2: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
[    0.096718] cpu0: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
[    0.097122] CCACHE: 4 banks, 16 ways, sets/bank=512, bytes/block=64
[    0.097181] CCACHE: Index of the largest way enabled: 11
[    0.120441] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@3000000000
[    0.121236] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@3000000000
[    0.121476] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@300000000r
[    0.125897] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.125966] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.128097] ACPI: Interpreter disabled.
[    0.128795] iommu: Default domain type: Translated
[    0.128843] iommu: DMA domain TLB invalidation policy: strict mode
[    0.131990] SCSI subsystem initialized
[    0.133154] usbcore: registered new interface driver usbfs
[    0.133294] usbcore: registered new interface driver hub
[    0.133432] usbcore: registered new device driver usb
[    0.134931] efivars: Registered efivars operations
[    0.136181] Advanced Linux Sound Architecture Driver Initialized.
[    0.138550] vgaarb: loaded
[    0.139556] clocksource: Switched to clocksource riscv_clocksource
[    0.141508] pnp: PnP ACPI: disabled
[    0.167966] NET: Registered PF_INET protocol family
[    0.169012] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.174128] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.174331] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.174427] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.175045] TCP bind hash table entries: 8192 (order: 7, 524288 bytes, linear)
[    0.178666] TCP: Hash tables configured (established 8192 bind 8192)
[    0.179690] UDP hash table entries: 512 (order: 4, 49152 bytes, linear)
[    0.180092] UDP-Lite hash table entries: 512 (order: 4, 49152 bytes, linear)
[    0.180915] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.182745] RPC: Registered named UNIX socket transport module.
[    0.182811] RPC: Registered udp transport module.
[    0.182846] RPC: Registered tcp transport module.
[    0.182879] RPC: Registered tcp-with-tls transport module.
[    0.182913] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.182970] PCI: CLS 0 bytes, default 64
[    0.184816] Unpacking initramfs...
[    0.186040] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.187088] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.188252] NFS: Registering the id_resolver key type
[    0.188379] Key type id_resolver registered
[    0.188418] Key type id_legacy registered
[    0.188526] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.188575] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.189155] 9p: Installing v9fs 9p2000 file system support
[    0.192783] NET: Registered PF_ALG protocol family
[    0.193047] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.193680] io scheduler mq-deadline registered
[    0.193733] io scheduler kyber registered
[    0.193884] io scheduler bfq registered
[    0.196727] riscv-plic: interrupt-controller@c000000: mapped 186 interrupts with 4 handlers for 9 contexts.
[    0.200586] SBI CPPC extension NOT detected!!
[    0.369675] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.376972] 20000000.serial: ttyS0 at MMIO 0x20000000 (irq = 12, base_baud = 9375000) is a 16550A
[    0.377122] printk: legacy console [ttyS0] enabled
[    1.457413] 20100000.serial: ttyS1 at MMIO 0x20100000 (irq = 13, base_baud = 9375000) is a 16550A
[    1.469786] 20102000.serial: ttyS2 at MMIO 0x20102000 (irq = 14, base_baud = 9375000) is a 16550A
[    1.482290] 20106000.serial: ttyS3 at MMIO 0x20106000 (irq = 15, base_baud = 9375000) is a 16550A
[    1.493011] SuperH (H)SCI(F) driver initialized
[    1.498885] [drm] radeon kernel modesetting enabled.
[    1.525663] loop: module loaded
[    1.536543] ------------[ cut here ]------------
[    1.541291] macb 20110000.ethernet: device non-coherent but no non-coherent operations supported
[    1.541323] WARNING: CPU: 0 PID: 1 at arch/riscv/mm/dma-noncoherent.c:139 arch_setup_dma_ops+0x6e/0xac
[    1.541380] Modules linked in:
[    1.541402] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.63-cip15 #1
[    1.541426] Hardware name: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
[    1.541438] epc : arch_setup_dma_ops+0x6e/0xac
[    1.541461]  ra : arch_setup_dma_ops+0x6e/0xac
[    1.541482] epc : ffffffff8000f918 ra : ffffffff8000f918 sp : ffffffc600023b90
[    1.541498]  gp : ffffffff81710e00 tp : ffffffd600160000 t0 : ffffffff81619398
[    1.541513]  t1 : 0720072007200720 t2 : 2d2d2d2d2d2d2d2d s0 : ffffffc600023bb0
[    1.541529]  s1 : 0000000000000000 a0 : 0000000000000054 a1 : ffffffff816856c0
[    1.541544]  a2 : 0000000000000010 a3 : 00000000000000b1 a4 : 0000000000000000
[    1.541557]  a5 : 0000000000000000 a6 : ffffffff81726f10 a7 : 0000000000000000
[    1.541571]  s2 : ffffffd600843410 s3 : ffffffd63ffec618 s4 : 0000000000000000
[    1.541586]  s5 : 0000000000000001 s6 : ffffffff80e00870 s7 : 0000000000000008
[    1.541600]  s8 : ffffffff813305c0 s9 : 0000000000000000 s10: 0000000000000000
[    1.541614]  s11: 0000000000000000 t3 : ffffffd600080f00 t4 : ffffffd600080f00
[    1.541629]  t5 : ffffffd600080000 t6 : ffffffc600023998
[    1.541641] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[    1.541658] [<ffffffff8000f918>] arch_setup_dma_ops+0x6e/0xac
[    1.541683] [<ffffffff809187e0>] of_dma_configure_id+0xca/0x204
[    1.541727] [<ffffffff8074103e>] platform_dma_configure+0xb6/0xba
[    1.541766] [<ffffffff8073eaf2>] really_probe+0x54/0x22e
[    1.541790] [<ffffffff8073ed28>] __driver_probe_device+0x5c/0xdc
[    1.541814] [<ffffffff8073ee6a>] driver_probe_device+0x2c/0xb2
[    1.541838] [<ffffffff8073efea>] __driver_attach+0x6c/0x11a
[    1.541861] [<ffffffff8073cc84>] bus_for_each_dev+0x62/0xb0
[    1.541883] [<ffffffff8073e564>] driver_attach+0x1a/0x22
[    1.541905] [<ffffffff8073de9a>] bus_add_driver+0xce/0x1d6
[    1.541928] [<ffffffff8073fb8a>] driver_register+0x40/0xda
[    1.541952] [<ffffffff80740dc0>] __platform_driver_register+0x1c/0x24
[    1.541980] [<ffffffff80c32d48>] macb_driver_init+0x1a/0x22
[    1.542011] [<ffffffff80002130>] do_one_initcall+0x5c/0x1b2
[    1.542032] [<ffffffff80c01254>] kernel_init_freeable+0x214/0x27c
[    1.542071] [<ffffffff80b4c64a>] kernel_init+0x1e/0x112
[    1.542115] [<ffffffff80b5521a>] ret_from_fork+0xe/0x18
[    1.542142] ---[ end trace 0000000000000000 ]---
[    1.702338] Freeing initrd memory: 10656K
[    1.821864] macb 20110000.ethernet eth0: Cadence GEM rev 0x0107010c at 0x20110000 irq 16 (00:04:a3:b5:5a:9e)
[    1.832240] ------------[ cut here ]------------
[    1.836932] macb 20112000.ethernet: device non-coherent but no non-coherent operations supported
[    1.836962] WARNING: CPU: 0 PID: 1 at arch/riscv/mm/dma-noncoherent.c:139 arch_setup_dma_ops+0x6e/0xac
[    1.837012] Modules linked in:
[    1.837035] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G S                 6.12.63-cip15 #1
[    1.837062] Tainted: [S]=CPU_OUT_OF_SPEC
[    1.837070] Hardware name: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
[    1.837083] epc : arch_setup_dma_ops+0x6e/0xac
[    1.837105]  ra : arch_setup_dma_ops+0x6e/0xac
[    1.837127] epc : ffffffff8000f918 ra : ffffffff8000f918 sp : ffffffc600023b90
[    1.837143]  gp : ffffffff81710e00 tp : ffffffd600160000 t0 : ffffffff8161a158
[    1.837158]  t1 : 0720072007200720 t2 : 2d2d2d2d2d2d2d2d s0 : ffffffc600023bb0
[    1.837174]  s1 : 0000000000000000 a0 : 0000000000000054 a1 : ffffffff816856c0
[    1.837189]  a2 : 0000000000000010 a3 : 00000000000000d9 a4 : 0000000000000000
[    1.837202]  a5 : 0000000000000000 a6 : ffffffff81726f10 a7 : 0000000000000000
[    1.837216]  s2 : ffffffd60083c010 s3 : ffffffd63ffed020 s4 : 0000000000000000
[    1.837231]  s5 : 0000000000000001 s6 : ffffffff80e00870 s7 : 0000000000000008
[    1.837245]  s8 : ffffffff813305c0 s9 : 0000000000000000 s10: 0000000000000000
[    1.837259]  s11: 0000000000000000 t3 : ffffffd600080f00 t4 : ffffffd600080f00
[    1.837273]  t5 : ffffffd600080000 t6 : ffffffc600023998
[    1.837286] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[    1.837303] [<ffffffff8000f918>] arch_setup_dma_ops+0x6e/0xac
[    1.837327] [<ffffffff809187e0>] of_dma_configure_id+0xca/0x204
[    1.837371] [<ffffffff8074103e>] platform_dma_configure+0xb6/0xba
[    1.837409] [<ffffffff8073eaf2>] really_probe+0x54/0x22e
[    1.837433] [<ffffffff8073ed28>] __driver_probe_device+0x5c/0xdc
[    1.837457] [<ffffffff8073ee6a>] driver_probe_device+0x2c/0xb2
[    1.837480] [<ffffffff8073efea>] __driver_attach+0x6c/0x11a
[    1.837504] [<ffffffff8073cc84>] bus_for_each_dev+0x62/0xb0
[    1.837526] [<ffffffff8073e564>] driver_attach+0x1a/0x22
[    1.837547] [<ffffffff8073de9a>] bus_add_driver+0xce/0x1d6
[    1.837570] [<ffffffff8073fb8a>] driver_register+0x40/0xda
[    1.837595] [<ffffffff80740dc0>] __platform_driver_register+0x1c/0x24
[    1.837622] [<ffffffff80c32d48>] macb_driver_init+0x1a/0x22
[    1.837653] [<ffffffff80002130>] do_one_initcall+0x5c/0x1b2
[    1.837673] [<ffffffff80c01254>] kernel_init_freeable+0x214/0x27c
[    1.837714] [<ffffffff80b4c64a>] kernel_init+0x1e/0x112
[    1.837756] [<ffffffff80b5521a>] ret_from_fork+0xe/0x18
[    1.837782] ---[ end trace 0000000000000000 ]---
[    2.099724] macb 20112000.ethernet eth1: Cadence GEM rev 0x0107010c at 0x20112000 irq 20 (00:04:a3:b5:5a:9d)
[    2.110244] e1000e: Intel(R) PRO/1000 Network Driver
[    2.115310] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.124095] usbcore: registered new interface driver uas
[    2.129662] usbcore: registered new interface driver usb-storage
[    2.136938] mousedev: PS/2 mouse device common for all mice
[    2.143855] mpfs_rtc 20124000.rtc: prescaler set to: 999999
[    2.150660] mpfs_rtc 20124000.rtc: registered as rtc0
[    2.155871] mpfs_rtc 20124000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.164885] microchip-corei2c 2010a000.i2c: registered CoreI2C bus driver
[    2.173376] microchip-corei2c 2010b000.i2c: registered CoreI2C bus driver
[    2.182721] sdhci: Secure Digital Host Controller Interface driver
[    2.189027] sdhci: Copyright(c) Pierre Ossman
[    2.194053] Synopsys Designware Multimedia Card Interface Driver
[    2.200395] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.207424] usbcore: registered new interface driver usbhid
[    2.213124] usbhid: USB HID core driver
[    2.213364] ------------[ cut here ]------------
[    2.217575] mpfs-mailbox 37020000.mailbox: Registered MPFS mailbox controller driver
[    2.221666] sdhci-cdns 20008000.mmc: device non-coherent but no non-coherent operations supported
[    2.221691] WARNING: CPU: 2 PID: 62 at arch/riscv/mm/dma-noncoherent.c:139 arch_setup_dma_ops+0x6e/0xac
[    2.221744] Modules linked in:
[    2.221765] CPU: 2 UID: 0 PID: 62 Comm: kworker/u17:1 Tainted: G S                 6.12.63-cip15 #1
[    2.221792] Tainted: [S]=CPU_OUT_OF_SPEC
[    2.221801] Hardware name: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
[    2.221814] Workqueue: async async_run_entry_fn
[    2.221843] epc : arch_setup_dma_ops+0x6e/0xac
[    2.221865]  ra : arch_setup_dma_ops+0x6e/0xac
[    2.221886] epc : ffffffff8000f918 ra : ffffffff8000f918 sp : ffffffc600263c50
[    2.221902]  gp : ffffffff81710e00 tp : ffffffd6008a6400 t0 : ffffffff8161b4f0
[    2.221917]  t1 : 000000000000002d t2 : 2d2d2d2d2d2d2d2d s0 : ffffffc600263c70
[    2.221932]  s1 : 0000000000000000 a0 : 0000000000000055 a1 : 0000000200000020
[    2.221946]  a2 : 0000000000000010 a3 : 0000000000000000 a4 : 0000000000000000
[    2.221959]  a5 : 0000000000000000 a6 : ffffffff81615628 a7 : 0000000000000000
[    2.221973]  s2 : ffffffd600846c10 s3 : ffffffd63ffe8560 s4 : 0000000000000000
[    2.221988]  s5 : 0000000000000001 s6 : ffffffd600b4b388 s7 : ffffffd6003fc180
[    2.222003]  s8 : ffffffd60005d000 s9 : 0000000000000000 s10: 0000000000000000
[    2.222018]  s11: 0000000000000000 t3 : ffffffff81726f1f t4 : ffffffff81726f1f
[    2.222032]  t5 : ffffffff81726f20 t6 : ffffffff8172c71d
[    2.222044] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[    2.222060] [<ffffffff8000f918>] arch_setup_dma_ops+0x6e/0xac
[    2.222085] [<ffffffff809187e0>] of_dma_configure_id+0xca/0x204
[    2.222123] [<ffffffff8074103e>] platform_dma_configure+0xb6/0xba
[    2.222160] [<ffffffff8073eaf2>] really_probe+0x54/0x22e
[    2.222184] [<ffffffff8073ed28>] __driver_probe_device+0x5c/0xdc
[    2.222208] [<ffffffff8073ee6a>] driver_probe_device+0x2c/0xb2
[    2.222232] [<ffffffff8073f0ce>] __driver_attach_async_helper+0x36/0x7e
[    2.222257] [<ffffffff8003c09e>] async_run_entry_fn+0x22/0xc4
[    2.222281] [<ffffffff8002e05c>] process_one_work+0x120/0x216
[    2.222318] [<ffffffff8002e896>] worker_thread+0x206/0x2e2
[    2.222345] [<ffffffff80036090>] kthread+0xc4/0xde
[    2.222374] [<ffffffff80b5521a>] ret_from_fork+0xe/0x18
[    2.222408] ---[ end trace 0000000000000000 ]---
[    2.255353] mmc0: SDHCI controller on 20008000.mmc [20008000.mmc] using ADMA 64-bit
[    2.261190] riscv-pmu-sbi: SBI PMU extension is available
[    2.461291] riscv-pmu-sbi: 16 firmware and 4 hardware counters
[    2.467214] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[    2.481043] NET: Registered PF_INET6 protocol family
[    2.489898] Segment Routing with IPv6
[    2.493830] In-situ OAM (IOAM) with IPv6
[    2.498033] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.505446] NET: Registered PF_PACKET protocol family
[    2.510903] 9pnet: Installing 9P2000 support
[    2.515449] Key type dns_resolver registered
[    2.586078] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[    2.589668] mmc0: ADMA error: 0x02000000
[    2.599386] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[    2.605894] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00000003
[    2.611451] clk: Disabling unused clocks
[    2.612356] mmc0: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000001
[    2.612375] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
[    2.612390] mmc0: sdhci: Present:   0x01f702f6 | Host ctl: 0x00000011
[    2.612405] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[    2.612420] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x0000fa07
[    2.616484] PM: genpd: Disabling unused power domains
[    2.622784] mmc0: sdhci: Timeout:   0x0000000c | Int stat: 0x00000001
[    2.622800] mmc0: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
[    2.622815] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001
[    2.629312] ALSA device list:
[    2.635702] mmc0: sdhci: Caps:      0x176ac8b2 | Caps_1:   0x10000077
[    2.635719] mmc0: sdhci: Cmd:       0x0000083a | Max curr: 0x00202020
[    2.635735] mmc0: sdhci: Resp[0]:   0x00000900 | Resp[1]:  0xffffffff
[    2.642197]   No soundcards found.
[    2.648608] mmc0: sdhci: Resp[2]:   0x328f5903 | Resp[3]:  0x3fd04f01
[    2.648623] mmc0: sdhci: Host ctl2: 0x00003000
[    2.648636] mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x00000014036f8200
[    2.648653] mmc0: sdhci: ============================================
[    2.723580] mmc0: sdhci: 14036f8200: DMA 0x00000014036ffc00, LEN 0x0200, Attr=0x21
[    2.723603] mmc0: sdhci: 14036f8210: DMA 0x0000000000000000, LEN 0x0000, Attr=0x03
[    2.738876] CCACHE: DataError @ 0x00000000.081DFFE8
[    2.743801] CCACHE: DataFail @ 0x00000000.081DFFF8
[    2.748914] mmc0: error -5 whilst initialising MMC card
[    2.755737] Freeing unused kernel image (initmem) memory: 2272K
[    2.762118] Run /init as init process
Loading, please wait...
[    2.836185] mmc0: new MMC card at address 0001
[    2.844066] mmcblk0: mmc0:0001 TB2916 0 B
Starting systemd-udevd version 257.9-1~deb13u1
[    4.603957] macb 20112000.ethernet end0: renamed from eth1
[    4.655107] ------------[ cut here ]------------
[    4.659991] mpfs-musb 20201000.usb: device non-coherent but no non-coherent operations supported
[    4.660026] WARNING: CPU: 1 PID: 122 at arch/riscv/mm/dma-noncoherent.c:139 arch_setup_dma_ops+0x6e/0xac
[    4.660087] Modules linked in: mpfs(+) phy_generic musb_hdrc spi_microchip_core_qspi(+)
[    4.660145] CPU: 1 UID: 0 PID: 122 Comm: (udev-worker) Tainted: G S                 6.12.63-cip15 #1
[    4.660173] Tainted: [S]=CPU_OUT_OF_SPEC
[    4.660182] Hardware name: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
[    4.660195] epc : arch_setup_dma_ops+0x6e/0xac
[    4.660220]  ra : arch_setup_dma_ops+0x6e/0xac
[    4.660242] epc : ffffffff8000f918 ra : ffffffff8000f918 sp : ffffffc6004538c0
[    4.660259]  gp : ffffffff81710e00 tp : ffffffd603abd780 t0 : ffffffff8161d2d8
[    4.660274]  t1 : 0720072007200720 t2 : 2d2d2d2d2d2d2d2d s0 : ffffffc6004538e0
[    4.660290]  s1 : 0000000000000000 a0 : 0000000000000054 a1 : ffffffff816856c0
[    4.660305]  a2 : 0000000000000010 a3 : 0000000000000169 a4 : 0000000000000000
[    4.660318]  a5 : 0000000000000000 a6 : ffffffff81726f10 a7 : 0000000000000000
[    4.660333]  s2 : ffffffd60084c010 s3 : ffffffd63fff0078 s4 : 0000000000000000
[    4.660348]  s5 : 0000000000000001 s6 : ffffffc600453d48 s7 : 0000000000000000
[    4.660361]  s8 : ffffffff017ba118 s9 : ffffffc600453c90 s10: ffffffc600453c40
[    4.660378]  s11: 0000000000000000 t3 : ffffffd600080f00 t4 : ffffffd600080f00
[    4.660393]  t5 : ffffffd600080000 t6 : ffffffc6004536c8
[    4.660407] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[    4.660422] [<ffffffff8000f918>] arch_setup_dma_ops+0x6e/0xac
[    4.660451] [<ffffffff809187e0>] of_dma_configure_id+0xca/0x204
[    4.660499] [<ffffffff8074103e>] platform_dma_configure+0xb6/0xba
[    4.660541] [<ffffffff8073eaf2>] really_probe+0x54/0x22e
[    4.660566] [<ffffffff8073ed28>] __driver_probe_device+0x5c/0xdc
[    4.660590] [<ffffffff8073ee6a>] driver_probe_device+0x2c/0xb2
[    4.660614] [<ffffffff8073efea>] __driver_attach+0x6c/0x11a
[    4.660642] [<ffffffff8073cc84>] bus_for_each_dev+0x62/0xb0
[    4.660665] [<ffffffff8073e564>] driver_attach+0x1a/0x22
[    4.660687] [<ffffffff8073de9a>] bus_add_driver+0xce/0x1d6
[    4.660711] [<ffffffff8073fb8a>] driver_register+0x40/0xda
[    4.660735] [<ffffffff80740dc0>] __platform_driver_register+0x1c/0x24
[    4.660768] [<ffffffff017be020>] mpfs_musb_driver_init+0x20/0x1000 [mpfs]
[    4.660819] [<ffffffff80002130>] do_one_initcall+0x5c/0x1b2
[    4.660841] [<ffffffff80092606>] do_init_module+0x52/0x1d4
[    4.660866] [<ffffffff80093d30>] load_module+0x1392/0x17fe
[    4.660889] [<ffffffff8009435e>] init_module_from_file+0x76/0xae
[    4.660911] [<ffffffff80094574>] __riscv_sys_finit_module+0x1a6/0x310
[    4.660935] [<ffffffff80b4b6bc>] do_trap_ecall_u+0x1a8/0x1d4
[    4.660980] [<ffffffff80b55102>] handle_exception+0x146/0x152
[    4.661018] ---[ end trace 0000000000000000 ]---
[    4.669715] mpfs-rng mpfs-rng: Registered MPFS hwrng
[    4.673005] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests (id=vbus)
[    4.682724] mpfs-sys-controller syscontroller: Registered MPFS system controller
[    4.690897] ------------[ cut here ]------------
[    4.720705] random: crng init done
[    4.722651] musb-hdrc musb-hdrc.2.auto: device non-coherent but no non-coherent operations supported
[    4.963645] WARNING: CPU: 1 PID: 122 at arch/riscv/mm/dma-noncoherent.c:139 arch_setup_dma_ops+0x6e/0xac
[    4.963714] Modules linked in: mpfs(+) phy_generic musb_hdrc spi_microchip_core_qspi
[    4.963770] CPU: 1 UID: 0 PID: 122 Comm: (udev-worker) Tainted: G S                 6.12.63-cip15 #1
[    4.963800] Tainted: [S]=CPU_OUT_OF_SPEC
[    4.963809] Hardware name: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
[    4.963821] epc : arch_setup_dma_ops+0x6e/0xac
[    4.963845]  ra : arch_setup_dma_ops+0x6e/0xac
[    4.963868] epc : ffffffff8000f918 ra : ffffffff8000f918 sp : ffffffc600453590
[    4.963883]  gp : ffffffff81710e00 tp : ffffffd603abd780 t0 : ffffffff80b3ad1c
[    4.963898]  t1 : 0720072007200720 t2 : 63203a6d6f646e61 s0 : ffffffc6004535b0
[    4.963914]  s1 : 0000000000000000 a0 : 0000000000000058 a1 : ffffffff816856c0
[    4.963929]  a2 : 0000000000000010 a3 : 0000000000000197 a4 : 0000000000000000
[    4.963943]  a5 : 0000000000000000 a6 : ffffffff81726f10 a7 : 0000000000000065
[    4.963957]  s2 : ffffffd60085b010 s3 : ffffffd63fff0078 s4 : 0000000000000000
[    4.963972]  s5 : 0000000000000001 s6 : ffffffd603876ea0 s7 : ffffffd60084c000
[    4.963988]  s8 : ffffffd60085b010 s9 : ffffffc600453c90 s10: ffffffc600453c40
[    4.964003]  s11: 0000000000000000 t3 : ffffffd600080f00 t4 : ffffffd600080f00
[    4.964018]  t5 : ffffffd600080000 t6 : ffffffc600453398
[    4.964031] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[    4.964047] [<ffffffff8000f918>] arch_setup_dma_ops+0x6e/0xac
[    4.964075] [<ffffffff809187e0>] of_dma_configure_id+0xca/0x204
[    4.964121] [<ffffffff8074103e>] platform_dma_configure+0xb6/0xba
[    4.964163] [<ffffffff8073eaf2>] really_probe+0x54/0x22e
[    4.964189] [<ffffffff8073ed28>] __driver_probe_device+0x5c/0xdc
[    4.964213] [<ffffffff8073ee6a>] driver_probe_device+0x2c/0xb2
[    4.964237] [<ffffffff8073ef5e>] __device_attach_driver+0x6e/0x8e
[    4.964262] [<ffffffff8073ce3c>] bus_for_each_drv+0x66/0xba
[    4.964283] [<ffffffff8073f198>] __device_attach+0x82/0x136
[    4.964308] [<ffffffff8073f39c>] device_initial_probe+0xe/0x16
[    4.964333] [<ffffffff8073dce2>] bus_probe_device+0x86/0x88
[    4.964355] [<ffffffff8073b9fc>] device_add+0x504/0x6d0
[    4.964375] [<ffffffff80740c40>] platform_device_add+0xce/0x1d4
[    4.964407] [<ffffffff017b8576>] mpfs_probe+0x19a/0x282 [mpfs]
[    4.964459] [<ffffffff807410be>] platform_probe+0x52/0xb6
[    4.964488] [<ffffffff8073eb22>] really_probe+0x84/0x22e
[    4.964511] [<ffffffff8073ed28>] __driver_probe_device+0x5c/0xdc
[    4.964536] [<ffffffff8073ee6a>] driver_probe_device+0x2c/0xb2
[    4.964560] [<ffffffff8073efea>] __driver_attach+0x6c/0x11a
[    4.964583] [<ffffffff8073cc84>] bus_for_each_dev+0x62/0xb0
[    4.964605] [<ffffffff8073e564>] driver_attach+0x1a/0x22
[    4.964627] [<ffffffff8073de9a>] bus_add_driver+0xce/0x1d6
[    4.964651] [<ffffffff8073fb8a>] driver_register+0x40/0xda
[    4.964675] [<ffffffff80740dc0>] __platform_driver_register+0x1c/0x24
[    4.964704] [<ffffffff017be020>] mpfs_musb_driver_init+0x20/0x1000 [mpfs]
[    4.964734] [<ffffffff80002130>] do_one_initcall+0x5c/0x1b2
[    4.964756] [<ffffffff80092606>] do_init_module+0x52/0x1d4
[    4.964782] [<ffffffff80093d30>] load_module+0x1392/0x17fe
[    4.964806] [<ffffffff8009435e>] init_module_from_file+0x76/0xae
[    4.964828] [<ffffffff80094574>] __riscv_sys_finit_module+0x1a6/0x310
[    4.964851] [<ffffffff80b4b6bc>] do_trap_ecall_u+0x1a8/0x1d4
[    4.964895] [<ffffffff80b55102>] handle_exception+0x146/0x152
[    4.964934] ---[ end trace 0000000000000000 ]---
[    4.965399] musb-hdrc musb-hdrc.2.auto: DMA controller not set
[    5.309028] musb-hdrc musb-hdrc.2.auto: error -ENODEV: musb_init_controller failed
[    5.317499] mpfs-musb 20201000.usb: Registered MPFS MUSB driver
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[   15.329977] microchip,coreqspi 21000000.spi: cs1 >= max 1
[   15.335577] spi_master spi1: spi_device register error /soc/spi@21000000/mmc-slot@1
[   15.343494] spi_master spi1: Failed to create SPI device for /soc/spi@21000000/mmc-slot@1
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  PARTUUID=bac9149c-8332-4f2b-a225-6fb96c83cf31 does not exist.  Dropping to a shell!
(initramfs) \
```
> -----Original Message-----
> From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On
> Behalf Of Jan Kiszka via lists.cip-project.org
> Sent: Monday, February 2, 2026 9:58 PM
> To: cip-dev@lists.cip-project.org
> Cc: Sai Sree Kartheek Adivi <s-adivi@ti.com>
> Subject: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
> 
> This enables support for the BeagleV-Fire in isar-cip-core, including
> SWUpdate, only excluding secure boot so far.
> 
> Note that this comes with an update of our U-Boot version. I've tested that on
> all but the TI AM62px (no hardware access) and would like ask for support on
> that part.
> 
> Jan
> 
> 
> CC: Sai Sree Kartheek Adivi <s-adivi@ti.com>
> 
> Jan Kiszka (9):
>   Kconfig: Sort boards by architecture
>   u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
>   u-boot: Update to v2026.01
>   Add hss-payload-generator recipe
>   u-boot: Add recipe for BeagleV-Fire
>   linux-cip: Update cip-kernel-config revision
>   Add BeagleV-Fire board
>   kas: Add BeagleV-Fire target
>   ci: Add BeagleV-Fire build target
> 
>  .gitlab-ci.yml                                |   7 +
>  Kconfig                                       |  26 +-
>  conf/machine/beaglev-fire.conf                |  22 ++
>  kas/board/beaglev-fire.yml                    |  12 +
>  recipes-bsp/hss-payload-generator/files/rules |  22 ++
>  .../hss-payload-generator_2025.07.bb          |  27 ++
>  ...onvert-SYS_EARLY_PCI_INIT-to-Kconfig.patch |  37
> --  ...-mach-socfpga-Fix-non-Agilex-targets.patch |  97
> -----  ...KASLR-OPTEE-RNG-support-for-K3-devic.patch |  38
> --  ...ustom-CPU-implementation-for-PolarFi.patch | 153
> ++++++++  ...missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch |  30
> ++  ...ot-generate-logo-when-cross-building.patch |  33
> --  ...arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch |  28
> --  ...SoC-level-options-to-the-CPU-Kconfig.patch |  83
> +++++  ...or-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch} |  38
> +-  ...3-riscv-Add-support-for-BeagleV-Fire.patch | 346
> ++++++++++++++++++
>  ...ector-value-passed-to-mmc_load_imag.patch} |   6 +-
>  .../files/0003-test-Fix-optee-unit-test.patch | 134
> -------  ...cfpga-Adjust-a-raw-sectors-for-MMC-l.patch |  16 +-
>  ...onfigs-socfpga-Fix-de0_nano_soc-boot.patch |   4 +-
>  ...6-configs-socfpga-Permit-EFI-booting.patch | 161 ++++----
>  .../u-boot/files/beaglev-fire-config.yaml     |  17 +
>  recipes-bsp/u-boot/files/rules.tmpl           |   1 +
>  ...t-bbb_2025.07.bb => u-boot-bbb_2026.01.bb} |   0
>  .../u-boot/u-boot-beaglev-fire_2026.01.bb     |  28 ++
>  ...-2025.07.inc => u-boot-common-2026.01.inc} |  19 +-
>  ...5.07.bb => u-boot-de0-nano-soc_2026.01.bb} |   0
>  ...025.07.bb => u-boot-qemu-arm64_2026.01.bb} |   0
>  ..._2025.07.bb => u-boot-qemu-arm_2026.01.bb} |   0
>  ...5.07.bb => u-boot-qemu-riscv64_2026.01.bb} |   0
>  ...5.07.bb => u-boot-ti-am62px-sk_2026.01.bb} |   1 -
>  recipes-kernel/linux/cip-kernel-config.inc    |   2 +-
>  wic/beaglev-fire-efibootguard.wks.in          |  20 +
>  wic/beaglev-fire.wks                          |  14 +
>  34 files changed, 924 insertions(+), 498 deletions(-)  create mode 100644
> conf/machine/beaglev-fire.conf  create mode 100644
> kas/board/beaglev-fire.yml  create mode 100644
> recipes-bsp/hss-payload-generator/files/rules
>  create mode 100644
> recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb
>  delete mode 100644
> recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kc
> onfig.patch
>  delete mode 100644
> recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targ
> ets.patch
>  delete mode 100644
> recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3
> -devic.patch
>  create mode 100644
> recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-
> for-PolarFi.patch
>  create mode 100644
> recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOC
> K-for-SYS_MMCSD.patch
>  delete mode 100644
> recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-buil
> ding.patch
>  delete mode 100644
> recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI
> _INIT.patch
>  create mode 100644
> recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-C
> PU-Kconfig.patch
>  rename
> recipes-bsp/u-boot/files/{0003-spl-mmc-Account-for-SYS_MMCSD_RAW_
> MODE_U_BOOT_USE_PA.patch =>
> 0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.p
> atch} (67%)  create mode 100644
> recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch
>  rename
> recipes-bsp/u-boot/files/{0002-spl-mmc-Respect-sector-value-passed-to-
> mmc_load_imag.patch =>
> 0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch}
> (87%)  delete mode 100644
> recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch
>  create mode 100644 recipes-bsp/u-boot/files/beaglev-fire-config.yaml
>  rename recipes-bsp/u-boot/{u-boot-bbb_2025.07.bb =>
> u-boot-bbb_2026.01.bb} (100%)  create mode 100644
> recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
>  rename recipes-bsp/u-boot/{u-boot-common-2025.07.inc =>
> u-boot-common-2026.01.inc} (76%)  rename
> recipes-bsp/u-boot/{u-boot-de0-nano-soc_2025.07.bb =>
> u-boot-de0-nano-soc_2026.01.bb} (100%)  rename
> recipes-bsp/u-boot/{u-boot-qemu-arm64_2025.07.bb =>
> u-boot-qemu-arm64_2026.01.bb} (100%)  rename
> recipes-bsp/u-boot/{u-boot-qemu-arm_2025.07.bb =>
> u-boot-qemu-arm_2026.01.bb} (100%)  rename
> recipes-bsp/u-boot/{u-boot-qemu-riscv64_2025.07.bb =>
> u-boot-qemu-riscv64_2026.01.bb} (100%)  rename
> recipes-bsp/u-boot/{u-boot-ti-am62px-sk_2025.07.bb =>
> u-boot-ti-am62px-sk_2026.01.bb} (98%)  create mode 100644
> wic/beaglev-fire-efibootguard.wks.in
>  create mode 100644 wic/beaglev-fire.wks
> 
> --
> 2.51.0




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
  2026-02-10  5:04 ` [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire nobuhiro.iwamatsu.x90
@ 2026-02-10  8:18   ` Jan Kiszka
  2026-02-10 17:28     ` Jan Kiszka
  0 siblings, 1 reply; 17+ messages in thread
From: Jan Kiszka @ 2026-02-10  8:18 UTC (permalink / raw)
  To: nobuhiro.iwamatsu.x90, cip-dev; +Cc: s-adivi

On 10.02.26 06:04, nobuhiro.iwamatsu.x90@mail.toshiba wrote:
> Hi,
> 
> Thanks for your patch.
> I tested this patch series on 049ea8ff8370a10d88214b2d488ef6f7c1d28a4e (master)
> My board fails to boot. I pasted the boot log below.
> 
> Best regards,
>   Nobuhiro
> 
> ```
> HSS: decompressing from eNVM to L2 Scratch ... Passed
> DDR training ... Passed ( 5401 ms)
> 
> ---------------------------------
> --        BeagleV-Fire         --
> ---------------------------------
> 
> [5.464693] PolarFire(R) SoC Hart Software Services (HSS) - version 0.99.36-BVF-0.3.0
> MPFS HAL version 2.2.104 / DDR Driver version 0.4.023 / Mi-V IHC version 0.1.1 / BOARD=bvf
> (c) Copyright 2017-2022 Microchip FPGA Embedded Systems Solutions.
> 
> incorporating OpenSBI - version 1.2
> (c) Copyright 2019-2022 Western Digital Corporation.
> 
> [5.495680] Build ID: 3f0ed536ff6a0aaef3c9b81896adaee39ec4d8c1
> [5.502538] Built with the following tools:
>  - riscv64-unknown-elf-gcc (xPack GNU RISC-V Embedded GCC (Microsemi SoftConsole build), 64-bit) 8.3.0
>  - GNU ld (xPack GNU RISC-V Embedded GCC (Microsemi SoftConsole build), 64-bit) 2.32
> 
> [5.524411] NOTICE: Running from L2 Scratchpad
> 
> [5.530053] Serial Number:
> 9d5ab5e2c5711676ace9e5cd4b2b1dd000000000000000000000000000000000000000000000000000000000000000000000
> [5.542726] Segment Configuration:
>         Cached: SEG0_0: offset 0x0080000000, physical DDR 0x00000000
>         Cached: SEG0_1: offset 0x1000000000, physical DDR 0x00000000
>     Non-cached: SEG1_2: offset 0x00c0000000, physical DDR 0x00000000
>     Non-cached: SEG1_3: offset 0x1400000000, physical DDR 0x00000000
> Non-cached WCB: SEG1_4: offset 0x00d0000000, physical DDR 0x00000000
> Non-cached WCB: SEG1_5: offset 0x1800000000, physical DDR 0x00000000
> [5.583609] L2 Cache Configuration:
>     L2-Scratchpad:  4 ways (512 KiB)
>          L2-Cache:  8 ways (1024 KiB)
>            L2-LIM:  4 ways (512 KiB)
> [5.598104] DDR-Lo size is   32 MiB
> [5.602358] DDR-Hi size is 1888 MiB
> [5.626176] Design Info:
>     Design Name: CI_DEFAULT_FD28A2CA1789CDC1137
>     Design Version: 02.00.2
> [5.636592] Attempting to select eMMC ... Passed
> [5.891124] User button NOT pressed
> Press a key to enter CLI, ESC to skip
> Timeout in 1 second
> ..
> [6.900764] CLI boot interrupt timeout
> [6.905278] Initializing Mi-V IHC
> [6.909357] Initializing IPI Queues (3304 bytes @ a02e660)...
> [6.915867] Initializing PMPs
> [6.919600] Initializing Boot Image ...
> [6.924200] Trying to boot via MMC ...
> [6.928714] Attempting to select eMMC ... Passed
> [7.183124] Preparing to copy from MMC to DDR ...
> [7.188654] Validated GPT Header ...
> [7.204547] Validated GPT Partition Entries ...
> [7.209842] Boot Partition found at index 0
> [7.214789] Attempting to read image header (1632 bytes) ...
> [7.221221] Copying 601712 bytes to 0x103fc00000
> [7.230057] MMC: Boot Image registered ...
> [7.234918] Boot image passed CRC
> [7.239258] Boot image set name: "PolarFire-SoC-HSS::U-Boot"
> 
> 
> U-Boot 2026.01 (Jan 01 1970 - 01:00:00 +0000)
> 
> alloc space exhausted ptr 2010 limit 2000
> CPU:   sifive,u54-mc
> Model: BeagleBoard BeagleV-Fire
> DRAM:  1 GiB
> Core:  68 devices, 14 uclasses, devicetree: separate
> MMC:   mmc@20008000: 0
> Loading Environment from nowhere... OK
> In:    serial@20000000
> Out:   serial@20000000
> Err:   serial@20000000
> Net:
> Error: ethernet@20110000 No valid MAC address found.
> No ethernet found.
> 
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc0(part 0) is current device
> Scanning mmc 0:2...
> Failed to load '/'
> Failed to load EFI variables
> 
> Error: ethernet@20110000 No valid MAC address found.
> 
> Error: ethernet@20110000 No valid MAC address found.
> 
> Error: ethernet@20110000 No valid MAC address found.
> 
> Error: ethernet@20110000 No valid MAC address found.
> Booting: Label: mmc 0 Device path: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-)
> EFI stub: Booting Linux Kernel...
> EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
> EFI stub: Using DTB from configuration table
> EFI stub: Exiting boot services...
> 
> Error: ethernet@20110000 No valid MAC address found.
> 
> Error: ethernet@20110000 No valid MAC address found.
> [    0.000000] Linux version 6.12.63-cip15 (isar-users@googlegroups.com) (riscv64-linux-gnu-gcc (Debian 14.2.0-19) 140
> [    0.000000] Machine model: BeagleBoard BeagleV-Fire
> [    0.000000] SBI specification v1.0 detected
> [    0.000000] SBI implementation ID=0x1 Version=0x10002
> [    0.000000] SBI TIME extension detected
> [    0.000000] SBI IPI extension detected
> [    0.000000] SBI RFENCE extension detected
> [    0.000000] SBI SRST extension detected
> [    0.000000] efi: EFI v2.11 by Das U-Boot
> [    0.000000] efi: RTPROP=0xbe335040 SMBIOS 3.0=0xbf387000 INITRD=0xbe2ed040 MEMRESERVE=0xbe2ec040
> [    0.000000] OF: reserved mem: failed to allocate memory for node 'non-cached-low-buffer': size 64 MiB
> [    0.000000] OF: reserved mem: failed to allocate memory for node 'non-cached-high-buffer': size 256 MiB
> [    0.000000] OF: reserved mem: 0x00000000d8000000..0x00000000d9ffffff (32768 KiB) nomap non-reusable buffer@d8000000
> [    0.000000] OF: reserved mem: 0x00000000c8000000..0x00000000c9ffffff (32768 KiB) nomap non-reusable buffer@c8000000
> [    0.000000] OF: reserved mem: 0x0000000088000000..0x0000000089ffffff (32768 KiB) nomap non-reusable buffer@88000000
> [    0.000000] Reserved memory: created DMA memory pool at 0x000000103fc00000, size 4 MiB
> [    0.000000] OF: reserved mem: initialized node hss-buffer@103fc00000, compatible id shared-dma-pool
> [    0.000000] OF: reserved mem: 0x000000103fc00000..0x000000103fffffff (4096 KiB) nomap non-reusable hss-buffer@103f0
> [    0.000000] Zone ranges:
> [    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000ffffffff]
> [    0.000000]   Normal   [mem 0x0000000100000000-0x000000103fffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087ffffff]
> [    0.000000]   node   0: [mem 0x0000000088000000-0x0000000089ffffff]
> [    0.000000]   node   0: [mem 0x000000008a000000-0x00000000bdffffff]
> [    0.000000]   node   0: [mem 0x00000000be000000-0x00000000be000fff]
> [    0.000000]   node   0: [mem 0x00000000be001000-0x00000000be334fff]
> [    0.000000]   node   0: [mem 0x00000000be335000-0x00000000be335fff]
> [    0.000000]   node   0: [mem 0x00000000be336000-0x00000000be336fff]
> [    0.000000]   node   0: [mem 0x00000000be337000-0x00000000be358fff]
> [    0.000000]   node   0: [mem 0x00000000be359000-0x00000000bf386fff]
> [    0.000000]   node   0: [mem 0x00000000bf387000-0x00000000bf387fff]
> [    0.000000]   node   0: [mem 0x00000000bf388000-0x00000000bfb6bfff]
> [    0.000000]   node   0: [mem 0x00000000bfb6c000-0x00000000bfb6dfff]
> [    0.000000]   node   0: [mem 0x00000000bfb6e000-0x00000000bfffffff]
> [    0.000000]   node   0: [mem 0x00000000c8000000-0x00000000c9ffffff]
> [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000d9ffffff]
> [    0.000000]   node   0: [mem 0x000000103fc00000-0x000000103fffffff]
> [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000103fffffff]
> [    0.000000] On node 0, zone DMA32: 24576 pages in unavailable ranges
> [    0.000000] On node 0, zone Normal: 56320 pages in unavailable ranges
> [    0.000000] SBI HSM extension detected
> [    0.000000] Falling back to deprecated "riscv,isa"
> [    0.000000] riscv: base ISA extensions acdfim
> [    0.000000] riscv: ELF capabilities acdfim
> [    0.000000] percpu: Embedded 22 pages/cpu s50024 r8192 d31896 u90112
> [    0.000000] Kernel command line: initrd=\initrd.img-6.12.63-cip15 LABEL=Boot root=PARTUUID=bac9149c-8332-4f2b-a225w
> [    0.000000] Unknown kernel command line parameters "LABEL=Boot", will be passed to user space.
> [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
> [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 279552
> [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
> [    0.000000] software IO TLB: area num 4.
> [    0.000000] software IO TLB: mapped [mem 0x00000000b4e00000-0x00000000b8e00000] (64MB)
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]       fixmap : 0xffffffc4fea00000 - 0xffffffc4ff000000   (6144 kB)
> [    0.000000]       pci io : 0xffffffc4ff000000 - 0xffffffc500000000   (  16 MB)
> [    0.000000]      vmemmap : 0xffffffc500000000 - 0xffffffc600000000   (4096 MB)
> [    0.000000]      vmalloc : 0xffffffc600000000 - 0xffffffd600000000   (  64 GB)
> [    0.000000]      modules : 0xffffffff01794000 - 0xffffffff80000000   (2024 MB)
> [    0.000000]       lowmem : 0xffffffd600000000 - 0xffffffe5c0000000   (  63 GB)
> [    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
> [    0.000000] rcu: Hierarchical RCU implementation.
> [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
> [    0.000000] rcu:     RCU debug extended QS entry/exit.
> [    0.000000]  Tracing variant of Tasks RCU enabled.
> [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
> [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
> [    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
> [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
> [    0.000000] riscv-intc: 64 local interrupts mapped
> [    0.000000] riscv: providing IPIs using SBI IPI extension
> [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
> [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361s
> [    0.000003] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
> [    0.000628] Console: colour dummy device 80x25
> [    0.000658] printk: legacy console [tty0] enabled
> [    0.002546] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000)
> [    0.002624] pid_max: default: 32768 minimum: 301
> [    0.002845] LSM: initializing lsm=capability
> [    0.003339] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
> [    0.003484] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
> [    0.007294] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3
> [    0.012353] riscv: ELF compat mode unsupported
> [    0.012383] ASID allocator disabled (0 bits)
> [    0.012907] rcu: Hierarchical SRCU implementation.
> [    0.012954] rcu:     Max phase no-delay instances is 1000.
> [    0.013953] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
> [    0.014734] Remapping and enabling EFI services.
> [    0.016088] smp: Bringing up secondary CPUs ...
> [    0.022908] smp: Brought up 1 node, 4 CPUs
> [    0.025064] Memory: 869308K/1118208K available (11596K kernel code, 4965K rwdata, 4096K rodata, 2273K init, 517K b)
> [    0.027073] devtmpfs: initialized
> [    0.038369] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [    0.038491] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
> [    0.039485] pinctrl core: initialized pinctrl subsystem
> [    0.041172] SMBIOS 3.7.0 present.
> [    0.041262] DMI: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
> [    0.041357] DMI: Memory slots populated: 0/0
> [    0.043197] NET: Registered PF_NETLINK/PF_ROUTE protocol family
> [    0.044109] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
> [    0.044230] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
> [    0.044519] audit: initializing netlink subsys (disabled)
> [    0.045141] audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1
> [    0.046076] thermal_sys: Registered thermal governor 'step_wise'
> [    0.046213] cpuidle: using governor menu
> [    0.072606] cpu1: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
> [    0.072606] cpu3: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
> [    0.072633] cpu2: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
> [    0.096718] cpu0: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
> [    0.097122] CCACHE: 4 banks, 16 ways, sets/bank=512, bytes/block=64
> [    0.097181] CCACHE: Index of the largest way enabled: 11
> [    0.120441] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@3000000000
> [    0.121236] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@3000000000
> [    0.121476] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@300000000r
> [    0.125897] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
> [    0.125966] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
> [    0.128097] ACPI: Interpreter disabled.
> [    0.128795] iommu: Default domain type: Translated
> [    0.128843] iommu: DMA domain TLB invalidation policy: strict mode
> [    0.131990] SCSI subsystem initialized
> [    0.133154] usbcore: registered new interface driver usbfs
> [    0.133294] usbcore: registered new interface driver hub
> [    0.133432] usbcore: registered new device driver usb
> [    0.134931] efivars: Registered efivars operations
> [    0.136181] Advanced Linux Sound Architecture Driver Initialized.
> [    0.138550] vgaarb: loaded
> [    0.139556] clocksource: Switched to clocksource riscv_clocksource
> [    0.141508] pnp: PnP ACPI: disabled
> [    0.167966] NET: Registered PF_INET protocol family
> [    0.169012] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
> [    0.174128] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes, linear)
> [    0.174331] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
> [    0.174427] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
> [    0.175045] TCP bind hash table entries: 8192 (order: 7, 524288 bytes, linear)
> [    0.178666] TCP: Hash tables configured (established 8192 bind 8192)
> [    0.179690] UDP hash table entries: 512 (order: 4, 49152 bytes, linear)
> [    0.180092] UDP-Lite hash table entries: 512 (order: 4, 49152 bytes, linear)
> [    0.180915] NET: Registered PF_UNIX/PF_LOCAL protocol family
> [    0.182745] RPC: Registered named UNIX socket transport module.
> [    0.182811] RPC: Registered udp transport module.
> [    0.182846] RPC: Registered tcp transport module.
> [    0.182879] RPC: Registered tcp-with-tls transport module.
> [    0.182913] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [    0.182970] PCI: CLS 0 bytes, default 64
> [    0.184816] Unpacking initramfs...
> [    0.186040] workingset: timestamp_bits=46 max_order=18 bucket_order=0
> [    0.187088] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.188252] NFS: Registering the id_resolver key type
> [    0.188379] Key type id_resolver registered
> [    0.188418] Key type id_legacy registered
> [    0.188526] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
> [    0.188575] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
> [    0.189155] 9p: Installing v9fs 9p2000 file system support
> [    0.192783] NET: Registered PF_ALG protocol family
> [    0.193047] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
> [    0.193680] io scheduler mq-deadline registered
> [    0.193733] io scheduler kyber registered
> [    0.193884] io scheduler bfq registered
> [    0.196727] riscv-plic: interrupt-controller@c000000: mapped 186 interrupts with 4 handlers for 9 contexts.
> [    0.200586] SBI CPPC extension NOT detected!!
> [    0.369675] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [    0.376972] 20000000.serial: ttyS0 at MMIO 0x20000000 (irq = 12, base_baud = 9375000) is a 16550A
> [    0.377122] printk: legacy console [ttyS0] enabled
> [    1.457413] 20100000.serial: ttyS1 at MMIO 0x20100000 (irq = 13, base_baud = 9375000) is a 16550A
> [    1.469786] 20102000.serial: ttyS2 at MMIO 0x20102000 (irq = 14, base_baud = 9375000) is a 16550A
> [    1.482290] 20106000.serial: ttyS3 at MMIO 0x20106000 (irq = 15, base_baud = 9375000) is a 16550A
> [    1.493011] SuperH (H)SCI(F) driver initialized
> [    1.498885] [drm] radeon kernel modesetting enabled.
> [    1.525663] loop: module loaded
> [    1.536543] ------------[ cut here ]------------
> [    1.541291] macb 20110000.ethernet: device non-coherent but no non-coherent operations supported
> [    1.541323] WARNING: CPU: 0 PID: 1 at arch/riscv/mm/dma-noncoherent.c:139 arch_setup_dma_ops+0x6e/0xac
> [    1.541380] Modules linked in:
> [    1.541402] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.63-cip15 #1

Ouch. I just checked my image again, and it used -cip14. Hope we do not
have a regression. I will try to rebuild and retry later.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
  2026-02-10  8:18   ` Jan Kiszka
@ 2026-02-10 17:28     ` Jan Kiszka
  2026-02-13  6:19       ` nobuhiro.iwamatsu.x90
  0 siblings, 1 reply; 17+ messages in thread
From: Jan Kiszka @ 2026-02-10 17:28 UTC (permalink / raw)
  To: nobuhiro.iwamatsu.x90, cip-dev; +Cc: s-adivi

On 10.02.26 09:18, Jan Kiszka wrote:
> On 10.02.26 06:04, nobuhiro.iwamatsu.x90@mail.toshiba wrote:
>> Hi,
>>
>> Thanks for your patch.
>> I tested this patch series on 049ea8ff8370a10d88214b2d488ef6f7c1d28a4e (master)
>> My board fails to boot. I pasted the boot log below.
>>
>> Best regards,
>>   Nobuhiro
>>
>> ```
>> HSS: decompressing from eNVM to L2 Scratch ... Passed
>> DDR training ... Passed ( 5401 ms)
>>
>> ---------------------------------
>> --        BeagleV-Fire         --
>> ---------------------------------
>>
>> [5.464693] PolarFire(R) SoC Hart Software Services (HSS) - version 0.99.36-BVF-0.3.0
>> MPFS HAL version 2.2.104 / DDR Driver version 0.4.023 / Mi-V IHC version 0.1.1 / BOARD=bvf
>> (c) Copyright 2017-2022 Microchip FPGA Embedded Systems Solutions.
>>
>> incorporating OpenSBI - version 1.2
>> (c) Copyright 2019-2022 Western Digital Corporation.
>>
>> [5.495680] Build ID: 3f0ed536ff6a0aaef3c9b81896adaee39ec4d8c1
>> [5.502538] Built with the following tools:
>>  - riscv64-unknown-elf-gcc (xPack GNU RISC-V Embedded GCC (Microsemi SoftConsole build), 64-bit) 8.3.0
>>  - GNU ld (xPack GNU RISC-V Embedded GCC (Microsemi SoftConsole build), 64-bit) 2.32
>>
>> [5.524411] NOTICE: Running from L2 Scratchpad
>>
>> [5.530053] Serial Number:
>> 9d5ab5e2c5711676ace9e5cd4b2b1dd000000000000000000000000000000000000000000000000000000000000000000000
>> [5.542726] Segment Configuration:
>>         Cached: SEG0_0: offset 0x0080000000, physical DDR 0x00000000
>>         Cached: SEG0_1: offset 0x1000000000, physical DDR 0x00000000
>>     Non-cached: SEG1_2: offset 0x00c0000000, physical DDR 0x00000000
>>     Non-cached: SEG1_3: offset 0x1400000000, physical DDR 0x00000000
>> Non-cached WCB: SEG1_4: offset 0x00d0000000, physical DDR 0x00000000
>> Non-cached WCB: SEG1_5: offset 0x1800000000, physical DDR 0x00000000
>> [5.583609] L2 Cache Configuration:
>>     L2-Scratchpad:  4 ways (512 KiB)
>>          L2-Cache:  8 ways (1024 KiB)
>>            L2-LIM:  4 ways (512 KiB)
>> [5.598104] DDR-Lo size is   32 MiB
>> [5.602358] DDR-Hi size is 1888 MiB
>> [5.626176] Design Info:
>>     Design Name: CI_DEFAULT_FD28A2CA1789CDC1137
>>     Design Version: 02.00.2
>> [5.636592] Attempting to select eMMC ... Passed
>> [5.891124] User button NOT pressed
>> Press a key to enter CLI, ESC to skip
>> Timeout in 1 second
>> ..
>> [6.900764] CLI boot interrupt timeout
>> [6.905278] Initializing Mi-V IHC
>> [6.909357] Initializing IPI Queues (3304 bytes @ a02e660)...
>> [6.915867] Initializing PMPs
>> [6.919600] Initializing Boot Image ...
>> [6.924200] Trying to boot via MMC ...
>> [6.928714] Attempting to select eMMC ... Passed
>> [7.183124] Preparing to copy from MMC to DDR ...
>> [7.188654] Validated GPT Header ...
>> [7.204547] Validated GPT Partition Entries ...
>> [7.209842] Boot Partition found at index 0
>> [7.214789] Attempting to read image header (1632 bytes) ...
>> [7.221221] Copying 601712 bytes to 0x103fc00000
>> [7.230057] MMC: Boot Image registered ...
>> [7.234918] Boot image passed CRC
>> [7.239258] Boot image set name: "PolarFire-SoC-HSS::U-Boot"
>>
>>
>> U-Boot 2026.01 (Jan 01 1970 - 01:00:00 +0000)
>>
>> alloc space exhausted ptr 2010 limit 2000
>> CPU:   sifive,u54-mc
>> Model: BeagleBoard BeagleV-Fire
>> DRAM:  1 GiB
>> Core:  68 devices, 14 uclasses, devicetree: separate
>> MMC:   mmc@20008000: 0
>> Loading Environment from nowhere... OK
>> In:    serial@20000000
>> Out:   serial@20000000
>> Err:   serial@20000000
>> Net:
>> Error: ethernet@20110000 No valid MAC address found.
>> No ethernet found.
>>
>> Hit any key to stop autoboot: 0
>> switch to partitions #0, OK
>> mmc0(part 0) is current device
>> Scanning mmc 0:2...
>> Failed to load '/'
>> Failed to load EFI variables
>>
>> Error: ethernet@20110000 No valid MAC address found.
>>
>> Error: ethernet@20110000 No valid MAC address found.
>>
>> Error: ethernet@20110000 No valid MAC address found.
>>
>> Error: ethernet@20110000 No valid MAC address found.
>> Booting: Label: mmc 0 Device path: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-)
>> EFI stub: Booting Linux Kernel...
>> EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
>> EFI stub: Using DTB from configuration table
>> EFI stub: Exiting boot services...
>>
>> Error: ethernet@20110000 No valid MAC address found.
>>
>> Error: ethernet@20110000 No valid MAC address found.
>> [    0.000000] Linux version 6.12.63-cip15 (isar-users@googlegroups.com) (riscv64-linux-gnu-gcc (Debian 14.2.0-19) 140
>> [    0.000000] Machine model: BeagleBoard BeagleV-Fire
>> [    0.000000] SBI specification v1.0 detected
>> [    0.000000] SBI implementation ID=0x1 Version=0x10002
>> [    0.000000] SBI TIME extension detected
>> [    0.000000] SBI IPI extension detected
>> [    0.000000] SBI RFENCE extension detected
>> [    0.000000] SBI SRST extension detected
>> [    0.000000] efi: EFI v2.11 by Das U-Boot
>> [    0.000000] efi: RTPROP=0xbe335040 SMBIOS 3.0=0xbf387000 INITRD=0xbe2ed040 MEMRESERVE=0xbe2ec040
>> [    0.000000] OF: reserved mem: failed to allocate memory for node 'non-cached-low-buffer': size 64 MiB
>> [    0.000000] OF: reserved mem: failed to allocate memory for node 'non-cached-high-buffer': size 256 MiB
>> [    0.000000] OF: reserved mem: 0x00000000d8000000..0x00000000d9ffffff (32768 KiB) nomap non-reusable buffer@d8000000
>> [    0.000000] OF: reserved mem: 0x00000000c8000000..0x00000000c9ffffff (32768 KiB) nomap non-reusable buffer@c8000000
>> [    0.000000] OF: reserved mem: 0x0000000088000000..0x0000000089ffffff (32768 KiB) nomap non-reusable buffer@88000000
>> [    0.000000] Reserved memory: created DMA memory pool at 0x000000103fc00000, size 4 MiB
>> [    0.000000] OF: reserved mem: initialized node hss-buffer@103fc00000, compatible id shared-dma-pool
>> [    0.000000] OF: reserved mem: 0x000000103fc00000..0x000000103fffffff (4096 KiB) nomap non-reusable hss-buffer@103f0
>> [    0.000000] Zone ranges:
>> [    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000ffffffff]
>> [    0.000000]   Normal   [mem 0x0000000100000000-0x000000103fffffff]
>> [    0.000000] Movable zone start for each node
>> [    0.000000] Early memory node ranges
>> [    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087ffffff]
>> [    0.000000]   node   0: [mem 0x0000000088000000-0x0000000089ffffff]
>> [    0.000000]   node   0: [mem 0x000000008a000000-0x00000000bdffffff]
>> [    0.000000]   node   0: [mem 0x00000000be000000-0x00000000be000fff]
>> [    0.000000]   node   0: [mem 0x00000000be001000-0x00000000be334fff]
>> [    0.000000]   node   0: [mem 0x00000000be335000-0x00000000be335fff]
>> [    0.000000]   node   0: [mem 0x00000000be336000-0x00000000be336fff]
>> [    0.000000]   node   0: [mem 0x00000000be337000-0x00000000be358fff]
>> [    0.000000]   node   0: [mem 0x00000000be359000-0x00000000bf386fff]
>> [    0.000000]   node   0: [mem 0x00000000bf387000-0x00000000bf387fff]
>> [    0.000000]   node   0: [mem 0x00000000bf388000-0x00000000bfb6bfff]
>> [    0.000000]   node   0: [mem 0x00000000bfb6c000-0x00000000bfb6dfff]
>> [    0.000000]   node   0: [mem 0x00000000bfb6e000-0x00000000bfffffff]
>> [    0.000000]   node   0: [mem 0x00000000c8000000-0x00000000c9ffffff]
>> [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000d9ffffff]
>> [    0.000000]   node   0: [mem 0x000000103fc00000-0x000000103fffffff]
>> [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000103fffffff]
>> [    0.000000] On node 0, zone DMA32: 24576 pages in unavailable ranges
>> [    0.000000] On node 0, zone Normal: 56320 pages in unavailable ranges
>> [    0.000000] SBI HSM extension detected
>> [    0.000000] Falling back to deprecated "riscv,isa"
>> [    0.000000] riscv: base ISA extensions acdfim
>> [    0.000000] riscv: ELF capabilities acdfim
>> [    0.000000] percpu: Embedded 22 pages/cpu s50024 r8192 d31896 u90112
>> [    0.000000] Kernel command line: initrd=\initrd.img-6.12.63-cip15 LABEL=Boot root=PARTUUID=bac9149c-8332-4f2b-a225w
>> [    0.000000] Unknown kernel command line parameters "LABEL=Boot", will be passed to user space.
>> [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
>> [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
>> [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 279552
>> [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
>> [    0.000000] software IO TLB: area num 4.
>> [    0.000000] software IO TLB: mapped [mem 0x00000000b4e00000-0x00000000b8e00000] (64MB)
>> [    0.000000] Virtual kernel memory layout:
>> [    0.000000]       fixmap : 0xffffffc4fea00000 - 0xffffffc4ff000000   (6144 kB)
>> [    0.000000]       pci io : 0xffffffc4ff000000 - 0xffffffc500000000   (  16 MB)
>> [    0.000000]      vmemmap : 0xffffffc500000000 - 0xffffffc600000000   (4096 MB)
>> [    0.000000]      vmalloc : 0xffffffc600000000 - 0xffffffd600000000   (  64 GB)
>> [    0.000000]      modules : 0xffffffff01794000 - 0xffffffff80000000   (2024 MB)
>> [    0.000000]       lowmem : 0xffffffd600000000 - 0xffffffe5c0000000   (  63 GB)
>> [    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
>> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
>> [    0.000000] rcu: Hierarchical RCU implementation.
>> [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
>> [    0.000000] rcu:     RCU debug extended QS entry/exit.
>> [    0.000000]  Tracing variant of Tasks RCU enabled.
>> [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
>> [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
>> [    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
>> [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
>> [    0.000000] riscv-intc: 64 local interrupts mapped
>> [    0.000000] riscv: providing IPIs using SBI IPI extension
>> [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
>> [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361s
>> [    0.000003] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
>> [    0.000628] Console: colour dummy device 80x25
>> [    0.000658] printk: legacy console [tty0] enabled
>> [    0.002546] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000)
>> [    0.002624] pid_max: default: 32768 minimum: 301
>> [    0.002845] LSM: initializing lsm=capability
>> [    0.003339] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
>> [    0.003484] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
>> [    0.007294] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3
>> [    0.012353] riscv: ELF compat mode unsupported
>> [    0.012383] ASID allocator disabled (0 bits)
>> [    0.012907] rcu: Hierarchical SRCU implementation.
>> [    0.012954] rcu:     Max phase no-delay instances is 1000.
>> [    0.013953] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
>> [    0.014734] Remapping and enabling EFI services.
>> [    0.016088] smp: Bringing up secondary CPUs ...
>> [    0.022908] smp: Brought up 1 node, 4 CPUs
>> [    0.025064] Memory: 869308K/1118208K available (11596K kernel code, 4965K rwdata, 4096K rodata, 2273K init, 517K b)
>> [    0.027073] devtmpfs: initialized
>> [    0.038369] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
>> [    0.038491] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
>> [    0.039485] pinctrl core: initialized pinctrl subsystem
>> [    0.041172] SMBIOS 3.7.0 present.
>> [    0.041262] DMI: beagle BeagleBoard BeagleV-Fire/BeagleBoard BeagleV-Fire, BIOS 2026.01 01/01/2026
>> [    0.041357] DMI: Memory slots populated: 0/0
>> [    0.043197] NET: Registered PF_NETLINK/PF_ROUTE protocol family
>> [    0.044109] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
>> [    0.044230] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
>> [    0.044519] audit: initializing netlink subsys (disabled)
>> [    0.045141] audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1
>> [    0.046076] thermal_sys: Registered thermal governor 'step_wise'
>> [    0.046213] cpuidle: using governor menu
>> [    0.072606] cpu1: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
>> [    0.072606] cpu3: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
>> [    0.072633] cpu2: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
>> [    0.096718] cpu0: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow
>> [    0.097122] CCACHE: 4 banks, 16 ways, sets/bank=512, bytes/block=64
>> [    0.097181] CCACHE: Index of the largest way enabled: 11
>> [    0.120441] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@3000000000
>> [    0.121236] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@3000000000
>> [    0.121476] /fabric-pcie-bus@3000000000/pcie@3000000000: Fixed dependency cycle(s) with /fabric-pcie-bus@300000000r
>> [    0.125897] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
>> [    0.125966] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
>> [    0.128097] ACPI: Interpreter disabled.
>> [    0.128795] iommu: Default domain type: Translated
>> [    0.128843] iommu: DMA domain TLB invalidation policy: strict mode
>> [    0.131990] SCSI subsystem initialized
>> [    0.133154] usbcore: registered new interface driver usbfs
>> [    0.133294] usbcore: registered new interface driver hub
>> [    0.133432] usbcore: registered new device driver usb
>> [    0.134931] efivars: Registered efivars operations
>> [    0.136181] Advanced Linux Sound Architecture Driver Initialized.
>> [    0.138550] vgaarb: loaded
>> [    0.139556] clocksource: Switched to clocksource riscv_clocksource
>> [    0.141508] pnp: PnP ACPI: disabled
>> [    0.167966] NET: Registered PF_INET protocol family
>> [    0.169012] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
>> [    0.174128] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes, linear)
>> [    0.174331] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
>> [    0.174427] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
>> [    0.175045] TCP bind hash table entries: 8192 (order: 7, 524288 bytes, linear)
>> [    0.178666] TCP: Hash tables configured (established 8192 bind 8192)
>> [    0.179690] UDP hash table entries: 512 (order: 4, 49152 bytes, linear)
>> [    0.180092] UDP-Lite hash table entries: 512 (order: 4, 49152 bytes, linear)
>> [    0.180915] NET: Registered PF_UNIX/PF_LOCAL protocol family
>> [    0.182745] RPC: Registered named UNIX socket transport module.
>> [    0.182811] RPC: Registered udp transport module.
>> [    0.182846] RPC: Registered tcp transport module.
>> [    0.182879] RPC: Registered tcp-with-tls transport module.
>> [    0.182913] RPC: Registered tcp NFSv4.1 backchannel transport module.
>> [    0.182970] PCI: CLS 0 bytes, default 64
>> [    0.184816] Unpacking initramfs...
>> [    0.186040] workingset: timestamp_bits=46 max_order=18 bucket_order=0
>> [    0.187088] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>> [    0.188252] NFS: Registering the id_resolver key type
>> [    0.188379] Key type id_resolver registered
>> [    0.188418] Key type id_legacy registered
>> [    0.188526] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
>> [    0.188575] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
>> [    0.189155] 9p: Installing v9fs 9p2000 file system support
>> [    0.192783] NET: Registered PF_ALG protocol family
>> [    0.193047] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
>> [    0.193680] io scheduler mq-deadline registered
>> [    0.193733] io scheduler kyber registered
>> [    0.193884] io scheduler bfq registered
>> [    0.196727] riscv-plic: interrupt-controller@c000000: mapped 186 interrupts with 4 handlers for 9 contexts.
>> [    0.200586] SBI CPPC extension NOT detected!!
>> [    0.369675] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
>> [    0.376972] 20000000.serial: ttyS0 at MMIO 0x20000000 (irq = 12, base_baud = 9375000) is a 16550A
>> [    0.377122] printk: legacy console [ttyS0] enabled
>> [    1.457413] 20100000.serial: ttyS1 at MMIO 0x20100000 (irq = 13, base_baud = 9375000) is a 16550A
>> [    1.469786] 20102000.serial: ttyS2 at MMIO 0x20102000 (irq = 14, base_baud = 9375000) is a 16550A
>> [    1.482290] 20106000.serial: ttyS3 at MMIO 0x20106000 (irq = 15, base_baud = 9375000) is a 16550A
>> [    1.493011] SuperH (H)SCI(F) driver initialized
>> [    1.498885] [drm] radeon kernel modesetting enabled.
>> [    1.525663] loop: module loaded
>> [    1.536543] ------------[ cut here ]------------
>> [    1.541291] macb 20110000.ethernet: device non-coherent but no non-coherent operations supported
>> [    1.541323] WARNING: CPU: 0 PID: 1 at arch/riscv/mm/dma-noncoherent.c:139 arch_setup_dma_ops+0x6e/0xac
>> [    1.541380] Modules linked in:
>> [    1.541402] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.63-cip15 #1
> 
> Ouch. I just checked my image again, and it used -cip14. Hope we do not
> have a regression. I will try to rebuild and retry later.
> 

It's not a kernel regression, your firmware is likely too old. Just 
rebuilt "next", and that image also boots fine.

I was told to use the latest official Fire image and flash a newer 
version from there. Here is what I saved from the discord thread:

  cd /usr/share/beagleboard/gateware/
  sudo ./change-gateware.sh default

With that, I get a nice beagle and

---------------------------------
--        BeagleV-Fire         --
---------------------------------

[1.44532] Initializing PMPs
[1.48924] PolarFire(R) SoC Hart Software Services (HSS) - version 0.99.48-v2025.03-19-g5e2caf41
MPFS HAL version 2.3.108 / DDR Driver version 0.4.031 / Mi-V IHC version 0.1.1 / BOARD=mpfs-beaglev-fire
(c) Copyright 2017-2025 Microchip FPGA Embedded Systems Solutions.

incorporating OpenSBI - version 1.2
(c) Copyright 2019-2022 Western Digital Corporation.

[1.85397] Build ID: 17f544e56d3ceb481fdfefde667001e70cf1ce24
...

We may have to add some documentation. Maybe you can note down the steps 
you take, and then we add that to a board README.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
  2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
                   ` (9 preceding siblings ...)
  2026-02-10  5:04 ` [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire nobuhiro.iwamatsu.x90
@ 2026-02-12 12:33 ` Jan Kiszka
  10 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2026-02-12 12:33 UTC (permalink / raw)
  To: cip-dev, Sai Sree Kartheek Adivi, Nobuhiro Iwamatsu

On 02.02.26 13:57, Jan Kiszka wrote:
> This enables support for the BeagleV-Fire in isar-cip-core, including
> SWUpdate, only excluding secure boot so far.
> 
> Note that this comes with an update of our U-Boot version. I've tested
> that on all but the TI AM62px (no hardware access) and would like ask
> for support on that part.
> 
> Jan
> 
> 
> CC: Sai Sree Kartheek Adivi <s-adivi@ti.com>
> 
> Jan Kiszka (9):
>   Kconfig: Sort boards by architecture
>   u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
>   u-boot: Update to v2026.01
>   Add hss-payload-generator recipe
>   u-boot: Add recipe for BeagleV-Fire
>   linux-cip: Update cip-kernel-config revision
>   Add BeagleV-Fire board
>   kas: Add BeagleV-Fire target
>   ci: Add BeagleV-Fire build target
> 
>  .gitlab-ci.yml                                |   7 +
>  Kconfig                                       |  26 +-
>  conf/machine/beaglev-fire.conf                |  22 ++
>  kas/board/beaglev-fire.yml                    |  12 +
>  recipes-bsp/hss-payload-generator/files/rules |  22 ++
>  .../hss-payload-generator_2025.07.bb          |  27 ++
>  ...onvert-SYS_EARLY_PCI_INIT-to-Kconfig.patch |  37 --
>  ...-mach-socfpga-Fix-non-Agilex-targets.patch |  97 -----
>  ...KASLR-OPTEE-RNG-support-for-K3-devic.patch |  38 --
>  ...ustom-CPU-implementation-for-PolarFi.patch | 153 ++++++++
>  ...missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch |  30 ++
>  ...ot-generate-logo-when-cross-building.patch |  33 --
>  ...arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch |  28 --
>  ...SoC-level-options-to-the-CPU-Kconfig.patch |  83 +++++
>  ...or-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch} |  38 +-
>  ...3-riscv-Add-support-for-BeagleV-Fire.patch | 346 ++++++++++++++++++
>  ...ector-value-passed-to-mmc_load_imag.patch} |   6 +-
>  .../files/0003-test-Fix-optee-unit-test.patch | 134 -------
>  ...cfpga-Adjust-a-raw-sectors-for-MMC-l.patch |  16 +-
>  ...onfigs-socfpga-Fix-de0_nano_soc-boot.patch |   4 +-
>  ...6-configs-socfpga-Permit-EFI-booting.patch | 161 ++++----
>  .../u-boot/files/beaglev-fire-config.yaml     |  17 +
>  recipes-bsp/u-boot/files/rules.tmpl           |   1 +
>  ...t-bbb_2025.07.bb => u-boot-bbb_2026.01.bb} |   0
>  .../u-boot/u-boot-beaglev-fire_2026.01.bb     |  28 ++
>  ...-2025.07.inc => u-boot-common-2026.01.inc} |  19 +-
>  ...5.07.bb => u-boot-de0-nano-soc_2026.01.bb} |   0
>  ...025.07.bb => u-boot-qemu-arm64_2026.01.bb} |   0
>  ..._2025.07.bb => u-boot-qemu-arm_2026.01.bb} |   0
>  ...5.07.bb => u-boot-qemu-riscv64_2026.01.bb} |   0
>  ...5.07.bb => u-boot-ti-am62px-sk_2026.01.bb} |   1 -
>  recipes-kernel/linux/cip-kernel-config.inc    |   2 +-
>  wic/beaglev-fire-efibootguard.wks.in          |  20 +
>  wic/beaglev-fire.wks                          |  14 +
>  34 files changed, 924 insertions(+), 498 deletions(-)
>  create mode 100644 conf/machine/beaglev-fire.conf
>  create mode 100644 kas/board/beaglev-fire.yml
>  create mode 100644 recipes-bsp/hss-payload-generator/files/rules
>  create mode 100644 recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb
>  delete mode 100644 recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch
>  delete mode 100644 recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch
>  delete mode 100644 recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch
>  create mode 100644 recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch
>  create mode 100644 recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch
>  delete mode 100644 recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-building.patch
>  delete mode 100644 recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch
>  create mode 100644 recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch
>  rename recipes-bsp/u-boot/files/{0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch => 0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch} (67%)
>  create mode 100644 recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch
>  rename recipes-bsp/u-boot/files/{0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch => 0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch} (87%)
>  delete mode 100644 recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch
>  create mode 100644 recipes-bsp/u-boot/files/beaglev-fire-config.yaml
>  rename recipes-bsp/u-boot/{u-boot-bbb_2025.07.bb => u-boot-bbb_2026.01.bb} (100%)
>  create mode 100644 recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb
>  rename recipes-bsp/u-boot/{u-boot-common-2025.07.inc => u-boot-common-2026.01.inc} (76%)
>  rename recipes-bsp/u-boot/{u-boot-de0-nano-soc_2025.07.bb => u-boot-de0-nano-soc_2026.01.bb} (100%)
>  rename recipes-bsp/u-boot/{u-boot-qemu-arm64_2025.07.bb => u-boot-qemu-arm64_2026.01.bb} (100%)
>  rename recipes-bsp/u-boot/{u-boot-qemu-arm_2025.07.bb => u-boot-qemu-arm_2026.01.bb} (100%)
>  rename recipes-bsp/u-boot/{u-boot-qemu-riscv64_2025.07.bb => u-boot-qemu-riscv64_2026.01.bb} (100%)
>  rename recipes-bsp/u-boot/{u-boot-ti-am62px-sk_2025.07.bb => u-boot-ti-am62px-sk_2026.01.bb} (98%)
>  create mode 100644 wic/beaglev-fire-efibootguard.wks.in
>  create mode 100644 wic/beaglev-fire.wks
> 

Any further comments or test reports on this? I would like to move it
into master soon.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
  2026-02-10 17:28     ` Jan Kiszka
@ 2026-02-13  6:19       ` nobuhiro.iwamatsu.x90
  0 siblings, 0 replies; 17+ messages in thread
From: nobuhiro.iwamatsu.x90 @ 2026-02-13  6:19 UTC (permalink / raw)
  To: jan.kiszka, cip-dev; +Cc: s-adivi

Hi Jan,

> -----Original Message-----
> From: Jan Kiszka <jan.kiszka@siemens.com>
> Sent: Wednesday, February 11, 2026 2:28 AM
> To: iwamatsu nobuhiro(岩松 信洋 □DITC○CPT) <nobuhiro.iwamatsu.x90@mail.toshiba>;
> cip-dev@lists.cip-project.org
> Cc: s-adivi@ti.com
> Subject: Re: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire
> 
> On 10.02.26 09:18, Jan Kiszka wrote:
> > On 10.02.26 06:04, nobuhiro.iwamatsu.x90@mail.toshiba wrote:
> >> Hi,
> >>

<snip>

> >> [    1.541402] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.63-cip15 #1
> >
> > Ouch. I just checked my image again, and it used -cip14. Hope we do
> > not have a regression. I will try to rebuild and retry later.
> >
> 
> It's not a kernel regression, your firmware is likely too old. Just rebuilt "next", and that image also boots fine.
> 
> I was told to use the latest official Fire image and flash a newer version from there. Here is what I saved from the discord
> thread:
> 
>   cd /usr/share/beagleboard/gateware/
>   sudo ./change-gateware.sh default
> 
> With that, I get a nice beagle and
> 
> ---------------------------------
> --        BeagleV-Fire         --
> ---------------------------------
> 
> [1.44532] Initializing PMPs
> [1.48924] PolarFire(R) SoC Hart Software Services (HSS) - version 0.99.48-v2025.03-19-g5e2caf41 MPFS HAL version
> 2.3.108 / DDR Driver version 0.4.031 / Mi-V IHC version 0.1.1 / BOARD=mpfs-beaglev-fire
> (c) Copyright 2017-2025 Microchip FPGA Embedded Systems Solutions.
> 
> incorporating OpenSBI - version 1.2
> (c) Copyright 2019-2022 Western Digital Corporation.
> 
> [1.85397] Build ID: 17f544e56d3ceb481fdfefde667001e70cf1ce24
> ...
> 
> We may have to add some documentation. Maybe you can note down the steps you take, and then we add that to a board
> README.

I tested on the next branch. It booted without any issues.
Seems to work fine even with the old firmware.

Tested-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba>

Best regards,
  Nobuhiro

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-02-13  6:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 12:57 [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 1/9] Kconfig: Sort boards by architecture Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl Jan Kiszka
2026-02-02 13:22   ` [cip-dev] " Quirin Gylstorff
2026-02-02 15:26     ` Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 3/9] u-boot: Update to v2026.01 Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 4/9] Add hss-payload-generator recipe Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 5/9] u-boot: Add recipe for BeagleV-Fire Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 6/9] linux-cip: Update cip-kernel-config revision Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 7/9] Add BeagleV-Fire board Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 8/9] kas: Add BeagleV-Fire target Jan Kiszka
2026-02-02 12:57 ` [isar-cip-core][PATCH 9/9] ci: Add BeagleV-Fire build target Jan Kiszka
2026-02-10  5:04 ` [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-Fire nobuhiro.iwamatsu.x90
2026-02-10  8:18   ` Jan Kiszka
2026-02-10 17:28     ` Jan Kiszka
2026-02-13  6:19       ` nobuhiro.iwamatsu.x90
2026-02-12 12:33 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox