All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Rudolf <markus.rudolf@mpic.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] "Error: selected processor does not support `bx lr'" when compiling u-boot-2015.01 with SCB9328 config, 2014.01 works
Date: Wed, 4 Mar 2015 09:09:07 +0100	[thread overview]
Message-ID: <54F6BDA3.6010209@mpic.de> (raw)

I tried the following:

armdev at armdev-vm:~/Development/u-boot-2015.01$ export ARCH=arm
armdev at armdev-vm:~/Development/u-boot-2015.01$ export 
CROSS_COMPILE=/opt/OSELAS.Toolchain-trunk/arm-v4t-linux-gnueabi/gcc-4.1.2-glibc-2.5-binutils-2.17-kernel-2.6.18/bin/arm-v4t-linux-gnueabi-
armdev at armdev-vm:~/Development/u-boot-2015.01$ make distclean
   CLEAN   tools
   CLEAN   tools/lib tools/common
   CLEAN   scripts/basic
   CLEAN   scripts/kconfig
   CLEAN   include/config include/generated
   CLEAN   .config include/autoconf.mk include/autoconf.mk.dep 
include/config.h
armdev at armdev-vm:~/Development/u-boot-2015.01$ make scb9328_defconfig
   HOSTCC  scripts/basic/fixdep
   HOSTCC  scripts/kconfig/conf.o
   SHIPPED scripts/kconfig/zconf.tab.c
   SHIPPED scripts/kconfig/zconf.lex.c
   SHIPPED scripts/kconfig/zconf.hash.c
   HOSTCC  scripts/kconfig/zconf.tab.o
   HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
armdev at armdev-vm:~/Development/u-boot-2015.01$ make all
scripts/kconfig/conf --silentoldconfig Kconfig
   CHK     include/config.h
   UPD     include/config.h
   GEN     include/autoconf.mk
   GEN     include/autoconf.mk.dep
   CHK     include/config/uboot.release
   UPD     include/config/uboot.release
   CHK     include/generated/version_autogenerated.h
   UPD     include/generated/version_autogenerated.h
   CHK     include/generated/timestamp_autogenerated.h
   UPD     include/generated/timestamp_autogenerated.h
   CC      lib/asm-offsets.s
   GEN     include/generated/generic-asm-offsets.h
   CC      arch/arm/lib/asm-offsets.s
   GEN     include/generated/asm-offsets.h
   HOSTCC  tools/envcrc.o
   WRAP    tools/lib/crc32.c
   HOSTCC  tools/lib/crc32.o
   WRAP    tools/common/env_embedded.c
   HOSTCC  tools/common/env_embedded.o
   WRAP    tools/lib/sha1.c
   HOSTCC  tools/lib/sha1.o
   HOSTLD  tools/envcrc
   HOSTCC  tools/gen_eth_addr
   HOSTCC  tools/mkenvimage.o
   HOSTCC  tools/os_support.o
   HOSTLD  tools/mkenvimage
   HOSTCC  tools/aisimage.o
   HOSTCC  tools/atmelimage.o
   WRAP    tools/common/bootm.c
   HOSTCC  tools/common/bootm.o
   HOSTCC  tools/default_image.o
   WRAP    tools/lib/fdtdec_common.c
   HOSTCC  tools/lib/fdtdec_common.o
   WRAP    tools/lib/fdtdec.c
   HOSTCC  tools/lib/fdtdec.o
   HOSTCC  tools/fit_common.o
   HOSTCC  tools/fit_image.o
   HOSTCC  tools/gpimage.o
   HOSTCC  tools/gpimage-common.o
   WRAP    tools/common/image-fit.c
   HOSTCC  tools/common/image-fit.o
   HOSTCC  tools/image-host.o
   WRAP    tools/common/image.c
   HOSTCC  tools/common/image.o
   HOSTCC  tools/imagetool.o
   HOSTCC  tools/imximage.o
   HOSTCC  tools/kwbimage.o
   WRAP    tools/lib/md5.c
   HOSTCC  tools/lib/md5.o
   HOSTCC  tools/mxsimage.o
   HOSTCC  tools/omapimage.o
   HOSTCC  tools/pblimage.o
   HOSTCC  tools/pbl_crc32.o
   HOSTCC  tools/socfpgaimage.o
   WRAP    tools/lib/sha256.c
   HOSTCC  tools/lib/sha256.o
   HOSTCC  tools/ublimage.o
   WRAP    tools/lib/libfdt/fdt.c
   HOSTCC  tools/lib/libfdt/fdt.o
   WRAP    tools/lib/libfdt/fdt_ro.c
   HOSTCC  tools/lib/libfdt/fdt_ro.o
   WRAP    tools/lib/libfdt/fdt_rw.c
   HOSTCC  tools/lib/libfdt/fdt_rw.o
   WRAP    tools/lib/libfdt/fdt_strerror.c
   HOSTCC  tools/lib/libfdt/fdt_strerror.o
   WRAP    tools/lib/libfdt/fdt_wip.c
   HOSTCC  tools/lib/libfdt/fdt_wip.o
   HOSTCC  tools/dumpimage.o
   HOSTLD  tools/dumpimage
   HOSTCC  tools/mkimage.o
   HOSTLD  tools/mkimage
   HOSTCC  tools/proftool
   LD      arch/arm/cpu/built-in.o
   CC      arch/arm/cpu/arm920t/cpu.o
   CC      arch/arm/cpu/arm920t/imx/generic.o
   CC      arch/arm/cpu/arm920t/imx/speed.o
   CC      arch/arm/cpu/arm920t/imx/timer.o
   LD      arch/arm/cpu/arm920t/imx/built-in.o
   LD      arch/arm/cpu/arm920t/built-in.o
   AS      arch/arm/cpu/arm920t/start.o
   AS      arch/arm/lib/vectors.o
   AS      arch/arm/lib/crt0.o
   AS      arch/arm/lib/relocate.o
arch/arm/lib/relocate.S: Assembler messages:
arch/arm/lib/relocate.S:50: Error: selected processor does not support 
`bx lr'
make[1]: *** [arch/arm/lib/relocate.o] Error 1
make: *** [arch/arm/lib] Error 2
armdev at armdev-vm:~/Development/u-boot-2015.01$

I tried the same steps with export arch=armv4 and armv4t as well which 
didn't make any difference.

Can someone point me into the right direction? I would prefer stay with 
this toolchain, because I need to support a fairly old LINUX and 
userland with it and just wanna update the u-boot on my SCB9328 to get 
rid of some issues with newer JFFS2 flags not supported by my current 
1.12 uboot on the board.

I just tested: uboot 2014.01 compiles with the same settings and 
toolchain. So I guess it broke somewhere in between. I can try to 
pinpoint it if it helps.

Markus

                 reply	other threads:[~2015-03-04  8:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=54F6BDA3.6010209@mpic.de \
    --to=markus.rudolf@mpic.de \
    --cc=u-boot@lists.denx.de \
    /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.