Skip to contentSkip to conversation

Add support for AM62x-SK HS-FS devices

PATCH Superseded Dario Binacchi 3 participants 22 messages Dec 13, 2023 – Jan 4, 2024

v2 of 10 Superseded Latest is v10 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add support for AM62x-SK HS-FS devices

The SK-AM62B-P1 is the newest version of SK-AM62 which includes high-security field-securable (HS-FS) silicon to optionally customize keys and encryption for security applications.
This requires enabling the BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS option, which, however, was buggy. This series fixes the errors and bumps the Linux kernel and U-Boot required for such a new device.

Dario Binacchi (11):
boot/ti-k3-core-secdev: new package boot/ti-k3-image-gen: manage HS hardware package/python-jsonschema: add host variant package/python-attrs: add host variant package/python-referencing: add host variant package/python-rpds-py: add host variant package/python-jsonschema-specifications: add host variant boot/ti-k3-r5-loader: set binman environment boot/uboot: set BINMAN_INDIRS for TI K3 DM configs/ti_am62x_sk_defconfig: bump U-Boot version to 2023.10 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.1

 DEVELOPERS                                    |  1 +
 board/ti/am62x-sk/genimage.cfg                |  7 ++-
 board/ti/am62x-sk/post-build.sh               | 49 +++++++++++++++++++
 board/ti/am62x-sk/post-image.sh               |  5 ++
 boot/Config.in                                |  1 +
 boot/ti-k3-core-secdev/Config.in              |  9 ++++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash |  3 ++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk   | 19 +++++++
 boot/ti-k3-image-gen/Config.in                |  1 +
 boot/ti-k3-image-gen/ti-k3-image-gen.mk       | 16 +++++-
 boot/ti-k3-r5-loader/Config.in                | 13 +++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk       |  1 +
 boot/uboot/uboot.mk                           |  3 +-
 configs/ti_am62x_sk_defconfig                 | 14 ++++--
 package/Config.in.host                        |  5 ++
 package/python-attrs/Config.in.host           |  8 +++
 package/python-attrs/python-attrs.mk          |  6 +++
 .../Config.in.host                            |  7 +++
 .../python-jsonschema-specifications.mk       |  5 ++
 package/python-jsonschema/Config.in.host      |  6 +++
 .../python-jsonschema/python-jsonschema.mk    |  6 +++
 package/python-referencing/Config.in.host     |  6 +++
 .../python-referencing/python-referencing.mk  |  7 +++
 package/python-rpds-py/Config.in.host         |  8 +++
 package/python-rpds-py/python-rpds-py.mk      |  1 +
 25 files changed, 199 insertions(+), 8 deletions(-)
 create mode 100755 board/ti/am62x-sk/post-build.sh
 create mode 100755 board/ti/am62x-sk/post-image.sh
 create mode 100644 boot/ti-k3-core-secdev/Config.in
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk
 create mode 100644 package/python-attrs/Config.in.host
 create mode 100644 package/python-jsonschema-specifications/Config.in.host
 create mode 100644 package/python-jsonschema/Config.in.host
 create mode 100644 package/python-referencing/Config.in.host
 create mode 100644 package/python-rpds-py/Config.in.host
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 1/11 boot/ti-k3-core-secdev: new package

This is a security development package containing tools for High-Security(HS) TI K3 platform devices.

---
 DEVELOPERS                                    |  1 +
 boot/Config.in                                |  1 +
 boot/ti-k3-core-secdev/Config.in              |  9 +++++++++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash |  3 +++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk   | 19 +++++++++++++++++++
 5 files changed, 33 insertions(+)
 create mode 100644 boot/ti-k3-core-secdev/Config.in
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk
DEVELOPERS +1 -0
index ccc4d1bb321a..267153ede584 100644
@@ -754,6 +754,7 @@ F:	package/xinetd/
 N:	Dario Binacchi <[email protected]>
 F:	board/bsh/
 F:	board/stmicroelectronics/stm32f769-disco/
+F:	boot/ti-k3-core-secdev/
 F:	configs/imx8mn_bsh_smm_s2_defconfig
 F:	configs/imx8mn_bsh_smm_s2_pro_defconfig
 F:	configs/stm32f769_disco_sd_defconfig
boot/Config.in +1 -0
index e5fdf7ad439e..18a7d268f95a 100644
@@ -20,6 +20,7 @@ source "boot/s500-bootloader/Config.in"
 source "boot/shim/Config.in"
 source "boot/syslinux/Config.in"
 source "boot/ti-k3-boot-firmware/Config.in"
+source "boot/ti-k3-core-secdev/Config.in"
 source "boot/ti-k3-image-gen/Config.in"
 source "boot/ti-k3-r5-loader/Config.in"
 source "boot/uboot/Config.in"
boot/ti-k3-core-secdev/Config.in new file +9 -0
new file mode 100644
index 000000000000..1749b7ab5fd9
@@ -0,0 +1,9 @@
+config BR2_TARGET_TI_K3_CORE_SECDEV
+	bool "ti-k3-core-secdev"
+	depends on BR2_aarch64
+	help
+	  This package downloads and installs development tools for
+	  High-Security(HS) TI K3 platforms (which include AM62x,
+	  AM64x, AM65x and more).
+
+	  https://git.ti.com/cgit/security-development-tools/core-secdev-k3/
boot/ti-k3-core-secdev/ti-k3-core-secdev.hash new file +3 -0
new file mode 100644
index 000000000000..0460cff6c59f
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  b6d3bca0d561d055c6869c5564b06f2fb1b9f67e4ef180c2baf8a14a6a6afa06  core-secdev-k3-08.06.00.007.tar.xz
+sha256  3e5cf4f5ab9f0333f46cd68fabede3f21e55de1a9e3c6ad673f241f4514d8369  k3-secdev-0.2-manifest.html
boot/ti-k3-core-secdev/ti-k3-core-secdev.mk new file +19 -0
new file mode 100644
index 000000000000..0127e6503d4d
@@ -0,0 +1,19 @@
+################################################################################
+#
+# ti-k3-core-secdev
+#
+################################################################################
+
+TI_K3_CORE_SECDEV_VERSION = 08.06.00.007
+TI_K3_CORE_SECDEV_SITE = https://git.ti.com/cgit/security-development-tools/core-secdev-k3/snapshot
+TI_K3_CORE_SECDEV_SOURCE = core-secdev-k3-$(TI_K3_CORE_SECDEV_VERSION).tar.xz
+TI_K3_CORE_SECDEV_INSTALL_IMAGES = YES
+TI_K3_CORE_SECDEV_LICENSE = TI Text File, Apache-2.0
+TI_K3_CORE_SECDEV_LICENSE_FILES = k3-secdev-0.2-manifest.html
+
+define TI_K3_CORE_SECDEV_INSTALL_IMAGES_CMDS
+	cp -dpfr $(@D)/keys $(BINARIES_DIR)/
+	cp -dpfr $(@D)/scripts $(BINARIES_DIR)/
+endef
+
+$(eval $(generic-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH v2 2/11 boot/ti-k3-image-gen: manage HS hardware

In reply to Dario Binacchi

The patch sets the configurations required by TI HS systems. Some of these configurations (i. e. HS SYSFW image signing key, HS Software Revision) are provided by the ti-k3-core-secdev package in the binaries directory.

---
 boot/ti-k3-image-gen/Config.in          |  1 +
 boot/ti-k3-image-gen/ti-k3-image-gen.mk | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
boot/ti-k3-image-gen/Config.in +1 -0
index d76cef82e911..38d1598d9fc0 100644
@@ -2,6 +2,7 @@ config BR2_TARGET_TI_K3_IMAGE_GEN
 	bool "ti-k3-image-gen"
 	depends on BR2_TARGET_TI_K3_R5_LOADER
 	select BR2_TARGET_TI_K3_BOOT_FIRMWARE
+	select BR2_TARGET_TI_K3_CORE_SECDEV if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS || BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS
 	# We need FIT support in uboot-tools, which is why we select a
 	# host package
 	select BR2_PACKAGE_HOST_UBOOT_TOOLS
boot/ti-k3-image-gen/ti-k3-image-gen.mk +14 -2
index 64be9a18f2c4..91aed63bab84 100644
@@ -29,10 +29,21 @@ TI_K3_IMAGE_GEN_FW_TYPE = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE))
 TI_K3_IMAGE_GEN_SOC = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_SOC))
 TI_K3_IMAGE_GEN_SECTYPE = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE))
 
-TI_K3_IMAGE_GEN_SYSFW = $(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE).bin
+ifeq ($(BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP),y)
+TI_K3_IMAGE_GEN_SYSFW = \
+	$(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE).bin
+else
+TI_K3_IMAGE_GEN_DEPENDENCIES += ti-k3-core-secdev
+
+TI_K3_IMAGE_GEN_SYSFW = \
+	$(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE)-enc.bin \
+	$(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE)-cert.bin
+endif
 
 define TI_K3_IMAGE_GEN_CONFIGURE_CMDS
-	cp $(BINARIES_DIR)/ti-sysfw/$(TI_K3_IMAGE_GEN_SYSFW) $(@D)
+	$(foreach t,$(TI_K3_IMAGE_GEN_SYSFW),\
+		cp $(BINARIES_DIR)/ti-sysfw/$(t) $(@D)/
+	)
 endef
 
 define TI_K3_IMAGE_GEN_BUILD_CMDS
@@ -40,6 +51,7 @@ define TI_K3_IMAGE_GEN_BUILD_CMDS
 	$(BR2_MAKE) -C $(@D) \
 		SOC=$(TI_K3_IMAGE_GEN_SOC) \
 		SOC_TYPE=$(TI_K3_IMAGE_GEN_SECTYPE) \
+		TI_SECURE_DEV_PKG=$(BINARIES_DIR) \
 		CONFIG=evm \
 		CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \
 		SBL=$(BINARIES_DIR)/r5-u-boot-spl.bin \
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH v2 3/11 package/python-jsonschema: add host variant

In reply to Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman.

---
 package/Config.in.host                         | 1 +
 package/python-jsonschema/Config.in.host       | 6 ++++++
 package/python-jsonschema/python-jsonschema.mk | 6 ++++++
 3 files changed, 13 insertions(+)
 create mode 100644 package/python-jsonschema/Config.in.host
package/Config.in.host +1 -0
index c80842c33a2f..5d2121de02a4 100644
@@ -85,6 +85,7 @@ menu "Host utilities"
 	source "package/python-cython/Config.in.host"
 	source "package/python-greenlet/Config.in.host"
 	source "package/python-iniparse/Config.in.host"
+	source "package/python-jsonschema/Config.in.host"
 	source "package/python-kflash/Config.in.host"
 	source "package/python-lxml/Config.in.host"
 	source "package/python-pyyaml/Config.in.host"
package/python-jsonschema/Config.in.host new file +6 -0
new file mode 100644
index 000000000000..fd275a41b200
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+	bool "host python-jsonschema"
+	help
+	  The host implementation of JSON Schema validation for Python.
+
+	  https://github.com/python-jsonschema/jsonschema
package/python-jsonschema/python-jsonschema.mk +6 -0
index dee87e8f9d9b..6f2206f3a03c 100644
@@ -15,4 +15,10 @@ PYTHON_JSONSCHEMA_DEPENDENCIES = \
 	host-python-hatch-fancy-pypi-readme \
 	host-python-hatch-vcs
 
+HOST_PYTHON_JSONSCHEMA_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-fancy-pypi-readme \
+	host-python-hatch-vcs
+
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH v2 03/11] package/python-jsonschema: add host variant

Quoted 11 lines · Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman.

---
 package/Config.in.host                         | 1 +
 package/python-jsonschema/Config.in.host       | 6 ++++++

Adding an Config.in.host for this kind of package is not useful, see documentation section 18.2.2. Config.in.host file

François

 package/python-jsonschema/python-jsonschema.mk | 6 ++++++
Quoted 47 lines
 3 files changed, 13 insertions(+)
 create mode 100644 package/python-jsonschema/Config.in.host
package/Config.in.host +1 -0
index c80842c33a2f..5d2121de02a4 100644
@@ -85,6 +85,7 @@ menu "Host utilities"
        source "package/python-cython/Config.in.host"
        source "package/python-greenlet/Config.in.host"
        source "package/python-iniparse/Config.in.host"
+       source "package/python-jsonschema/Config.in.host"
        source "package/python-kflash/Config.in.host"
        source "package/python-lxml/Config.in.host"
        source "package/python-pyyaml/Config.in.host"
package/python-jsonschema/Config.in.host new file +6 -0
new file mode 100644
index 000000000000..fd275a41b200
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+       bool "host python-jsonschema"
+       help
+         The host implementation of JSON Schema validation for Python.
+
+         https://github.com/python-jsonschema/jsonschema
package/python-jsonschema/python-jsonschema.mk +6 -1
index dee87e8f9d9b..6f2206f3a03c 100644
@@ -15,4 +15,10 @@ PYTHON_JSONSCHEMA_DEPENDENCIES = \
        host-python-hatch-fancy-pypi-readme \
        host-python-hatch-vcs
 
+HOST_PYTHON_JSONSCHEMA_DEPENDENCIES = \
+       host-python-hatchling \
+       host-python-hatch-fancy-pypi-readme \
+       host-python-hatch-vcs
+
 $(eval $(python-package))
+$(eval $(host-python-package))
--

2.43.0

Quoted 5 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Re: [Buildroot] [PATCH v2 03/11] package/python-jsonschema: add host variant

Hello François,

Quoted 17 lines · François Perrad
Quoted 11 lines · Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman.

---
 package/Config.in.host                         | 1 +
 package/python-jsonschema/Config.in.host       | 6 ++++++
Quoted 2 lines

Adding an Config.in.host for this kind of package is not useful, see documentation section 18.2.2. Config.in.host file

Do I need to drop the Config.in.host file for all the packages needed by binman? Or only for this one?

Thanks and regards,
Dario

Quoted 52 lines

François

Quoted 50 lines
 package/python-jsonschema/python-jsonschema.mk | 6 ++++++
 3 files changed, 13 insertions(+)
 create mode 100644 package/python-jsonschema/Config.in.host
package/Config.in.host +1 -0
index c80842c33a2f..5d2121de02a4 100644
@@ -85,6 +85,7 @@ menu "Host utilities"
        source "package/python-cython/Config.in.host"
        source "package/python-greenlet/Config.in.host"
        source "package/python-iniparse/Config.in.host"
+       source "package/python-jsonschema/Config.in.host"
        source "package/python-kflash/Config.in.host"
        source "package/python-lxml/Config.in.host"
        source "package/python-pyyaml/Config.in.host"
package/python-jsonschema/Config.in.host new file +6 -0
new file mode 100644
index 000000000000..fd275a41b200
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+       bool "host python-jsonschema"
+       help
+         The host implementation of JSON Schema validation for Python.
+
+         https://github.com/python-jsonschema/jsonschema
package/python-jsonschema/python-jsonschema.mk +6 -1
index dee87e8f9d9b..6f2206f3a03c 100644
@@ -15,4 +15,10 @@ PYTHON_JSONSCHEMA_DEPENDENCIES = \
        host-python-hatch-fancy-pypi-readme \
        host-python-hatch-vcs
 
+HOST_PYTHON_JSONSCHEMA_DEPENDENCIES = \
+       host-python-hatchling \
+       host-python-hatch-fancy-pypi-readme \
+       host-python-hatch-vcs
+
 $(eval $(python-package))
+$(eval $(host-python-package))
--

2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Signature · 21 lines
Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [PATCH v2 03/11] package/python-jsonschema: add host variant

Quoted 22 lines · Dario Binacchi

Hello François,

Quoted 4 lines · François Perrad

Le mer. 13 déc. 2023 à 17:44, Dario Binacchi <

Quoted 13 lines · [email protected]> a écrit :
Quoted 11 lines

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman.

---
 package/Config.in.host                         | 1 +
 package/python-jsonschema/Config.in.host       | 6 ++++++
Quoted 9 lines
Quoted 1 line

Adding an Config.in.host for this kind of package is not useful, see

documentation section 18.2.2. Config.in.host file

Quoted 1 line

Do I need to drop the Config.in.host file for all the packages needed by binman?
Or only for this one?

For all host python packages required by binman.

François

Quoted 71 lines

Thanks and regards,
Dario

Quoted 6 lines

François

Quoted 4 lines
 package/python-jsonschema/python-jsonschema.mk | 6 ++++++
 3 files changed, 13 insertions(+)
 create mode 100644 package/python-jsonschema/Config.in.host
Quoted 13 lines

Review

Quoted 13 lines
package/Config.in.host +1 -0
index c80842c33a2f..5d2121de02a4 100644
@@ -85,6 +85,7 @@ menu "Host utilities"
        source "package/python-cython/Config.in.host"
        source "package/python-greenlet/Config.in.host"
        source "package/python-iniparse/Config.in.host"
+       source "package/python-jsonschema/Config.in.host"
        source "package/python-kflash/Config.in.host"
        source "package/python-lxml/Config.in.host"
        source "package/python-pyyaml/Config.in.host"
(quoted diff) +0 -0

b/package/python-jsonschema/Config.in.host

Quoted 4 lines
Quoted 4 lines

new file mode 100644
index 000000000000..fd275a41b200

package/python-jsonschema/Config.in.host new file +0 -0
Quoted 8 lines

Review

Quoted 8 lines
package/python-jsonschema/Config.in.host new file +6 -0
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+       bool "host python-jsonschema"
+       help
+         The host implementation of JSON Schema validation for Python.
+
+         https://github.com/python-jsonschema/jsonschema
(quoted diff) +0 -0

b/package/python-jsonschema/python-jsonschema.mk

Quoted 17 lines
Quoted 17 lines

index dee87e8f9d9b..6f2206f3a03c 100644

package/python-jsonschema/python-jsonschema.mk +6 -1
@@ -15,4 +15,10 @@ PYTHON_JSONSCHEMA_DEPENDENCIES = \
        host-python-hatch-fancy-pypi-readme \
        host-python-hatch-vcs
 
+HOST_PYTHON_JSONSCHEMA_DEPENDENCIES = \
+       host-python-hatchling \
+       host-python-hatch-fancy-pypi-readme \
+       host-python-hatch-vcs
+
 $(eval $(python-package))
+$(eval $(host-python-package))
--

2.43.0

Quoted 4 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

--

Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________

Quoted 9 lines

Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw

PATCH v2 4/11 package/python-attrs: add host variant

In reply to Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman.

---
 package/Config.in.host               | 1 +
 package/python-attrs/Config.in.host  | 8 ++++++++
 package/python-attrs/python-attrs.mk | 6 ++++++
 3 files changed, 15 insertions(+)
 create mode 100644 package/python-attrs/Config.in.host
package/Config.in.host +1 -0
index 5d2121de02a4..5f9dbd3c71be 100644
@@ -82,6 +82,7 @@ menu "Host utilities"
 	source "package/pkgconf/Config.in.host"
 	source "package/pru-software-support/Config.in.host"
 	source "package/pwgen/Config.in.host"
+	source "package/python-attrs/Config.in.host"
 	source "package/python-cython/Config.in.host"
 	source "package/python-greenlet/Config.in.host"
 	source "package/python-iniparse/Config.in.host"
package/python-attrs/Config.in.host new file +8 -0
new file mode 100644
index 000000000000..d85f57915318
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_HOST_PYTHON_ATTRS
+	bool "host python-attrs"
+	help
+	  attrs is the Python package that will bring back the joy of
+	  writing classes by relieving you from the drudgery of
+	  implementing object protocols (aka dunder methods).
+
+	  https://attrs.readthedocs.io/
package/python-attrs/python-attrs.mk +6 -0
index 0d704ea11195..96d6b8ad7923 100644
@@ -15,4 +15,10 @@ PYTHON_ATTRS_DEPENDENCIES = \
 	host-python-hatch-fancy-pypi-readme \
 	host-python-hatch-vcs
 
+HOST_PYTHON_ATTRS_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-fancy-pypi-readme \
+	host-python-hatch-vcs
+
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw

PATCH v2 5/11 package/python-referencing: add host variant

In reply to Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman.

---
 package/Config.in.host                           | 1 +
 package/python-referencing/Config.in.host        | 6 ++++++
 package/python-referencing/python-referencing.mk | 7 +++++++
 3 files changed, 14 insertions(+)
 create mode 100644 package/python-referencing/Config.in.host
package/Config.in.host +1 -0
index 5f9dbd3c71be..56299184eb40 100644
@@ -90,6 +90,7 @@ menu "Host utilities"
 	source "package/python-kflash/Config.in.host"
 	source "package/python-lxml/Config.in.host"
 	source "package/python-pyyaml/Config.in.host"
+	source "package/python-referencing/Config.in.host"
 	source "package/python-six/Config.in.host"
 	source "package/python-xlrd/Config.in.host"
 	source "package/python3/Config.in.host"
package/python-referencing/Config.in.host new file +6 -0
new file mode 100644
index 000000000000..78fc8294f2a5
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_PYTHON_REFERENCING
+	bool "host python-referencing"
+	help
+	  JSON Referencing + Python.
+
+	  https://github.com/python-jsonschema/referencing
package/python-referencing/python-referencing.mk +7 -0
index 4d11c99deb3b..9d8fc5a2f541 100644
@@ -11,7 +11,14 @@ PYTHON_REFERENCING_SETUP_TYPE = pep517
 PYTHON_REFERENCING_LICENSE = MIT
 PYTHON_REFERENCING_LICENSE_FILES = COPYING
 PYTHON_REFERENCING_DEPENDENCIES = \
+	host-python-attrs \
+	host-python-hatchling \
+	host-python-hatch-vcs
+
+HOST_PYTHON_REFERENCING_DEPENDENCIES = \
+	host-python-attrs \
 	host-python-hatchling \
 	host-python-hatch-vcs
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw

PATCH v2 6/11 package/python-rpds-py: add host variant

In reply to Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman

---
 package/Config.in.host                   | 1 +
 package/python-rpds-py/Config.in.host    | 8 ++++++++
 package/python-rpds-py/python-rpds-py.mk | 1 +
 3 files changed, 10 insertions(+)
 create mode 100644 package/python-rpds-py/Config.in.host
package/Config.in.host +1 -0
index 56299184eb40..1b2af6cbf0f2 100644
@@ -91,6 +91,7 @@ menu "Host utilities"
 	source "package/python-lxml/Config.in.host"
 	source "package/python-pyyaml/Config.in.host"
 	source "package/python-referencing/Config.in.host"
+	source "package/python-rpds-py/Config.in.host"
 	source "package/python-six/Config.in.host"
 	source "package/python-xlrd/Config.in.host"
 	source "package/python3/Config.in.host"
package/python-rpds-py/Config.in.host new file +8 -0
new file mode 100644
index 000000000000..2c11019fe997
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_HOST_PYTHON_RPDS_PY
+	bool "host python-rpds-py"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	help
+	  Python bindings to the Rust rpds crate for persistent
+	  data structures.
+
+	  https://github.com/crate-py/rpds
package/python-rpds-py/python-rpds-py.mk +1 -0
index 6f71d0204704..f426bddff3d6 100644
@@ -12,3 +12,4 @@ PYTHON_RPDS_PY_LICENSE = MIT
 PYTHON_RPDS_PY_LICENSE_FILES = LICENSE
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#10 lore raw

PATCH v2 7/11 package/python-jsonschema-specifications: add host variant

In reply to Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. This package is required by binman.

---
 package/Config.in.host                                     | 1 +
 package/python-jsonschema-specifications/Config.in.host    | 7 +++++++
 .../python-jsonschema-specifications.mk                    | 5 +++++
 3 files changed, 13 insertions(+)
 create mode 100644 package/python-jsonschema-specifications/Config.in.host
package/Config.in.host +1 -0
index 1b2af6cbf0f2..27237639ada1 100644
@@ -87,6 +87,7 @@ menu "Host utilities"
 	source "package/python-greenlet/Config.in.host"
 	source "package/python-iniparse/Config.in.host"
 	source "package/python-jsonschema/Config.in.host"
+	source "package/python-jsonschema-specifications/Config.in.host"
 	source "package/python-kflash/Config.in.host"
 	source "package/python-lxml/Config.in.host"
 	source "package/python-pyyaml/Config.in.host"
package/python-jsonschema-specifications/Config.in.host new file +7 -0
new file mode 100644
index 000000000000..903b4c4d98a2
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS
+	bool "host python-jsonschema-specifications"
+	help
+	  The JSON Schema meta-schemas and vocabularies, exposed as a
+	  Registry.
+
+	  https://github.com/python-jsonschema/jsonschema-specifications
package/python-jsonschema-specifications/python-jsonschema-specifications.mk +5 -0
index 7a19eee4236f..a20045f316b2 100644
@@ -14,4 +14,9 @@ PYTHON_JSONSCHEMA_SPECIFICATIONS_DEPENDENCIES = \
 	host-python-hatchling \
 	host-python-hatch-vcs
 
+HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-vcs
+
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#11 lore raw

PATCH v2 8/11 boot/ti-k3-r5-loader: set binman environment

In reply to Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts.

The patch set the BINMAN_INDIRS environment variable to provide the directory to search for binary blobs and select the packages required by binman.

---

Changes in v2:
- Change commit message
- Add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option
- Select packages required by binman if BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN is enabled

---
 boot/ti-k3-r5-loader/Config.in          | 13 +++++++++++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk |  1 +
 2 files changed, 14 insertions(+)
boot/ti-k3-r5-loader/Config.in +13 -0
index 8c8368a1a5a8..a40eaed9467b 100644
@@ -93,4 +93,17 @@ config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE
 	help
 	  Path to the TI K3 R5 Loader configuration file.
 
+config BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN
+	bool "U-Boot uses binman"
+	select BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
+	select BR2_PACKAGE_HOST_PYTHON_ATTRS
+	select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+	select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS
+	select BR2_PACKAGE_HOST_PYTHON_PYYAML
+	select BR2_PACKAGE_HOST_PYTHON_REFERENCING
+	select BR2_PACKAGE_HOST_PYTHON_RPDS_PY
+	help
+	  Select this option if your U-Boot version uses binman
+	  for building images.
+
 endif
boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +1 -0
index 0ffcb8235f2e..d5ec8fa8ba96 100644
@@ -58,6 +58,7 @@ TI_K3_R5_LOADER_MAKE_OPTS = \
 	CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \
 	ARCH=arm \
 	HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem /,$(HOST_CFLAGS)))" \
+	BINMAN_INDIRS=$(BINARIES_DIR) \
 	HOSTLDFLAGS="$(HOST_LDFLAGS)"
 
 define TI_K3_R5_LOADER_BUILD_CMDS
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#12 lore raw

Re: [Buildroot] [PATCH v2 08/11] boot/ti-k3-r5-loader: set binman environment

Quoted 35 lines · Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts.

The patch set the BINMAN_INDIRS environment variable to provide the directory to search for binary blobs and select the packages required by binman.

---

Changes in v2:
- Change commit message
- Add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option
- Select packages required by binman if BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN is enabled

---
 boot/ti-k3-r5-loader/Config.in          | 13 +++++++++++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk |  1 +
 2 files changed, 14 insertions(+)
boot/ti-k3-r5-loader/Config.in +0 -0
index 8c8368a1a5a8..a40eaed9467b 100644
@@ -93,4 +93,17 @@ config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE
        help
          Path to the TI K3 R5 Loader configuration file.
 

boot/ti-k3-r5-loader/Config.in config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE · line 105

Quoted 10 lines
boot/ti-k3-r5-loader/Config.in +9 -0
+config BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN
+       bool "U-Boot uses binman"
+       select BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
+       select BR2_PACKAGE_HOST_PYTHON_ATTRS
+       select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+       select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS
+       select BR2_PACKAGE_HOST_PYTHON_PYYAML
+       select BR2_PACKAGE_HOST_PYTHON_REFERENCING
+       select BR2_PACKAGE_HOST_PYTHON_RPDS_PY
 

these select statements need their counterpart as dependencies in .mk

for this reason, the build fails with this message:
error: command 'swig' failed: No such file or directory

note: the build is successful when it starts after the build of uboot which depends on host-python-pylibfdt and host-swig

François

ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y) # like in uboot.mk
TI_K3_R5_LOADER_DEPENDENCIES += host-python-pylibfdt endif

ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN),y) # new packages

TI_K3_R5_LOADER_DEPENDENCIES += \
    host-python-jsonschema \
    host-python-jsonschema-specifiactions \
    host-python-pyyaml \
    host-python-referencing \
    host-python-rpds-py

endif

+ help

Quoted 21 lines
boot/ti-k3-r5-loader/Config.in +3 -0
+         Select this option if your U-Boot version uses binman
+         for building images.
+
 endif
boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +1 -0
index 0ffcb8235f2e..d5ec8fa8ba96 100644
@@ -58,6 +58,7 @@ TI_K3_R5_LOADER_MAKE_OPTS = \
        CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \
        ARCH=arm \
        HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem
 /,$(HOST_CFLAGS)))" \
+       BINMAN_INDIRS=$(BINARIES_DIR) \
        HOSTLDFLAGS="$(HOST_LDFLAGS)"
 

define TI_K3_R5_LOADER_BUILD_CMDS
--
2.43.0

Quoted 5 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#13 lore raw

Re: [Buildroot] [PATCH v2 08/11] boot/ti-k3-r5-loader: set binman environment

Yes I had run into the same thing. I got around it by adding the apt-get install swig on my host, but the above looks like a much better way to fix it.

Quoted 93 lines · François Perrad
Quoted 34 lines · Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts.

The patch set the BINMAN_INDIRS environment variable to provide the directory to search for binary blobs and select the packages required by binman.

---

Changes in v2:
- Change commit message
- Add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option
- Select packages required by binman if BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN is enabled

---
 boot/ti-k3-r5-loader/Config.in          | 13 +++++++++++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk |  1 +
 2 files changed, 14 insertions(+)
boot/ti-k3-r5-loader/Config.in +0 -0
index 8c8368a1a5a8..a40eaed9467b 100644
@@ -93,4 +93,17 @@ config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE
        help
          Path to the TI K3 R5 Loader configuration file.

boot/ti-k3-r5-loader/Config.in config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE · line 104

Quoted 10 lines
boot/ti-k3-r5-loader/Config.in +9 -0
 
+config BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN
+       bool "U-Boot uses binman"
+       select BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
+       select BR2_PACKAGE_HOST_PYTHON_ATTRS
+       select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+       select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS
+       select BR2_PACKAGE_HOST_PYTHON_PYYAML
+       select BR2_PACKAGE_HOST_PYTHON_REFERENCING
+       select BR2_PACKAGE_HOST_PYTHON_RPDS_PY

these select statements need their counterpart as dependencies in .mk

for this reason, the build fails with this message:
error: command 'swig' failed: No such file or directory

note: the build is successful when it starts after the build of uboot which depends on host-python-pylibfdt and host-swig

François

ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y) # like in uboot.mk
TI_K3_R5_LOADER_DEPENDENCIES += host-python-pylibfdt endif

ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN),y) # new packages

TI_K3_R5_LOADER_DEPENDENCIES += \
    host-python-jsonschema \
    host-python-jsonschema-specifiactions \
    host-python-pyyaml \
    host-python-referencing \
    host-python-rpds-py

endif

Quoted 20 lines
boot/ti-k3-r5-loader/Config.in +4 -0
+       help
+         Select this option if your U-Boot version uses binman
+         for building images.
+
 endif
boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +1 -1
index 0ffcb8235f2e..d5ec8fa8ba96 100644
@@ -58,6 +58,7 @@ TI_K3_R5_LOADER_MAKE_OPTS = \
        CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \
        ARCH=arm \
        HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem /,$(HOST_CFLAGS)))" \
+       BINMAN_INDIRS=$(BINARIES_DIR) \
        HOSTLDFLAGS="$(HOST_LDFLAGS)"
 
 define TI_K3_R5_LOADER_BUILD_CMDS
--

2.43.0

Quoted 9 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#14 lore raw

Re: [Buildroot] [PATCH v2 08/11] boot/ti-k3-r5-loader: set binman environment

In reply to François Perrad

Hi François,

Quoted 39 lines · François Perrad
Quoted 35 lines · Dario Binacchi

Recent version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts.

The patch set the BINMAN_INDIRS environment variable to provide the directory to search for binary blobs and select the packages required by binman.

---

Changes in v2:
- Change commit message
- Add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option
- Select packages required by binman if BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN is enabled

---
 boot/ti-k3-r5-loader/Config.in          | 13 +++++++++++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk |  1 +
 2 files changed, 14 insertions(+)
boot/ti-k3-r5-loader/Config.in +0 -0
index 8c8368a1a5a8..a40eaed9467b 100644
@@ -93,4 +93,17 @@ config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE
        help
          Path to the TI K3 R5 Loader configuration file.
 
Quoted 12 lines

boot/ti-k3-r5-loader/Config.in config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE · line 104

Quoted 9 lines
boot/ti-k3-r5-loader/Config.in +9 -0
+config BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN
+       bool "U-Boot uses binman"
+       select BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
+       select BR2_PACKAGE_HOST_PYTHON_ATTRS
+       select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA
+       select BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS
+       select BR2_PACKAGE_HOST_PYTHON_PYYAML
+       select BR2_PACKAGE_HOST_PYTHON_REFERENCING
+       select BR2_PACKAGE_HOST_PYTHON_RPDS_PY

these select statements need their counterpart as dependencies in .mk

Sorry, I forgot it

Quoted 12 lines

for this reason, the build fails with this message:
error: command 'swig' failed: No such file or directory

note: the build is successful when it starts after the build of uboot which depends on host-python-pylibfdt and host-swig

François

ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y) # like in uboot.mk
TI_K3_R5_LOADER_DEPENDENCIES += host-python-pylibfdt endif

Quoted 8 lines

ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN),y) # new packages

TI_K3_R5_LOADER_DEPENDENCIES += \
    host-python-jsonschema \
    host-python-jsonschema-specifiactions \
    host-python-pyyaml \
    host-python-referencing \
    host-python-rpds-py

endif

Thanks for your suggestions,
very appreciated

Dario

Quoted 26 lines
Quoted 26 lines
boot/ti-k3-r5-loader/Config.in +4 -0
+       help
+         Select this option if your U-Boot version uses binman
+         for building images.
+
 endif
boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +1 -1
index 0ffcb8235f2e..d5ec8fa8ba96 100644
@@ -58,6 +58,7 @@ TI_K3_R5_LOADER_MAKE_OPTS = \
        CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \
        ARCH=arm \
        HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem /,$(HOST_CFLAGS)))" \
+       BINMAN_INDIRS=$(BINARIES_DIR) \
        HOSTLDFLAGS="$(HOST_LDFLAGS)"
 
 define TI_K3_R5_LOADER_BUILD_CMDS
--

2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Signature · 21 lines
Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#15 lore raw

PATCH v2 9/11 boot/uboot: set BINMAN_INDIRS for TI K3 DM

In reply to Dario Binacchi

As explained in [1], adding support for AM62x LP SK in U-Boot, requires binman for building bootloader images. The BINMAN_INDIRS environment variable is used to provide a space-separated list of directories to search for binary blobs.

[1] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

---
 boot/uboot/uboot.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
boot/uboot/uboot.mk +2 -1
index dda606a88059..cf70f86a4132 100644
@@ -189,7 +189,8 @@ endif
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_TI_K3_DM),y)
 UBOOT_TI_K3_DM_SOCNAME = $(call qstrip,$(BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME))
 UBOOT_DEPENDENCIES += ti-k3-boot-firmware
-UBOOT_MAKE_OPTS += DM=$(BINARIES_DIR)/ti-dm/$(UBOOT_TI_K3_DM_SOCNAME)/ipc_echo_testb_mcu1_0_release_strip.xer5f
+UBOOT_MAKE_OPTS += DM=$(BINARIES_DIR)/ti-dm/$(UBOOT_TI_K3_DM_SOCNAME)/ipc_echo_testb_mcu1_0_release_strip.xer5f \
+	BINMAN_INDIRS=$(BINARIES_DIR)
 endif
 
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSBI),y)
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#16 lore raw

PATCH v2 10/11 configs/ti_am62x_sk_defconfig: bump U-Boot version to 2023.10

In reply to Dario Binacchi

The 2023.10 version of U-Boot for the am62x-sk board has introduced two major changes:
- The device tree k3-am625-sk.dtb is no longer searched in /boot, but in /boot/dtb/ti. Hence, the disabling of BR2_LINUX_KERNEL_INSTALL_TARGET and the use of extlinux.conf for the proper loading of the device tree. Furthermore, the parameter BR2_ROOTFS_POST_SCRIPT_ARGS was used to auto-generate the extlinux.conf file so that developers can change the kernel loading options by modifying the .config.
- The use of binman for building images.

Tested on SK-AM62B-P1.

---

Changes in v2:
- Update the commit message
- Drop Python options required by binman.
- Enable BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN. This option automatically selects the Python modules required by binman.

---
 board/ti/am62x-sk/genimage.cfg  |  7 ++++-
 board/ti/am62x-sk/post-build.sh | 49 +++++++++++++++++++++++++++++++++
 board/ti/am62x-sk/post-image.sh |  5 ++++
 configs/ti_am62x_sk_defconfig   | 11 +++++---
 4 files changed, 67 insertions(+), 5 deletions(-)
 create mode 100755 board/ti/am62x-sk/post-build.sh
 create mode 100755 board/ti/am62x-sk/post-image.sh
board/ti/am62x-sk/genimage.cfg +6 -1
index 26304fe98f99..398209f4d831 100644
@@ -4,10 +4,15 @@ image boot.vfat {
 			"tiboot3.bin",
 			"tispl.bin",
 			"u-boot.img",
+			"k3-am625-sk.dtb",
+			"Image"
+		}
+		file extlinux/extlinux.conf {
+			image = extlinux.conf
 		}
 	}
 
-	size = 16M
+	size = 64M
 }
 
 image sdcard.img {
board/ti/am62x-sk/post-build.sh new file +49 -0

49 lines not on this page · raw message

board/ti/am62x-sk/post-image.sh new file +5 -0
new file mode 100755
index 000000000000..34f732c091ad
@@ -0,0 +1,5 @@
+#!/bin/sh -x
+
+BOARD_DIR="$(dirname "$0")"
+
+support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg"
configs/ti_am62x_sk_defconfig +7 -4
index b98a68ff153f..0fb9a2f0246c 100644
@@ -1,11 +1,11 @@
 BR2_aarch64=y
-BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am62x-sk/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/am62x-sk/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -r PARTUUID=00000000-02 -x earlycon=ns16550a,mmio32,0x02800000"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
-BR2_LINUX_KERNEL_INSTALL_TARGET=y
 BR2_PACKAGE_LINUX_FIRMWARE=y
 BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y
 BR2_TARGET_ROOTFS_EXT2=y
@@ -23,11 +23,14 @@ BR2_TARGET_TI_K3_IMAGE_GEN=y
 BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X=y
 BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP=y
 BR2_TARGET_TI_K3_R5_LOADER=y
+BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y
+BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2023.10"
 BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5"
+BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am62x_evm_a53"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#17 lore raw

PATCH v2 11/11 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.1

In reply to Dario Binacchi

Tested on SK-AM62B-P1.

---
 configs/ti_am62x_sk_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/ti_am62x_sk_defconfig +3 -0
index 0fb9a2f0246c..9e825d65c0f6 100644
@@ -1,8 +1,11 @@
 BR2_aarch64=y
+BR2_KERNEL_HEADERS_6_6=y
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am62x-sk/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/am62x-sk/post-image.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -r PARTUUID=00000000-02 -x earlycon=ns16550a,mmio32,0x02800000"
 BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.1"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#18 lore raw
In reply to Dario Binacchi

Hi Dario,
I did a build with this set of patches off of master (as of yesterday) and I wasn't able to get the login prompt. I have a SK-AM62B-P1 with HS-FS silicon so I had enabled BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS instead of GP. I had a previous version built based on
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1226815/faq-buildroot-support-for-sitara-am62x-am62ax-am64x-devices
patches and buildroot 2023.05.x branch before.

Was there anything else I missed? I also have an older board with the GP processor I could attempt as well.

Below is the full boot log
Thanks,
Bryce

U-Boot 2023.10 (Dec 15 2023 - 12:24:04 -0700)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
DRAM:  2 GiB
Core:  55 devices, 23 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0

switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1: am62x-sk-buildroot
Retrieving file: /Image
append: console=ttyS2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /ti/k3-am625-sk.dtb
## Flattened Device Tree blob at ffb18720
Booting using the fdt blob at 0xffb18720
Working FDT set to ffb18720
Loading Device Tree to 000000008ffed000, end 000000008ffff677 ... OK
Working FDT set to 8ffed000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.1 (johnsonb@USATL1PC00222)
(aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot
2023.11-148-gffd8e6ef25-dirty) 12.3.0, GNU ld (GNU Binutils) 2.40) #1
SMP PREEMPT Fri Dec 15 12:37:47 MST 2023
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem:
0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable
ramoops@9ca00000
[    0.000000] Reserved memory: created DMA memory pool at
0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node
r5f-dma-memory@9db00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem:
0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable
r5f-dma-memory@9db00000
[    0.000000] OF: reserved mem:
0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable
tfa@9e780000
[    0.000000] OF: reserved mem:
0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable
optee@9e800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbd19c0-0xffbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50728 r8192 d31192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS2,115200n8
root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 262144 (order: 9,
2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    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
0x00000000f7800000-0x00000000fb800000] (64MB)
[    0.000000] Memory: 1877876K/2097152K available (16512K kernel
code, 4264K rwdata, 10560K rodata, 9152K init, 605K bss, 186508K
reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce
ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices
@80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table
@0x0000000080050000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff
max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps
every 4398046511102ns
[    0.009754] Console: colour dummy device 80x25
[    0.014392] Calibrating delay loop (skipped), value calculated
using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.025076] pid_max: default: 32768 minimum: 301
[    0.029872] LSM: initializing lsm=capability,integrity
[    0.035248] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.042833] Mountpoint-cache hash table entries: 4096 (order: 3,
32768 bytes, linear)
[    0.052840] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060168] RCU Tasks Trace: Setting shift to 2 and lim to 1
rcu_task_cb_adjust=1.
[    0.068130] rcu: Hierarchical SRCU implementation.
[    0.073038] rcu:     Max phase no-delay instances is 1000.
[    0.078659] Platform MSI: msi-controller@1820000 domain created
[    0.084989] PCI/MSI:
/bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain
created
[    0.094286] fsl-mc MSI: msi-controller@1820000 domain created
[    0.102288] EFI services will not be available.
[    0.107238] smp: Bringing up secondary CPUs ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot

[    0.120585] Detected VIPT I-cache on CPU1
[    0.120673] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.120691] GICv3: CPU1: using allocated LPI pending table
@0x0000000080060000
[    0.120750] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.129524] Detected VIPT I-cache on CPU2
[    0.129592] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.129608] GICv3: CPU2: using allocated LPI pending table
@0x0000000080070000
[    0.129645] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.138347] Detected VIPT I-cache on CPU3
[    0.138412] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.138424] GICv3: CPU3: using allocated LPI pending table
@0x0000000080080000
[    0.138459] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.138541] smp: Brought up 1 node, 4 CPUs
[    0.218261] SMP: Total of 4 processors activated.
[    0.223073] CPU features: detected: 32-bit EL0 Support
[    0.228338] CPU features: detected: 32-bit EL1 Support
[    0.233594] CPU features: detected: CRC32 instructions
[    0.238925] CPU: All CPU(s) started at EL2
[    0.243141] alternatives: applying system-wide alternatives
[    0.251229] devtmpfs: initialized
[    0.262305] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.272317] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.280646] pinctrl core: initialized pinctrl subsystem
[    0.288372] DMI not present or invalid.
[    0.293142] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.300451] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.307860] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[    0.315942] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.324122] audit: initializing netlink subsys (disabled)
[    0.329867] audit: type=2000 audit(0.228:1): state=initialized
audit_enabled=0 res=1
[    0.331398] thermal_sys: Registered thermal governor 'step_wise'
[    0.337815] thermal_sys: Registered thermal governor 'power_allocator'
[    0.344045] cpuidle: using governor menu
[    0.354991] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362047] ASID allocator initialised with 65536 entries
[    0.369849] Serial: AMBA PL011 UART driver
[    0.396671] Modules: 22448 pages in range for non-PLT usage
[    0.396694] Modules: 513968 pages in range for PLT usage
[    0.403312] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.415709] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.422118] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.429058] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.435466] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.442405] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.448813] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.455752] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.464031] ACPI: Interpreter disabled.
[    0.470193] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0
JTAGID[0x0bb7e02f] Detected
[    0.479644] iommu: Default domain type: Translated
[    0.484569] iommu: DMA domain TLB invalidation policy: strict mode
[    0.491213] SCSI subsystem initialized
[    0.495435] usbcore: registered new interface driver usbfs
[    0.501076] usbcore: registered new interface driver hub
[    0.506540] usbcore: registered new device driver usb
[    0.512914] pps_core: LinuxPPS API ver. 1 registered
[    0.517997] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <[email protected]>
[    0.527347] PTP clock support registered
[    0.531507] EDAC MC: Ver: 3.0.0
[    0.535743] scmi_core: SCMI protocol bus registered
[    0.541664] FPGA manager framework
[    0.545252] Advanced Linux Sound Architecture Driver Initialized.
[    0.552660] vgaarb: loaded
[    0.556427] clocksource: Switched to clocksource arch_sys_counter
[    0.562971] VFS: Disk quotas dquot_6.6.0
[    0.567021] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.574256] pnp: PnP ACPI: disabled
[    0.584170] NET: Registered PF_INET protocol family
[    0.589456] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[    0.598572] tcp_listen_portaddr_hash hash table entries: 1024
(order: 2, 16384 bytes, linear)
[    0.607379] Table-perturb hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.615327] TCP established hash table entries: 16384 (order: 5,
131072 bytes, linear)
[    0.623533] TCP bind hash table entries: 16384 (order: 7, 524288
bytes, linear)
[    0.631538] TCP: Hash tables configured (established 16384 bind 16384)
[    0.638446] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.645376] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.652902] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.659235] RPC: Registered named UNIX socket transport module.
[    0.665320] RPC: Registered udp transport module.
[    0.670130] RPC: Registered tcp transport module.
[    0.674938] RPC: Registered tcp-with-tls transport module.
[    0.680556] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.687156] PCI: CLS 0 bytes, default 64
[    0.691616] kvm [1]: IPA Size Limit: 40 bits
[    0.697984] kvm [1]: vgic-v2@100010000
[    0.701849] kvm [1]: GIC system register CPU interface enabled
[    0.707847] kvm [1]: vgic interrupt IRQ9
[    0.711880] kvm [1]: Hyp mode initialized successfully
[    0.718644] Initialise system trusted keyrings
[    0.723487] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.730425] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.736690] NFS: Registering the id_resolver key type
[    0.741888] Key type id_resolver registered
[    0.746166] Key type id_legacy registered
[    0.750284] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.757141] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[    0.764888] 9p: Installing v9fs 9p2000 file system support
[    0.801637] Key type asymmetric registered
[    0.805852] Asymmetric key parser 'x509' registered
[    0.810890] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 245)
[    0.818458] io scheduler mq-deadline registered
[    0.823091] io scheduler kyber registered
[    0.827234] io scheduler bfq registered
[    0.839670] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.846004] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.860220] EINJ: ACPI disabled.
[    0.893982] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.904892] SuperH (H)SCI(F) driver initialized
[    0.910227] msm_serial: driver initialized
[    0.915474] STM32 USART driver initialized
[    0.928077] loop: module loaded
[    0.932921] megasas: 07.725.01.00-rc1
[    0.944997] tun: Universal TUN/TAP device driver, 1.6
[    0.951527] thunder_xcv, ver 1.0
[    0.954894] thunder_bgx, ver 1.0
[    0.958216] nicpf, ver 1.0
[    0.962475] hns3: Hisilicon Ethernet Network Driver for Hip08
Family - version
[    0.969879] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.975355] hclge is initializing
[    0.978792] e1000: Intel(R) PRO/1000 Network Driver
[    0.983780] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.989686] e1000e: Intel(R) PRO/1000 Network Driver
[    0.994761] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.000834] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.006426] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.012161] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.018577] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.025146] sky2: driver version 1.30
[    1.030686] VFIO - User Level meta-driver version: 0.3
[    1.039624] usbcore: registered new interface driver usb-storage
[    1.049359] i2c_dev: i2c /dev entries driver
[    1.065543] sdhci: Secure Digital Host Controller Interface driver
[    1.071921] sdhci: Copyright(c) Pierre Ossman
[    1.077531] Synopsys Designware Multimedia Card Interface Driver
[    1.084948] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.093602] ledtrig-cpu: registered to indicate activity on CPUs
[    1.100881] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.108763] usbcore: registered new interface driver usbhid
[    1.114475] usbhid: USB HID core driver
[    1.123435] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    1.134895] optee: probing for conduit method.

I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled

[    1.139498] optee: revision 4.0 (ffd8e6ef)
[    1.156155] optee: dynamic shared memory is enabled
[    1.165592] optee: initialized driver
[    1.174302] NET: Registered PF_PACKET protocol family
[    1.179622] 9pnet: Installing 9P2000 support
[    1.184079] Key type dns_resolver registered
[    1.197716] registered taskstats version 1
[    1.202128] Loading compiled-in X.509 certificates
[    1.269496] ti-sci 44043000.system-controller: ABI: 3.1 (firmware
rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.356029] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.364038] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    1.370918] ti-sci-intr 4210000.interrupt-controller: Interrupt
Router 5 domain created
[    1.379746] ti-sci-intr bus@f0000:interrupt-controller@a00000:
Interrupt Router 3 domain created
[    1.389397] ti-sci-inta 48000000.interrupt-controller: Interrupt
Aggregator domain 28 created
[    1.399735] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.408601] ti-udma 485c0100.dma-controller: Channels: 48 (bchan:
18, tchan: 12, rchan: 18)
[    1.421457] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.432629] ti-udma 485c0000.dma-controller: Channels: 35 (tchan:
20, rchan: 15)
[    1.445105] printk: console [ttyS2] disabled
[    1.449843] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236,
base_baud = 3000000) is a 8250
[    1.458820] printk: console [ttyS2] enabled
[    1.458820] printk: console [ttyS2] enabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.485909] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.491602] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.498589] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.503992] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.510957] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.517552] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.524063] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.530310] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.537187] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.543715] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.556547] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.600469] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7,
bus freq 1000000
[    1.612342] davinci_mdio 8000f00.mdio: phy[0]: device
8000f00.mdio:00, driver TI DP83867
[    1.620456] davinci_mdio 8000f00.mdio: phy[1]: device
8000f00.mdio:01, driver TI DP83867
[    1.628584] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw
nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3
quirks:00000002
[    1.641392] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.648521] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.656103] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.737800] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.743391] xhci-hcd xhci-hcd.0.auto: new USB bus registered,
assigned bus number 1
[    1.751257] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    1.757261] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci
version 0x110 quirks 0x0000000000000010
[    1.766703] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31100000
[    1.773675] hub 1-0:1.0: USB hub found
[    1.777477] hub 1-0:1.0: 1 port detected
[    1.791290] mmc0: CQHCI version 5.10
[    1.808081] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.814902] pca953x 1-0022: using AI
[    1.836429] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc]
using ADMA 64-bit
[    1.863508] mmc1: CQHCI version 5.10
[    1.865077] clk: Disabling unused clocks
[    1.879260] ALSA device list:
[    1.882263]   No soundcards found.
[    1.907341] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc]
using ADMA 64-bit
[    1.915235] Waiting for root device PARTUUID=00000000-02...
[    1.939113] mmc0: Command Queue Engine enabled
[    1.943622] mmc0: new HS200 MMC card at address 0001
[    1.949474] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
[    1.956140] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
[    1.962386] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
[    1.968325] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (234:0)
[    1.976870] mmc1: new high speed SD card at address 1234
[    1.983075] mmcblk1: mmc1:1234 SA02G 1.85 GiB
[    1.990322]  mmcblk1: p1 p2
[   11.921672] platform 31000000.usb: deferred probe pending
Quoted 58 lines · Dario Binacchi

The SK-AM62B-P1 is the newest version of SK-AM62 which includes high-security field-securable (HS-FS) silicon to optionally customize keys and encryption for security applications.
This requires enabling the BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS option, which, however, was buggy. This series fixes the errors and bumps the Linux kernel and U-Boot required for such a new device.

Dario Binacchi (11):
boot/ti-k3-core-secdev: new package boot/ti-k3-image-gen: manage HS hardware package/python-jsonschema: add host variant package/python-attrs: add host variant package/python-referencing: add host variant package/python-rpds-py: add host variant package/python-jsonschema-specifications: add host variant boot/ti-k3-r5-loader: set binman environment boot/uboot: set BINMAN_INDIRS for TI K3 DM configs/ti_am62x_sk_defconfig: bump U-Boot version to 2023.10 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.1

 DEVELOPERS                                    |  1 +
 board/ti/am62x-sk/genimage.cfg                |  7 ++-
 board/ti/am62x-sk/post-build.sh               | 49 +++++++++++++++++++
 board/ti/am62x-sk/post-image.sh               |  5 ++
 boot/Config.in                                |  1 +
 boot/ti-k3-core-secdev/Config.in              |  9 ++++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash |  3 ++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk   | 19 +++++++
 boot/ti-k3-image-gen/Config.in                |  1 +
 boot/ti-k3-image-gen/ti-k3-image-gen.mk       | 16 +++++-
 boot/ti-k3-r5-loader/Config.in                | 13 +++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk       |  1 +
 boot/uboot/uboot.mk                           |  3 +-
 configs/ti_am62x_sk_defconfig                 | 14 ++++--
 package/Config.in.host                        |  5 ++
 package/python-attrs/Config.in.host           |  8 +++
 package/python-attrs/python-attrs.mk          |  6 +++
 .../Config.in.host                            |  7 +++
 .../python-jsonschema-specifications.mk       |  5 ++
 package/python-jsonschema/Config.in.host      |  6 +++
 .../python-jsonschema/python-jsonschema.mk    |  6 +++
 package/python-referencing/Config.in.host     |  6 +++
 .../python-referencing/python-referencing.mk  |  7 +++
 package/python-rpds-py/Config.in.host         |  8 +++
 package/python-rpds-py/python-rpds-py.mk      |  1 +
 25 files changed, 199 insertions(+), 8 deletions(-)
 create mode 100755 board/ti/am62x-sk/post-build.sh
 create mode 100755 board/ti/am62x-sk/post-image.sh
 create mode 100644 boot/ti-k3-core-secdev/Config.in
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk
 create mode 100644 package/python-attrs/Config.in.host
 create mode 100644 package/python-jsonschema-specifications/Config.in.host
 create mode 100644 package/python-jsonschema/Config.in.host
 create mode 100644 package/python-referencing/Config.in.host
 create mode 100644 package/python-rpds-py/Config.in.host
