From: Radu Moisan <radu.moisan@intel.com>
To: Christian.Schulenberg@bmw.de
Cc: meta-ti@yoctoproject.org
Subject: Re: pandaboard not booting
Date: Thu, 27 Sep 2012 11:08:22 +0300 [thread overview]
Message-ID: <50640976.9070402@intel.com> (raw)
In-Reply-To: <EF446FF9DAC93B479C74AB9153DE173F111237C8@SMUCM08V.europe.bmw.corp>
Same led story on my side as well.
Radu
On 09/27/2012 10:25 AM, Christian.Schulenberg@bmw.de wrote:
> Hi,
>
> I would like to jump into this discussion, as I'm facing exact the same problem. I try to build the meta-ivi System. Therefore, I have setup my system with the following layers:
>
> - meta-ivi
> - meta-systemd
> - poky
> - meta-ti
>
> bblayers.conf looks like this:
>
> # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
> # changes incompatibly
> LCONF_VERSION = "5"
>
> BBPATH = "${TOPDIR}"
> BBFILES ?= ""
>
> BBLAYERS ?= " \
> /home/csb/yocto-excalibur/yocto-ivi/meta-ti \
> /home/csb/yocto-excalibur/yocto-ivi/poky/meta \
> /home/csb /yocto-excalibur/yocto-ivi/poky/meta-yocto \
> /home/csb /yocto-excalibur/yocto-ivi/meta-ivi \
> /home/csb /yocto-excalibur/yocto-ivi/meta-systemd \
> "
>
> The meta-ti misc subdir is excluded from build via BBMASK = "meta-ti/recipes-misc" in local.conf. MACHINE is set to pandabaord -> MACHINE ??= "pandaboard"
>
> The build process went through without any suspicious warnings. But in the end, I stuck with the same problem as Radu, except the fact, that I'm using a boot.scr. Here is my console output:
>
> U-Boot SPL 2011.12-dirty (Sep 27 2012 - 07:42:14)
> Texas Instruments OMAP4460 ES1.1
> OMAP SD/MMC: 0
> reading u-boot.img
> reading u-boot.img
>
>
> U-Boot 2011.12-dirty (Sep 27 2012 - 07:42:14)
>
> CPU : OMAP4460 ES1.1
> Board: OMAP4 Panda
> I2C: ready
> DRAM: 1 GiB
> MMC: OMAP SD/MMC: 0
> Using default environment
>
> In: serial
> Out: serial
> Err: serial
> Hit any key to stop autoboot: 0
> reading boot.scr
>
> 390 bytes read
> Running bootscript from mmc0 ...
> ## Executing script at 82000000
> reading uImage
>
> 4176496 bytes read
> ## Booting kernel from Legacy Image at 80000000 ...
> Image Name: Linux-3.1.0
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 4176432 Bytes = 4 MiB
> Load Address: 80008000
> Entry Point: 80008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
>
> At the end, both LED's on Pandaboard (D1 and D2) are switched on. Pressing reset does not help, only LED D1 is switched off.
>
> I used the meta.ivi layer in combination with meta-ti before in a much older version, which worked fine for me, but at the moment I have no idea what's wrong with my configuration.
>
>
> Best regards,
> Christian
>
> -----Ursprüngliche Nachricht-----
> Von: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-bounces@yoctoproject.org] Im Auftrag von Radu Moisan
> Gesendet: Mittwoch, 26. September 2012 15:50
> An: meta-ti@yoctoproject.org
> Betreff: Re: [meta-ti] pandaboard not booting
>
>
>> This looks correct - the important bit is that console=ttyO2
>>
>> Diagnosing why this doesn't come up may be a bit trickier. One thing
>> that you
>> can do is to look at the kernel messages (which are not being
>> printed!). Thankfully,
>> those are kept buffered in memory and you should be able to print them
>> manually.
>>
>> Give these steps a go:
>> * Boot as you have been, letting it hang after starting the kernel
>> * Press the RESET button on the PandaBoard
>> * Break into U-Boot
>> * Dump the kernel messages via:
>> U-Boot> md LOG_BUF_ADDRESS
>> This will display 256 bytes at LOG_BUF_ADDRESS. If you just press
>> return, you'll
>> get to see the next 256 bytes, etc. Keep doing this until the
>> messages stop...
>>
>> To find the LOG_BUF_ADDRESS, search for __log_buf in the System.map
>> which was created
>> when you built your kernel. This will be in your Yocto build tree
>> .../tmp/work/pandaboard*/linux*/git
>> (I think - I don't have a build for this machine handy) You'll see
>> something like this:
>> $ grep __log_buf tmp/work/panda*/linux*/git/System.map
>> c06d66e9 b __log_buf
>> That's a virtual address which corresponds to 0x806d66e9 in physical
>> RAM. Truncate
>> the address to a longword value, i.e. 0x806d66e8 - that's LOG_BUF_ADDRESS
>>
>> See what you get, it may provide a clue where the kernel is crashing.
>>
> Everything went ok, except the board doesn't reset when I press the
> reset button, or at least I can't see that in the serial console, it
> stays stuck at line "booting kernel..."
>
> Radu
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
next prev parent reply other threads:[~2012-09-27 8:04 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 13:43 pandaboard not booting Radu Moisan
2012-09-26 8:02 ` Radu Moisan
2012-09-26 9:20 ` Enrico
2012-09-26 10:44 ` Radu Moisan
2012-09-26 10:49 ` Gary Thomas
2012-09-26 12:42 ` Radu Moisan
2012-09-26 12:54 ` Gary Thomas
2012-09-26 13:49 ` Radu Moisan
2012-09-27 7:25 ` Christian.Schulenberg
2012-09-27 8:08 ` Radu Moisan [this message]
2012-09-27 8:47 ` Enrico
2012-09-27 11:16 ` Christian.Schulenberg
2012-09-27 12:06 ` Enrico
2012-09-27 13:47 ` Christian.Schulenberg
2012-09-27 13:55 ` Khem Raj
2012-09-27 16:08 ` Gary Thomas
2012-09-27 16:10 ` Khem Raj
2012-09-27 16:22 ` Enrico
2012-09-27 16:24 ` Denys Dmytriyenko
2012-09-27 16:31 ` Gary Thomas
2012-09-27 21:15 ` Nicolas Dechesne
2012-09-27 21:28 ` Denys Dmytriyenko
2012-09-28 8:31 ` Enrico
2012-09-28 9:01 ` Nicolas Dechesne
2012-09-28 11:03 ` Christian.Schulenberg
2012-09-28 11:53 ` Nicolas Dechesne
2012-10-02 8:03 ` Christian.Schulenberg
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=50640976.9070402@intel.com \
--to=radu.moisan@intel.com \
--cc=Christian.Schulenberg@bmw.de \
--cc=meta-ti@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.