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] A23 u-boot with SPL / dram init available in my personal git repo
Date: Thu, 18 Dec 2014 12:41:32 +0100	[thread overview]
Message-ID: <5492BD6C.30508@redhat.com> (raw)
In-Reply-To: <39582012-4f2a-4ff7-a170-a160af3d0d49@googlegroups.com>

Hi,

On 15-12-14 07:01, Ricky Xian wrote:
> Hi,
>
> I'm trying to boot from usb fel mode on A23. I have rebuilt your sunxi-wip
> branch, and try to run on my A23 (q88?) board, but it's failed in fel mode
> in executing.
>
> I think the u-boot-spl.bin can be used as A20, this's the website I refer
> to:
> http://docs.cubieboard.org/tutorials/cb2/development/booting_from_usb_in_fel_mode
>
> my testing instructions are:
>
> fel write address  u-boot-spl.bin
> fel exec address
>
> the address for A20 is 0x2000, so that the DRAM will be initialized. but
> it's incorrect for A23 if the size reach 0x4000.
>
> can you please let me know how to use fel and your u-boot-spl.bin?

I've just tested this, and it works fine for me using the following commands:

make -j4 CROSS_COMPILE=arm-linux-gnu- Ippo_q8h_v1_2_felconfig

Note the _felconfig rather then _defconfig at the end !

And then:

make -j4 CROSS_COMPILE=arm-linux-gnu-

sudo ~hans/bin/fel write 0x2000 spl/u-boot-spl.bin
sudo ~hans/bin/fel exe 0x2000
sleep 0.5
sudo ~hans/bin/fel write 0x4a000000 u-boot.bin
sudo ~hans/bin/fel exe 0x4a000000

Regards,

Hans

  parent reply	other threads:[~2014-12-18 11:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-07 20:27 [U-Boot] A23 u-boot with SPL / dram init available in my personal git repo Hans de Goede
2014-12-08 12:59 ` mike.valk at gmail.com
2014-12-08 14:28 ` Chen-Yu Tsai
2014-12-08 18:53   ` Hans de Goede
2014-12-09 10:17     ` Chen-Yu Tsai
2014-12-09 10:25       ` Hans de Goede
2014-12-09 12:31         ` Chen-Yu Tsai
2014-12-13 13:58           ` Hans de Goede
2014-12-13 16:07             ` Chen-Yu Tsai
2014-12-14  9:44               ` Hans de Goede
2014-12-15  6:01                 ` Ricky Xian
2014-12-15  9:36                   ` [U-Boot] [linux-sunxi] " Siarhei Siamashka
2014-12-15 14:59                     ` Ricky Xian
2014-12-18 11:41                   ` Hans de Goede [this message]
2014-12-08 22:12 ` [U-Boot] " Maxime Ripard

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=5492BD6C.30508@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