Skip to contentSkip to conversation

board/ti/tda4vm-sk : Add support for TI's tda4vm Starter-Kit board

PATCH In review Sofiane HAMAM via buildroot 1 participant 3 messages Apr 4 – Apr 5

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/ti/tda4vm-sk : Add support for TI's tda4vm Starter-Kit board

Add support to Texas Instruments j721e starter kit, also called TDA4VM-SK.

https://www.ti.com/tool/SK-TDA4VM

---
 board/ti/tda4vm-sk/extlinux.conf              |  5 ++
 board/ti/tda4vm-sk/genimage.cfg               | 33 ++++++++++++
 board/ti/tda4vm-sk/patches/linux/linux.hash   |  2 +
 .../ti-k3-r5-loader/ti-k3-r5-loader.hash      |  2 +
 board/ti/tda4vm-sk/patches/uboot/uboot.hash   |  2 +
 board/ti/tda4vm-sk/post-build.sh              |  5 ++
 board/ti/tda4vm-sk/readme.txt                 | 36 +++++++++++++
 configs/ti_tda4vm_sk_defconfig                | 50 +++++++++++++++++++
 8 files changed, 135 insertions(+)
 create mode 100644 board/ti/tda4vm-sk/extlinux.conf
 create mode 100644 board/ti/tda4vm-sk/genimage.cfg
 create mode 100644 board/ti/tda4vm-sk/patches/linux/linux.hash
 create mode 100644 board/ti/tda4vm-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
 create mode 100644 board/ti/tda4vm-sk/patches/uboot/uboot.hash
 create mode 100755 board/ti/tda4vm-sk/post-build.sh
 create mode 100644 board/ti/tda4vm-sk/readme.txt
 create mode 100644 configs/ti_tda4vm_sk_defconfig
board/ti/tda4vm-sk/extlinux.conf new file +5 -0
new file mode 100644
index 0000000000..582d510b5d
@@ -0,0 +1,5 @@
+default buildroot
+label buildroot
+   kernel /Image
+   devicetreedir /
+append root=/dev/mmcblk1p2 rootwait rw console=ttyS2,115200n8
board/ti/tda4vm-sk/genimage.cfg new file +33 -0
new file mode 100644
index 0000000000..b5ba2d21db
@@ -0,0 +1,33 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"sysfw.itb",
+			"tiboot3.bin",
+			"tispl.bin",
+			"u-boot.img",
+			"Image",
+			"ti",
+			"extlinux",
+		}
+
+		label = "boot"
+	}
+
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition u-boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/ti/tda4vm-sk/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..eb4dcee958
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  4f21c01f4d04c1d1b3ed794153f8900802c92497be620b07c4869530f2d28ee3  linux-6.18.16.tar.xz
board/ti/tda4vm-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash new file +2 -0
new file mode 100644
index 0000000000..b6a925ea4e
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54  u-boot-2026.01.tar.bz2
board/ti/tda4vm-sk/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..b6a925ea4e
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54  u-boot-2026.01.tar.bz2
board/ti/tda4vm-sk/post-build.sh new file +5 -0
new file mode 100755
index 0000000000..8dae08a47c
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+BOARD_DIR="$(dirname "$0")"
+
+install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$BINARIES_DIR"/extlinux/extlinux.conf
board/ti/tda4vm-sk/readme.txt new file +36 -0
new file mode 100644
index 0000000000..340456923f
@@ -0,0 +1,36 @@
+Texas Instuments SK-TDA4VM Test and Development Board
+
+Description
+===========
+
+This configuration will build a complete image for the TI SK-TDA4VM
+board: https://www.ti.com/tool/SK-TDA4VM
+
+How to Build
+============
+
+Select the default configuration for the target:
+
+$ make ti_tda4vm_sk_defconfig
+
+Optional: modify the configuration:
+
+$ make menuconfig
+
+Build:
+
+$ make
+
+To copy the resultimg output image file to an SD card use dd:
+
+$ dd if=output/images/sdcard.img of=/dev/sdX bs=1M
+
+How to Run
+==========
+
+Insert the SD card into the SK-TDA4VM board, and power it up through the
+USB Type-C connector. The system should come up. You can use a
+micro-USB cable to connect to the connector labeled UART to
+communicate with the board.
+
+User's guide : https://www.ti.com/lit/ug/spruj21e/spruj21e.pdf
configs/ti_tda4vm_sk_defconfig new file +50 -0

50 lines not on this page · raw message

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

author Reviewed-by Romain Naour on v1 1/1
#1 lore raw

Hello Sofiane,

Le 04/04/2026 à 19:46, Sofiane HAMAM a écrit :

Quoted 7 lines

Add support to Texas Instruments j721e starter kit, also called TDA4VM-SK.

https://www.ti.com/tool/SK-TDA4VM

I have the board, it's almost the same as the BeagleboneAI64 but without an eMMC. But the PCIe interface is working out of the box since there is a PCIe ref clock generator on the board. Also, if you want to boot using the USB DFI (using Snagboot of course) the SW1 Switch help to configure the SoC bootmode.

Best regards,
Romain

