Initial Commit
- initial default booting image
This commit is contained in:
4
board/ti/am574x-idk/extlinux.conf
Normal file
4
board/ti/am574x-idk/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label am5749-idk-buildroot
|
||||
kernel /zImage
|
||||
fdtdir /
|
||||
append console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
|
||||
31
board/ti/am574x-idk/genimage.cfg
Normal file
31
board/ti/am574x-idk/genimage.cfg
Normal file
@@ -0,0 +1,31 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"MLO",
|
||||
"u-boot.img",
|
||||
"zImage",
|
||||
"ti",
|
||||
"extlinux"
|
||||
}
|
||||
|
||||
label = "boot"
|
||||
}
|
||||
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
2
board/ti/am574x-idk/patches/linux/linux.hash
Normal file
2
board/ti/am574x-idk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 f4855f382c1b735c84072bdef36db5bcd5dc7b0c37e42f5104317149a0a486ef linux-6.18.18.tar.xz
|
||||
2
board/ti/am574x-idk/patches/uboot/uboot.hash
Normal file
2
board/ti/am574x-idk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd u-boot-2026.04.tar.bz2
|
||||
4
board/ti/am574x-idk/post-build.sh
Executable file
4
board/ti/am574x-idk/post-build.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "${BOARD_DIR}"/extlinux.conf "${BINARIES_DIR}"/extlinux/extlinux.conf
|
||||
28
board/ti/am574x-idk/readme.txt
Normal file
28
board/ti/am574x-idk/readme.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
Texas Instuments AM574x IDK Test and Development Board
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
This configuration will build a basic image for the TI AM574x IDK
|
||||
board: https://www.ti.com/tool/TMDSIDK574
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make am574x_idk_defconfig
|
||||
|
||||
Compile everything and build the USB flash drive image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
33
board/ti/am62ax-sk/genimage.cfg
Normal file
33
board/ti/am62ax-sk/genimage.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"tiboot3.bin",
|
||||
"tispl.bin",
|
||||
"u-boot.img",
|
||||
"k3-am62a7-sk.dtb",
|
||||
"Image"
|
||||
}
|
||||
|
||||
file extlinux/extlinux.conf {
|
||||
image = extlinux.conf
|
||||
}
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
||||
3
board/ti/am62ax-sk/linux.config
Normal file
3
board/ti/am62ax-sk/linux.config
Normal file
@@ -0,0 +1,3 @@
|
||||
CONFIG_MFD_TPS6594=y
|
||||
CONFIG_MFD_TPS6594_I2C=y
|
||||
CONFIG_REGULATOR_TPS6594=y
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
1
board/ti/am62ax-sk/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/ti/am62ax-sk/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/ti/am62ax-sk/patches/linux/linux.hash
Normal file
2
board/ti/am62ax-sk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226 linux-6.10.tar.xz
|
||||
1
board/ti/am62ax-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
1
board/ti/am62ax-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../uboot/uboot.hash
|
||||
2
board/ti/am62ax-sk/patches/uboot/uboot.hash
Normal file
2
board/ti/am62ax-sk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
39
board/ti/am62ax-sk/readme.txt
Normal file
39
board/ti/am62ax-sk/readme.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
Texas Instuments SK-AM62A Test and Development Board
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
This configuration will build a complete image for the TI SK-AM62A
|
||||
board: https://www.ti.com/tool/SK-AM62A-LP
|
||||
|
||||
How to Build
|
||||
============
|
||||
|
||||
Select the default configuration for the target:
|
||||
|
||||
$ make ti_am62ax_sk_defconfig
|
||||
|
||||
Optional: modify the configuration:
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
IMPORTANT: make sure to use the tiboot3 firmware that match with the TI
|
||||
K3 SoC boot ROM (tiboot3-am62ax-{gp/hs-fs/hs}-evm.bin) used on the board.
|
||||
Use the BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN to name which tiboot3.bin
|
||||
security variant we want to use.
|
||||
|
||||
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-AM62A 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.
|
||||
33
board/ti/am62px-sk/genimage.cfg
Normal file
33
board/ti/am62px-sk/genimage.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"tiboot3.bin",
|
||||
"tispl.bin",
|
||||
"u-boot.img",
|
||||
"k3-am62p5-sk.dtb",
|
||||
"Image"
|
||||
}
|
||||
|
||||
file extlinux/extlinux.conf {
|
||||
image = extlinux.conf
|
||||
}
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
1
board/ti/am62px-sk/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/ti/am62px-sk/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/ti/am62px-sk/patches/linux/linux.hash
Normal file
2
board/ti/am62px-sk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226 linux-6.10.tar.xz
|
||||
1
board/ti/am62px-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
1
board/ti/am62px-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../uboot/uboot.hash
|
||||
2
board/ti/am62px-sk/patches/uboot/uboot.hash
Normal file
2
board/ti/am62px-sk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
39
board/ti/am62px-sk/readme.txt
Normal file
39
board/ti/am62px-sk/readme.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
Texas Instuments SK-AM62P5 Test and Development Board
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
This configuration will build a complete image for the TI SK-AM62P
|
||||
board: https://www.ti.com/tool/SK-AM62P.
|
||||
|
||||
How to Build
|
||||
============
|
||||
|
||||
Select the default configuration for the target:
|
||||
|
||||
$ make ti_am62px_sk_defconfig
|
||||
|
||||
Optional: modify the configuration:
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
IMPORTANT: make sure to use the tiboot3 firmware that match with the TI
|
||||
K3 SoC boot ROM (tiboot3-am62px-{hs-fs/hs}-evm.bin) used on the board.
|
||||
Use the BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN to name which tiboot3.bin
|
||||
security variant we want to use.
|
||||
|
||||
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-AM62P 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.
|
||||
32
board/ti/am62x-sk/genimage.cfg
Normal file
32
board/ti/am62x-sk/genimage.cfg
Normal file
@@ -0,0 +1,32 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"tiboot3.bin",
|
||||
"tispl.bin",
|
||||
"u-boot.img",
|
||||
"k3-am625-sk.dtb",
|
||||
"Image"
|
||||
}
|
||||
file extlinux/extlinux.conf {
|
||||
image = extlinux.conf
|
||||
}
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
1
board/ti/am62x-sk/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/ti/am62x-sk/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/ti/am62x-sk/patches/linux/linux.hash
Normal file
2
board/ti/am62x-sk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 a9e8c51fcb1e695d1d35dde5886cba579cb6f29c9646c5889f39d63841d4b9f6 linux-6.12.95.tar.xz
|
||||
1
board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
1
board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../uboot/uboot.hash
|
||||
2
board/ti/am62x-sk/patches/uboot/uboot.hash
Normal file
2
board/ti/am62x-sk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 78e8bfc382fe388f9b55aa1daf8c563522a037779b5d4c349d1415e381f1243e u-boot-2026.07.tar.bz2
|
||||
50
board/ti/am62x-sk/readme.txt
Normal file
50
board/ti/am62x-sk/readme.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
Texas Instuments SK-AM62 Test and Development Board
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
This configuration will build a complete image for the TI SK-AM62
|
||||
board: https://www.ti.com/tool/SK-AM62.
|
||||
|
||||
How to Build
|
||||
============
|
||||
|
||||
Select the default configuration for the target:
|
||||
|
||||
$ make ti_am62x_sk_defconfig
|
||||
|
||||
Optional: modify the configuration:
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
IMPORTANT: make sure to use the tiboot3 firmware that match with the TI
|
||||
K3 SoC boot ROM (tiboot3-am62x-{gp/hs-fs/hs}-*.bin) used on the board.
|
||||
|
||||
HS-FS should be the default for all TI AM6x devices but earlier version
|
||||
of TI starter kit EVMs for AM6x was produced with a GP device.
|
||||
|
||||
See further details on e2e Forum [1] :
|
||||
|
||||
"Unfortunately with this transition any existing GP device based AM62x
|
||||
(and AM64x) boards will no longer boot with MMC/SD card images generated"
|
||||
|
||||
For such existing GP device based AM62x boards, users have to provide the
|
||||
tiboot3.bin name using BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN.
|
||||
|
||||
[1]: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1210443/faq-am625-generating-sitara-am62x-am62ax-am64x-gp-device-bootable-mmc-sd-card-images-using-sdk-v8-6-and-yocto
|
||||
|
||||
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-AM62 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.
|
||||
32
board/ti/am64x-sk/genimage.cfg
Normal file
32
board/ti/am64x-sk/genimage.cfg
Normal file
@@ -0,0 +1,32 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"tiboot3.bin",
|
||||
"tispl.bin",
|
||||
"u-boot.img",
|
||||
"k3-am642-sk.dtb",
|
||||
"Image"
|
||||
}
|
||||
file extlinux/extlinux.conf {
|
||||
image = extlinux.conf
|
||||
}
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
1
board/ti/am64x-sk/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/ti/am64x-sk/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/ti/am64x-sk/patches/linux/linux.hash
Normal file
2
board/ti/am64x-sk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226 linux-6.10.tar.xz
|
||||
1
board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
1
board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../uboot/uboot.hash
|
||||
2
board/ti/am64x-sk/patches/uboot/uboot.hash
Normal file
2
board/ti/am64x-sk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
50
board/ti/am64x-sk/readme.txt
Normal file
50
board/ti/am64x-sk/readme.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
Texas Instuments SK-AM64 Test and Development Board
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
This configuration will build a complete image for the TI SK-AM64
|
||||
board: https://www.ti.com/tool/SK-AM64.
|
||||
|
||||
How to Build
|
||||
============
|
||||
|
||||
Select the default configuration for the target:
|
||||
|
||||
$ make am64x_sk_defconfig
|
||||
|
||||
Optional: modify the configuration:
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
IMPORTANT: make sure to use the tiboot3 firmware that match with the TI
|
||||
K3 SoC boot ROM (tiboot3-am64x-{gp/hs-fs/hs}-*.bin) used on the board.
|
||||
|
||||
HS-FS should be the default for all TI AM6x devices but earlier version
|
||||
of TI starter kit EVMs for AM6x was produced with a GP device.
|
||||
|
||||
See further details on e2e Forum [1] :
|
||||
|
||||
"Unfortunately with this transition any existing GP device based AM62x
|
||||
(and AM64x) boards will no longer boot with MMC/SD card images generated"
|
||||
|
||||
For such existing GP device based AM64x boards, users have to provide the
|
||||
tiboot3.bin name using BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN.
|
||||
|
||||
[1]: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1210443/faq-am625-generating-sitara-am62x-am62ax-am64x-gp-device-bootable-mmc-sd-card-images-using-sdk-v8-6-and-yocto
|
||||
|
||||
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-AM62 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 DEBUG CONSOLE to
|
||||
communicate with the board.
|
||||
59
board/ti/common/am6xx/post-build.sh
Executable file
59
board/ti/common/am6xx/post-build.sh
Executable file
@@ -0,0 +1,59 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
# genimage will need to find the extlinux.conf
|
||||
# in the binaries directory
|
||||
|
||||
die() {
|
||||
cat <<EOF >&2
|
||||
Error: $@
|
||||
|
||||
Usage: ${0} -c <console> -r <root> [-x <extra-args>]
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
o='c:d:l:r:x:'
|
||||
O='console:,devicetree:,label:,root:,extra-args:'
|
||||
opts="$(getopt -n "${0##*/}" -o "${o}" -l "${O}" -- "${@}")"
|
||||
eval set -- "${opts}"
|
||||
while [ ${#} -gt 0 ]; do
|
||||
case "${1}" in
|
||||
(-c|--console)
|
||||
CONSOLE="${2}"; shift 2
|
||||
;;
|
||||
(-d|--devicetree)
|
||||
DEVICETREE="${2}"; shift 2
|
||||
;;
|
||||
(-l|--label)
|
||||
LABEL="${2}"; shift 2
|
||||
;;
|
||||
(-r|--root)
|
||||
ROOT="${2}"; shift 2
|
||||
;;
|
||||
(-x|--extra-args)
|
||||
EXTRA_ARGS="${2}"; shift 2
|
||||
;;
|
||||
(--)
|
||||
shift 1; break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
[ -n "${CONSOLE}" ] || die "Missing \`console' argument"
|
||||
[ -n "${DEVICETREE}" ] || die "Missing \`devicetree' argument"
|
||||
[ -n "${LABEL}" ] || die "Missing \`label' argument"
|
||||
[ -n "${ROOT}" ] || die "Missing \`root' argument"
|
||||
append="console=${CONSOLE} root=${ROOT} rw rootfstype=ext4 rootwait"
|
||||
if [ -n "${EXTRA_ARGS}" ]; then
|
||||
append="${append} ${EXTRA_ARGS}"
|
||||
fi
|
||||
|
||||
mkdir -p "${BINARIES_DIR}"
|
||||
cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf"
|
||||
label ${LABEL}
|
||||
kernel /Image
|
||||
fdtdir /
|
||||
devicetree /${DEVICETREE}
|
||||
append ${append}
|
||||
__HEADER_EOF
|
||||
5
board/ti/tda4vm-sk/extlinux.conf
Normal file
5
board/ti/tda4vm-sk/extlinux.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
default buildroot
|
||||
label buildroot
|
||||
kernel /Image
|
||||
devicetreedir /
|
||||
append root=/dev/mmcblk1p2 rootwait rw console=ttyS2,115200n8
|
||||
33
board/ti/tda4vm-sk/genimage.cfg
Normal file
33
board/ti/tda4vm-sk/genimage.cfg
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
2
board/ti/tda4vm-sk/patches/linux/linux.hash
Normal file
2
board/ti/tda4vm-sk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 4f21c01f4d04c1d1b3ed794153f8900802c92497be620b07c4869530f2d28ee3 linux-6.18.16.tar.xz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54 u-boot-2026.01.tar.bz2
|
||||
2
board/ti/tda4vm-sk/patches/uboot/uboot.hash
Normal file
2
board/ti/tda4vm-sk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54 u-boot-2026.01.tar.bz2
|
||||
5
board/ti/tda4vm-sk/post-build.sh
Executable file
5
board/ti/tda4vm-sk/post-build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$BINARIES_DIR"/extlinux/extlinux.conf
|
||||
36
board/ti/tda4vm-sk/readme.txt
Normal file
36
board/ti/tda4vm-sk/readme.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
Texas Instruments 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
|
||||
Reference in New Issue
Block a user