Quoted 7 lines

--
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#19 lore raw

Hi Bryce,

Quoted 433 lines · Bryce Johnson

Hi Dario,
I did a build with this set of patches off of master (as of yesterday) and I wasn't able to get the login prompt. I have a SK-AM62B-P1 with HS-FS silicon so I had enabled BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS instead of GP. I had a previous version built based on
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1226815/faq-buildroot-support-for-sitara-am62x-am62ax-am64x-devices
patches and buildroot 2023.05.x branch before.

Was there anything else I missed? I also have an older board with the GP processor I could attempt as well.

Below is the full boot log
Thanks,
Bryce

U-Boot 2023.10 (Dec 15 2023 - 12:24:04 -0700)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
DRAM:  2 GiB
Core:  55 devices, 23 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0

switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1: am62x-sk-buildroot
Retrieving file: /Image
append: console=ttyS2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /ti/k3-am625-sk.dtb
## Flattened Device Tree blob at ffb18720
Booting using the fdt blob at 0xffb18720
Working FDT set to ffb18720
Loading Device Tree to 000000008ffed000, end 000000008ffff677 ... OK
Working FDT set to 8ffed000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.1 (johnsonb@USATL1PC00222)
(aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot
2023.11-148-gffd8e6ef25-dirty) 12.3.0, GNU ld (GNU Binutils) 2.40) #1
SMP PREEMPT Fri Dec 15 12:37:47 MST 2023
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem:
0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable
ramoops@9ca00000
[    0.000000] Reserved memory: created DMA memory pool at
0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node
r5f-dma-memory@9db00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem:
0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable
r5f-dma-memory@9db00000
[    0.000000] OF: reserved mem:
0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable
tfa@9e780000
[    0.000000] OF: reserved mem:
0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable
optee@9e800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbd19c0-0xffbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50728 r8192 d31192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS2,115200n8
root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 262144 (order: 9,
2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    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
0x00000000f7800000-0x00000000fb800000] (64MB)
[    0.000000] Memory: 1877876K/2097152K available (16512K kernel
code, 4264K rwdata, 10560K rodata, 9152K init, 605K bss, 186508K
reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce
ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices
@80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table
@0x0000000080050000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff
max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps
every 4398046511102ns
[    0.009754] Console: colour dummy device 80x25
[    0.014392] Calibrating delay loop (skipped), value calculated
using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.025076] pid_max: default: 32768 minimum: 301
[    0.029872] LSM: initializing lsm=capability,integrity
[    0.035248] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.042833] Mountpoint-cache hash table entries: 4096 (order: 3,
32768 bytes, linear)
[    0.052840] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060168] RCU Tasks Trace: Setting shift to 2 and lim to 1
rcu_task_cb_adjust=1.
[    0.068130] rcu: Hierarchical SRCU implementation.
[    0.073038] rcu:     Max phase no-delay instances is 1000.
[    0.078659] Platform MSI: msi-controller@1820000 domain created
[    0.084989] PCI/MSI:
/bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain
created
[    0.094286] fsl-mc MSI: msi-controller@1820000 domain created
[    0.102288] EFI services will not be available.
[    0.107238] smp: Bringing up secondary CPUs ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot

[    0.120585] Detected VIPT I-cache on CPU1
[    0.120673] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.120691] GICv3: CPU1: using allocated LPI pending table
@0x0000000080060000
[    0.120750] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.129524] Detected VIPT I-cache on CPU2
[    0.129592] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.129608] GICv3: CPU2: using allocated LPI pending table
@0x0000000080070000
[    0.129645] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.138347] Detected VIPT I-cache on CPU3
[    0.138412] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.138424] GICv3: CPU3: using allocated LPI pending table
@0x0000000080080000
[    0.138459] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.138541] smp: Brought up 1 node, 4 CPUs
[    0.218261] SMP: Total of 4 processors activated.
[    0.223073] CPU features: detected: 32-bit EL0 Support
[    0.228338] CPU features: detected: 32-bit EL1 Support
[    0.233594] CPU features: detected: CRC32 instructions
[    0.238925] CPU: All CPU(s) started at EL2
[    0.243141] alternatives: applying system-wide alternatives
[    0.251229] devtmpfs: initialized
[    0.262305] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.272317] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.280646] pinctrl core: initialized pinctrl subsystem
[    0.288372] DMI not present or invalid.
[    0.293142] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.300451] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.307860] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[    0.315942] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.324122] audit: initializing netlink subsys (disabled)
[    0.329867] audit: type=2000 audit(0.228:1): state=initialized
audit_enabled=0 res=1
[    0.331398] thermal_sys: Registered thermal governor 'step_wise'
[    0.337815] thermal_sys: Registered thermal governor 'power_allocator'
[    0.344045] cpuidle: using governor menu
[    0.354991] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362047] ASID allocator initialised with 65536 entries
[    0.369849] Serial: AMBA PL011 UART driver
[    0.396671] Modules: 22448 pages in range for non-PLT usage
[    0.396694] Modules: 513968 pages in range for PLT usage
[    0.403312] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.415709] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.422118] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.429058] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.435466] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.442405] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.448813] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.455752] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.464031] ACPI: Interpreter disabled.
[    0.470193] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0
JTAGID[0x0bb7e02f] Detected
[    0.479644] iommu: Default domain type: Translated
[    0.484569] iommu: DMA domain TLB invalidation policy: strict mode
[    0.491213] SCSI subsystem initialized
[    0.495435] usbcore: registered new interface driver usbfs
[    0.501076] usbcore: registered new interface driver hub
[    0.506540] usbcore: registered new device driver usb
[    0.512914] pps_core: LinuxPPS API ver. 1 registered
[    0.517997] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <[email protected]>
[    0.527347] PTP clock support registered
[    0.531507] EDAC MC: Ver: 3.0.0
[    0.535743] scmi_core: SCMI protocol bus registered
[    0.541664] FPGA manager framework
[    0.545252] Advanced Linux Sound Architecture Driver Initialized.
[    0.552660] vgaarb: loaded
[    0.556427] clocksource: Switched to clocksource arch_sys_counter
[    0.562971] VFS: Disk quotas dquot_6.6.0
[    0.567021] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.574256] pnp: PnP ACPI: disabled
[    0.584170] NET: Registered PF_INET protocol family
[    0.589456] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[    0.598572] tcp_listen_portaddr_hash hash table entries: 1024
(order: 2, 16384 bytes, linear)
[    0.607379] Table-perturb hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.615327] TCP established hash table entries: 16384 (order: 5,
131072 bytes, linear)
[    0.623533] TCP bind hash table entries: 16384 (order: 7, 524288
bytes, linear)
[    0.631538] TCP: Hash tables configured (established 16384 bind 16384)
[    0.638446] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.645376] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.652902] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.659235] RPC: Registered named UNIX socket transport module.
[    0.665320] RPC: Registered udp transport module.
[    0.670130] RPC: Registered tcp transport module.
[    0.674938] RPC: Registered tcp-with-tls transport module.
[    0.680556] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.687156] PCI: CLS 0 bytes, default 64
[    0.691616] kvm [1]: IPA Size Limit: 40 bits
[    0.697984] kvm [1]: vgic-v2@100010000
[    0.701849] kvm [1]: GIC system register CPU interface enabled
[    0.707847] kvm [1]: vgic interrupt IRQ9
[    0.711880] kvm [1]: Hyp mode initialized successfully
[    0.718644] Initialise system trusted keyrings
[    0.723487] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.730425] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.736690] NFS: Registering the id_resolver key type
[    0.741888] Key type id_resolver registered
[    0.746166] Key type id_legacy registered
[    0.750284] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.757141] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[    0.764888] 9p: Installing v9fs 9p2000 file system support
[    0.801637] Key type asymmetric registered
[    0.805852] Asymmetric key parser 'x509' registered
[    0.810890] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 245)
[    0.818458] io scheduler mq-deadline registered
[    0.823091] io scheduler kyber registered
[    0.827234] io scheduler bfq registered
[    0.839670] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.846004] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.860220] EINJ: ACPI disabled.
[    0.893982] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.904892] SuperH (H)SCI(F) driver initialized
[    0.910227] msm_serial: driver initialized
[    0.915474] STM32 USART driver initialized
[    0.928077] loop: module loaded
[    0.932921] megasas: 07.725.01.00-rc1
[    0.944997] tun: Universal TUN/TAP device driver, 1.6
[    0.951527] thunder_xcv, ver 1.0
[    0.954894] thunder_bgx, ver 1.0
[    0.958216] nicpf, ver 1.0
[    0.962475] hns3: Hisilicon Ethernet Network Driver for Hip08
Family - version
[    0.969879] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.975355] hclge is initializing
[    0.978792] e1000: Intel(R) PRO/1000 Network Driver
[    0.983780] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.989686] e1000e: Intel(R) PRO/1000 Network Driver
[    0.994761] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.000834] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.006426] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.012161] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.018577] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.025146] sky2: driver version 1.30
[    1.030686] VFIO - User Level meta-driver version: 0.3
[    1.039624] usbcore: registered new interface driver usb-storage
[    1.049359] i2c_dev: i2c /dev entries driver
[    1.065543] sdhci: Secure Digital Host Controller Interface driver
[    1.071921] sdhci: Copyright(c) Pierre Ossman
[    1.077531] Synopsys Designware Multimedia Card Interface Driver
[    1.084948] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.093602] ledtrig-cpu: registered to indicate activity on CPUs
[    1.100881] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.108763] usbcore: registered new interface driver usbhid
[    1.114475] usbhid: USB HID core driver
[    1.123435] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    1.134895] optee: probing for conduit method.

I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled

[    1.139498] optee: revision 4.0 (ffd8e6ef)
[    1.156155] optee: dynamic shared memory is enabled
[    1.165592] optee: initialized driver
[    1.174302] NET: Registered PF_PACKET protocol family
[    1.179622] 9pnet: Installing 9P2000 support
[    1.184079] Key type dns_resolver registered
[    1.197716] registered taskstats version 1
[    1.202128] Loading compiled-in X.509 certificates
[    1.269496] ti-sci 44043000.system-controller: ABI: 3.1 (firmware
rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.356029] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.364038] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    1.370918] ti-sci-intr 4210000.interrupt-controller: Interrupt
Router 5 domain created
[    1.379746] ti-sci-intr bus@f0000:interrupt-controller@a00000:
Interrupt Router 3 domain created
[    1.389397] ti-sci-inta 48000000.interrupt-controller: Interrupt
Aggregator domain 28 created
[    1.399735] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.408601] ti-udma 485c0100.dma-controller: Channels: 48 (bchan:
18, tchan: 12, rchan: 18)
[    1.421457] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.432629] ti-udma 485c0000.dma-controller: Channels: 35 (tchan:
20, rchan: 15)
[    1.445105] printk: console [ttyS2] disabled
[    1.449843] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236,
base_baud = 3000000) is a 8250
[    1.458820] printk: console [ttyS2] enabled
[    1.458820] printk: console [ttyS2] enabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.485909] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.491602] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.498589] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.503992] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.510957] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.517552] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.524063] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.530310] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.537187] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.543715] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.556547] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.600469] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7,
bus freq 1000000
[    1.612342] davinci_mdio 8000f00.mdio: phy[0]: device
8000f00.mdio:00, driver TI DP83867
[    1.620456] davinci_mdio 8000f00.mdio: phy[1]: device
8000f00.mdio:01, driver TI DP83867
[    1.628584] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw
nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3
quirks:00000002
[    1.641392] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.648521] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.656103] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.737800] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.743391] xhci-hcd xhci-hcd.0.auto: new USB bus registered,
assigned bus number 1
[    1.751257] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    1.757261] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci
version 0x110 quirks 0x0000000000000010
[    1.766703] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31100000
[    1.773675] hub 1-0:1.0: USB hub found
[    1.777477] hub 1-0:1.0: 1 port detected
[    1.791290] mmc0: CQHCI version 5.10
[    1.808081] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.814902] pca953x 1-0022: using AI
[    1.836429] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc]
using ADMA 64-bit
[    1.863508] mmc1: CQHCI version 5.10
[    1.865077] clk: Disabling unused clocks
[    1.879260] ALSA device list:
[    1.882263]   No soundcards found.
[    1.907341] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc]
using ADMA 64-bit
[    1.915235] Waiting for root device PARTUUID=00000000-02...
[    1.939113] mmc0: Command Queue Engine enabled
[    1.943622] mmc0: new HS200 MMC card at address 0001
Quoted 10 lines
[    1.949474] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
[    1.956140] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
[    1.962386] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
[    1.968325] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (234:0)
[    1.976870] mmc1: new high speed SD card at address 1234
[    1.983075] mmcblk1: mmc1:1234 SA02G 1.85 GiB
[    1.990322]  mmcblk1: p1 p2
[   11.921672] platform 31000000.usb: deferred probe pending

This is my log:

U-Boot SPL 2023.10 (Dec 13 2023 - 16:32:38 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13400 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.7(release):v2.7
NOTICE:  BL31: Built : 16:32:05, Dec 13 2023

I/TC:
I/TC: OP-TEE version: 2023.11-rc1-55-g7bcf5bea6645-dev (gcc version 12.3.0 (Buildroot 2023.11-rc1-55-g7bcf5bea6645-dirty)) #1 Wed Dec 13 15:32:02 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check
https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') I/TC: HUK Initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2023.10 (Dec 13 2023 - 16:33:42 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 1872 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed

U-Boot 2023.10 (Dec 13 2023 - 16:33:42 +0100)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
DRAM:  2 GiB
Core:  55 devices, 23 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0

switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1: am62x-sk-buildroot
Retrieving file: /Image
append: console=ttyS2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /ti/k3-am625-sk.dtb
## Flattened Device Tree blob at ffb18720
Booting using the fdt blob at 0xffb18720
Working FDT set to ffb18720
Loading Device Tree to 000000008ffed000, end 000000008ffff66f ... OK
Working FDT set to 8ffed000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.1 (dario@dario-ThinkPad-T14s-Gen-2i)
(aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot
2023.11-rc1-55-g7bcf5bea6645-dirty) 12.3.0, GNU ld (GNU Binutils)
2.40) #1 SMP PREEMPT Wed Dec 13 16:54:57 CET 2023
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem:
0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable
ramoops@9ca00000
[    0.000000] Reserved memory: created DMA memory pool at
0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node
r5f-dma-memory@9db00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem:
0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable
r5f-dma-memory@9db00000
[    0.000000] OF: reserved mem:
0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable
tfa@9e780000
[    0.000000] OF: reserved mem:
0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable
optee@9e800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbd19c0-0xffbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50728 r8192 d31192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS2,115200n8
root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 262144 (order: 9,
2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    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
0x00000000f7800000-0x00000000fb800000] (64MB)
[    0.000000] Memory: 1877876K/2097152K available (16512K kernel
code, 4264K rwdata, 10560K rodata, 9152K init, 605K bss, 186508K
reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: RCU event tracing is enabled.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] Trampoline variant of Tasks RCU enabled.
[    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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce
ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices
@80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table
@0x0000000080050000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff
max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps
every 4398046511102ns
[    0.009757] Console: colour dummy device 80x25
[    0.014395] Calibrating delay loop (skipped), value calculated
using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.025080] pid_max: default: 32768 minimum: 301
[    0.029875] LSM: initializing lsm=capability,integrity
[    0.035252] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.042835] Mountpoint-cache hash table entries: 4096 (order: 3,
32768 bytes, linear)
[    0.052827] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060160] RCU Tasks Trace: Setting shift to 2 and lim to 1
rcu_task_cb_adjust=1.
[    0.068122] rcu: Hierarchical SRCU implementation.
[    0.073029] rcu: Max phase no-delay instances is 1000.
[    0.078651] Platform MSI: msi-controller@1820000 domain created
[    0.084974] PCI/MSI:
/bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain
created
[    0.094274] fsl-mc MSI: msi-controller@1820000 domain created
[    0.102281] EFI services will not be available.
[    0.107228] smp: Bringing up secondary CPUs ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot

