Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Building for blackfin-bf609
@ 2015-01-12 20:35 Peter Spierenburg
  2015-01-12 20:58 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Spierenburg @ 2015-01-12 20:35 UTC (permalink / raw)
  To: buildroot

Greetings,


I am trying to use buildroot for a blackfin bf609 processor. My steps are as follows:


- Starting from buildroot-2014.11

- make menuconfig

- Target Architecture set to Blackfin (the default Target CPU is bf609 which is serendipitous)

- Linux Kernel

- Default Kernel version is 3.17.4 which is fine

- Set Defconfig name to BF609-EZKIT

- Exit and save

- make


After a few minutes of furious downloading and compiling, I get:


cc1: error: -mcpu=bf609-0.0 is not valid
cc1: error: unrecognized command line option "-mcpu=bf609-0.0"
make[2]: *** [kernel/bounds.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  CC      scripts/mod/devicetable-offsets.s
cc1: error: -mcpu=bf609-0.0 is not valid
cc1: error: unrecognized command line option "-mcpu=bf609-0.0"
make[3]: *** [scripts/mod/empty.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: error: -mcpu=bf609-0.0 is not valid
cc1: error: unrecognized command line option "-mcpu=bf609-0.0"
make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1
make[2]: *** [scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/home/peter/buildroot/buildroot-2014.11/output/build/linux-3.17.4'
make: *** [/home/peter/buildroot/buildroot-2014.11/output/build/linux-3.17.4/.stamp_built] Error 2

What am I doing wrong?

Peter.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150112/622b2407/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Building for blackfin-bf609
  2015-01-12 20:35 [Buildroot] Building for blackfin-bf609 Peter Spierenburg
@ 2015-01-12 20:58 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-01-12 20:58 UTC (permalink / raw)
  To: buildroot

Dear Peter Spierenburg,

On Mon, 12 Jan 2015 20:35:50 +0000, Peter Spierenburg wrote:

> I am trying to use buildroot for a blackfin bf609 processor. My steps are as follows:

Great, one Blackfin user! We do have support for the Blackfin
architecture, but we very rarely get reports from users, so it's great
to see some interest in this!

> - Starting from buildroot-2014.11
> - make menuconfig
> - Target Architecture set to Blackfin (the default Target CPU is bf609 which is serendipitous)
> - Linux Kernel
> - Default Kernel version is 3.17.4 which is fine
> - Set Defconfig name to BF609-EZKIT
> - Exit and save
> - make
> 
> After a few minutes of furious downloading and compiling, I get:
> 
> cc1: error: -mcpu=bf609-0.0 is not valid

Hum, are you sure you did not specify BR2_GCC_TARGET_CPU_REVISION="0.0"
in your configuration? Can you send your full Buildroot .config file?

Note that Blackfin is mainly compile tested using the External toolchain
provided by ADI, which you can select in the "Toolchain" menu.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-12 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-12 20:35 [Buildroot] Building for blackfin-bf609 Peter Spierenburg
2015-01-12 20:58 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox