[poky] HOB failed when use external toolchain “Sourcery CodeBench Lite 2011.09-70”

Wang, Shane shane.wang at intel.com
Thu Jun 14 03:59:21 PDT 2012


Thank you. You found a bug for Hob after we replaced Hob Notebook with gtk.Notebook.

Liming will submit a patch to fix it.

--
Shane
From: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] On Behalf Of 李金成
Sent: Thursday, June 14, 2012 9:45 AM
To: poky
Subject: [poky] HOB failed when use external toolchain “Sourcery CodeBench Lite 2011.09-70”

Hi All
Hob failed when use  external toolchain “Sourcery CodeBench Lite 2011.09-70” .
My development environment:
   Ubuntu 12.04 LTS
   Sourcery CodeBench Lite 2011.09-70 is in  /home/ljc/arm-2011.09/arm
My steps are:
  1.  git clone git://git.yoctoproject.org/poky
  2.  cd /home/ljc/poky
  3.  . oe-init-build-env
  4. hob
  5. close hob
  6. added the fellow lines in "Poky.conf":
        TCMODE = "external-csl"
        CSL_VER_MAIN  = "2011.09-70"
        EXTERNAL_TOOLCHAIN = "/home/ljc/arm-2011.09/arm"
        TARGET_PREFIX = "arm-none-linux-gnueabi-"
  7. In "tcmode-external-sourcery.inc",I changed
        TARGET_PREFIX = "${CSL_TARGET_SYS}-"
     to
        TARGET_PREFIX ?= "${CSL_TARGET_SYS}-"
  8.run hob again
  9.after configured my system in hob gui,and a long time wait ,I received thos messages:
    Traceback (most recent call last):
      File "/home/ljc/eclipse_yocto/eclipse_yocto/bitbake/lib/bb/ui/crumbs/builder.py", line 919,
          in handler_build_failed_cb self.build_failed()
      File "/home/ljc/eclipse_yocto/eclipse_yocto/bitbake/lib/bb/ui/crumbs/builder.py", line 902,
         in build_failed self.build_details_page.show_fail_page(fail_to_next_edit.split(' ')[0],
         fail_to_next_edit)
      File "/home/ljc/eclipse_yocto/eclipse_yocto/bitbake/lib/bb/ui/crumbs/builddetailspage.py",
          line 271, in show_fail_page self.build_fail_bar = self.add_build_fail_top_bar(action_names)
      File "/home/ljc/eclipse_yocto/eclipse_yocto/bitbake/lib/bb/ui/crumbs/builddetailspage.py",
          line 221, in add_build_fail_top_bar self.notebook.set_page("Issues")
      TypeError: an integer is required
10.there are nothing in Hob windown and hob can't be colsed use hob gui.
Pls give me some details instructions  how to use external toolchain in poky.
Thanks!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20120614/520a986b/attachment.html>


More information about the poky mailing list