public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Aneesh V <aneesh@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot master on a pandaboard won't boot
Date: Thu, 03 Nov 2011 11:32:57 +0530	[thread overview]
Message-ID: <4EB22E91.2060304@ti.com> (raw)
In-Reply-To: <84E5BC1ED4764641BE11DB06B76748E817A61741@HQ-MBX-01.wardrobe.irobot.com>

Hi Christopher,

On Wednesday 02 November 2011 06:33 PM, Lalancette, Christopher wrote:
> Hello,
>       I've recently been playing around with u-boot on a pandaboard Rev A1.  The rest of my environment is an MLO built from x-loader git hash c4289f1bee035dea41536c5ba5e1bc36c7d493c4, and booting an ubuntu 11.04 kernel 2.6.38-1208-omap4.  Up until tag v2011.06, u-boot works flawlessly (as far as I've tested) on this combination.  However, if I take any u-boot release after that, including v2011.09 and u-boot git head, u-boot hangs very early on:
>
> Texas Instruments X-Loader 1.5.1 (Nov  2 2011 - 08:55:25)
> Reading boot sector
> Loading u-boot.bin from mmc
>
> And the status LEDs blink rapidly.
>
> I bisected the problem down to commit bcae72116257201d7288cb8c525a29aea4875b95; prior to that commit, I can successfully[1] boot u-boot on the pandaboard, but after that I cannot.

This commit changes the load address of u-boot and according to the new
relocation scheme u-boot should be loaded at where it is built for.
x-loader is assuming the load address of TI Internal u-boot. You have
two options:

1. Use SPL - when you build mainline u-boot you get an MLO as
by-product. Use it instead of x-loader.
2. Change the u-boot load address in x-loader to 0x80100000
(CFG_LOADADDR in include/configs/omap4430panda.h)

BTW, I am considering unifying the two load addresses.

br,
Aneesh

>
> I'm going to poke at it a bit more, but does anyone have any ideas of what is going on here?
>
> ---
> Chris Lalancette
>
> [1] Well, I can at least get beyond "Loading u-boot.bin from mmc" and boot the kernel and userland.  For some reason with this setup I can't get ethernet to work, but one problem at a time.

      parent reply	other threads:[~2011-11-03  6:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 13:03 [U-Boot] u-boot master on a pandaboard won't boot Lalancette, Christopher
2011-11-02 18:09 ` Tom Rini
2011-11-02 19:12   ` Lalancette, Christopher
2011-11-03  5:00     ` John Rigby
2011-11-03  6:02 ` Aneesh V [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=4EB22E91.2060304@ti.com \
    --to=aneesh@ti.com \
    --cc=u-boot@lists.denx.de \
    /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