All of lore.kernel.org
 help / color / mirror / Atom feed
From: akuster808 <akuster808@gmail.com>
To: Jin Li <lijin14@huawei.com>, yocto@yoctoproject.org
Subject: Re: Big Endian set for qemuarm64 build based on poky
Date: Thu, 3 Dec 2015 08:33:57 -0800	[thread overview]
Message-ID: <56606EF5.3020700@gmail.com> (raw)
In-Reply-To: <565FD8D4.5070803@huawei.com>

Jin Li,

On 12/02/2015 09:53 PM, Jin Li wrote:
> Hi,
> 
> There is build error when I'm trying to build qemuarm64 project based on default poky git repo with the big endian set as follows:
> 
> l00356543@hulk-test1:~/poky$ git diff meta/conf/machine/include/arm/arch-arm64.inc
> diff --git a/meta/conf/machine/include/arm/arch-arm64.inc b/meta/conf/machine/include/arm/arch-arm64.inc
> index 866b71f..8fe6660 100644
> --- a/meta/conf/machine/include/arm/arch-arm64.inc
> +++ b/meta/conf/machine/include/arm/arch-arm64.inc
> @@ -1,4 +1,4 @@
> -DEFAULTTUNE ?= "aarch64"
> +DEFAULTTUNE ?= "aarch64_be"
> 
>  require conf/machine/include/arm/arch-armv7a.inc
> 
> l00356543@hulk-test1:~/poky$
> 
> --------------------------------------------------------------------
> 
> Attach the build log:
> 
> l00356543@hulk-test1:~/qemuarm64_be$ bitbake core-image-sato
> Parsing recipes: 100% |###############################################################################################################| ETA:  00:00:00
> Parsing of 888 .bb files complete (0 cached, 888 parsed). 1310 targets, 61 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> 
> Build Configuration:
> BB_VERSION        = "1.28.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-14.04"
> TARGET_SYS        = "aarch64_be-poky-linux"
> MACHINE           = "qemuarm64"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.0"
> TUNE_FEATURES     = "aarch64 bigendian"
> TARGET_FPU        = ""
> meta
> meta-yocto
> meta-yocto-bsp    = "master:698c74c373110ed081a7586e21d4a27b8b44c89b"
> 
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: Failed to fetch URL http://downloads.sourceforge.net/libusb/libusb-1.0.20.tar.bz2, attempting MIRRORS if available
> WARNING: Failed to fetch URL http://bitmath.org/code/mtdev/mtdev-1.1.5.tar.bz2, attempting MIRRORS if available
> WARNING: Failed to fetch URL http://wiki.qemu-project.org/download/qemu-2.4.0.1.tar.bz2, attempting MIRRORS if available
> ERROR: oe_runmake failed
> ERROR: Function failed: do_compile (log file is located at /home/l00356543/qemuarm64_be/tmp/work/qemuarm64-poky-linux/linux-yocto/4.1.13+gitAUTOINC+30c4b4bd79_c22dc676d6-r0/temp/log.do_compile.43788)
> ERROR: Logfile of failure stored in: /home/l00356543/qemuarm64_be/tmp/work/qemuarm64-poky-linux/linux-yocto/4.1.13+gitAUTOINC+30c4b4bd79_c22dc676d6-r0/temp/log.do_compile.43788
> 
> ...
> 
> |   LD      arch/arm64/kernel/vdso/built-in.o
> | aarch64_be-poky-linux-ld.bfd: usr/initramfs_data.o: compiled for a little endian system and target is big endian
> | aarch64_be-poky-linux-ld.bfd: failed to merge target specific data of file usr/initramfs_data.o
> | make[3]: *** [usr/built-in.o] Error 1

This looks like the kernel config is set to 'LE'. Please try bitbake -c
menuconfig yocto-linux and change to 'BE"

- armin
> 
> 


      reply	other threads:[~2015-12-03 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03  5:53 Big Endian set for qemuarm64 build based on poky Jin Li
2015-12-03 16:33 ` akuster808 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56606EF5.3020700@gmail.com \
    --to=akuster808@gmail.com \
    --cc=lijin14@huawei.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.