Hi,

I am trying to boot kernel image for 'armv7ab' using QEMU.

To do the same, I have included the 'tune-arma7.inc'
(/meta/conf/machine/include/
arm/arch-armv7a.inc) and configured DEFAULTTUNE variable to 'armv7ab'.
But I am not able to build the image for it. I am getting error (compiled
for a little endian system and target is big endian) while compiling kernel
image.

The log for the same is attached with this mail.
Has anyone faced the same issue previously or has any inputs for it?

Thanks,
Prashant
Log data follows:

| DEBUG: Executing shell function do_compile

| NOTE: make -j 40 zImage CC=armeb-poky-linux-gnueabi-gcc   LD=armeb-poky-linux-gnueabi-ld.bfd

|   GEN     /home/prashant/poky/build_arm/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/3.14.29+gitAUTOINC+6eddbf4787_1a9f9edade-r0/linux-qemuarm-standard-build/Makefile

| scripts/kconfig/conf --silentoldconfig Kconfig

|   CHK     include/config/kernel.release

|   Using /home/prashant/poky/build_arm/tmp/work-shared/qemuarm/kernel-source as source for kernel

|   GEN     /home/prashant/poky/build_arm/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/3.14.29+gitAUTOINC+6eddbf4787_1a9f9edade-r0/linux-qemuarm-standard-build/Makefile

|   CHK     include/generated/uapi/linux/version.h

|   CHK     include/generated/utsrelease.h

|   Generating include/generated/mach-types.h

|   CC      kernel/bounds.s

|   GEN     include/generated/bounds.h

|   CC      arch/arm/kernel/asm-offsets.s

|   GEN     include/generated/asm-offsets.h

|   CALL    /home/prashant/poky/build_arm/tmp/work-shared/qemuarm/kernel-source/scripts/checksyscalls.sh

|   HOSTCC  scripts/kallsyms

|   HOSTCC  scripts/bin2c

|   HOSTCC  scripts/conmakehash

|   HOSTCC  scripts/recordmcount

|   HOSTCC  scripts/sortextable

|   CC      scripts/mod/empty.o

|   HOSTCC  scripts/mod/mk_elfconfig

|   CC      scripts/mod/devicetable-offsets.s

|   MKELF   scripts/mod/elfconfig.h

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/modpost.o

|   HOSTCC  scripts/mod/sumversion.o

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

|   CHK     include/generated/compile.h

|   CC      init/main.o

|   CC      init/do_mounts.o

|   CC      init/do_mounts_rd.o

|   CC      init/do_mounts_initrd.o

|   CC      init/do_mounts_md.o

|   CC      init/calibrate.o

|   CC      init/initramfs.o

|   CC      init/init_task.o

|   UPD     include/generated/compile.h

|   CC      init/version.o

|   LD      init/mounts.o

| armeb-poky-linux-gnueabi-ld.bfd: init/do_mounts.o: compiled for a little endian system and target is big endian

| armeb-poky-linux-gnueabi-ld.bfd: failed to merge target specific data of file init/do_mounts.o

| armeb-poky-linux-gnueabi-ld.bfd: init/do_mounts_rd.o: compiled for a little endian system and target is big endian

| armeb-poky-linux-gnueabi-ld.bfd: failed to merge target specific data of file init/do_mounts_rd.o

| armeb-poky-linux-gnueabi-ld.bfd: init/do_mounts_initrd.o: compiled for a little endian system and target is big endian

| armeb-poky-linux-gnueabi-ld.bfd: failed to merge target specific data of file init/do_mounts_initrd.o

| armeb-poky-linux-gnueabi-ld.bfd: init/do_mounts_md.o: compiled for a little endian system and target is big endian

| armeb-poky-linux-gnueabi-ld.bfd: failed to merge target specific data of file init/do_mounts_md.o

| /home/prashant/poky/build_arm/tmp/work-shared/qemuarm/kernel-source/scripts/Makefile.build:441: recipe for target 'init/mounts.o' failed

| make[3]: *** [init/mounts.o] Error 1

| /home/prashant/poky/build_arm/tmp/work-shared/qemuarm/kernel-source/Makefile:843: recipe for target 'init' failed

| make[2]: *** [init] Error 2

| Makefile:133: recipe for target 'sub-make' failed

| make[1]: *** [sub-make] Error 2

| Makefile:26: recipe for target 'all' failed

| make: *** [all] Error 2

| ERROR: oe_runmake failed

| WARNING: /home/prashant/poky/build_arm/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/3.14.29+gitAUTOINC+6eddbf4787_1a9f9edade-r0/temp/run.do_compile.6731:1 exit 1 from

|   exit 1

| ERROR: Function failed: do_compile (log file is located at /home/prashant/poky/build_arm/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/3.14.29+gitAUTOINC+6eddbf4787_1a9f9edade-r0/temp/log.do_compile.6731)

ERROR: Task 79 (/home/prashant/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_compile) failed with exit code '1'
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to