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.

AM3352: SDK9.1 build error

Part Number: AM3352

Error in the log:

sdk9 make uboot.log
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
tony@ubuntu22:~/ti-processor-sdk-linux-am335x-evm-09.01.00.001$ make u-boot
===================================
Building U-boot
===================================
mkdir -p /home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build
make -j 4 -C /home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot* ARCH=arm CROSS_COMPILE=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- am335x_evm_defconfig \
O=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build
make[1]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
make[2]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build'
GEN Makefile
#
# configuration written to .config
#
make[2]: Leaving directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build'
make[1]: Leaving directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
make -j 4 -C /home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot* ARCH=arm CROSS_COMPILE=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- \
O=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build CONFIG_MKIMAGE_DTC_PATH=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot*/scripts/dtc/dtc
make[1]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
make[2]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Yes, I'm able to run "make u-boot" with AM335x SDK 9.1 on Ubuntu 22.04.
    Which Ubuntu version your were using to build?
    Best,
    -Hong

  • I am using 22.04 also.

  • OK, the build log in your original e2e post seems from an incremental build.
    Can we run "make u-boot_clean" or delete "u-boot-build" folder, and run "make u-boot"?
    Best,
    -Hong

  • Hong,

    did according to your steps. same issue.

    sdk build error 9.1.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    ony@ubuntu22:~$ cd ti-processor-sdk-linux-am335x-evm-09.01.00.001/
    tony@ubuntu22:~/ti-processor-sdk-linux-am335x-evm-09.01.00.001$ make u-boot_clean
    ===================================
    Cleaning U-boot
    ===================================
    make -C /home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot* CROSS_COMPILE=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- O=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build \
    distclean
    make[1]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
    make[2]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build'
    CLEAN lib/efi_loader
    CLEAN tools
    CLEAN tools/lib tools/common
    CLEAN spl/arch spl/board spl/boot spl/cmd spl/common spl/disk spl/drivers spl/dts spl/env spl/fs spl/lib spl/net spl/u-boot-spl.lds spl/u-boot.cfg
    CLEAN include/generated/env.in include/generated/env.txt u-boot.cfg u-boot.lds
    CLEAN scripts/basic
    CLEAN scripts/dtc
    CLEAN scripts/kconfig
    CLEAN include/config include/generated spl include/asm
    CLEAN .config .config.old include/autoconf.mk include/autoconf.mk.dep include/config.h include/asm
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 7510.u-boot_build.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    ===================================
    Building U-boot
    ===================================
    mkdir -p /home/jason/am3/am3_9.1.0.1/board-support/u-boot-build
    make -j 8 -C /home/jason/am3/am3_9.1.0.1/board-support/ti-u-boot* ARCH=arm CROSS_COMPILE=/home/jason/am3/am3_9.1.0.1/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- am335x_evm_defconfig \
    O=/home/jason/am3/am3_9.1.0.1/board-support/u-boot-build
    make[1]: Entering directory '/home/jason/am3/am3_9.1.0.1/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
    make[2]: Entering directory '/home/jason/am3/am3_9.1.0.1/board-support/u-boot-build'
    GEN Makefile
    HOSTCC scripts/basic/fixdep
    HOSTCC scripts/kconfig/conf.o
    YACC scripts/kconfig/zconf.tab.c
    LEX scripts/kconfig/zconf.lex.c
    HOSTCC scripts/kconfig/zconf.tab.o
    HOSTLD scripts/kconfig/conf
    #
    # configuration written to .config
    #
    make[2]: Leaving directory '/home/jason/am3/am3_9.1.0.1/board-support/u-boot-build'
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Attaching my build log with "make u-boot" for your reference.
    Best,
    -Hong

  • I can also build successfully on my another Ubuntu 18.04 PC and another collegue's Ubuntu 22.04.

    just this Ubuntu 22.04 PC has this problem.

  • I'd think you'd have to look into your Ubuntu setup...
    Best,
    -Hong

  • Hi Hong,

    As the log in tells to report bug to Linaro, I download a newer toolchain 12.3 from Linaro, to replace the 11.03, can build successfully. 

    https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads

    AArch64 GNU/Linux target (aarch64-none-linux-gnu)

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    ony@ubuntu22:~/ti-processor-sdk-linux-am335x-evm-09.01.00.001$ make u-boot
    ===================================
    Building U-boot
    ===================================
    mkdir -p /home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build
    make -j 4 -C /home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot* ARCH=arm CROSS_COMPILE=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/external-toolchain-dir/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- am335x_evm_defconfig \
    O=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build
    make[1]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
    make[2]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build'
    GEN Makefile
    #
    # configuration written to .config
    #
    make[2]: Leaving directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build'
    make[1]: Leaving directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
    make -j 4 -C /home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot* ARCH=arm CROSS_COMPILE=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/external-toolchain-dir/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- \
    O=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build CONFIG_MKIMAGE_DTC_PATH=/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot*/scripts/dtc/dtc
    make[1]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/ti-u-boot-2023.04+gitAUTOINC+d74d0993e2-gd74d0993e2'
    make[2]: Entering directory '/home/tony/ti-processor-sdk-linux-am335x-evm-09.01.00.001/board-support/u-boot-build'
    GEN Makefile
    scripts/kconfig/conf --syncconfig Kconfig
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX