Skip to contentSkip to conversation

U-Boot API example doesn't support 64-bit

U-Boot Priebe 1 participant 1 message Apr 12, 2019

lore
Share & tools
lore

Priebe

#0 lore raw

Hello,

I'd like to use the U-Boot external API with an ARM64 SoC.
If I enable CONFIG_API I get the following build error for the API example:
examples/api/crt0.S: Assembler messages:
examples/api/crt0.S:33: Error: operand 1 should be an integer register -- ldr ip,=search_hint' examples/api/crt0.S:34: Error: operand 1 should be an integer register -- str sp,[ip]' examples/api/crt0.S:40: Error: operand 1 should be an integer register -- ldr ip,=syscall_ptr' examples/api/crt0.S:41: Error: operand 1 should be an integer register -- ldr pc,[ip]' scripts/Makefile.build:316: recipe for target 'examples/api/crt0.o' failed

For me it seems that the example lacks support for 64-bit.

Can anybody help me to get the example running on 64-bit?

Apparently I have only very litte knowledge of assembler :-(

Best regards

Sebastian Priebe

SII Technologies GmbH

SII Technologies GmbH
Geschäftsführer: Robert Bauer
Sitz der Gesellschaft: 86167 Augsburg
Registergericht: Amtsgericht Augsburg HRB 31802