All of lore.kernel.org
 help / color / mirror / Atom feed
* any success with spartan6-lx9mb?
@ 2012-09-04  2:25 Trevor Woerner
  2012-09-06 15:19 ` Elvis Dowson
  0 siblings, 1 reply; 23+ messages in thread
From: Trevor Woerner @ 2012-09-04  2:25 UTC (permalink / raw)
  To: yocto

Hi,

I was playing around with the meta-xilinx layer and tried to build
"core-image-minimal" for the spartan6 without success. I was wondering
if anyone has tried this lately and/or if anyone has any tips to
suggest?

configuration:

I'm using the latest HEAD:
    BB_VERSION        = "1.15.3"
    TARGET_ARCH       = "microblaze"
    TARGET_OS         = "linux"
    MACHINE           = "spartan6-lx9mb"
    DISTRO            = "poky"
    DISTRO_VERSION    = "1.2+snapshot-20120904"
    TUNE_FEATURES     = "m32 microblazeel"
    TARGET_FPU        = "soft"
    meta
    meta-yocto        = "master:37c8597e7600385367257e8a513e003947ebef5b"
    meta-xilinx       = "master:d196fa93c7ff5e080d4c44e2b83aed472f32b2c7"

conf/local.conf:
    BB_NUMBER_THREADS = "4"
    PARALLEL_MAKE = "-j 4"
    MACHINE ??= "spartan6-lx9mb"
    DL_DIR = "/home/trevor/devel/Downloads"
    DISTRO ?= "poky"
    PACKAGE_CLASSES ?= "package_rpm"
    EXTRA_IMAGE_FEATURES = "debug-tweaks"
    USER_CLASSES ?= "buildstats image-mklibs image-prelink"
    PATCHRESOLVE = "noop"
    CONF_VERSION = "1"

conf/bblayers.conf:
    LCONF_VERSION = "5"
    BBPATH = "${TOPDIR}"
    BBFILES ?= ""
    BBLAYERS ?= " \
      /home/trevor/devel/yocto/git-method/poky/meta \
      /home/trevor/devel/yocto/git-method/poky/meta-yocto \
      /home/trevor/devel/yocto/git-method/poky/meta-xilinx \
      "

issues:

The first problem I encountered was trying to build gcc-cross-initial:
    This target does not support --with-float.

I was able to get around this with the following (very silly) patch:
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc
b/meta/recipes-devtools/gcc/gcc-common.inc
index 72180db..cb3a8cf 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -12,8 +12,6 @@ FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}"
 def get_gcc_fpu_setting(bb, d):
     if d.getVar('ARMPKGSFX_EABI', True) == "hf" and
d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm":
         return "--with-float=hard"
-    if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
-        return "--with-float=soft"
     if d.getVar('TARGET_FPU', True) in [ 'ppc-efd' ]:
         return "--enable-e500_double"
     return ""
-- 


Although I could get past this point, bitbaking again led to the
following problem with the same, gcc-cross-initial, recipe:

opening microblaze-c.o: No such file or directory
make[1]: *** [cc1-checksum.c] Error 1
rm cpp.pod gcov.pod gfdl.pod gcc.pod fsf-funding.pod
make[1]: Leaving directory
`/home/trevor/devel/yocto/git-method/spartan6-lx9/tmp/work/microblazeel-poky-linux/gcc-cross-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r11/gcc-4_7-branch/build.x86_64-linux.microblaze-poky-linux/gcc'
make: *** [all-gcc] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile


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

end of thread, other threads:[~2012-11-07  0:15 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-04  2:25 any success with spartan6-lx9mb? Trevor Woerner
2012-09-06 15:19 ` Elvis Dowson
2012-09-06 20:11   ` Trevor Woerner
2012-09-06 21:06     ` Philip Balister
2012-09-06 21:41       ` Trevor Woerner
2012-09-06 22:19       ` Bruce Ashfield
2012-09-07 11:22         ` Philip Balister
2012-09-07 12:27           ` Bruce Ashfield
2012-09-07 16:19             ` Richard Purdie
2012-09-07 16:30               ` Bruce Ashfield
2012-09-07 17:29                 ` meta-zynq, was " Philip Balister
2012-09-07 17:35                   ` Bruce Ashfield
2012-09-07  3:21   ` Elvis Dowson
2012-09-08 17:04     ` Trevor Woerner
2012-09-12 18:47       ` Trevor Woerner
2012-09-13  5:26         ` Khem Raj
2012-09-13 16:36           ` Elvis Dowson
2012-09-13 17:12             ` Khem Raj
2012-09-13 18:03               ` Trevor Woerner
2012-09-13 18:07                 ` Trevor Woerner
2012-09-13 18:58                   ` Khem Raj
     [not found]             ` <CAHUNapQm1sJSU5zDP6-0MEEhYoU_WPtXbVoO4_g8MK_r3p843Q@mail.gmail.com>
2012-09-14  0:08               ` Elvis Dowson
2012-11-07  0:15                 ` Adrian Alonso

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.