[U-Boot] [PATCH v16 00/10] arm64 patch

Albert ARIBAUD albert.u.boot at aribaud.net
Thu Jan 9 17:01:32 CET 2014


Hi fenghua at phytium.com.cn,

On Sat, 14 Dec 2013 11:47:28 +0800, fenghua at phytium.com.cn wrote:

> From: David Feng <fenghua at phytium.com.cn>
> 
> Changes for v16:
>   - make the patches work with latest recently u-boot.
>     add rela relocation type to OBJCFLAGS definition
>     at arm/config.mk.

The series applies well and builds armv8 targets well if I set the
CROSS_COMPILE prefix to a 64-bit toolchain. However, if I use a 32-bit
toolchain prefix,

1) it still tries to build armv8 target, and fails understandably;

2) it causes the following boards to fail building:

trats2 snow smdk5250 vexpress_aemv8a smdkv310 origen s5pc210_universal
trats s5p_goni smdkc100 smdk5420 arndale

All with the same error, starting with:

/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h:45:1:
error: unknown type name '__le64'
/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h: In
function '__cpu_to_le64p':
/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h:47:18:
error: '__le64' undeclared (first use in this function)
/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h:47:18:
note: each undeclared identifier is reported only once for each function it appears in
/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h: At
top level:
/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h:49:1:
error: unknown type name '__le64'
/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h:53:1:
error: unknown type name '__le32'
/home/albert/src/u-boot-arm/include/linux/byteorder/little_endian.h: In
function '__cpu_to_le32p':

Etc.

Can you look into it on your side and determine what causes this? I
don't necessarily need a v16 series; a bugfix patch is ok.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list