Skip to content

Commit

Permalink
build_bsp: Copy logo file in boot partition
Browse files Browse the repository at this point in the history
U-Boot fails to boot without the logo file being present in the boot
partition. So copy it there.

Signed-off-by: Suhaas Joshi <[email protected]>
  • Loading branch information
jsuhaas22 committed Mar 18, 2024
1 parent 242ba8e commit a67e28c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/build_bsp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,12 @@ machine=$1
make -j`nproc` ARCH=arm CROSS_COMPILE=${cross_compile} BL31=${TFA_DIR}/build/k3/lite/release/bl31.bin TEE=${OPTEE_DIR}/out/arm-plat-k3/core/tee-pager_v2.bin O=${UBOOT_DIR}/out/a53 BINMAN_INDIRS=${topdir}/build/${build}/bsp_sources/ti-linux-firmware &>>"${LOG_FILE}"
cp ${UBOOT_DIR}/out/a53/tispl.bin ${topdir}/build/${build}/tisdk-${distro}-${machine}-boot/ &>> ${LOG_FILE}
cp ${UBOOT_DIR}/out/a53/u-boot.img ${topdir}/build/${build}/tisdk-${distro}-${machine}-boot/ &>> ${LOG_FILE}

case ${machine} in
am62pxx-evm | am62xx-evm | am62xx-lp-evm | am62xxsip-evm)
cp ${UBOOT_DIR}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${topdir}/build/${build}/tisdk-${distro}-${machine}-boot/ &>> ${LOG_FILE}
;;
esac
}

}

0 comments on commit a67e28c

Please sign in to comment.