From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-handheld] linux-yocto-3.8 failing
Date: Sun, 14 Apr 2013 16:54:52 +0200 [thread overview]
Message-ID: <20130414145452.GD2475@jama> (raw)
In-Reply-To: <CADkTA4OenBfydWeEEj6AaEOJMt7GEHbx8+FCSzs2mYRFx-MJxQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 7558 bytes --]
On Fri, Apr 12, 2013 at 11:59:35PM -0400, Bruce Ashfield wrote:
> On Fri, Apr 12, 2013 at 11:00 PM, Bruce Ashfield
> <bruce.ashfield@gmail.com> wrote:
> > On Fri, Apr 12, 2013 at 9:04 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> On Fri, Apr 12, 2013 at 08:44:53PM -0400, Bruce Ashfield wrote:
> >>> On Fri, Apr 12, 2013 at 6:52 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >>> > Hi Andrea,
> >>> >
> >>> > patches from
> >>> > http://git.openembedded.org/meta-handheld/commit/?id=54c01286d738e6a6dc2971853644b9ed0e0a9a2e
> >>> >
> >>> > don't apply after linux-yocto upgrade in oe-core from today
> >>> > http://git.openembedded.org/openembedded-core/commit/?id=0271dec64591c4d91933b3a8db875a374a63640b
> >>>
> >>> Hmm. Andrea and I debugged another problem with these BSPs just yesterday,
> >>> I sent a fix to RP that is slightly newer than the commit you are referencing
> >>> above.
> >>>
> >>> If it still doesn't work with the very tip of oe-core, then I'll help
> >>> Andrea debug more ... unless
> >>> the patches really do need a refresh :)
> >>
> >> Maybe it was caused by some other linux-yocto/kern-tools-native change
> >> instead, because I've built linux-yocto-3.8 for spitz earlier today
> >> (with oe-core revision from yesterday). Then I upgraded oe-core again
> >> and it started to fail.
> >
> > There were some changes just this morning, to fix NFS root issues
> > picked up on the
> > h/w reference BSPS. Before that, some patches were being missed and not throwing
> > a hard error. They are likely found now .. and could be what is
> > causing the problem.
> >
> > The easiest way for me is to just clone and configure my own spitz
> > build and I'll
> > let everyone know how it goes.
>
> Just a follow up. I tested the build, and it is just a straight up
> patch refresh issue,
> everything is being properly queued. If it ever worked on the 3.8
> kernel, that was
> the anomaly not the current patch failure.
OK, thanks for looking into it. It seems that failing patch wasn't applied
at all before, reverting this commit
commit ddce9f375c626ef2c86f48612b3d7a24e3111b0b
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Apr 12 02:16:33 2013 +0000
kern-tools: fix non-local patch/config location
allows to build it with spitz again, but I belive you it's just some
patch which is now applied but needs to be refreshed first.
Cheers,
> The first example of spitz_pm.patch failing is because the following mainline
> commit has already done the job:
>
> > git show 510fcb0d331f314cd20d0067d56f29302846f47b
> commit 510fcb0d331f314cd20d0067d56f29302846f47b
> Author: Marko Katic <dromede@gmail.com>
> Date: Thu Oct 25 18:51:38 2012 +0200
>
> ARM: pxa/spitz_pm: Fix hang when resuming from STR
>
> Devices that use spitz_pm.c will fail to resume
> from STR (Suspend To Ram) when the charger plug is inserted
> or removed when a device is in STR mode. The culprit is
> a misconfigured gpio line - GPIO18. GPIO18 should be configured as a
> regular GPIO input but it gets configured as an alternate function
> GPIO18_RDY. And then later in postsuspend() it gets configured as
> a regular GPIO18 input line.
>
> Fix this by removing the GPIO18_RDY configuration so that GPIO18
> only gets configured as a regular gpio input.
>
> Signed-off-by: Marko Katic <dromede@gmail.com>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
>
> diff --git a/arch/arm/mach-pxa/spitz_pm.c b/arch/arm/mach-pxa/spitz_pm.c
>
> ... etc.
>
> So just the standard matter of refreshing and dropping some patches.
> Unless Andrea
> finds out that I'm just missing something in my config or test.
>
> Cheers,
>
> Bruce
>
> >
> > Cheers,
> >
> > Bruce
> >
> >>
> >> https://github.com/shr-distribution/buildhistory/commit/0e3324cd91d06a362661b4151a298fa2f3f6566e
> >> is my last successful spitz image build and it shows
> >> kernel_3.8.4+git0+27b63fdbd25ad1a37bacc05f49a205c150d21779_11998bd1f44b21cd0b8c0ca11cbd36865f14bfdc-r4.0.0_spitz.ipk
> >> (same SRCREVs as now failing build)
> >>
> >> Cheers,
> >>
> >>> > ERROR: Function failed: do_patch (see /OE/shr-core/tmp-eglibc/work/spitz-oe-linux-gnueabi/linux-yocto/3.8.4+gitAUTOINC+27b63fdbd25ad1a37bacc05f49a205c150d21779_11998bd1f44b21cd0b8c0ca11cbd36865f14bfdc-r4.1/temp/log.do_patch.18051 for further information)
> >>> > ERROR: Logfile of failure stored in: /OE/shr-core/tmp-eglibc/work/spitz-oe-linux-gnueabi/linux-yocto/3.8.4+gitAUTOINC+27b63fdbd25ad1a37bacc05f49a205c150d21779_11998bd1f44b21cd0b8c0ca11cbd36865f14bfdc-r4.1/temp/log.do_patch.18051
> >>> > Log data follows:
> >>> > | DEBUG: Executing shell function do_patch
> >>> > | Deleted branch meta-temp (was 37fdb0c).
> >>> > | [INFO] validating against known patches (spitz-standard-meta)
> >>> > error: patch failed: arch/arm/mach-pxa/spitz_pm.c:86##] (\)(102 %)
> >>> > | error: arch/arm/mach-pxa/spitz_pm.c: patch does not apply
> >>> > | To force apply this patch, use 'guilt push -f'
> >>> > | [ERROR] unable to complete push
> >>> > | pending patches are:
> >>> > | links/linux-yocto-3.8/spitz_pm.patch
> >>> > | links/linux-yocto-3.8/pxa27x-sa1100-rtc.patch
> >>> > | links/linux-yocto-3.8/spi-pxa2xx-fix-mem.patch
> >>> > | ERROR. could not update git tree
> >>> > | ERROR. Could not apply patches for spitz.
> >>> > | Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto)
> >>> > | ERROR: Function failed: do_patch (see /OE/shr-core/tmp-eglibc/work/spitz-oe-linux-gnueabi/linux-yocto/3.8.4+gitAUTOINC+27b63fdbd25ad1a37bacc05f49a205c150d21779_11998bd1f44b21cd0b8c0ca11cbd36865f14bfdc-r4.1/temp/log.do_patch.18051 for further information)
> >>> > ERROR: Task 3 (/OE/shr-core/openembedded-core/meta/recipes-kernel/linux/linux-yocto_3.8.bb, do_patch) failed with exit code '1'
> >>> > NOTE: Tasks Summary: Attempted 26 tasks of which 21 didn't need to be rerun and 1 failed.
> >>> >
> >>> > --
> >>> > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> >>> >
> >>> > _______________________________________________
> >>> > Openembedded-devel mailing list
> >>> > Openembedded-devel@lists.openembedded.org
> >>> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> "Thou shalt not follow the NULL pointer, for chaos and madness await
> >>> thee at its end"
> >>>
> >>> _______________________________________________
> >>> Openembedded-devel mailing list
> >>> Openembedded-devel@lists.openembedded.org
> >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >>
> >> --
> >> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> >>
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >>
> >
> >
> >
> > --
> > "Thou shalt not follow the NULL pointer, for chaos and madness await
> > thee at its end"
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-04-14 15:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 22:52 [meta-handheld] linux-yocto-3.8 failing Martin Jansa
2013-04-13 0:44 ` Bruce Ashfield
2013-04-13 1:04 ` Martin Jansa
2013-04-13 3:00 ` Bruce Ashfield
2013-04-13 3:59 ` Bruce Ashfield
2013-04-14 14:54 ` Martin Jansa [this message]
2013-04-14 15:35 ` Bruce Ashfield
2013-04-14 16:03 ` Andrea Adami
2013-04-14 16:29 ` Bruce Ashfield
2013-04-15 9:15 ` Andrea Adami
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=20130414145452.GD2475@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox