Add support for BeagleV-Fire
cover 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
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.wksSignature · 1 line
2.51.0
PATCH 1/9 Kconfig: Sort boards by architecture
From: Jan Kiszka <[email protected]>
--- Kconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
Kconfig +10 -10
@@ -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"
Signature · 1 line
2.51.0
PATCH 2/9 u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
Allows custom post-processing steps without having to fork the rules.tmpl file.
--- recipes-bsp/u-boot/files/rules.tmpl | 1 + recipes-bsp/u-boot/u-boot-common-2025.07.inc | 4 ++++ 2 files changed, 5 insertions(+)
recipes-bsp/u-boot/files/rules.tmpl +1 -0
@@ -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
recipes-bsp/u-boot/u-boot-common-2025.07.inc +4 -0
@@ -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"
Signature · 1 line
2.51.0
Re: [cip-dev] [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
Quoted 28 lines · Jan Kiszka via lists.cip-project.org
From: Jan Kiszka <[email protected]>
Allows custom post-processing steps without having to fork the rules.tmpl file.
Signed-off-by Jan Kiszka <[email protected]>--- recipes-bsp/u-boot/files/rules.tmpl | 1 + recipes-bsp/u-boot/u-boot-common-2025.07.inc | 4 ++++ 2 files changed, 5 insertions(+)recipes-bsp/u-boot/files/rules.tmpl +1
-0@@ -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.arecipes-bsp/u-boot/u-boot-common-2025.07.inc +0
-0
recipes-bsp/u-boot/u-boot-common-2025.07.inc S = "${WORKDIR}/u-boot-${PV}" · line 42
Quoted 4 lines
recipes-bsp/u-boot/u-boot-common-2025.07.inc +1
-0@@ -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
Quoted 17 lines
recipes-bsp/u-boot/u-boot-common-2025.07.inc +3
-1+ +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: [email protected]
Unsubscribe: https://lists.cip-project.org/g/cip-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [cip-dev] [isar-cip-core][PATCH 2/9] u-boot: Add U_BOOT_EXTRA_BUILDCMD to common rules.tmpl
Quoted 31 lines · Quirin Gylstorff
Quoted 28 lines · Jan Kiszka via lists.cip-project.org
From: Jan Kiszka <[email protected]>
Allows custom post-processing steps without having to fork the rules.tmpl file.
Signed-off-by Jan Kiszka <[email protected]>---
recipes-bsp/u-boot/files/rules.tmpl | 1 + recipes-bsp/u-boot/u-boot-common-2025.07.inc | 4 ++++2 files changed, 5 insertions(+)recipes-bsp/u-boot/ renamed from recipes-bsp/u-boot/files/rules.tmpl +0
-0files/rules.tmpl
indexbbf7bb5a..560a6540100755recipes-bsp/u-boot/files/rules.tmpl +0
-0@@ -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:
mvtools/env/lib.atools/env/libubootenv.arecipes- renamed from recipes-bsp/u-boot/u-boot-common-2025.07.inc +0
-0bsp/u-boot/u-boot-common-2025.07.inc
indexed44bad0..7d91a8d1100644
--- a/recipes-bsp/u-boot/u-boot-common-2025.07.inc
Quoted 9 lines
Quoted 6 lines
+++ b/recipes-bsp/u-boot/u-boot-common-2025.07.inc
recipes- renamed from recipes-bsp/u-boot/u-boot-common-2025.07.inc +0
-0@@ -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
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center
PATCH 3/9 u-boot: Update to v2026.01
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
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.
---
CC: Sai Sree Kartheek Adivi <[email protected]>
---
...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%)recipes-bsp/u-boot/files/0001-Kconfig-Convert-SYS_EARLY_PCI_INIT-to-Kconfig.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From d3403a731b5b194a9e4e2ba67911e760dcd89207 Mon Sep 17 00:00:00 2001 -From: Fabio Estevam <[email protected]> -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 <[email protected]> -Reviewed-by: Tom Rini <[email protected]> ---- - 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 -
recipes-bsp/u-boot/files/0001-arch-arm-mach-socfpga-Fix-non-Agilex-targets.patch deleted +0 -97
97 lines not on this page · raw message
recipes-bsp/u-boot/files/0001-configs-KASLR-OPTEE-RNG-support-for-K3-devic.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 7d4136397715d2c08161a32a873c052dd1bb8b6c Mon Sep 17 00:00:00 2001 -From: Gokul Praveen <[email protected]> -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 <[email protected]> -Reviewed-by: Bryan Brattlof <[email protected]> -Reviewed-by: Manorit Chawdhry <[email protected]> ---- - 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+"
recipes-bsp/u-boot/files/0001-spl-Kconfig-Add-missing-SPL_LOAD_BLOCK-for-SYS_MMCSD.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 542e5b9c621a8f0eade97c745bbf6150cb79f254 Mon Sep 17 00:00:00 2001 +From: Jan Kiszka <[email protected]> +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 <[email protected]> +--- + 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 +
recipes-bsp/u-boot/files/0001-tools-Do-not-generate-logo-when-cross-building.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 371a76e845504c9ba7ca216b6edfb4ae4ec14e56 Mon Sep 17 00:00:00 2001 -From: Jan Kiszka <[email protected]> -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 <[email protected]> -Reviewed-by: Tom Rini <[email protected]> ---- - 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 -
recipes-bsp/u-boot/files/0002-qemu_arm-Select-CONFIG_SYS_EARLY_PCI_INIT.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From b93d9e7cc2b39a6d16356d391d2d7832ed4b9202 Mon Sep 17 00:00:00 2001 -From: Fabio Estevam <[email protected]> -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 <[email protected]> ---- - 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 -
recipes-bsp/u-boot/files/0002-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch renamed from recipes-bsp/u-boot/files/0003-spl-mmc-Account-for-SYS_MMCSD_RAW_MODE_U_BOOT_USE_PA.patch +13 -25
@@ -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 <[email protected]> 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 <[email protected]> --- - 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) || \
recipes-bsp/u-boot/files/0003-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch renamed from recipes-bsp/u-boot/files/0002-spl-mmc-Respect-sector-value-passed-to-mmc_load_imag.patch +3 -3
@@ -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 <[email protected]> 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 <[email protected]> 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,
recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patch deleted +0 -134
134 lines not on this page · raw message
recipes-bsp/u-boot/files/0004-arch-arm-mach-socfpga-Adjust-a-raw-sectors-for-MMC-l.patch +9 -7
@@ -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 <[email protected]> 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 <[email protected]> --- - 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
recipes-bsp/u-boot/files/0005-configs-socfpga-Fix-de0_nano_soc-boot.patch +2 -2
@@ -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 <[email protected]> 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 <[email protected]> 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
recipes-bsp/u-boot/files/0006-configs-socfpga-Permit-EFI-booting.patch +87 -74
309 lines not on this page · raw message
recipes-bsp/u-boot/u-boot-bbb_2026.01.bb renamed from recipes-bsp/u-boot/u-boot-bbb_2025.07.bb +0 -0
recipes-bsp/u-boot/u-boot-common-2026.01.inc renamed from recipes-bsp/u-boot/u-boot-common-2025.07.inc +4 -8
@@ -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"
recipes-bsp/u-boot/u-boot-de0-nano-soc_2026.01.bb renamed from recipes-bsp/u-boot/u-boot-de0-nano-soc_2025.07.bb +0 -0
recipes-bsp/u-boot/u-boot-qemu-arm64_2026.01.bb renamed from recipes-bsp/u-boot/u-boot-qemu-arm64_2025.07.bb +0 -0
recipes-bsp/u-boot/u-boot-qemu-arm_2026.01.bb renamed from recipes-bsp/u-boot/u-boot-qemu-arm_2025.07.bb +0 -0
recipes-bsp/u-boot/u-boot-qemu-riscv64_2026.01.bb renamed from recipes-bsp/u-boot/u-boot-qemu-riscv64_2025.07.bb +0 -0
recipes-bsp/u-boot/u-boot-ti-am62px-sk_2026.01.bb renamed from recipes-bsp/u-boot/u-boot-ti-am62px-sk_2025.07.bb +0 -1
@@ -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"
Signature · 1 line
2.51.0
PATCH 4/9 Add hss-payload-generator recipe
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
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.
--- 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
recipes-bsp/hss-payload-generator/files/rules new file +22 -0
@@ -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
recipes-bsp/hss-payload-generator/hss-payload-generator_2025.07.bb new file +27 -0
@@ -0,0 +1,27 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Siemens, 2025 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# 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 +}
Signature · 1 line
2.51.0
PATCH 5/9 u-boot: Add recipe for BeagleV-Fire
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
Requires 3 patches, 2 are merged for past 2026.01, one is pending and had some fix-up needs.
--- ...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
recipes-bsp/u-boot/files/0001-riscv-create-a-custom-CPU-implementation-for-PolarFi.patch new file +153 -0
@@ -0,0 +1,153 @@ +From 851a7cf7775590e0d0b9d3cec38c1c3ae9cec528 Mon Sep 17 00:00:00 2001 +From: Conor Dooley <[email protected]> +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 <[email protected]> +Reviewed-by: Leo Yu-Chi Liang <[email protected]> +--- + 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 <[email protected]> ++ */ ++ ++#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 +
recipes-bsp/u-boot/files/0002-riscv-mpfs-move-SoC-level-options-to-the-CPU-Kconfig.patch new file +83 -0
83 lines not on this page · raw message
recipes-bsp/u-boot/files/0003-riscv-Add-support-for-BeagleV-Fire.patch new file +346 -0
346 lines not on this page · raw message
recipes-bsp/u-boot/files/beaglev-fire-config.yaml new file +17 -0
@@ -0,0 +1,17 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Siemens, 2025 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# 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}
recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb new file +23 -0
@@ -0,0 +1,23 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Siemens, 2026 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# 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"
recipes-bsp/u-boot/u-boot-common-2026.01.inc +3 -0
@@ -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"
Signature · 1 line
2.51.0
PATCH 6/9 linux-cip: Update cip-kernel-config revision
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
Brings support for the BeagleV-Fire, the RZ/V2N, RZ/T2H, and RZ/N2H Renesas SoCs.
--- recipes-kernel/linux/cip-kernel-config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/cip-kernel-config.inc +1 -1
@@ -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"
Signature · 1 line
2.51.0
PATCH 7/9 Add BeagleV-Fire board
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
This is the new RISC-V reference target. Add its machine config and the wks files for regular and SWUpdate-based UEFI booting.
--- 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
conf/machine/beaglev-fire.conf new file +22 -0
@@ -0,0 +1,22 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Siemens AG, 2025 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# 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"
recipes-bsp/u-boot/u-boot-beaglev-fire_2026.01.bb +5 -0
@@ -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 +}
wic/beaglev-fire-efibootguard.wks.in new file +20 -0
@@ -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"
wic/beaglev-fire.wks new file +14 -0
@@ -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"
Signature · 1 line
2.51.0
PATCH 8/9 kas: Add BeagleV-Fire target
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
--- Kconfig | 10 ++++++++-- kas/board/beaglev-fire.yml | 12 ++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 kas/board/beaglev-fire.yml
Kconfig +8 -2
@@ -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"
kas/board/beaglev-fire.yml new file +12 -0
@@ -0,0 +1,12 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Siemens AG, 2025 +# +# SPDX-License-Identifier: MIT +# + +header: + version: 14 + +machine: beaglev-fire
Signature · 1 line
2.51.0
PATCH 9/9 ci: Add BeagleV-Fire build target
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
--- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+)
.gitlab-ci.yml +7 -0
@@ -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:
Signature · 1 line
2.51.0
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 ([email protected]) (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) \
```Quoted 129 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Jan Kiszka via lists.cip-project.org
Sent: Monday, February 2, 2026 9:58 PM
To: [email protected]
Cc: Sai Sree Kartheek Adivi <[email protected]>
Subject: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-FireThis 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 <[email protected]>Jan Kiszka (9):
Kconfig: Sort boards by architecture
u-boot: AddU_BOOT_EXTRA_BUILDCMDto 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 100644recipes-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 100644recipes-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 100644recipes-bsp/u-boot/files/0003-test-Fix-optee-unit-test.patchcreate 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
Quoted 280 lines · On 10.02.26 06:04, [email protected] wrote:
Hi,
Thanks for your patch.
I tested this patch series on049ea8ff8370a10d88214b2d488ef6f7c1d28a4e(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.0MPFS 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@20000000Net:
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 variablesError: 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 fromLINUX_EFI_INITRD_MEDIA_GUIDdevice 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 ([email protected]) (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
Quoted 8 lines
[ 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
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center
Quoted 290 lines · Jan Kiszka
Quoted 280 lines · On 10.02.26 06:04, [email protected] wrote:
Hi,
Thanks for your patch.
I tested this patch series on049ea8ff8370a10d88214b2d488ef6f7c1d28a4e(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.0MPFS 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@20000000Net:
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 variablesError: 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 fromLINUX_EFI_INITRD_MEDIA_GUIDdevice 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 ([email protected]) (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 16550AQuoted 8 lines
[ 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
Quoted 3 lines
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
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center
[email protected]
Tested-byHi Jan,
Quoted 12 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Wednesday, February 11, 2026 2:28 AM
To: iwamatsu nobuhiro(岩松 信洋 □DITC○CPT) <[email protected]>; [email protected]
Cc: [email protected]
Subject: Re: [cip-dev] [isar-cip-core][PATCH 0/9] Add support for BeagleV-FireQuoted 3 lines · Jan Kiszka
Quoted 2 lines · On 10.02.26 06:04, [email protected] wrote:
Hi,
<snip>
Quoted 25 lines
Quoted 5 lines
Quoted 1 line
[ 1.541402] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.63-cip15 #1Ouch. 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 defaultWith 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 version2.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.
Quoted 8 lines
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.
Best regards,
Nobuhiro
Quoted 77 lines · Jan Kiszka
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 <[email protected]>Jan Kiszka (9):
Kconfig: Sort boards by architecture
u-boot: AddU_BOOT_EXTRA_BUILDCMDto 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
Quoted 9 lines
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.wksAny further comments or test reports on this? I would like to move it into master soon.
Jan
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center