configs/ti_am64x_sk: new defconfig
Adds support for TI's SK-AM64 board by introducing the ti_am64x_sk_defconfig file and related support files. More information about the board can be found at: https://www.ti.com/tool/SK-AM64 Signed-off-by: Xuanhao Shi <x-shi@ti.com> Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Acked-by: Andrew Davis <afd@ti.com> Tested-by: Bryan Brattlof <bb@ti.com> Cc: Romain Naour <romain.naour@gmail.com> Reviewed-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
52ce606c05
commit
6b2329bb80
@ -132,9 +132,11 @@ F: package/libxmlrpc/
|
||||
F: package/python-docopt/
|
||||
|
||||
N: Anand Gadiyar <gadiyar@ti.com>
|
||||
F: board/ti/am64x-sk/
|
||||
F: boot/ti-k3-boot-firmware/
|
||||
F: boot/ti-k3-image-gen/
|
||||
F: boot/ti-k3-r5-loader/
|
||||
F: configs/ti_am64x_sk_defconfig
|
||||
|
||||
N: André Zwing <nerv@dawncrow.de>
|
||||
F: package/libkrb5/
|
||||
@ -3116,9 +3118,11 @@ N: Wojciech Niziński <niziak@spox.org>
|
||||
F: package/fwup/
|
||||
|
||||
N: Xuanhao Shi <X15000177@gmail.com>
|
||||
F: board/ti/am64x-sk/
|
||||
F: boot/ti-k3-boot-firmware/
|
||||
F: boot/ti-k3-image-gen/
|
||||
F: boot/ti-k3-r5-loader/
|
||||
F: configs/ti_am64x_sk_defconfig
|
||||
|
||||
N: Yair Ben Avraham <yairba@protonmail.com>
|
||||
F: package/casync/
|
||||
|
27
board/ti/am64x-sk/genimage.cfg
Normal file
27
board/ti/am64x-sk/genimage.cfg
Normal file
@ -0,0 +1,27 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"tiboot3.bin",
|
||||
"tispl.bin",
|
||||
"u-boot.img",
|
||||
}
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
34
board/ti/am64x-sk/readme.txt
Normal file
34
board/ti/am64x-sk/readme.txt
Normal file
@ -0,0 +1,34 @@
|
||||
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
|
||||
|
||||
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.
|
42
configs/ti_am64x_sk_defconfig
Normal file
42
configs/ti_am64x_sk_defconfig
Normal file
@ -0,0 +1,42 @@
|
||||
BR2_aarch64=y
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am64x-sk/genimage.cfg"
|
||||
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-am642-sk"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
|
||||
BR2_TARGET_OPTEE_OS=y
|
||||
BR2_TARGET_OPTEE_OS_PLATFORM="k3"
|
||||
BR2_TARGET_TI_K3_IMAGE_GEN=y
|
||||
BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X=y
|
||||
BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP=y
|
||||
BR2_TARGET_TI_K3_R5_LOADER=y
|
||||
BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am64x_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="2022.10"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am64x_evm_a53"
|
||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
||||
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
|
||||
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
|
||||
BR2_TARGET_UBOOT_FORMAT_IMG=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="tispl.bin"
|
||||
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="TEE=$(BINARIES_DIR)/tee-pager_v2.bin"
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_MTOOLS=y
|
Loading…
Reference in New Issue
Block a user