[    0.120578] Detected VIPT I-cache on CPU1
[    0.120670] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.120688] GICv3: CPU1: using allocated LPI pending table
@0x0000000080060000
[    0.120748] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.129537] Detected VIPT I-cache on CPU2
[    0.129599] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.129614] GICv3: CPU2: using allocated LPI pending table
@0x0000000080070000
[    0.129651] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.138347] Detected VIPT I-cache on CPU3
[    0.138406] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.138420] GICv3: CPU3: using allocated LPI pending table
@0x0000000080080000
[    0.138456] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.138537] smp: Brought up 1 node, 4 CPUs
[    0.218261] SMP: Total of 4 processors activated.
[    0.223073] CPU features: detected: 32-bit EL0 Support
[    0.228338] CPU features: detected: 32-bit EL1 Support
[    0.233595] CPU features: detected: CRC32 instructions
[    0.238932] CPU: All CPU(s) started at EL2
[    0.243147] alternatives: applying system-wide alternatives
[    0.251258] devtmpfs: initialized
[    0.262346] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.272358] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.280664] pinctrl core: initialized pinctrl subsystem
[    0.288377] DMI not present or invalid.
[    0.293151] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.300471] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.307882] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[    0.315964] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.324144] audit: initializing netlink subsys (disabled)
[    0.329888] audit: type=2000 audit(0.228:1): state=initialized
audit_enabled=0 res=1
[    0.331426] thermal_sys: Registered thermal governor 'step_wise'
[    0.337834] thermal_sys: Registered thermal governor 'power_allocator'
[    0.344062] cpuidle: using governor menu
[    0.355013] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362068] ASID allocator initialised with 65536 entries
[    0.369864] Serial: AMBA PL011 UART driver
[    0.396726] Modules: 22448 pages in range for non-PLT usage
[    0.396748] Modules: 513968 pages in range for PLT usage
[    0.403363] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.415761] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.422169] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.429108] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.435517] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.442455] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.448864] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.455803] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.464080] ACPI: Interpreter disabled.
[    0.470253] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0
JTAGID[0x0bb7e02f] Detected
[    0.479692] iommu: Default domain type: Translated
[    0.484617] iommu: DMA domain TLB invalidation policy: strict mode
[    0.491263] SCSI subsystem initialized
[    0.495478] usbcore: registered new interface driver usbfs
[    0.501118] usbcore: registered new interface driver hub
[    0.506583] usbcore: registered new device driver usb
[    0.512968] pps_core: LinuxPPS API ver. 1 registered
[    0.518052] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <[email protected]>
[    0.527402] PTP clock support registered
[    0.531560] EDAC MC: Ver: 3.0.0
[    0.535803] scmi_core: SCMI protocol bus registered
[    0.541735] FPGA manager framework
[    0.545324] Advanced Linux Sound Architecture Driver Initialized.
[    0.552737] vgaarb: loaded
[    0.556518] clocksource: Switched to clocksource arch_sys_counter
[    0.563071] VFS: Disk quotas dquot_6.6.0
[    0.567123] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.574357] pnp: PnP ACPI: disabled
[    0.584286] NET: Registered PF_INET protocol family
[    0.589578] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[    0.598689] tcp_listen_portaddr_hash hash table entries: 1024
(order: 2, 16384 bytes, linear)
[    0.607499] Table-perturb hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.615449] TCP established hash table entries: 16384 (order: 5,
131072 bytes, linear)
[    0.623652] TCP bind hash table entries: 16384 (order: 7, 524288
bytes, linear)
[    0.631641] TCP: Hash tables configured (established 16384 bind 16384)
[    0.638555] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.645481] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.653013] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.659354] RPC: Registered named UNIX socket transport module.
[    0.665439] RPC: Registered udp transport module.
[    0.670250] RPC: Registered tcp transport module.
[    0.675058] RPC: Registered tcp-with-tls transport module.
[    0.680675] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.687277] PCI: CLS 0 bytes, default 64
[    0.691740] kvm [1]: IPA Size Limit: 40 bits
[    0.698113] kvm [1]: vgic-v2@100010000
[    0.701977] kvm [1]: GIC system register CPU interface enabled
[    0.707975] kvm [1]: vgic interrupt IRQ9
[    0.712008] kvm [1]: Hyp mode initialized successfully
[    0.718779] Initialise system trusted keyrings
[    0.723638] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.730577] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.736833] NFS: Registering the id_resolver key type
[    0.742039] Key type id_resolver registered
[    0.746317] Key type id_legacy registered
[    0.750435] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.757292] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[    0.765039] 9p: Installing v9fs 9p2000 file system support
[    0.801794] Key type asymmetric registered
[    0.806007] Asymmetric key parser 'x509' registered
[    0.811046] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 245)
[    0.818615] io scheduler mq-deadline registered
[    0.823247] io scheduler kyber registered
[    0.827388] io scheduler bfq registered
[    0.839855] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.846194] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.860413] EINJ: ACPI disabled.
[    0.894296] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.905122] SuperH (H)SCI(F) driver initialized
[    0.910441] msm_serial: driver initialized
[    0.915664] STM32 USART driver initialized
[    0.928232] loop: module loaded
[    0.933076] megasas: 07.725.01.00-rc1
[    0.945136] tun: Universal TUN/TAP device driver, 1.6
[    0.951679] thunder_xcv, ver 1.0
[    0.955042] thunder_bgx, ver 1.0
[    0.958364] nicpf, ver 1.0
[    0.962653] hns3: Hisilicon Ethernet Network Driver for Hip08
Family - version
[    0.970054] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.975531] hclge is initializing
[    0.978968] e1000: Intel(R) PRO/1000 Network Driver
[    0.983956] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.989855] e1000e: Intel(R) PRO/1000 Network Driver
[    0.994929] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.001002] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.006594] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.012343] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.018760] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.025400] sky2: driver version 1.30
[    1.030959] VFIO - User Level meta-driver version: 0.3
[    1.039941] usbcore: registered new interface driver usb-storage
[    1.049742] i2c_dev: i2c /dev entries driver
[    1.066091] sdhci: Secure Digital Host Controller Interface driver
[    1.072477] sdhci: Copyright(c) Pierre Ossman
[    1.078069] Synopsys Designware Multimedia Card Interface Driver
[    1.085505] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.094210] ledtrig-cpu: registered to indicate activity on CPUs
[    1.101512] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.109405] usbcore: registered new interface driver usbhid
[    1.115128] usbhid: USB HID core driver
[    1.124069] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    1.135536] optee: probing for conduit method.

I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled

[    1.140141] optee: revision 4.0 (7bcf5bea)
[    1.156811] optee: dynamic shared memory is enabled
[    1.166251] optee: initialized driver
[    1.174973] NET: Registered PF_PACKET protocol family
[    1.180297] 9pnet: Installing 9P2000 support
[    1.184760] Key type dns_resolver registered
[    1.198451] registered taskstats version 1
[    1.202852] Loading compiled-in X.509 certificates
[    1.270412] ti-sci 44043000.system-controller: ABI: 3.1 (firmware
rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.356908] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.364975] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    1.371869] ti-sci-intr 4210000.interrupt-controller: Interrupt
Router 5 domain created
[    1.380732] ti-sci-intr bus@f0000:interrupt-controller@a00000:
Interrupt Router 3 domain created
[    1.390375] ti-sci-inta 48000000.interrupt-controller: Interrupt
Aggregator domain 28 created
[    1.400784] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.409644] ti-udma 485c0100.dma-controller: Channels: 48 (bchan:
18, tchan: 12, rchan: 18)
[    1.422472] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.433644] ti-udma 485c0000.dma-controller: Channels: 35 (tchan:
20, rchan: 15)
[    1.446118] printk: console [ttyS2] disabled
[    1.450945] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236,
base_baud = 3000000) is a 8250
[    1.459836] printk: console [ttyS2] enabled
[    1.459836] printk: console [ttyS2] enabled
[    1.468309] printk: bootconsole [ns16550a0] disabled
[    1.468309] printk: bootconsole [ns16550a0] disabled
[    1.486044] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.491763] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.498751] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.504153] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.511139] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.517719] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.524281] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.530537] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.537418] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.543922] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.556768] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.600559] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7,
bus freq 1000000
[    1.612473] davinci_mdio 8000f00.mdio: phy[0]: device
8000f00.mdio:00, driver TI DP83867
[    1.620584] davinci_mdio 8000f00.mdio: phy[1]: device
8000f00.mdio:01, driver TI DP83867
[    1.628710] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw
nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3
quirks:00000002
[    1.641516] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.648644] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.656214] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.737928] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.743519] xhci-hcd xhci-hcd.0.auto: new USB bus registered,
assigned bus number 1
[    1.751374] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    1.757377] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci
version 0x110 quirks 0x0000000000000010
[    1.766821] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31100000
[    1.773815] hub 1-0:1.0: USB hub found
[    1.777622] hub 1-0:1.0: 1 port detected
[    1.791293] mmc0: CQHCI version 5.10
[    1.808034] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.814811] pca953x 1-0022: using AI
[    1.835208] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc]
using ADMA 64-bit
[    1.863215] mmc1: CQHCI version 5.10
[    1.864793] clk: Disabling unused clocks
[    1.879193] ALSA device list:
[    1.882181]   No soundcards found.
[    1.907176] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc]
using ADMA 64-bit
[    1.915042] Waiting for root device PARTUUID=00000000-02...
[    1.937017] mmc0: Command Queue Engine enabled
[    1.941550] mmc0: new HS200 MMC card at address 0001
[    1.947637] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
[    1.954318]  mmcblk0: p1 p2
[    1.957962] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
[    1.964188] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
[    1.970139] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (234:0)
[    1.981351] mmc1: new ultra high speed SDR104 SDHC card at address 0001
[    1.988919] mmcblk1: mmc1:0001 SD16G 14.5 GiB
[    1.995224]  mmcblk1: p1 p2
[    2.350205] EXT4-fs (mmcblk1p2): recovery complete
[    2.356423] EXT4-fs (mmcblk1p2): mounted filesystem
dd261d6a-4689-440b-a2a3-e30c4357ef79 r/w with ordered data mode. Quota
mode: none.
[    2.368626] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    2.375742] devtmpfs: mounted
[    2.386009] Freeing unused kernel memory: 9152K
[    2.390800] Run /sbin/init as init process
[    2.464215] EXT4-fs (mmcblk1p2): re-mounted

dd261d6a-4689-440b-a2a3-e30c4357ef79 r/w. Quota mode: none. Seeding 256 bits without crediting
Saving 256 bits of non-creditable seed for next boot Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: OK

Welcome to Buildroot
buildroot login: root
# [ 11.920393] platform 31000000.usb: deferred probe pending

Did you build the image from a clean situation?
rm -rf output
make ti_am62x_sk_defconfig

Thanks and regards,
Dario

Quoted 67 lines
Quoted 65 lines · Dario Binacchi

The SK-AM62B-P1 is the newest version of SK-AM62 which includes high-security field-securable (HS-FS) silicon to optionally customize keys and encryption for security applications.
This requires enabling the BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS option, which, however, was buggy. This series fixes the errors and bumps the Linux kernel and U-Boot required for such a new device.

Dario Binacchi (11):
boot/ti-k3-core-secdev: new package boot/ti-k3-image-gen: manage HS hardware package/python-jsonschema: add host variant package/python-attrs: add host variant package/python-referencing: add host variant package/python-rpds-py: add host variant package/python-jsonschema-specifications: add host variant boot/ti-k3-r5-loader: set binman environment boot/uboot: set BINMAN_INDIRS for TI K3 DM configs/ti_am62x_sk_defconfig: bump U-Boot version to 2023.10 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.1

 DEVELOPERS                                    |  1 +
 board/ti/am62x-sk/genimage.cfg                |  7 ++-
 board/ti/am62x-sk/post-build.sh               | 49 +++++++++++++++++++
 board/ti/am62x-sk/post-image.sh               |  5 ++
 boot/Config.in                                |  1 +
 boot/ti-k3-core-secdev/Config.in              |  9 ++++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash |  3 ++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk   | 19 +++++++
 boot/ti-k3-image-gen/Config.in                |  1 +
 boot/ti-k3-image-gen/ti-k3-image-gen.mk       | 16 +++++-
 boot/ti-k3-r5-loader/Config.in                | 13 +++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk       |  1 +
 boot/uboot/uboot.mk                           |  3 +-
 configs/ti_am62x_sk_defconfig                 | 14 ++++--
 package/Config.in.host                        |  5 ++
 package/python-attrs/Config.in.host           |  8 +++
 package/python-attrs/python-attrs.mk          |  6 +++
 .../Config.in.host                            |  7 +++
 .../python-jsonschema-specifications.mk       |  5 ++
 package/python-jsonschema/Config.in.host      |  6 +++
 .../python-jsonschema/python-jsonschema.mk    |  6 +++
 package/python-referencing/Config.in.host     |  6 +++
 .../python-referencing/python-referencing.mk  |  7 +++
 package/python-rpds-py/Config.in.host         |  8 +++
 package/python-rpds-py/python-rpds-py.mk      |  1 +
 25 files changed, 199 insertions(+), 8 deletions(-)
 create mode 100755 board/ti/am62x-sk/post-build.sh
 create mode 100755 board/ti/am62x-sk/post-image.sh
 create mode 100644 boot/ti-k3-core-secdev/Config.in
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk
 create mode 100644 package/python-attrs/Config.in.host
 create mode 100644 package/python-jsonschema-specifications/Config.in.host
 create mode 100644 package/python-jsonschema/Config.in.host
 create mode 100644 package/python-referencing/Config.in.host
 create mode 100644 package/python-rpds-py/Config.in.host

--
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Signature · 21 lines
Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#20 lore raw

Hi Dario,
I had used a windows tool (balanaetcher, rufus) to write the image file which apparently didn't work for the sdcard image file anymore. I had previously used it successfully on an older buildroot. I am using windows with ubuntu on WSL to compile buildroot and apparently wsl can't see block devices. I copied it over to a linux computer and used sudo dd if=~/sdcard.img of=/dev/sda bs=1M and it worked.

Bryce

Quoted 1,020 lines · Dario Binacchi

Hi Bryce,

Quoted 433 lines · Bryce Johnson

Hi Dario,
I did a build with this set of patches off of master (as of yesterday) and I wasn't able to get the login prompt. I have a SK-AM62B-P1 with HS-FS silicon so I had enabled BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS instead of GP. I had a previous version built based on
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1226815/faq-buildroot-support-for-sitara-am62x-am62ax-am64x-devices
patches and buildroot 2023.05.x branch before.

Was there anything else I missed? I also have an older board with the GP processor I could attempt as well.

Below is the full boot log
Thanks,
Bryce

U-Boot 2023.10 (Dec 15 2023 - 12:24:04 -0700)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
DRAM:  2 GiB
Core:  55 devices, 23 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0

switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1: am62x-sk-buildroot
Retrieving file: /Image
append: console=ttyS2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /ti/k3-am625-sk.dtb
## Flattened Device Tree blob at ffb18720
Booting using the fdt blob at 0xffb18720
Working FDT set to ffb18720
Loading Device Tree to 000000008ffed000, end 000000008ffff677 ... OK
Working FDT set to 8ffed000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.1 (johnsonb@USATL1PC00222)
(aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot
2023.11-148-gffd8e6ef25-dirty) 12.3.0, GNU ld (GNU Binutils) 2.40) #1
SMP PREEMPT Fri Dec 15 12:37:47 MST 2023
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem:
0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable
ramoops@9ca00000
[    0.000000] Reserved memory: created DMA memory pool at
0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node
r5f-dma-memory@9db00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem:
0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable
r5f-dma-memory@9db00000
[    0.000000] OF: reserved mem:
0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable
tfa@9e780000
[    0.000000] OF: reserved mem:
0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable
optee@9e800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbd19c0-0xffbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50728 r8192 d31192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS2,115200n8
root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 262144 (order: 9,
2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    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
0x00000000f7800000-0x00000000fb800000] (64MB)
[    0.000000] Memory: 1877876K/2097152K available (16512K kernel
code, 4264K rwdata, 10560K rodata, 9152K init, 605K bss, 186508K
reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce
ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices
@80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table
@0x0000000080050000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff
max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps
every 4398046511102ns
[    0.009754] Console: colour dummy device 80x25
[    0.014392] Calibrating delay loop (skipped), value calculated
using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.025076] pid_max: default: 32768 minimum: 301
[    0.029872] LSM: initializing lsm=capability,integrity
[    0.035248] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.042833] Mountpoint-cache hash table entries: 4096 (order: 3,
32768 bytes, linear)
[    0.052840] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060168] RCU Tasks Trace: Setting shift to 2 and lim to 1
rcu_task_cb_adjust=1.
[    0.068130] rcu: Hierarchical SRCU implementation.
[    0.073038] rcu:     Max phase no-delay instances is 1000.
[    0.078659] Platform MSI: msi-controller@1820000 domain created
[    0.084989] PCI/MSI:
/bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain
created
[    0.094286] fsl-mc MSI: msi-controller@1820000 domain created
[    0.102288] EFI services will not be available.
[    0.107238] smp: Bringing up secondary CPUs ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot

