From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 9 Jan 2014 17:01:32 +0100 Subject: [U-Boot] [PATCH v16 00/10] arm64 patch In-Reply-To: <1386992858-44800-1-git-send-email-fenghua@phytium.com.cn> References: <1386992858-44800-1-git-send-email-fenghua@phytium.com.cn> Message-ID: <20140109170132.5fb8d535@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi fenghua at phytium.com.cn, On Sat, 14 Dec 2013 11:47:28 +0800, fenghua at phytium.com.cn wrote: > From: David Feng > > 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.