public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] Adding support for red pitaya zynq board; is zynq working?
Date: Fri, 27 Mar 2015 09:15:23 +0100	[thread overview]
Message-ID: <5515119B.6030204@monstr.eu> (raw)
In-Reply-To: <CAHYNNe1+SzcLpsG_3jZNXzsaF3eXq6YA54hhWQENKO_=UOirXw@mail.gmail.com>

Hi Jeremy,

First of all please send the patch via git send-email command.

On 03/26/2015 10:08 AM, Jeremy Herbert wrote:
> Hi all,
> 
> I just tried to build the latest master mainline u-boot for a xilinx zynq
> 7010 board called the red pitaya. I'm not affiliated at all with the board,
> just trying to use it with a recent version of u-boot (and linux).
> Unfortunately it gets stuck in a reset loop (I wasn't able to nail down
> why, but it was definitely something in u-boot). However, I was able to
> successfully build u-boot using the xilinx fork here:
> https://github.com/Xilinx/u-boot-xlnx and have it work fine.

Interesting board - have to get a sample to be able to play with.

> I've attached the patch I made to add minimal support for the red pitaya
> (SD boot only, no ethernet as it uses an unsupported lantiq chipset). It is
> the policy of the xilinx u-boot fork that board support should be pushed
> straight upstream, but I'm not sure if this is the right place seeing as
> the upstream version doesn't currently work. Could someone please give me
> some advice on what to do with this patch?

The reason why upstream version is not working for you is that you are
probably running version without DTB that's why it is not initialized
properly. It means you should load u-boot-dtb.bin instead.

XMD script for example
connect arm hw -debugdevice cpunr 1
dow -data u-boot-dtb.bin 0x4000000
rwr pc 0x4000000
con
exit

Then everything should just run correctly.

I have briefly looked at the code and the whole red pitaya code needs
to be updated because it is pretty ancient old.

For pushing this to mainline you should revup DTB which targets 14.6 version
which is pretty old too. That's why update to the latest&greatest needs
to be done.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150327/88ecabb5/attachment.sig>

  reply	other threads:[~2015-03-27  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26  9:08 [U-Boot] Adding support for red pitaya zynq board; is zynq working? Jeremy Herbert
2015-03-27  8:15 ` Michal Simek [this message]
2015-03-27 10:58   ` Jeremy Herbert
2015-03-27 11:16     ` Michal Simek

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=5515119B.6030204@monstr.eu \
    --to=monstr@monstr.eu \
    --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