[    0.120585] Detected VIPT I-cache on CPU1
[    0.120673] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.120691] GICv3: CPU1: using allocated LPI pending table
@0x0000000080060000
[    0.120750] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.129524] Detected VIPT I-cache on CPU2
[    0.129592] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.129608] GICv3: CPU2: using allocated LPI pending table
@0x0000000080070000
[    0.129645] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.138347] Detected VIPT I-cache on CPU3
[    0.138412] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.138424] GICv3: CPU3: using allocated LPI pending table
@0x0000000080080000
[    0.138459] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.138541] smp: Brought up 1 node, 4 CPUs
[    0.218261] SMP: Total of 4 processors activated.
[    0.223073] CPU features: detected: 32-bit EL0 Support
[    0.228338] CPU features: detected: 32-bit EL1 Support
[    0.233594] CPU features: detected: CRC32 instructions
[    0.238925] CPU: All CPU(s) started at EL2
[    0.243141] alternatives: applying system-wide alternatives
[    0.251229] devtmpfs: initialized
[    0.262305] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.272317] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.280646] pinctrl core: initialized pinctrl subsystem
[    0.288372] DMI not present or invalid.
[    0.293142] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.300451] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.307860] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[    0.315942] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.324122] audit: initializing netlink subsys (disabled)
[    0.329867] audit: type=2000 audit(0.228:1): state=initialized
audit_enabled=0 res=1
[    0.331398] thermal_sys: Registered thermal governor 'step_wise'
[    0.337815] thermal_sys: Registered thermal governor 'power_allocator'
[    0.344045] cpuidle: using governor menu
[    0.354991] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362047] ASID allocator initialised with 65536 entries
[    0.369849] Serial: AMBA PL011 UART driver
[    0.396671] Modules: 22448 pages in range for non-PLT usage
[    0.396694] Modules: 513968 pages in range for PLT usage
[    0.403312] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.415709] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.422118] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.429058] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.435466] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.442405] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.448813] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.455752] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.464031] ACPI: Interpreter disabled.
[    0.470193] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0
JTAGID[0x0bb7e02f] Detected
[    0.479644] iommu: Default domain type: Translated
[    0.484569] iommu: DMA domain TLB invalidation policy: strict mode
[    0.491213] SCSI subsystem initialized
[    0.495435] usbcore: registered new interface driver usbfs
[    0.501076] usbcore: registered new interface driver hub
[    0.506540] usbcore: registered new device driver usb
[    0.512914] pps_core: LinuxPPS API ver. 1 registered
[    0.517997] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <[email protected]>
[    0.527347] PTP clock support registered
[    0.531507] EDAC MC: Ver: 3.0.0
[    0.535743] scmi_core: SCMI protocol bus registered
[    0.541664] FPGA manager framework
[    0.545252] Advanced Linux Sound Architecture Driver Initialized.
[    0.552660] vgaarb: loaded
[    0.556427] clocksource: Switched to clocksource arch_sys_counter
[    0.562971] VFS: Disk quotas dquot_6.6.0
[    0.567021] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.574256] pnp: PnP ACPI: disabled
[    0.584170] NET: Registered PF_INET protocol family
[    0.589456] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[    0.598572] tcp_listen_portaddr_hash hash table entries: 1024
(order: 2, 16384 bytes, linear)
[    0.607379] Table-perturb hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.615327] TCP established hash table entries: 16384 (order: 5,
131072 bytes, linear)
[    0.623533] TCP bind hash table entries: 16384 (order: 7, 524288
bytes, linear)
[    0.631538] TCP: Hash tables configured (established 16384 bind 16384)
[    0.638446] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.645376] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.652902] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.659235] RPC: Registered named UNIX socket transport module.
[    0.665320] RPC: Registered udp transport module.
[    0.670130] RPC: Registered tcp transport module.
[    0.674938] RPC: Registered tcp-with-tls transport module.
[    0.680556] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.687156] PCI: CLS 0 bytes, default 64
[    0.691616] kvm [1]: IPA Size Limit: 40 bits
[    0.697984] kvm [1]: vgic-v2@100010000
[    0.701849] kvm [1]: GIC system register CPU interface enabled
[    0.707847] kvm [1]: vgic interrupt IRQ9
[    0.711880] kvm [1]: Hyp mode initialized successfully
[    0.718644] Initialise system trusted keyrings
[    0.723487] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.730425] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.736690] NFS: Registering the id_resolver key type
[    0.741888] Key type id_resolver registered
[    0.746166] Key type id_legacy registered
[    0.750284] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.757141] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[    0.764888] 9p: Installing v9fs 9p2000 file system support
[    0.801637] Key type asymmetric registered
[    0.805852] Asymmetric key parser 'x509' registered
[    0.810890] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 245)
[    0.818458] io scheduler mq-deadline registered
[    0.823091] io scheduler kyber registered
[    0.827234] io scheduler bfq registered
[    0.839670] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.846004] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.860220] EINJ: ACPI disabled.
[    0.893982] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.904892] SuperH (H)SCI(F) driver initialized
[    0.910227] msm_serial: driver initialized
[    0.915474] STM32 USART driver initialized
[    0.928077] loop: module loaded
[    0.932921] megasas: 07.725.01.00-rc1
[    0.944997] tun: Universal TUN/TAP device driver, 1.6
[    0.951527] thunder_xcv, ver 1.0
[    0.954894] thunder_bgx, ver 1.0
[    0.958216] nicpf, ver 1.0
[    0.962475] hns3: Hisilicon Ethernet Network Driver for Hip08
Family - version
[    0.969879] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.975355] hclge is initializing
[    0.978792] e1000: Intel(R) PRO/1000 Network Driver
[    0.983780] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.989686] e1000e: Intel(R) PRO/1000 Network Driver
[    0.994761] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.000834] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.006426] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.012161] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.018577] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.025146] sky2: driver version 1.30
[    1.030686] VFIO - User Level meta-driver version: 0.3
[    1.039624] usbcore: registered new interface driver usb-storage
[    1.049359] i2c_dev: i2c /dev entries driver
[    1.065543] sdhci: Secure Digital Host Controller Interface driver
[    1.071921] sdhci: Copyright(c) Pierre Ossman
[    1.077531] Synopsys Designware Multimedia Card Interface Driver
[    1.084948] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.093602] ledtrig-cpu: registered to indicate activity on CPUs
[    1.100881] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.108763] usbcore: registered new interface driver usbhid
[    1.114475] usbhid: USB HID core driver
[    1.123435] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    1.134895] optee: probing for conduit method.

I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled

[    1.139498] optee: revision 4.0 (ffd8e6ef)
[    1.156155] optee: dynamic shared memory is enabled
[    1.165592] optee: initialized driver
[    1.174302] NET: Registered PF_PACKET protocol family
[    1.179622] 9pnet: Installing 9P2000 support
[    1.184079] Key type dns_resolver registered
[    1.197716] registered taskstats version 1
[    1.202128] Loading compiled-in X.509 certificates
[    1.269496] ti-sci 44043000.system-controller: ABI: 3.1 (firmware
rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.356029] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.364038] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    1.370918] ti-sci-intr 4210000.interrupt-controller: Interrupt
Router 5 domain created
[    1.379746] ti-sci-intr bus@f0000:interrupt-controller@a00000:
Interrupt Router 3 domain created
[    1.389397] ti-sci-inta 48000000.interrupt-controller: Interrupt
Aggregator domain 28 created
[    1.399735] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.408601] ti-udma 485c0100.dma-controller: Channels: 48 (bchan:
18, tchan: 12, rchan: 18)
[    1.421457] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.432629] ti-udma 485c0000.dma-controller: Channels: 35 (tchan:
20, rchan: 15)
[    1.445105] printk: console [ttyS2] disabled
[    1.449843] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236,
base_baud = 3000000) is a 8250
[    1.458820] printk: console [ttyS2] enabled
[    1.458820] printk: console [ttyS2] enabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.485909] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.491602] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.498589] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.503992] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.510957] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.517552] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.524063] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.530310] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.537187] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.543715] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.556547] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.600469] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7,
bus freq 1000000
[    1.612342] davinci_mdio 8000f00.mdio: phy[0]: device
8000f00.mdio:00, driver TI DP83867
[    1.620456] davinci_mdio 8000f00.mdio: phy[1]: device
8000f00.mdio:01, driver TI DP83867
[    1.628584] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw
nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3
quirks:00000002
[    1.641392] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.648521] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.656103] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.737800] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.743391] xhci-hcd xhci-hcd.0.auto: new USB bus registered,
assigned bus number 1
[    1.751257] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    1.757261] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci
version 0x110 quirks 0x0000000000000010
[    1.766703] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31100000
[    1.773675] hub 1-0:1.0: USB hub found
[    1.777477] hub 1-0:1.0: 1 port detected
[    1.791290] mmc0: CQHCI version 5.10
[    1.808081] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.814902] pca953x 1-0022: using AI
[    1.836429] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc]
using ADMA 64-bit
[    1.863508] mmc1: CQHCI version 5.10
[    1.865077] clk: Disabling unused clocks
[    1.879260] ALSA device list:
[    1.882263]   No soundcards found.
[    1.907341] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc]
using ADMA 64-bit
[    1.915235] Waiting for root device PARTUUID=00000000-02...
[    1.939113] mmc0: Command Queue Engine enabled
[    1.943622] mmc0: new HS200 MMC card at address 0001
Quoted 10 lines
[    1.949474] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
[    1.956140] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
[    1.962386] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
[    1.968325] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (234:0)
[    1.976870] mmc1: new high speed SD card at address 1234
[    1.983075] mmcblk1: mmc1:1234 SA02G 1.85 GiB
[    1.990322]  mmcblk1: p1 p2
[   11.921672] platform 31000000.usb: deferred probe pending

This is my log:

U-Boot SPL 2023.10 (Dec 13 2023 - 16:32:38 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13400 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.7(release):v2.7
NOTICE:  BL31: Built : 16:32:05, Dec 13 2023

I/TC:
I/TC: OP-TEE version: 2023.11-rc1-55-g7bcf5bea6645-dev (gcc version 12.3.0 (Buildroot 2023.11-rc1-55-g7bcf5bea6645-dirty)) #1 Wed Dec 13 15:32:02 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check
https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') I/TC: HUK Initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2023.10 (Dec 13 2023 - 16:33:42 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 1872 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed

U-Boot 2023.10 (Dec 13 2023 - 16:33:42 +0100)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
DRAM:  2 GiB
Core:  55 devices, 23 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0

switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1: am62x-sk-buildroot
Retrieving file: /Image
append: console=ttyS2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /ti/k3-am625-sk.dtb
## Flattened Device Tree blob at ffb18720
Booting using the fdt blob at 0xffb18720
Working FDT set to ffb18720
Loading Device Tree to 000000008ffed000, end 000000008ffff66f ... OK
Working FDT set to 8ffed000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.1 (dario@dario-ThinkPad-T14s-Gen-2i)
(aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot
2023.11-rc1-55-g7bcf5bea6645-dirty) 12.3.0, GNU ld (GNU Binutils)
2.40) #1 SMP PREEMPT Wed Dec 13 16:54:57 CET 2023
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem:
0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable
ramoops@9ca00000
[    0.000000] Reserved memory: created DMA memory pool at
0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node
r5f-dma-memory@9db00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem:
0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable
r5f-dma-memory@9db00000
[    0.000000] OF: reserved mem:
0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable
tfa@9e780000
[    0.000000] OF: reserved mem:
0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable
optee@9e800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbd19c0-0xffbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50728 r8192 d31192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS2,115200n8
root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 262144 (order: 9,
2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    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
0x00000000f7800000-0x00000000fb800000] (64MB)
[    0.000000] Memory: 1877876K/2097152K available (16512K kernel
code, 4264K rwdata, 10560K rodata, 9152K init, 605K bss, 186508K
reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: RCU event tracing is enabled.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] Trampoline variant of Tasks RCU enabled.
[    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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce
ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices
@80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table
@0x0000000080050000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff
max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps
every 4398046511102ns
[    0.009757] Console: colour dummy device 80x25
[    0.014395] Calibrating delay loop (skipped), value calculated
using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.025080] pid_max: default: 32768 minimum: 301
[    0.029875] LSM: initializing lsm=capability,integrity
[    0.035252] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.042835] Mountpoint-cache hash table entries: 4096 (order: 3,
32768 bytes, linear)
[    0.052827] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060160] RCU Tasks Trace: Setting shift to 2 and lim to 1
rcu_task_cb_adjust=1.
[    0.068122] rcu: Hierarchical SRCU implementation.
[    0.073029] rcu: Max phase no-delay instances is 1000.
[    0.078651] Platform MSI: msi-controller@1820000 domain created
[    0.084974] PCI/MSI:
/bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain
created
[    0.094274] fsl-mc MSI: msi-controller@1820000 domain created
[    0.102281] EFI services will not be available.
[    0.107228] smp: Bringing up secondary CPUs ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot

[    0.120578] Detected VIPT I-cache on CPU1
[    0.120670] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.120688] GICv3: CPU1: using allocated LPI pending table
@0x0000000080060000
[    0.120748] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.129537] Detected VIPT I-cache on CPU2
[    0.129599] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.129614] GICv3: CPU2: using allocated LPI pending table
@0x0000000080070000
[    0.129651] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.138347] Detected VIPT I-cache on CPU3
[    0.138406] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.138420] GICv3: CPU3: using allocated LPI pending table
@0x0000000080080000
[    0.138456] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.138537] smp: Brought up 1 node, 4 CPUs
[    0.218261] SMP: Total of 4 processors activated.
[    0.223073] CPU features: detected: 32-bit EL0 Support
[    0.228338] CPU features: detected: 32-bit EL1 Support
[    0.233595] CPU features: detected: CRC32 instructions
[    0.238932] CPU: All CPU(s) started at EL2
[    0.243147] alternatives: applying system-wide alternatives
[    0.251258] devtmpfs: initialized
[    0.262346] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.272358] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.280664] pinctrl core: initialized pinctrl subsystem
[    0.288377] DMI not present or invalid.
[    0.293151] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.300471] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.307882] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[    0.315964] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.324144] audit: initializing netlink subsys (disabled)
[    0.329888] audit: type=2000 audit(0.228:1): state=initialized
audit_enabled=0 res=1
[    0.331426] thermal_sys: Registered thermal governor 'step_wise'
[    0.337834] thermal_sys: Registered thermal governor 'power_allocator'
[    0.344062] cpuidle: using governor menu
[    0.355013] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362068] ASID allocator initialised with 65536 entries
[    0.369864] Serial: AMBA PL011 UART driver
[    0.396726] Modules: 22448 pages in range for non-PLT usage
[    0.396748] Modules: 513968 pages in range for PLT usage
[    0.403363] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.415761] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.422169] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.429108] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.435517] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.442455] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.448864] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.455803] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.464080] ACPI: Interpreter disabled.
[    0.470253] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0
JTAGID[0x0bb7e02f] Detected
[    0.479692] iommu: Default domain type: Translated
[    0.484617] iommu: DMA domain TLB invalidation policy: strict mode
[    0.491263] SCSI subsystem initialized
[    0.495478] usbcore: registered new interface driver usbfs
[    0.501118] usbcore: registered new interface driver hub
[    0.506583] usbcore: registered new device driver usb
[    0.512968] pps_core: LinuxPPS API ver. 1 registered
[    0.518052] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <[email protected]>
[    0.527402] PTP clock support registered
[    0.531560] EDAC MC: Ver: 3.0.0
[    0.535803] scmi_core: SCMI protocol bus registered
[    0.541735] FPGA manager framework
[    0.545324] Advanced Linux Sound Architecture Driver Initialized.
[    0.552737] vgaarb: loaded
[    0.556518] clocksource: Switched to clocksource arch_sys_counter
[    0.563071] VFS: Disk quotas dquot_6.6.0
[    0.567123] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.574357] pnp: PnP ACPI: disabled
[    0.584286] NET: Registered PF_INET protocol family
[    0.589578] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[    0.598689] tcp_listen_portaddr_hash hash table entries: 1024
(order: 2, 16384 bytes, linear)
[    0.607499] Table-perturb hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.615449] TCP established hash table entries: 16384 (order: 5,
131072 bytes, linear)
[    0.623652] TCP bind hash table entries: 16384 (order: 7, 524288
bytes, linear)
[    0.631641] TCP: Hash tables configured (established 16384 bind 16384)
[    0.638555] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.645481] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.653013] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.659354] RPC: Registered named UNIX socket transport module.
[    0.665439] RPC: Registered udp transport module.
[    0.670250] RPC: Registered tcp transport module.
[    0.675058] RPC: Registered tcp-with-tls transport module.
[    0.680675] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.687277] PCI: CLS 0 bytes, default 64
[    0.691740] kvm [1]: IPA Size Limit: 40 bits
[    0.698113] kvm [1]: vgic-v2@100010000
[    0.701977] kvm [1]: GIC system register CPU interface enabled
[    0.707975] kvm [1]: vgic interrupt IRQ9
[    0.712008] kvm [1]: Hyp mode initialized successfully
[    0.718779] Initialise system trusted keyrings
[    0.723638] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.730577] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.736833] NFS: Registering the id_resolver key type
[    0.742039] Key type id_resolver registered
[    0.746317] Key type id_legacy registered
[    0.750435] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.757292] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[    0.765039] 9p: Installing v9fs 9p2000 file system support
[    0.801794] Key type asymmetric registered
[    0.806007] Asymmetric key parser 'x509' registered
[    0.811046] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 245)
[    0.818615] io scheduler mq-deadline registered
[    0.823247] io scheduler kyber registered
[    0.827388] io scheduler bfq registered
[    0.839855] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.846194] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.860413] EINJ: ACPI disabled.
[    0.894296] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.905122] SuperH (H)SCI(F) driver initialized
[    0.910441] msm_serial: driver initialized
[    0.915664] STM32 USART driver initialized
[    0.928232] loop: module loaded
[    0.933076] megasas: 07.725.01.00-rc1
[    0.945136] tun: Universal TUN/TAP device driver, 1.6
[    0.951679] thunder_xcv, ver 1.0
[    0.955042] thunder_bgx, ver 1.0
[    0.958364] nicpf, ver 1.0
[    0.962653] hns3: Hisilicon Ethernet Network Driver for Hip08
Family - version
[    0.970054] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.975531] hclge is initializing
[    0.978968] e1000: Intel(R) PRO/1000 Network Driver
[    0.983956] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.989855] e1000e: Intel(R) PRO/1000 Network Driver
[    0.994929] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.001002] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.006594] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.012343] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.018760] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.025400] sky2: driver version 1.30
[    1.030959] VFIO - User Level meta-driver version: 0.3
[    1.039941] usbcore: registered new interface driver usb-storage
[    1.049742] i2c_dev: i2c /dev entries driver
[    1.066091] sdhci: Secure Digital Host Controller Interface driver
[    1.072477] sdhci: Copyright(c) Pierre Ossman
[    1.078069] Synopsys Designware Multimedia Card Interface Driver
[    1.085505] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.094210] ledtrig-cpu: registered to indicate activity on CPUs
[    1.101512] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.109405] usbcore: registered new interface driver usbhid
[    1.115128] usbhid: USB HID core driver
[    1.124069] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    1.135536] optee: probing for conduit method.

I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled

[    1.140141] optee: revision 4.0 (7bcf5bea)
[    1.156811] optee: dynamic shared memory is enabled
[    1.166251] optee: initialized driver
[    1.174973] NET: Registered PF_PACKET protocol family
[    1.180297] 9pnet: Installing 9P2000 support
[    1.184760] Key type dns_resolver registered
[    1.198451] registered taskstats version 1
[    1.202852] Loading compiled-in X.509 certificates
[    1.270412] ti-sci 44043000.system-controller: ABI: 3.1 (firmware
rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.356908] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.364975] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    1.371869] ti-sci-intr 4210000.interrupt-controller: Interrupt
Router 5 domain created
[    1.380732] ti-sci-intr bus@f0000:interrupt-controller@a00000:
Interrupt Router 3 domain created
[    1.390375] ti-sci-inta 48000000.interrupt-controller: Interrupt
Aggregator domain 28 created
[    1.400784] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.409644] ti-udma 485c0100.dma-controller: Channels: 48 (bchan:
18, tchan: 12, rchan: 18)
[    1.422472] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.433644] ti-udma 485c0000.dma-controller: Channels: 35 (tchan:
20, rchan: 15)
[    1.446118] printk: console [ttyS2] disabled
[    1.450945] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236,
base_baud = 3000000) is a 8250
[    1.459836] printk: console [ttyS2] enabled
[    1.459836] printk: console [ttyS2] enabled
[    1.468309] printk: bootconsole [ns16550a0] disabled
[    1.468309] printk: bootconsole [ns16550a0] disabled
[    1.486044] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.491763] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.498751] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.504153] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.511139] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.517719] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.524281] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.530537] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.537418] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.543922] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.556768] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.600559] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7,
bus freq 1000000
[    1.612473] davinci_mdio 8000f00.mdio: phy[0]: device
8000f00.mdio:00, driver TI DP83867
[    1.620584] davinci_mdio 8000f00.mdio: phy[1]: device
8000f00.mdio:01, driver TI DP83867
[    1.628710] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw
nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3
quirks:00000002
[    1.641516] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.648644] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.656214] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.737928] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.743519] xhci-hcd xhci-hcd.0.auto: new USB bus registered,
assigned bus number 1
[    1.751374] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    1.757377] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci
version 0x110 quirks 0x0000000000000010
[    1.766821] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31100000
[    1.773815] hub 1-0:1.0: USB hub found
[    1.777622] hub 1-0:1.0: 1 port detected
[    1.791293] mmc0: CQHCI version 5.10
[    1.808034] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.814811] pca953x 1-0022: using AI
[    1.835208] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc]
using ADMA 64-bit
[    1.863215] mmc1: CQHCI version 5.10
[    1.864793] clk: Disabling unused clocks
[    1.879193] ALSA device list:
[    1.882181]   No soundcards found.
[    1.907176] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc]
using ADMA 64-bit
[    1.915042] Waiting for root device PARTUUID=00000000-02...
[    1.937017] mmc0: Command Queue Engine enabled
[    1.941550] mmc0: new HS200 MMC card at address 0001
[    1.947637] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
[    1.954318]  mmcblk0: p1 p2
[    1.957962] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
[    1.964188] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
[    1.970139] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (234:0)
[    1.981351] mmc1: new ultra high speed SDR104 SDHC card at address 0001
[    1.988919] mmcblk1: mmc1:0001 SD16G 14.5 GiB
[    1.995224]  mmcblk1: p1 p2
[    2.350205] EXT4-fs (mmcblk1p2): recovery complete
[    2.356423] EXT4-fs (mmcblk1p2): mounted filesystem
dd261d6a-4689-440b-a2a3-e30c4357ef79 r/w with ordered data mode. Quota
mode: none.
[    2.368626] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    2.375742] devtmpfs: mounted
[    2.386009] Freeing unused kernel memory: 9152K
[    2.390800] Run /sbin/init as init process
[    2.464215] EXT4-fs (mmcblk1p2): re-mounted

dd261d6a-4689-440b-a2a3-e30c4357ef79 r/w. Quota mode: none. Seeding 256 bits without crediting
Saving 256 bits of non-creditable seed for next boot Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: OK

Welcome to Buildroot
buildroot login: root
# [ 11.920393] platform 31000000.usb: deferred probe pending

Did you build the image from a clean situation?
rm -rf output
make ti_am62x_sk_defconfig

Thanks and regards,
Dario

Quoted 60 lines
Quoted 58 lines · Dario Binacchi

The SK-AM62B-P1 is the newest version of SK-AM62 which includes high-security field-securable (HS-FS) silicon to optionally customize keys and encryption for security applications.
This requires enabling the BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS option, which, however, was buggy. This series fixes the errors and bumps the Linux kernel and U-Boot required for such a new device.

Dario Binacchi (11):
boot/ti-k3-core-secdev: new package boot/ti-k3-image-gen: manage HS hardware package/python-jsonschema: add host variant package/python-attrs: add host variant package/python-referencing: add host variant package/python-rpds-py: add host variant package/python-jsonschema-specifications: add host variant boot/ti-k3-r5-loader: set binman environment boot/uboot: set BINMAN_INDIRS for TI K3 DM configs/ti_am62x_sk_defconfig: bump U-Boot version to 2023.10 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.1

 DEVELOPERS                                    |  1 +
 board/ti/am62x-sk/genimage.cfg                |  7 ++-
 board/ti/am62x-sk/post-build.sh               | 49 +++++++++++++++++++
 board/ti/am62x-sk/post-image.sh               |  5 ++
 boot/Config.in                                |  1 +
 boot/ti-k3-core-secdev/Config.in              |  9 ++++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash |  3 ++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk   | 19 +++++++
 boot/ti-k3-image-gen/Config.in                |  1 +
 boot/ti-k3-image-gen/ti-k3-image-gen.mk       | 16 +++++-
 boot/ti-k3-r5-loader/Config.in                | 13 +++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk       |  1 +
 boot/uboot/uboot.mk                           |  3 +-
 configs/ti_am62x_sk_defconfig                 | 14 ++++--
 package/Config.in.host                        |  5 ++
 package/python-attrs/Config.in.host           |  8 +++
 package/python-attrs/python-attrs.mk          |  6 +++
 .../Config.in.host                            |  7 +++
 .../python-jsonschema-specifications.mk       |  5 ++
 package/python-jsonschema/Config.in.host      |  6 +++
 .../python-jsonschema/python-jsonschema.mk    |  6 +++
 package/python-referencing/Config.in.host     |  6 +++
 .../python-referencing/python-referencing.mk  |  7 +++
 package/python-rpds-py/Config.in.host         |  8 +++
 package/python-rpds-py/python-rpds-py.mk      |  1 +
 25 files changed, 199 insertions(+), 8 deletions(-)
 create mode 100755 board/ti/am62x-sk/post-build.sh
 create mode 100755 board/ti/am62x-sk/post-image.sh
 create mode 100644 boot/ti-k3-core-secdev/Config.in
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk
 create mode 100644 package/python-attrs/Config.in.host
 create mode 100644 package/python-jsonschema-specifications/Config.in.host
 create mode 100644 package/python-jsonschema/Config.in.host
 create mode 100644 package/python-referencing/Config.in.host
 create mode 100644 package/python-rpds-py/Config.in.host
Quoted 7 lines
Quoted 7 lines

--
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

--

Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________

Quoted 8 lines

Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#21 lore raw

Hi Bryce,

Quoted 8 lines · Bryce Johnson

Hi Dario,
I had used a windows tool (balanaetcher, rufus) to write the image file which apparently didn't work for the sdcard image file anymore. I had previously used it successfully on an older buildroot. I am using windows with ubuntu on WSL to compile buildroot and apparently wsl can't see block devices. I copied it over to a linux computer and used sudo dd if=~/sdcard.img of=/dev/sda bs=1M and it worked.

Good news!
I used the dd command too.
When it will be possible for me, I will try to run some tests on Windows.

Thanks and regards
Dario

Quoted 1,033 lines

Bryce

Quoted 1,028 lines · Dario Binacchi

Hi Bryce,

Quoted 433 lines · Bryce Johnson

Hi Dario,
I did a build with this set of patches off of master (as of yesterday) and I wasn't able to get the login prompt. I have a SK-AM62B-P1 with HS-FS silicon so I had enabled BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS instead of GP. I had a previous version built based on
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1226815/faq-buildroot-support-for-sitara-am62x-am62ax-am64x-devices
patches and buildroot 2023.05.x branch before.

Was there anything else I missed? I also have an older board with the GP processor I could attempt as well.

Below is the full boot log
Thanks,
Bryce

U-Boot 2023.10 (Dec 15 2023 - 12:24:04 -0700)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
DRAM:  2 GiB
Core:  55 devices, 23 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0

switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1: am62x-sk-buildroot
Retrieving file: /Image
append: console=ttyS2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /ti/k3-am625-sk.dtb
## Flattened Device Tree blob at ffb18720
Booting using the fdt blob at 0xffb18720
Working FDT set to ffb18720
Loading Device Tree to 000000008ffed000, end 000000008ffff677 ... OK
Working FDT set to 8ffed000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.1 (johnsonb@USATL1PC00222)
(aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot
2023.11-148-gffd8e6ef25-dirty) 12.3.0, GNU ld (GNU Binutils) 2.40) #1
SMP PREEMPT Fri Dec 15 12:37:47 MST 2023
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem:
0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable
ramoops@9ca00000
[    0.000000] Reserved memory: created DMA memory pool at
0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node
r5f-dma-memory@9db00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem:
0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable
r5f-dma-memory@9db00000
[    0.000000] OF: reserved mem:
0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable
tfa@9e780000
[    0.000000] OF: reserved mem:
0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable
optee@9e800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbd19c0-0xffbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50728 r8192 d31192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS2,115200n8
root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 262144 (order: 9,
2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    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
0x00000000f7800000-0x00000000fb800000] (64MB)
[    0.000000] Memory: 1877876K/2097152K available (16512K kernel
code, 4264K rwdata, 10560K rodata, 9152K init, 605K bss, 186508K
reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce
ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices
@80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table
@0x0000000080050000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff
max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps
every 4398046511102ns
[    0.009754] Console: colour dummy device 80x25
[    0.014392] Calibrating delay loop (skipped), value calculated
using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.025076] pid_max: default: 32768 minimum: 301
[    0.029872] LSM: initializing lsm=capability,integrity
[    0.035248] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.042833] Mountpoint-cache hash table entries: 4096 (order: 3,
32768 bytes, linear)
[    0.052840] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060168] RCU Tasks Trace: Setting shift to 2 and lim to 1
rcu_task_cb_adjust=1.
[    0.068130] rcu: Hierarchical SRCU implementation.
[    0.073038] rcu:     Max phase no-delay instances is 1000.
[    0.078659] Platform MSI: msi-controller@1820000 domain created
[    0.084989] PCI/MSI:
/bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain
created
[    0.094286] fsl-mc MSI: msi-controller@1820000 domain created
[    0.102288] EFI services will not be available.
[    0.107238] smp: Bringing up secondary CPUs ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot

[    0.120585] Detected VIPT I-cache on CPU1
[    0.120673] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.120691] GICv3: CPU1: using allocated LPI pending table
@0x0000000080060000
[    0.120750] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.129524] Detected VIPT I-cache on CPU2
[    0.129592] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.129608] GICv3: CPU2: using allocated LPI pending table
@0x0000000080070000
[    0.129645] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.138347] Detected VIPT I-cache on CPU3
[    0.138412] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.138424] GICv3: CPU3: using allocated LPI pending table
@0x0000000080080000
[    0.138459] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.138541] smp: Brought up 1 node, 4 CPUs
[    0.218261] SMP: Total of 4 processors activated.
[    0.223073] CPU features: detected: 32-bit EL0 Support
[    0.228338] CPU features: detected: 32-bit EL1 Support
[    0.233594] CPU features: detected: CRC32 instructions
[    0.238925] CPU: All CPU(s) started at EL2
[    0.243141] alternatives: applying system-wide alternatives
[    0.251229] devtmpfs: initialized
[    0.262305] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.272317] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.280646] pinctrl core: initialized pinctrl subsystem
[    0.288372] DMI not present or invalid.
[    0.293142] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.300451] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.307860] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[    0.315942] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.324122] audit: initializing netlink subsys (disabled)
[    0.329867] audit: type=2000 audit(0.228:1): state=initialized
audit_enabled=0 res=1
[    0.331398] thermal_sys: Registered thermal governor 'step_wise'
[    0.337815] thermal_sys: Registered thermal governor 'power_allocator'
[    0.344045] cpuidle: using governor menu
[    0.354991] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362047] ASID allocator initialised with 65536 entries
[    0.369849] Serial: AMBA PL011 UART driver
[    0.396671] Modules: 22448 pages in range for non-PLT usage
[    0.396694] Modules: 513968 pages in range for PLT usage
[    0.403312] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.415709] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.422118] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.429058] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.435466] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.442405] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.448813] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.455752] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.464031] ACPI: Interpreter disabled.
[    0.470193] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0
JTAGID[0x0bb7e02f] Detected
[    0.479644] iommu: Default domain type: Translated
[    0.484569] iommu: DMA domain TLB invalidation policy: strict mode
[    0.491213] SCSI subsystem initialized
[    0.495435] usbcore: registered new interface driver usbfs
[    0.501076] usbcore: registered new interface driver hub
[    0.506540] usbcore: registered new device driver usb
[    0.512914] pps_core: LinuxPPS API ver. 1 registered
[    0.517997] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <[email protected]>
[    0.527347] PTP clock support registered
[    0.531507] EDAC MC: Ver: 3.0.0
[    0.535743] scmi_core: SCMI protocol bus registered
[    0.541664] FPGA manager framework
[    0.545252] Advanced Linux Sound Architecture Driver Initialized.
[    0.552660] vgaarb: loaded
[    0.556427] clocksource: Switched to clocksource arch_sys_counter
[    0.562971] VFS: Disk quotas dquot_6.6.0
[    0.567021] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.574256] pnp: PnP ACPI: disabled
[    0.584170] NET: Registered PF_INET protocol family
[    0.589456] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[    0.598572] tcp_listen_portaddr_hash hash table entries: 1024
(order: 2, 16384 bytes, linear)
[    0.607379] Table-perturb hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.615327] TCP established hash table entries: 16384 (order: 5,
131072 bytes, linear)
[    0.623533] TCP bind hash table entries: 16384 (order: 7, 524288
bytes, linear)
[    0.631538] TCP: Hash tables configured (established 16384 bind 16384)
[    0.638446] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.645376] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.652902] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.659235] RPC: Registered named UNIX socket transport module.
[    0.665320] RPC: Registered udp transport module.
[    0.670130] RPC: Registered tcp transport module.
[    0.674938] RPC: Registered tcp-with-tls transport module.
[    0.680556] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.687156] PCI: CLS 0 bytes, default 64
[    0.691616] kvm [1]: IPA Size Limit: 40 bits
[    0.697984] kvm [1]: vgic-v2@100010000
[    0.701849] kvm [1]: GIC system register CPU interface enabled
[    0.707847] kvm [1]: vgic interrupt IRQ9
[    0.711880] kvm [1]: Hyp mode initialized successfully
[    0.718644] Initialise system trusted keyrings
[    0.723487] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.730425] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.736690] NFS: Registering the id_resolver key type
[    0.741888] Key type id_resolver registered
[    0.746166] Key type id_legacy registered
[    0.750284] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.757141] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[    0.764888] 9p: Installing v9fs 9p2000 file system support
[    0.801637] Key type asymmetric registered
[    0.805852] Asymmetric key parser 'x509' registered
[    0.810890] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 245)
[    0.818458] io scheduler mq-deadline registered
[    0.823091] io scheduler kyber registered
[    0.827234] io scheduler bfq registered
[    0.839670] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.846004] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.860220] EINJ: ACPI disabled.
[    0.893982] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.904892] SuperH (H)SCI(F) driver initialized
[    0.910227] msm_serial: driver initialized
[    0.915474] STM32 USART driver initialized
[    0.928077] loop: module loaded
[    0.932921] megasas: 07.725.01.00-rc1
[    0.944997] tun: Universal TUN/TAP device driver, 1.6
[    0.951527] thunder_xcv, ver 1.0
[    0.954894] thunder_bgx, ver 1.0
[    0.958216] nicpf, ver 1.0
[    0.962475] hns3: Hisilicon Ethernet Network Driver for Hip08
Family - version
[    0.969879] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.975355] hclge is initializing
[    0.978792] e1000: Intel(R) PRO/1000 Network Driver
[    0.983780] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.989686] e1000e: Intel(R) PRO/1000 Network Driver
[    0.994761] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.000834] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.006426] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.012161] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.018577] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.025146] sky2: driver version 1.30
[    1.030686] VFIO - User Level meta-driver version: 0.3
[    1.039624] usbcore: registered new interface driver usb-storage
[    1.049359] i2c_dev: i2c /dev entries driver
[    1.065543] sdhci: Secure Digital Host Controller Interface driver
[    1.071921] sdhci: Copyright(c) Pierre Ossman
[    1.077531] Synopsys Designware Multimedia Card Interface Driver
[    1.084948] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.093602] ledtrig-cpu: registered to indicate activity on CPUs
[    1.100881] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.108763] usbcore: registered new interface driver usbhid
[    1.114475] usbhid: USB HID core driver
[    1.123435] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    1.134895] optee: probing for conduit method.

I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled

[    1.139498] optee: revision 4.0 (ffd8e6ef)
[    1.156155] optee: dynamic shared memory is enabled
[    1.165592] optee: initialized driver
[    1.174302] NET: Registered PF_PACKET protocol family
[    1.179622] 9pnet: Installing 9P2000 support
[    1.184079] Key type dns_resolver registered
[    1.197716] registered taskstats version 1
[    1.202128] Loading compiled-in X.509 certificates
[    1.269496] ti-sci 44043000.system-controller: ABI: 3.1 (firmware
rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.356029] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.364038] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    1.370918] ti-sci-intr 4210000.interrupt-controller: Interrupt
Router 5 domain created
[    1.379746] ti-sci-intr bus@f0000:interrupt-controller@a00000:
Interrupt Router 3 domain created
[    1.389397] ti-sci-inta 48000000.interrupt-controller: Interrupt
Aggregator domain 28 created
[    1.399735] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.408601] ti-udma 485c0100.dma-controller: Channels: 48 (bchan:
18, tchan: 12, rchan: 18)
[    1.421457] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.432629] ti-udma 485c0000.dma-controller: Channels: 35 (tchan:
20, rchan: 15)
[    1.445105] printk: console [ttyS2] disabled
[    1.449843] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236,
base_baud = 3000000) is a 8250
[    1.458820] printk: console [ttyS2] enabled
[    1.458820] printk: console [ttyS2] enabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.467279] printk: bootconsole [ns16550a0] disabled
[    1.485909] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.491602] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.498589] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.503992] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.510957] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.517552] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.524063] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.530310] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.537187] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.543715] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.556547] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.600469] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7,
bus freq 1000000
[    1.612342] davinci_mdio 8000f00.mdio: phy[0]: device
8000f00.mdio:00, driver TI DP83867
[    1.620456] davinci_mdio 8000f00.mdio: phy[1]: device
8000f00.mdio:01, driver TI DP83867
[    1.628584] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw
nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3
quirks:00000002
[    1.641392] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.648521] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.656103] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.737800] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.743391] xhci-hcd xhci-hcd.0.auto: new USB bus registered,
assigned bus number 1
[    1.751257] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    1.757261] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci
version 0x110 quirks 0x0000000000000010
[    1.766703] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31100000
[    1.773675] hub 1-0:1.0: USB hub found
[    1.777477] hub 1-0:1.0: 1 port detected
[    1.791290] mmc0: CQHCI version 5.10
[    1.808081] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.814902] pca953x 1-0022: using AI
[    1.836429] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc]
using ADMA 64-bit
[    1.863508] mmc1: CQHCI version 5.10
[    1.865077] clk: Disabling unused clocks
[    1.879260] ALSA device list:
[    1.882263]   No soundcards found.
[    1.907341] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc]
using ADMA 64-bit
[    1.915235] Waiting for root device PARTUUID=00000000-02...
[    1.939113] mmc0: Command Queue Engine enabled
[    1.943622] mmc0: new HS200 MMC card at address 0001
Quoted 10 lines
[    1.949474] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
[    1.956140] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
[    1.962386] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
[    1.968325] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (234:0)
[    1.976870] mmc1: new high speed SD card at address 1234
[    1.983075] mmcblk1: mmc1:1234 SA02G 1.85 GiB
[    1.990322]  mmcblk1: p1 p2
[   11.921672] platform 31000000.usb: deferred probe pending

This is my log:

U-Boot SPL 2023.10 (Dec 13 2023 - 16:32:38 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13400 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Authentication passed
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.7(release):v2.7
NOTICE:  BL31: Built : 16:32:05, Dec 13 2023

I/TC:
I/TC: OP-TEE version: 2023.11-rc1-55-g7bcf5bea6645-dev (gcc version 12.3.0 (Buildroot 2023.11-rc1-55-g7bcf5bea6645-dirty)) #1 Wed Dec 13 15:32:02 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check
https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') I/TC: HUK Initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2023.10 (Dec 13 2023 - 16:33:42 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 1872 bytes
Trying to boot from MMC2
Authentication passed
Authentication passed

U-Boot 2023.10 (Dec 13 2023 - 16:33:42 +0100)

SoC:   AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
DRAM:  2 GiB
Core:  55 devices, 23 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0

switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1: am62x-sk-buildroot
Retrieving file: /Image
append: console=ttyS2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /ti/k3-am625-sk.dtb
## Flattened Device Tree blob at ffb18720
Booting using the fdt blob at 0xffb18720
Working FDT set to ffb18720
Loading Device Tree to 000000008ffed000, end 000000008ffff66f ... OK
Working FDT set to 8ffed000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.1 (dario@dario-ThinkPad-T14s-Gen-2i)
(aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot
2023.11-rc1-55-g7bcf5bea6645-dirty) 12.3.0, GNU ld (GNU Binutils)
2.40) #1 SMP PREEMPT Wed Dec 13 16:54:57 CET 2023
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Texas Instruments AM625 SK
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem:
0x000000009ca00000..0x000000009cafffff (1024 KiB) map non-reusable
ramoops@9ca00000
[    0.000000] Reserved memory: created DMA memory pool at
0x000000009db00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node
r5f-dma-memory@9db00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem:
0x000000009db00000..0x000000009e6fffff (12288 KiB) nomap non-reusable
r5f-dma-memory@9db00000
[    0.000000] OF: reserved mem:
0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable
tfa@9e780000
[    0.000000] OF: reserved mem:
0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable
optee@9e800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xffbd19c0-0xffbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009dafffff]
[    0.000000]   node   0: [mem 0x000000009db00000-0x000000009e6fffff]
[    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
[    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
[    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s50728 r8192 d31192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS2,115200n8
root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 262144 (order: 9,
2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    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
0x00000000f7800000-0x00000000fb800000] (64MB)
[    0.000000] Memory: 1877876K/2097152K available (16512K kernel
code, 4264K rwdata, 10560K rodata, 9152K init, 605K bss, 186508K
reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: RCU event tracing is enabled.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] Trampoline variant of Tasks RCU enabled.
[    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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce
ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices
@80800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000080040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table
@0x0000000080050000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff
max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps
every 4398046511102ns
[    0.009757] Console: colour dummy device 80x25
[    0.014395] Calibrating delay loop (skipped), value calculated
using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.025080] pid_max: default: 32768 minimum: 301
[    0.029875] LSM: initializing lsm=capability,integrity
[    0.035252] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.042835] Mountpoint-cache hash table entries: 4096 (order: 3,
32768 bytes, linear)
[    0.052827] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060160] RCU Tasks Trace: Setting shift to 2 and lim to 1
rcu_task_cb_adjust=1.
[    0.068122] rcu: Hierarchical SRCU implementation.
[    0.073029] rcu: Max phase no-delay instances is 1000.
[    0.078651] Platform MSI: msi-controller@1820000 domain created
[    0.084974] PCI/MSI:
/bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain
created
[    0.094274] fsl-mc MSI: msi-controller@1820000 domain created
[    0.102281] EFI services will not be available.
[    0.107228] smp: Bringing up secondary CPUs ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot

[    0.120578] Detected VIPT I-cache on CPU1
[    0.120670] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.120688] GICv3: CPU1: using allocated LPI pending table
@0x0000000080060000
[    0.120748] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.129537] Detected VIPT I-cache on CPU2
[    0.129599] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
[    0.129614] GICv3: CPU2: using allocated LPI pending table
@0x0000000080070000
[    0.129651] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.138347] Detected VIPT I-cache on CPU3
[    0.138406] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
[    0.138420] GICv3: CPU3: using allocated LPI pending table
@0x0000000080080000
[    0.138456] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.138537] smp: Brought up 1 node, 4 CPUs
[    0.218261] SMP: Total of 4 processors activated.
[    0.223073] CPU features: detected: 32-bit EL0 Support
[    0.228338] CPU features: detected: 32-bit EL1 Support
[    0.233595] CPU features: detected: CRC32 instructions
[    0.238932] CPU: All CPU(s) started at EL2
[    0.243147] alternatives: applying system-wide alternatives
[    0.251258] devtmpfs: initialized
[    0.262346] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.272358] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.280664] pinctrl core: initialized pinctrl subsystem
[    0.288377] DMI not present or invalid.
[    0.293151] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.300471] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.307882] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[    0.315964] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.324144] audit: initializing netlink subsys (disabled)
[    0.329888] audit: type=2000 audit(0.228:1): state=initialized
audit_enabled=0 res=1
[    0.331426] thermal_sys: Registered thermal governor 'step_wise'
[    0.337834] thermal_sys: Registered thermal governor 'power_allocator'
[    0.344062] cpuidle: using governor menu
[    0.355013] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.362068] ASID allocator initialised with 65536 entries
[    0.369864] Serial: AMBA PL011 UART driver
[    0.396726] Modules: 22448 pages in range for non-PLT usage
[    0.396748] Modules: 513968 pages in range for PLT usage
[    0.403363] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.415761] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.422169] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.429108] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.435517] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.442455] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.448864] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.455803] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.464080] ACPI: Interpreter disabled.
[    0.470253] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0
JTAGID[0x0bb7e02f] Detected
[    0.479692] iommu: Default domain type: Translated
[    0.484617] iommu: DMA domain TLB invalidation policy: strict mode
[    0.491263] SCSI subsystem initialized
[    0.495478] usbcore: registered new interface driver usbfs
[    0.501118] usbcore: registered new interface driver hub
[    0.506583] usbcore: registered new device driver usb
[    0.512968] pps_core: LinuxPPS API ver. 1 registered
[    0.518052] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <[email protected]>
[    0.527402] PTP clock support registered
[    0.531560] EDAC MC: Ver: 3.0.0
[    0.535803] scmi_core: SCMI protocol bus registered
[    0.541735] FPGA manager framework
[    0.545324] Advanced Linux Sound Architecture Driver Initialized.
[    0.552737] vgaarb: loaded
[    0.556518] clocksource: Switched to clocksource arch_sys_counter
[    0.563071] VFS: Disk quotas dquot_6.6.0
[    0.567123] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.574357] pnp: PnP ACPI: disabled
[    0.584286] NET: Registered PF_INET protocol family
[    0.589578] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[    0.598689] tcp_listen_portaddr_hash hash table entries: 1024
(order: 2, 16384 bytes, linear)
[    0.607499] Table-perturb hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.615449] TCP established hash table entries: 16384 (order: 5,
131072 bytes, linear)
[    0.623652] TCP bind hash table entries: 16384 (order: 7, 524288
bytes, linear)
[    0.631641] TCP: Hash tables configured (established 16384 bind 16384)
[    0.638555] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.645481] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.653013] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.659354] RPC: Registered named UNIX socket transport module.
[    0.665439] RPC: Registered udp transport module.
[    0.670250] RPC: Registered tcp transport module.
[    0.675058] RPC: Registered tcp-with-tls transport module.
[    0.680675] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.687277] PCI: CLS 0 bytes, default 64
[    0.691740] kvm [1]: IPA Size Limit: 40 bits
[    0.698113] kvm [1]: vgic-v2@100010000
[    0.701977] kvm [1]: GIC system register CPU interface enabled
[    0.707975] kvm [1]: vgic interrupt IRQ9
[    0.712008] kvm [1]: Hyp mode initialized successfully
[    0.718779] Initialise system trusted keyrings
[    0.723638] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.730577] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.736833] NFS: Registering the id_resolver key type
[    0.742039] Key type id_resolver registered
[    0.746317] Key type id_legacy registered
[    0.750435] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.757292] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[    0.765039] 9p: Installing v9fs 9p2000 file system support
[    0.801794] Key type asymmetric registered
[    0.806007] Asymmetric key parser 'x509' registered
[    0.811046] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 245)
[    0.818615] io scheduler mq-deadline registered
[    0.823247] io scheduler kyber registered
[    0.827388] io scheduler bfq registered
[    0.839855] pinctrl-single 4084000.pinctrl: 34 pins, size 136
[    0.846194] pinctrl-single f4000.pinctrl: 171 pins, size 684
[    0.860413] EINJ: ACPI disabled.
[    0.894296] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.905122] SuperH (H)SCI(F) driver initialized
[    0.910441] msm_serial: driver initialized
[    0.915664] STM32 USART driver initialized
[    0.928232] loop: module loaded
[    0.933076] megasas: 07.725.01.00-rc1
[    0.945136] tun: Universal TUN/TAP device driver, 1.6
[    0.951679] thunder_xcv, ver 1.0
[    0.955042] thunder_bgx, ver 1.0
[    0.958364] nicpf, ver 1.0
[    0.962653] hns3: Hisilicon Ethernet Network Driver for Hip08
Family - version
[    0.970054] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.975531] hclge is initializing
[    0.978968] e1000: Intel(R) PRO/1000 Network Driver
[    0.983956] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.989855] e1000e: Intel(R) PRO/1000 Network Driver
[    0.994929] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.001002] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.006594] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.012343] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.018760] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.025400] sky2: driver version 1.30
[    1.030959] VFIO - User Level meta-driver version: 0.3
[    1.039941] usbcore: registered new interface driver usb-storage
[    1.049742] i2c_dev: i2c /dev entries driver
[    1.066091] sdhci: Secure Digital Host Controller Interface driver
[    1.072477] sdhci: Copyright(c) Pierre Ossman
[    1.078069] Synopsys Designware Multimedia Card Interface Driver
[    1.085505] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.094210] ledtrig-cpu: registered to indicate activity on CPUs
[    1.101512] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.109405] usbcore: registered new interface driver usbhid
[    1.115128] usbhid: USB HID core driver
[    1.124069] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    1.135536] optee: probing for conduit method.

I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled

[    1.140141] optee: revision 4.0 (7bcf5bea)
[    1.156811] optee: dynamic shared memory is enabled
[    1.166251] optee: initialized driver
[    1.174973] NET: Registered PF_PACKET protocol family
[    1.180297] 9pnet: Installing 9P2000 support
[    1.184760] Key type dns_resolver registered
[    1.198451] registered taskstats version 1
[    1.202852] Loading compiled-in X.509 certificates
[    1.270412] ti-sci 44043000.system-controller: ABI: 3.1 (firmware
rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
[    1.356908] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
[    1.364975] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
[    1.371869] ti-sci-intr 4210000.interrupt-controller: Interrupt
Router 5 domain created
[    1.380732] ti-sci-intr bus@f0000:interrupt-controller@a00000:
Interrupt Router 3 domain created
[    1.390375] ti-sci-inta 48000000.interrupt-controller: Interrupt
Aggregator domain 28 created
[    1.400784] ti-udma 485c0100.dma-controller: Number of rings: 82
[    1.409644] ti-udma 485c0100.dma-controller: Channels: 48 (bchan:
18, tchan: 12, rchan: 18)
[    1.422472] ti-udma 485c0000.dma-controller: Number of rings: 150
[    1.433644] ti-udma 485c0000.dma-controller: Channels: 35 (tchan:
20, rchan: 15)
[    1.446118] printk: console [ttyS2] disabled
[    1.450945] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 236,
base_baud = 3000000) is a 8250
[    1.459836] printk: console [ttyS2] enabled
[    1.459836] printk: console [ttyS2] enabled
[    1.468309] printk: bootconsole [ns16550a0] disabled
[    1.468309] printk: bootconsole [ns16550a0] disabled
[    1.486044] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.491763] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
[    1.498751] Creating 7 MTD partitions on "fc40000.spi.0":
[    1.504153] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    1.511139] 0x000000080000-0x000000280000 : "ospi.tispl"
[    1.517719] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    1.524281] 0x000000680000-0x0000006c0000 : "ospi.env"
[    1.530537] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
[    1.537418] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.543922] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.556768] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[    1.600559] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7,
bus freq 1000000
[    1.612473] davinci_mdio 8000f00.mdio: phy[0]: device
8000f00.mdio:00, driver TI DP83867
[    1.620584] davinci_mdio 8000f00.mdio: phy[1]: device
8000f00.mdio:01, driver TI DP83867
[    1.628710] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw
nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3
quirks:00000002
[    1.641516] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.648644] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.656214] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    1.737928] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.743519] xhci-hcd xhci-hcd.0.auto: new USB bus registered,
assigned bus number 1
[    1.751374] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    1.757377] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci
version 0x110 quirks 0x0000000000000010
[    1.766821] xhci-hcd xhci-hcd.0.auto: irq 239, io mem 0x31100000
[    1.773815] hub 1-0:1.0: USB hub found
[    1.777622] hub 1-0:1.0: 1 port detected
[    1.791293] mmc0: CQHCI version 5.10
[    1.808034] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.814811] pca953x 1-0022: using AI
[    1.835208] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc]
using ADMA 64-bit
[    1.863215] mmc1: CQHCI version 5.10
[    1.864793] clk: Disabling unused clocks
[    1.879193] ALSA device list:
[    1.882181]   No soundcards found.
[    1.907176] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc]
using ADMA 64-bit
[    1.915042] Waiting for root device PARTUUID=00000000-02...
[    1.937017] mmc0: Command Queue Engine enabled
[    1.941550] mmc0: new HS200 MMC card at address 0001
[    1.947637] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
[    1.954318]  mmcblk0: p1 p2
[    1.957962] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
[    1.964188] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
[    1.970139] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (234:0)
[    1.981351] mmc1: new ultra high speed SDR104 SDHC card at address 0001
[    1.988919] mmcblk1: mmc1:0001 SD16G 14.5 GiB
[    1.995224]  mmcblk1: p1 p2
[    2.350205] EXT4-fs (mmcblk1p2): recovery complete
[    2.356423] EXT4-fs (mmcblk1p2): mounted filesystem
dd261d6a-4689-440b-a2a3-e30c4357ef79 r/w with ordered data mode. Quota
mode: none.
[    2.368626] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    2.375742] devtmpfs: mounted
[    2.386009] Freeing unused kernel memory: 9152K
[    2.390800] Run /sbin/init as init process
[    2.464215] EXT4-fs (mmcblk1p2): re-mounted

dd261d6a-4689-440b-a2a3-e30c4357ef79 r/w. Quota mode: none. Seeding 256 bits without crediting
Saving 256 bits of non-creditable seed for next boot Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: OK

Welcome to Buildroot
buildroot login: root
# [ 11.920393] platform 31000000.usb: deferred probe pending

Did you build the image from a clean situation?
rm -rf output
make ti_am62x_sk_defconfig

Thanks and regards,
Dario

Quoted 60 lines
Quoted 58 lines · Dario Binacchi

The SK-AM62B-P1 is the newest version of SK-AM62 which includes high-security field-securable (HS-FS) silicon to optionally customize keys and encryption for security applications.
This requires enabling the BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS option, which, however, was buggy. This series fixes the errors and bumps the Linux kernel and U-Boot required for such a new device.

Dario Binacchi (11):
boot/ti-k3-core-secdev: new package boot/ti-k3-image-gen: manage HS hardware package/python-jsonschema: add host variant package/python-attrs: add host variant package/python-referencing: add host variant package/python-rpds-py: add host variant package/python-jsonschema-specifications: add host variant boot/ti-k3-r5-loader: set binman environment boot/uboot: set BINMAN_INDIRS for TI K3 DM configs/ti_am62x_sk_defconfig: bump U-Boot version to 2023.10 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.1

 DEVELOPERS                                    |  1 +
 board/ti/am62x-sk/genimage.cfg                |  7 ++-
 board/ti/am62x-sk/post-build.sh               | 49 +++++++++++++++++++
 board/ti/am62x-sk/post-image.sh               |  5 ++
 boot/Config.in                                |  1 +
 boot/ti-k3-core-secdev/Config.in              |  9 ++++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash |  3 ++
 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk   | 19 +++++++
 boot/ti-k3-image-gen/Config.in                |  1 +
 boot/ti-k3-image-gen/ti-k3-image-gen.mk       | 16 +++++-
 boot/ti-k3-r5-loader/Config.in                | 13 +++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk       |  1 +
 boot/uboot/uboot.mk                           |  3 +-
 configs/ti_am62x_sk_defconfig                 | 14 ++++--
 package/Config.in.host                        |  5 ++
 package/python-attrs/Config.in.host           |  8 +++
 package/python-attrs/python-attrs.mk          |  6 +++
 .../Config.in.host                            |  7 +++
 .../python-jsonschema-specifications.mk       |  5 ++
 package/python-jsonschema/Config.in.host      |  6 +++
 .../python-jsonschema/python-jsonschema.mk    |  6 +++
 package/python-referencing/Config.in.host     |  6 +++
 .../python-referencing/python-referencing.mk  |  7 +++
 package/python-rpds-py/Config.in.host         |  8 +++
 package/python-rpds-py/python-rpds-py.mk      |  1 +
 25 files changed, 199 insertions(+), 8 deletions(-)
 create mode 100755 board/ti/am62x-sk/post-build.sh
 create mode 100755 board/ti/am62x-sk/post-image.sh
 create mode 100644 boot/ti-k3-core-secdev/Config.in
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.hash
 create mode 100644 boot/ti-k3-core-secdev/ti-k3-core-secdev.mk
 create mode 100644 package/python-attrs/Config.in.host
 create mode 100644 package/python-jsonschema-specifications/Config.in.host
 create mode 100644 package/python-jsonschema/Config.in.host
 create mode 100644 package/python-referencing/Config.in.host
 create mode 100644 package/python-rpds-py/Config.in.host
Quoted 7 lines
Quoted 7 lines

--
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

--

Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________

Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com

Signature · 21 lines
Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot