This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62B-P1: building linux in the SDK ends in error

Part Number: SK-AM62B-P1

ubuntu 22.04, just downloaded SDK 9.00.00.03. followed the steps at https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_00_00_03/exports_AM62SIP/docs/devices/AM62X/linux/Overview/Download_and_Install_the_SDK.html

got down to building linux. when i build linux it ends with error:

# Build FitImage
cp /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/prebuilt-images/am62xx-evm/fitImage-its-am62xx-evm /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-linux-kernel
mkimage -r -f /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-linux-kernel/fitImage-its-am62xx-evm -k /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-u-boot/board/ti/keys -K /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/u-boot-build/a53/arch/arm/dts/k3-am625-sk.dtb /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/built-images/fitImage
FATAL ERROR: Couldn't open "linux.bin": No such file or directory
mkimage: Can't open /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/built-images/fitImage.tmp: No such file or directory
make: *** [makerules/Makefile_linux:13: linux] Error 255

is this expected? yes i ran setup.sh, yes i installed the packages before i tried "make linux"

also i noticed a lot of these kinds of messages:

Value of <something> is redefined by fragment <something else>:
Previous value: <something>=y
New value: <something>=n

  • Hi,

    FATAL ERROR: Couldn't open "linux.bin": No such file or directory

    I don't think I have seen this issue in my build. I will look into it next week and get back to you.

    also i noticed a lot of these kinds of messages:

    Value of <something> is redefined by fragment <something else>:
    Previous value: <something>=y
    New value: <something>=n

    these messages are just informative.

  • Hi,

    mkimage -r -f /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-linux-kernel/fitImage-its-am62xx-evm -k /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-u-boot/board/ti/keys -K /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/u-boot-build/a53/arch/arm/dts/k3-am625-sk.dtb /home/michaeljacobson/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/built-images/fitImage
    FATAL ERROR: Couldn't open "linux.bin": No such file or directory

    I can reproduce the issue. I will report the issue to our software development team.

    If you don't use kernel FitImage to boot Linux, you can ignore this error.

  • Hi Bin:

    I have the same error.

    But my customer is using GP.

    Do I need to ignore this error as well?

    The build stops at here, how to proceed?

    BR Rio

  • Rio,

    But my customer is using GP.

    Do I need to ignore this error as well?

    If you don't use kernel FitImage to boot Linux, you can ignore this error. GP device is irrelevant.

    The build stops at here, how to proceed?

    This is the last step of the kernel build process. So do you don't miss anything other than the fitimage.

    By the way, in the future, please don't hijack other e2e threads. If you have the same issue, please click "+ Ask a relevant question" at the top right corner of the webpage to start a new e2e thread. Thanks.