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

Priebe, Sebastian sebastian.priebe at de.sii.group
Fri Apr 12 12:32:20 UTC 2019


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


More information about the U-Boot mailing list