Quoted 192 lines
---
 board/ti/tda4vm-sk/extlinux.conf              |  5 ++
 board/ti/tda4vm-sk/genimage.cfg               | 33 ++++++++++++
 board/ti/tda4vm-sk/patches/linux/linux.hash   |  2 +
 .../ti-k3-r5-loader/ti-k3-r5-loader.hash      |  2 +
 board/ti/tda4vm-sk/patches/uboot/uboot.hash   |  2 +
 board/ti/tda4vm-sk/post-build.sh              |  5 ++
 board/ti/tda4vm-sk/readme.txt                 | 36 +++++++++++++
 configs/ti_tda4vm_sk_defconfig                | 50 +++++++++++++++++++
 8 files changed, 135 insertions(+)
 create mode 100644 board/ti/tda4vm-sk/extlinux.conf
 create mode 100644 board/ti/tda4vm-sk/genimage.cfg
 create mode 100644 board/ti/tda4vm-sk/patches/linux/linux.hash
 create mode 100644 board/ti/tda4vm-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
 create mode 100644 board/ti/tda4vm-sk/patches/uboot/uboot.hash
 create mode 100755 board/ti/tda4vm-sk/post-build.sh
 create mode 100644 board/ti/tda4vm-sk/readme.txt
 create mode 100644 configs/ti_tda4vm_sk_defconfig
board/ti/tda4vm-sk/extlinux.conf new file +5 -0
new file mode 100644
index 0000000000..582d510b5d
@@ -0,0 +1,5 @@
+default buildroot
+label buildroot
+   kernel /Image
+   devicetreedir /
+append root=/dev/mmcblk1p2 rootwait rw console=ttyS2,115200n8
board/ti/tda4vm-sk/genimage.cfg new file +33 -0
new file mode 100644
index 0000000000..b5ba2d21db
@@ -0,0 +1,33 @@
+image boot.vfat {
+	vfat {
+		files = {
+			"sysfw.itb",
+			"tiboot3.bin",
+			"tispl.bin",
+			"u-boot.img",
+			"Image",
+			"ti",
+			"extlinux",
+		}
+
+		label = "boot"
+	}
+
+	size = 64M
+}
+
+image sdcard.img {
+	hdimage {
+	}
+
+	partition u-boot {
+		partition-type = 0xC
+		bootable = "true"
+		image = "boot.vfat"
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/ti/tda4vm-sk/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..eb4dcee958
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  4f21c01f4d04c1d1b3ed794153f8900802c92497be620b07c4869530f2d28ee3  linux-6.18.16.tar.xz
board/ti/tda4vm-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash new file +2 -0
new file mode 100644
index 0000000000..b6a925ea4e
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54  u-boot-2026.01.tar.bz2
board/ti/tda4vm-sk/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..b6a925ea4e
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54  u-boot-2026.01.tar.bz2
board/ti/tda4vm-sk/post-build.sh new file +5 -0
new file mode 100755
index 0000000000..8dae08a47c
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+BOARD_DIR="$(dirname "$0")"
+
+install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$BINARIES_DIR"/extlinux/extlinux.conf
board/ti/tda4vm-sk/readme.txt new file +36 -0
new file mode 100644
index 0000000000..340456923f
@@ -0,0 +1,36 @@
+Texas Instuments SK-TDA4VM Test and Development Board
+
+Description
+===========
+
+This configuration will build a complete image for the TI SK-TDA4VM
+board: https://www.ti.com/tool/SK-TDA4VM
+
+How to Build
+============
+
+Select the default configuration for the target:
+
+$ make ti_tda4vm_sk_defconfig
+
+Optional: modify the configuration:
+
+$ make menuconfig
+
+Build:
+
+$ make
+
+To copy the resultimg output image file to an SD card use dd:
+
+$ dd if=output/images/sdcard.img of=/dev/sdX bs=1M
+
+How to Run
+==========
+
+Insert the SD card into the SK-TDA4VM board, and power it up through the
+USB Type-C connector. The system should come up. You can use a
+micro-USB cable to connect to the connector labeled UART to
+communicate with the board.
+
+User's guide : https://www.ti.com/lit/ug/spruj21e/spruj21e.pdf
configs/ti_tda4vm_sk_defconfig new file +40 -0
new file mode 100644
index 0000000000..a8984de31f
@@ -0,0 +1,50 @@
+BR2_aarch64=y
+BR2_cortex_a72=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
+BR2_GLOBAL_PATCH_DIR="board/ti/tda4vm-sk/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+BR2_SYSTEM_DHCP="eth0"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/tda4vm-sk/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/tda4vm-sk/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.16"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-j721e-sk"
+BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_12_VERSION=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="generic"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
+BR2_TARGET_OPTEE_OS=y
+BR2_TARGET_OPTEE_OS_PLATFORM="k3-j721e"
+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="2026.01"
+BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="j721e_evm_r5"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.01"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="j721e_evm_a72"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y

configs/ti_tda4vm_sk_defconfig line 50

Quoted 10 lines
configs/ti_tda4vm_sk_defconfig new file +10 -0
+BR2_TARGET_UBOOT_USE_BINMAN=y
+# BR2_TARGET_UBOOT_FORMAT_BIN is not set
+BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE=y
+BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE_RAW_BIN=y
+BR2_TARGET_UBOOT_FORMAT_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="tispl.bin"
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y

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

#2 lore raw
In reply to Sofiane HAMAM via buildroot
Quoted 7 lines · Sofiane HAMAM via buildroot

Add support to Texas Instruments j721e starter kit, also called TDA4VM-SK.

https://www.ti.com/tool/SK-TDA4VM

Applied to master, thanks. For info, I made few minor changes:
- reword commit log title
- regenerate defconfig with "make savedefconfig"
- fix typo in readme.txt
See:
https://gitlab.com/buildroot.org/buildroot/-/commit/bfc1cde65b6574ffb6ed343ec525775bc577c354

Best regards,

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