[PATCH 2/3] k3-am62-pocketbeagle2: add initial board support
Robert Nelson
robertcnelson at gmail.com
Mon Mar 30 16:41:11 CEST 2026
Add the magic numbers i got from Bryan at ti..
> Here are the git revisions that I used of the above directories:
>
> u-boot: your ef03e35488377a32cdd4f76d1a03ef7f60c798ef
> trusted-firmware-a: 8dae0862c502e08568a61a1050091fa9357f1240 (Mar 23)
> optee_os: 1c0c7c06563e9be0ebc55b47cdb71422b02906a6 (Mar 23)
> ti-linux-firmware: 12.00.00.07 (Mar 20)
I'm just on tagged releases, will bump later..
>
> For podman run, I am bind-mounting the source directory tree using the
> :O (overlay) option. So, even though I appear to run "in-source" build,
> the original source directories outside the container will remain
> unchanged. The files tiboot3.bin, tispl.bin, and u-boot.img are
> generated by running the following commands inside the container:
>
> make -j$(nproc) -C trusted-firmware-a CROSS_COMPILE=aarch64-linux-gnu- \
> ARCH=aarch64 PLAT=k3 SPD=opteed TARGET_BOARD=lite
TFA: add: `K3_USART=0x6 BL32_BASE=0x80080000 PRELOADED_BL33_BASE=0x82000000`
>
> make -j$(nproc) -C optee_os CROSS_COMPILE=arm-linux-gnueabihf- \
> CROSS_COMPILE64=aarch64-linux-gnu- CFG_ARM64_core=y CFG_WITH_SOFTWARE_PRNG=y \
> PLATFORM=k3-am62x
optee add: `CFG_CONSOLE_UART=0x6 CFG_TZDRAM_START=0x80080000 `
CFG_WITH_SOFTWARE_PRNG can be removed
>
> cd u-boot
> make am62_pocketbeagle2_r5_defconfig &&
> make -j$(nproc) CROSS_COMPILE=arm-linux-gnueabihf- \
> BINMAN_INDIRS=$(pwd)/../ti-linux-firmware &&
>
> make am62_pocketbeagle2_a53_defconfig &&
> make -j$(nproc) CROSS_COMPILE=aarch64-linux-gnu- \
> BINMAN_INDIRS=$(pwd)/../ti-linux-firmware \
> BL31=$(pwd)/../trusted-firmware-a/build/k3/lite/release/bl31.bin \
> TEE=$(pwd)/../optee_os/out/arm-plat-k3/core/tee-raw.bin
>
> Based on reviewing your build script, I revised the above by adding
> TFA_EXTRA_ARGS=K3_USART_0x6 to trusted-firmware-a and
> CFG_CONSOLE_UART=0x6 to optee_os, but they made no difference.
> Furthermore, I replaced tee-raw.bin with tee-pager_v2.bin: no change.
>
> What am I doing wrong here?
>
> With best regards,
>
> Marko
--
Robert Nelson
https://rcn-ee.com/
More information about the U-Boot
mailing list