public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Falcon mode boot support
Date: Mon, 15 Dec 2014 17:08:04 -0500	[thread overview]
Message-ID: <20141215220804.GH20704@bill-the-cat> (raw)
In-Reply-To: <548f4dd3.0677c20a.5db4.14a9SMTPIN_ADDED_BROKEN@mx.google.com>

On Mon, Dec 15, 2014 at 09:08:08PM -0000, Andy Pont wrote:
> Hi Tom,
> 
> > So first, take a look at drivers/mtd/spi/spi_spl_load.c as that's what
> > will be doing falcon mode work on your SPI flash.
> > 
> > Second, take a look at board/ti/am335x/README, you're looking for the
> > lines that read like:
> > Using Device Tree in place at 80f80000, end 80f85928
> 
> I have managed to make some progress and I think I have got what I think is
> the right data stored in the flash.  Unfortunately when I try to boot it
> locks up at:
> 
> spl: payload image: Linu load addr: 0x80007fc0 size: 3893360
> Jumping to Linux
> Entering kernel arg pointer: 0x80000100
> 
> I'm guessing the kernel arg pointer value is incorrect either that or it has
> ignored the boot arguments and not picked up the console parameter.
> 
> Could you advise?

How big is the args file?  We default to placing the args at 0x88000000
in ti_am335x_common.h (see CONFIG_SYS_SPL_ARGS_ADDR) to make sure that
we don't have an overlap between the DT and the kernel which is quite
possible with a reasonably sized DT and placing it at 0x80000100.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141215/7425e308/attachment.pgp>

  parent reply	other threads:[~2014-12-15 22:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <548f0a77.c768c20a.2e45.26a0SMTPIN_ADDED_BROKEN@mx.google.com>
2014-12-15 17:23 ` [U-Boot] Falcon mode boot support Tom Rini
2014-12-15 21:08   ` Andy Pont
     [not found]   ` <548f4dd3.0677c20a.5db4.14a9SMTPIN_ADDED_BROKEN@mx.google.com>
2014-12-15 22:08     ` Tom Rini [this message]
2014-12-16 12:58       ` Andy Pont
     [not found]       ` <54902c90.e44bc20a.557b.5c5bSMTPIN_ADDED_BROKEN@mx.google.com>
2014-12-16 14:30         ` Tom Rini
2014-12-16 14:48           ` Andy Pont
2014-12-17 16:27             ` Andy Pont
     [not found]             ` <5491af14.42fac20a.10ed.3bd4SMTPIN_ADDED_BROKEN@mx.google.com>
2014-12-17 21:02               ` Tom Rini
2014-12-18 12:28                 ` Andy Pont
2014-12-15 16:20 Andy Pont

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=20141215220804.GH20704@bill-the-cat \
    --to=trini@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