1

I need your help or advice on how to assemble the SPL(MLO) for my b2232 board from St. When building without SPL, uboot.bin is being assembled, and I can run it via JTAG like this, but I'm trying to run the system via Micro-SD, and I can't. I have completed make st_b2232_stxd337_emmc_defconfig make
after reading the documentation for uboot, linux came to the conclusion that SPL was needed, enabled it in the config, and then problems appeared:

  1. scripts/Makefile.spl:114: *** could not find linker script. Останов. make: *** [Makefile:1216: spl/u-boot-spl] error 2
    

    I will be able to solve it by explicitly specifying arch=arm, since it was empty

  2. LD spl/arch/arm/cpu//built-in.o 
    uboots/uboot-2015.01/toolchain/bin/arm-starkl-linux-gnueabihf-ld.bfd: cannot find arch/arm/cpu/start.o
    make[1]: *** [scripts/Makefile.spl:211: spl/u-boot-spl] error 1
    make: *** [Makefile:1216: spl/u-boot-spl] error 2
    

    The next error, which is not entirely clear to me, is that it cannot find the file and creates the file in the wrong directory.

When assembling another to another SPL board, everything is assembled normally and without errors.

asked Jul 16, 2025 at 12:17

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.