All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Babrick <johnbabrick@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Beaglebone Black U-boot won't buid - THUMB instruction issue
Date: Thu, 10 May 2018 21:40:44 -0400	[thread overview]
Message-ID: <CAO=7=H2C5TJmHfxSms7g2p5E_2wiff-PPVXmq7LP62ukR2yf0A@mail.gmail.com> (raw)

Hello - I am trying to work through the book "Mastering Embedded Linux
Programming" by Chris Simmonds, and trying to work through building u-boot
after having built the cross toolchain. I am running into an error when I
try to build u-boot, any ideas?

johann at mars:~/uboot-work/u-boot$ make
CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf- am335x_evm_defconfig
#
# configuration written to .config
#
johann at mars:~/uboot-work/u-boot$ make
CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf-
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     spl/include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
*  CC      lib/asm-offsets.s*
*cc1: warning: target CPU does not support THUMB instructions*
*  CHK     include/generated/generic-asm-offsets.h*
*  CC      arch/arm/lib/asm-offsets.s*
*cc1: warning: target CPU does not support THUMB instructions*
  CHK     include/generated/asm-offsets.h
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  SHIPPED scripts/dtc/dtc-lexer.lex.c
  SHIPPED scripts/dtc/dtc-parser.tab.h
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  SHIPPED scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/lib/crc32.o
  HOSTLD  tools/mkenvimage
  HOSTCC  tools/common/bootm.o
  HOSTCC  tools/lib/fdtdec.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/dumpimage.o
  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
  CC      arch/arm/cpu/armv7/cache_v7.o
*cc1: warning: target CPU does not support THUMB instructions*
*{standard input}: Assembler messages:*
*{standard input}:42: Error: selected processor does not support `dsb sy'
in ARM mode*
*{standard input}:46: Error: selected processor does not support `isb sy'
in ARM mode*
*{standard input}:240: Error: selected processor does not support `dsb sy'
in ARM mode*
*{standard input}:244: Error: selected processor does not support `isb sy'
in ARM mode*
*{standard input}:368: Error: selected processor does not support `dsb sy'
in ARM mode*
*{standard input}:460: Error: selected processor does not support `dsb sy'
in ARM mode*
*{standard input}:464: Error: selected processor does not support `isb sy'
in ARM mode*
*{standard input}:594: Error: selected processor does not support `dsb sy'
in ARM mode*
*scripts/Makefile.build:278: recipe for target
'arch/arm/cpu/armv7/cache_v7.o' failed*
make[1]: *** [arch/arm/cpu/armv7/cache_v7.o] Error 1
Makefile:1363: recipe for target 'arch/arm/cpu/armv7' failed

             reply	other threads:[~2018-05-11  1:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-11  1:40 John Babrick [this message]
2018-05-11 12:12 ` [U-Boot] Beaglebone Black U-boot won't buid - THUMB instruction issue Faiz Abbas
2018-05-11 15:52 ` Tom Rini
2018-05-12 13:50 ` Måns Rullgård

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='CAO=7=H2C5TJmHfxSms7g2p5E_2wiff-PPVXmq7LP62ukR2yf0A@mail.gmail.com' \
    --to=johnbabrick@gmail.com \
    --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.