public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] FEL mode broken since "sunxi: Move all boards to the driver-model"
Date: Sun, 28 Jun 2015 17:28:26 +0200	[thread overview]
Message-ID: <5590129A.50902@redhat.com> (raw)
In-Reply-To: <1435348202.17598.61.camel@hellion.org.uk>

Hi,

On 26-06-15 21:50, Ian Campbell wrote:
> Hi Hans,
>
> Sorry for only just noticing this, but it looks like FEL mode doesn't
> work on my cubietruck since this commit. I get the SPL output:
>
> U-Boot SPL 2015.04-00665-gb6006ba (Jun 26 2015 - 20:38:50)
> DRAM: 2048 MiB
> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>
> But then nothing.

Right, that is expected, all the "fel spl" command does is load the
spl, you need to do something like this to fel boot:

sudo ~hans/bin/fel version
echo Write SPL
sudo ~hans/bin/fel spl u-boot-sunxi-with-spl.bin
echo Exec SPL
sudo ~hans/bin/fel exe 0x2000
sleep 0.5
echo Write u-boot
sudo ~hans/bin/fel write 0x4a000000 u-boot-dtb.bin
echo Exec u-boot
sudo ~hans/bin/fel exe 0x4a000000

Are you doing that ? Also note that you now need to use
u-boot-dtb.bin not u-boot.bin .

> Or have I missed some change in how I should be using it?
>
> Later versions (with CONFIG_FEL gone) exhibit similar behaviour when
> using the new "spl fel" method too, so I got that memo at least...
>
> u-boot-sunxi.git#next has the issue too.
>
> Do you know what this is likely to be

See above.

> or shall I try and find some time
> to investigate?

If that is not it it would be greay if you can find some time to
investigate this.

Regards,

Hans

  reply	other threads:[~2015-06-28 15:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 19:50 [U-Boot] FEL mode broken since "sunxi: Move all boards to the driver-model" Ian Campbell
2015-06-28 15:28 ` Hans de Goede [this message]
2015-06-29  9:59   ` Ian Campbell
2015-07-01  7:52     ` [U-Boot] FEL mode broken since Bernhard Nortmann
2015-06-30  7:33   ` [U-Boot] FEL mode broken since "sunxi: Move all boards to the driver-model" Ian Campbell
2015-07-03 23:06     ` Simon Glass

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=5590129A.50902@redhat.com \
    --to=hdegoede@redhat.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