Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions source/linux/Foundational_Components/U-Boot/BG-Build-K3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ Build

$ cd <path to tf-a dir>

$ make CROSS_COMPILE="$CROSS_COMPILE_64" ARCH=aarch64 PLAT=k3low TARGET_BOARD=am62lx am62l_bl1
$ make CROSS_COMPILE="$CROSS_COMPILE_64" ARCH=aarch64 PLAT=k3low TARGET_BOARD=am62lx bl1 # on ti-tfa-2.14.y
$ make CROSS_COMPILE="$CROSS_COMPILE_64" ARCH=aarch64 PLAT=k3 TARGET_BOARD=am62l am62l_bl1 # on ti-master
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ti-master(intended for 11.x) is not applicable form docs master branch(intended for 12.x).

Please strip that part and send pr for '11' branch seperately.


<or to build bl-1 and bl-31 binaries from TF-A repo>

$ make CROSS_COMPILE="$CROSS_COMPILE_64" ARCH=aarch64 PLAT=k3low TARGET_BOARD=am62lx
$ make CROSS_COMPILE="$CROSS_COMPILE_64" ARCH=aarch64 PLAT=k3low TARGET_BOARD=am62lx # on ti-tfa-2.14.y
$ make CROSS_COMPILE="$CROSS_COMPILE_64" ARCH=aarch64 PLAT=k3 TARGET_BOARD=am62l # on ti-master

.. _Build-U-Boot-label:

Expand Down Expand Up @@ -441,12 +443,17 @@ All of these binaries are available in the SDK at :file:`<path to tisdk>/board-s

# Build for AM62LX EVM:
$ export UBOOT_CONFIG=am62lx_evm_defconfig
$ export TFA_BOARD=am62lx
$ export TFA_BOARD=am62lx # on ti-tfa-2.14.y
$ export TFA_BOARD=am62l # on ti-master

# Build for BeagleBadge:
$ export UBOOT_CONFIG=am62lx_badge_defconfig
$ export TFA_BOARD=am62l3_badge # on ti-tfa-2.14.y
$ export TFA_BOARD=am62lx_badge # on ti-master
$ export TFA_BOARD=am62l3-badge # on ti-tfa-2.14.y
$ export TFA_BOARD=am62l-badge # on ti-master

# Platform
$ export PLAT=k3low # on ti-tfa-2.14.y
$ export PLAT=k3 # on ti-master

.. note::

Expand All @@ -463,8 +470,8 @@ All of these binaries are available in the SDK at :file:`<path to tisdk>/board-s
$ cd $UBOOT_DIR
$ make CROSS_COMPILE="$CROSS_COMPILE_64" $UBOOT_CONFIG
$ make CROSS_COMPILE="$CROSS_COMPILE_64" \
BL1=$TFA_DIR/build/k3low/$TFA_BOARD/release/bl1.bin \
BL31=$TFA_DIR/build/k3low/$TFA_BOARD/release/bl31.bin \
BL1=$TFA_DIR/build/$PLAT/$TFA_BOARD/release/bl1.bin \
BL31=$TFA_DIR/build/$PLAT/$TFA_BOARD/release/bl31.bin \
BINMAN_INDIRS=$TI_LINUX_FW_DIR \
TEE=$OPTEE_DIR/out/arm-plat-k3/core/tee-pager_v2.bin

Expand Down
11 changes: 7 additions & 4 deletions source/linux/Foundational_Components_ATF.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,20 @@ Where <hash> is the commit shown in :ref:`release-specific-build-information`.

.. code-block:: console

$ export TFA_BOARD=am62lx # for AM62L EVM
$ export TFA_BOARD=am62l3_badge # for BeagleBadge on ti-tfa-2.14.y
$ export TFA_BOARD=am62lx_badge # for BeagleBadge on ti-master
$ export PLAT=k3low # on ti-tfa-2.14.y
$ export PLAT=k3 # on ti-master
$ export TFA_BOARD=am62lx # for AM62L EVM on ti-tfa-2.14.y
$ export TFA_BOARD=am62l # for BeagleBadge on ti-master
$ export TFA_BOARD=am62l3-badge # for BeagleBadge on ti-tfa-2.14.y
$ export TFA_BOARD=am62l-badge # for BeagleBadge on ti-master
$ export TFA_DIR=<path-to-arm-trusted-firmware>

*Without OP-TEE enabled:*

.. code-block:: console

$ cd $TFA_DIR
$ make ARCH=aarch64 CROSS_COMPILE="$CROSS_COMPILE_64" PLAT=k3low TARGET_BOARD=$TFA_BOARD
$ make ARCH=aarch64 CROSS_COMPILE="$CROSS_COMPILE_64" PLAT=$PLAT TARGET_BOARD=$TFA_BOARD

.. ifconfig:: CONFIG_part_variant in ('J721S2')

Expand Down
Loading