All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Denys Dmytriyenko <denis@denix.org>
Cc: yocto@yoctoproject.org
Subject: Re: BBB doesn't boot
Date: Mon, 14 Apr 2014 10:04:41 -0600	[thread overview]
Message-ID: <534C0719.5050908@mlbassoc.com> (raw)
In-Reply-To: <20140414160038.GB3370@denix.org>

On 2014-04-14 10:00, Denys Dmytriyenko wrote:
> On Mon, Apr 14, 2014 at 09:51:49AM -0600, Gary Thomas wrote:
>> On 2014-04-14 09:46, Denys Dmytriyenko wrote:
>>> On Mon, Apr 14, 2014 at 04:25:55AM -0600, Gary Thomas wrote:
>>>> On 2014-04-13 20:33, Denys Dmytriyenko wrote:
>>>>> On Sun, Apr 13, 2014 at 03:12:16AM -0600, Gary Thomas wrote:
>>>>>> I just tried building (core-image-sato) for my BeagleBoneBlack
>>>>>> using the latest Poky/Yocto master:
>>>>>>
>>>>>> Build Configuration:
>>>>>> BB_VERSION        = "1.23.0"
>>>>>> BUILD_SYS         = "i686-linux"
>>>>>> NATIVELSBSTRING   = "Fedora-13"
>>>>>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>>>>>> MACHINE           = "beaglebone"
>>>>>> DISTRO            = "poky"
>>>>>> DISTRO_VERSION    = "1.6+snapshot-20140411"
>>>>>> TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa8"
>>>>>> TARGET_FPU        = "vfp-neon"
>>>>>> meta
>>>>>> meta-yocto
>>>>>> meta-yocto-bsp    = "master:863cc7483f5ee43189537940de8ee5c0964d24cc"
>>>>>>
>>>>>> This built the kernel using SRCREV 928d7b2dda
>>>>>>
>>>>>> I followed the bring-up instructions from README.hadware and the
>>>>>> boot failed to even start the kernel.  Here's what I see:
>>>>>>
>>>>>> =============================== boot log =========================================
>>>>>> U-Boot 2013.07 (Apr 11 2014 - 15:03:04)
>>>>>>
>>>>>> I2C:   ready
>>>>>> DRAM:  512 MiB
>>>>>> WARNING: Caches not enabled
>>>>>> NAND:  0 MiB
>>>>>> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
>>>>>> *** Warning - readenv() failed, using default environment
>>>>>>
>>>>>> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
>>>>>> musb-hdrc: MHDRC RTL version 2.0
>>>>>> musb-hdrc: setup fifo_mode 4
>>>>>> musb-hdrc: 28/31 max ep, 16384/16384 memory
>>>>>> USB Peripheral mode controller at 47401000 using PIO, IRQ 0
>>>>>> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
>>>>>> musb-hdrc: MHDRC RTL version 2.0
>>>>>> musb-hdrc: setup fifo_mode 4
>>>>>> musb-hdrc: 28/31 max ep, 16384/16384 memory
>>>>>> USB Host mode controller at 47401800 using PIO, IRQ 0
>>>>>> Net:   <ethaddr> not set. Validating first E-fuse MAC
>>>>>> Phy not found
>>>>>> PHY reset timed out
>>>>>> cpsw, usb_ether
>>>>>> Hit any key to stop autoboot:  0
>>>>>> mmc0 is current device
>>>>>> SD/MMC found on device 0
>>>>>> reading uEnv.txt
>>>>>> ** Unable to read file uEnv.txt **
>>>>>> 4981688 bytes read in 613 ms (7.7 MiB/s)
>>>>>> 29192 bytes read in 46 ms (619.1 KiB/s)
>>>>>> Booting from mmc ...
>>>>>> ## Booting kernel from Legacy Image at 80200000 ...
>>>>>>    Image Name:   Linux-3.14.0-yocto-standard
>>>>>>    Image Type:   ARM Linux Kernel Image (uncompressed)
>>>>>>    Data Size:    4981624 Bytes = 4.8 MiB
>>>>>>    Load Address: 80008000
>>>>>>    Entry Point:  80008000
>>>>>>    Verifying Checksum ... OK
>>>>>> ## Flattened Device Tree blob at 80f80000
>>>>>>    Booting using the fdt blob at 0x80f80000
>>>>>>    Loading Kernel Image ... OK
>>>>>>    Using Device Tree in place at 80f80000, end 80f8a207
>>>>>>
>>>>>> Starting kernel ...
>>>>>> ==================================================================================
>>>>>>
>>>>>> Any ideas what I've done wrong?
>>>>>
>>>>> Hmm, everything looks sane. What revision is your BBB? And did you press 
>>>>> USER/BOOT button or erased eMMC partition per instructions?
>>>>>
>>>>
>>>> Revision A5A, with an LCD cape
>>>
>>> Hmm, I'm wondering if LCD cape conflicts here - there's no cape support in 
>>> this BSP. Can you try w/o it?
>>
>> Sure I can try it but I don't think that's it.  I got the kernel that StefanX
>> built and booted and tried it on my board and it came up.  No clue why the
>> kernels are different - ostensibly we both built the same image from the same
>> meta data, but they are slightly different (only in size - I compared the
>> System.map files from both builds and they contain exactly the same bits,
>> just a few changes in memory layout which I can't explain).
> 
> Yeah, good point. Doesn't look like your cape causes the issue...
> The only other difference is in the host. Do you have access to another Linux 
> box you can try? FWIW, I'm using 64-bit Gentoo with gcc-4.7.3. Yours is 32-bit 
> Fedora 13, right?

I'll try Fedora 17 and Ubuntu 12.04 (x86_64) and see what happens.

Note: I use the Fedora 13 system *all* the time for my other Poky/Yocto builds.

> 
>> I'm trying another build from scratch using a different build host to see
>> if that makes a difference.
> 
> Do you have any other layers or customizations on top? (the metadata above 
> suggests you build just pure Poky though)

I was trying this on a pure Poky/Yocto build.

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


  reply	other threads:[~2014-04-14 16:04 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 [this message]
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
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=534C0719.5050908@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=denis@denix.org \
    --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.