All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: "Wang, Shane" <shane.wang@intel.com>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: Can't run HOB
Date: Tue, 20 Mar 2012 12:42:53 -0600	[thread overview]
Message-ID: <4F68CFAD.5000103@mlbassoc.com> (raw)
In-Reply-To: <3AB6CE7F274E534CAFD089D127A8A1FC23AF2513@SHSMSX102.ccr.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]

On 2012-03-20 07:18, Wang, Shane wrote:
> I suspect msg = "".
>
> Can you add print(msg) at the beginning of the function? That's:
>
> =========
>       def handler_command_failed_cb(self, handler, msg):
>           print(msg)
>           if msg:
>               lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog =
> =========

Message attached (it's big).

Note: this setup (my metadata + meta-ti + yocto core) builds images just fine.

> Xu, Dongxiao wrote on 2012-03-20:
>
>> On Mon, 2012-03-19 at 20:20 -0600, Gary Thomas wrote:
>>> When I try HOB on my tree, it parses the metadata to around 57%
>>> and then brings up what I guess is a warning (sadly, it only shows
>>> an empty dialogue with an "OK" button).  This seems to happen because
>>> I have meta-ti in my bblayers.conf.  I also have this statement in
>>> my local.conf:
>>>     # Ignore troublesome TI recipes
>>>     BBMASK = ".*/meta-ti/recipes-misc/"
>>> Maybe HOB is not honouring the BBMASK?
>>
>> Variables are still handled in bitbake server side, Hob only acts as a
>> bridge between user and bitbake server.
>>
>> The phenomenon is strange since the code piece will detect if the error
>> msg is None or not. If it is None, it will not pop up the error dialog.
>>
>> ===============================================================
>> =
>>      def handler_command_failed_cb(self, handler, msg):
>>          if msg:
>>              lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog =
>>              CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_WARNING)
>>              dialog.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK) response =
>>              dialog.run() dialog.destroy()
>> =============================================================== =
>>
>> What's does it do if you click the "OK" button?
>>
>> Thanks,
>> Dongxiao
>>
>>>
>>
>>
>> _______________________________________________
>> poky mailing list
>> poky@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: hob.err --]
[-- Type: text/plain, Size: 3401 bytes --]

Failure expanding variable do_compile, expression was     # TODO :: KERNEL_CC, should use for kernel module build?
    # TODO :: Check the 'unset's

    unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS

    do_make_scripts

    # Build the gpp (hlos) kernel space
    cd ${SYSLINK_ROOT}/ti/syslink/utils/hlos/knl/Linux && make \
        ARCH="${TARGET_ARCH}" \
        CROSS_COMPILE="${TARGET_PREFIX}" \
        SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \
        SYSLINK_VARIANT="${SYSLINKVARIANT}" \
        SYSLINK_LOADER="${SYSLINKLOADER}" \
        SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages" \
        KDIR="${STAGING_KERNEL_DIR}"

#    # Build the gpp (hlos) kernel space samples.
#    for sample in ${SYSLINKHLOSSAMPLES}; do
#        cd ${SYSLINK_ROOT}/ti/syslink/samples/hlos/$sample/knl/Linux && make \
#            ARCH="${TARGET_ARCH}" \
#            CROSS_COMPILE="${TARGET_PREFIX}" \
#            SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \
#            SYSLINK_VARIANT="${SYSLINKVARIANT}" \
#            SYSLINK_LOADER="${SYSLINKLOADER}" \
#            SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages" \
#            SYSLINK_SDK=EZSDK \
#            KDIR="${STAGING_KERNEL_DIR}"
#    done

    # Build the gpp (hlos) user space
    cd ${SYSLINK_ROOT}/ti/syslink/utils/hlos/usr/Linux && make \
        ARCH="${TARGET_ARCH}" \
        CROSS_COMPILE="${TARGET_PREFIX}" \
        TOOLCHAIN_PREFIX="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \
        SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \
        SYSLINK_VARIANT="${SYSLINKVARIANT}" \
        SYSLINK_LOADER="${SYSLINKLOADER}" \
        SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages"

    # Build the gpp (hlos) user space samples
    # First build the common lib for samples.
    cd ${SYSLINK_ROOT}/ti/syslink/samples/hlos/common/usr/Linux && make \
        ARCH="${TARGET_ARCH}" \
        CROSS_COMPILE="${TARGET_PREFIX}" \
        TOOLCHAIN_PREFIX="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \
        SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \
        SYSLINK_VARIANT="${SYSLINKVARIANT}" \
        SYSLINK_LOADER="${SYSLINKLOADER}" \
        SYSLINK_SDK=EZSDK \
        SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages"

    for sample in ${SYSLINKHLOSSAMPLES}; do
        cd ${SYSLINK_ROOT}/ti/syslink/samples/hlos/$sample/usr/Linux && make \
            ARCH="${TARGET_ARCH}" \
            CROSS_COMPILE="${TARGET_PREFIX}" \
            TOOLCHAIN_PREFIX="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \
            SYSLINK_PLATFORM="${SYSLINKPLATFORM}" \
            SYSLINK_VARIANT="${SYSLINKVARIANT}" \
            SYSLINK_LOADER="${SYSLINKLOADER}" \
            SYSLINK_SDK=EZSDK \
            SYSLINK_PKGPATH="${IPC_INSTALL_DIR}/packages"
    done

    # Build the dsp/arm (rtos) code (system and samples)
    # cd ${SYSLINK_ROOT}/ti/syslink && \
    #     ${XDC_INSTALL_DIR}/xdc --jobs=${BB_NUMBER_THREADS} -PR .
    export XDCOPTIONS=v
    cd ${SYSLINK_ROOT}/ti/syslink && \
        ${XDC_INSTALL_DIR}/xdc -P \
         `${XDC_INSTALL_DIR}/bin/xdcpkg ${SYSLINK_ROOT}/ti/syslink | grep -v samples`
    export XDCARGS="profile=debug"
    cd ${SYSLINK_ROOT}/ti/syslink && \
        ${XDC_INSTALL_DIR}/xdc --jobs=${BB_NUMBER_THREADS} -P \
         `${XDC_INSTALL_DIR}/bin/xdcpkg ${SYSLINK_ROOT}/ti/syslink | grep samples`
 which triggered exception TypeError: sequence item 95: expected string, int found

      reply	other threads:[~2012-03-20 18:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20  2:20 Can't run HOB Gary Thomas
2012-03-20  6:25 ` Xu, Dongxiao
2012-03-20 10:03   ` Gary Thomas
2012-03-20 13:18   ` Wang, Shane
2012-03-20 18:42     ` Gary Thomas [this message]

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=4F68CFAD.5000103@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@yoctoproject.org \
    --cc=shane.wang@intel.com \
    /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.