All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: BBB doesn't boot
Date: Tue, 15 Apr 2014 17:07:10 -0600	[thread overview]
Message-ID: <534DBB9E.2030608@mlbassoc.com> (raw)
In-Reply-To: <20140415194307.GG11339@denix.org>

On 2014-04-15 13:43, Denys Dmytriyenko wrote:
> On Tue, Apr 15, 2014 at 01:41:12PM -0400, Denys Dmytriyenko wrote:
>>>>>> Some other things I tried with a "long" TMPDIR path (note that it's the
>>>>>> TMPDIR path that makes the difference - in my tests I've been using
>>>>>> /home/paul/poky/build2/much/longer/path/to/tmp). None of this helped:
>>>>>>
>>>>>> * kernel built with gcc 4.7.2 and binutils 2.23.2
>>>>>> * u-boot built with gcc 4.7.2 and binutils 2.23.2
>>>>>> * u-boot from http://downloads.angstrom-distribution.org/demo/beaglebone/
>>>>>> * earlyprintk and CONFIG_DEBUG_LL - no additional output printed
>>>>>>
>>>>>> I think we're now at the point where we'd benefit from someone with better
>>>>>> knowledge debugging the issue.
>>>>>
>>>>> Ok, should we expand the search area? Since this is supposed to be vanilla
>>>>> 3.14 kernel, can we try other platforms and see if they are similarly
>>>>> affected? I'll try pinging our kernel guys for any ideas...
>>>>
>>>> As far as I know it has only been observed with beaglebone (both white and 
>>>> black, if it makes a difference). FWIW, qemuarm images from the autobuilder 
>>>> boot just fine, and apparently the same is true of edgerouter (different 
>>>> architecture but also uses u-boot).
>>>
>>> But do those other platforms use uImage or zImage?
> 
> I don't yet know what is going on, but building in the same directory with 
> sources (B = S) makes it work regarless of the path length:
> 
> /OE/RAM/poky-111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111/22222222222222222222222222222222222222222222222222222222222222222222/3333333333333333333333333333333333333333333333333333/tmp/work/beaglebone-poky-linux-gnueabi/linux-yocto/3.14+gitAUTOINC+928d7b2dda_0143c6ebb4-r0/linux
> 
> So, I just commented out setting kernel-specific B in linux-yocto.inc and any 
> kernel now boots with long path:
> 
> #B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build"
> 
> I'm copying Richard and Bruce directly to see if they may have a quick insight 
> and/or accept it as a workaround for the release. I'll keep digging further, 
> but if anyone cares to verify the above workaround works for them, I would 
> appreciate. Thanks!
> 

Verified - I rebuilt the kernel in a working tree with a longer
path (one in fact that had failed before) and it boots fine.

Wonder what ${B} != ${S} is doing wacky...?

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


  reply	other threads:[~2014-04-15 23:07 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-13  9:12 BBB doesn't boot Gary Thomas
2014-04-14  2:33 ` Denys Dmytriyenko
2014-04-14 10:25   ` Gary Thomas
2014-04-14 15:46     ` Denys Dmytriyenko
2014-04-14 15:51       ` Gary Thomas
2014-04-14 16:00         ` Denys Dmytriyenko
2014-04-14 16:04           ` Gary Thomas
2014-04-14 16:08             ` Denys Dmytriyenko
2014-04-14 20:11               ` Gary Thomas
2014-04-14 22:44                 ` Denys Dmytriyenko
2014-04-15  0:20                   ` Richard Purdie
2014-04-15  1:38                     ` Denys Dmytriyenko
2014-04-15  4:44                       ` Richard Purdie
2014-04-15  5:07                         ` Denys Dmytriyenko
2014-04-15  5:17                           ` Denys Dmytriyenko
2014-04-15  9:03                             ` Stanacar, StefanX
2014-04-15 11:52                               ` Stanacar, StefanX
2014-04-15 14:42                                 ` Gary Thomas
2014-04-15 14:49                                 ` Paul Eggleton
2014-04-15 15:15                                   ` Stoicescu, CorneliuX
2014-04-15 15:37                                     ` Gary Thomas
2014-04-15 16:26                                   ` Denys Dmytriyenko
2014-04-15 16:36                                     ` Paul Eggleton
2014-04-15 17:16                                       ` Denys Dmytriyenko
2014-04-15 17:41                                         ` Denys Dmytriyenko
2014-04-15 19:43                                           ` Denys Dmytriyenko
2014-04-15 23:07                                             ` Gary Thomas [this message]
2014-04-17 19:10                                               ` Denys Dmytriyenko
2014-04-17 21:31                                                 ` William Mills
2014-04-17 23:25                                                   ` Khem Raj
2014-04-18  0:13                                                     ` Denys Dmytriyenko
2014-04-18 17:52                                                       ` William Mills
2014-04-17 22:48                                                 ` Gary Thomas
2014-04-17 23:17                                                   ` Denys Dmytriyenko
2014-04-15 23:29                                             ` Bruce Ashfield
2014-04-15 23:36                                             ` Richard Purdie
2014-04-16  1:12                                               ` Denys Dmytriyenko
2014-04-16  1:20                                                 ` Denys Dmytriyenko
2014-04-16  3:31                                                   ` Khem Raj
2014-04-16 15:57                                                     ` William Mills
2014-04-16 19:04                                                       ` Stefan Stanacar
2014-04-16 19:30                                                         ` William Mills
2014-04-16 10:20                                                   ` Stanacar, StefanX
2014-04-15 17:25                                     ` Stanacar, StefanX
2014-04-15 14:41                               ` Gary Thomas
2014-04-14 10:35 ` Stanacar, StefanX
2014-04-14 11:38   ` Stanacar, StefanX
2014-04-14 11:44     ` Gary Thomas
2014-04-14 11:51       ` Gary Thomas

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=534DBB9E.2030608@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.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 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.