-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Trying to build u-boot image for MACCHIATObin Single Shot, as per https://github.com/SolidRun/Documentation/blob/bsp/8040/u-boot.md#compile:
for the Singleshot, DEFAULT_DEVICE_TREE needs setting to "armada-8040-mcbin-singleshot"
On Arch Linux x86_64, aarch64-linux-gnu-gcc 12.2.0:
$ make -j4
scripts/kconfig/conf --syncconfig Kconfig
CFG u-boot.cfg
GEN include/autoconf.mk.dep
GEN include/autoconf.mk
UPD include/generated/timestamp_autogenerated.h
ENVC include/generated/env.txt
ENVP include/generated/env.in
ENVT include/generated/environment.h
CC cmd/version.o
AR cmd/built-in.o
CC env/common.o
CC lib/efi_loader/dtbdump.o
CC lib/efi_loader/initrddump.o
AR env/built-in.o
LD lib/efi_loader/dtbdump_efi.so
LD lib/efi_loader/initrddump_efi.so
OBJCOPY lib/efi_loader/dtbdump.efi
OBJCOPY lib/efi_loader/initrddump.efi
LD u-boot
aarch64-linux-gnu-ld.bfd: warning: u-boot has a LOAD segment with RWX permissions
OBJCOPY u-boot.srec
OBJCOPY u-boot-nodtb.bin
SYM u-boot.sym
RELOC u-boot-nodtb.bin
make[2]: *** No rule to make target 'arch/arm/dts/armada-8040-mcbin-singleshot.dtb', needed by 'dtbs'. Stop.
make[1]: *** [dts/Makefile:44: arch-dtbs] Error 2
make: *** [Makefile:1159: dts/dt.dtb] Error 2
Using u-boot tag v2023.01 above, because v2019.04 fails even worse:
$ make -j4
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTLD scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:106: scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:432: scripts/dtc] Error 2
make: *** [Makefile:515: scripts] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels