Problems with building SPL in buildroot 2015.01
Ион Ионов
ion.galaxy2812 at gmail.com
Wed Jul 16 08:14:29 CEST 2025
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. 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.
More information about the U-Boot
mailing list