All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Adding support for red pitaya zynq board; is zynq working?
@ 2015-03-26  9:08 Jeremy Herbert
  2015-03-27  8:15 ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Herbert @ 2015-03-26  9:08 UTC (permalink / raw)
  To: u-boot

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.

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?

Thanks,
Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redpitaya.patch
Type: application/octet-stream
Size: 1734 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150326/53f873c1/attachment.obj>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Adding support for red pitaya zynq board; is zynq working?
  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
  2015-03-27 10:58   ` Jeremy Herbert
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2015-03-27  8:15 UTC (permalink / raw)
  To: u-boot

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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Adding support for red pitaya zynq board; is zynq working?
  2015-03-27  8:15 ` Michal Simek
@ 2015-03-27 10:58   ` Jeremy Herbert
  2015-03-27 11:16     ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Herbert @ 2015-03-27 10:58 UTC (permalink / raw)
  To: u-boot

Hi Michal,

Yes, it's a shame that the software is lagging so far behind, as it is an
interesting board for DSP experiments.

I will work on this next week. Could you please tell me what you mean by
"revup"? Do you mean I should use vivado to generate an updated DTS for the
board?

Thanks,
Jeremy

On Fri, 27 Mar 2015 at 18:15 Michal Simek <monstr@monstr.eu> wrote:

> 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
>
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Adding support for red pitaya zynq board; is zynq working?
  2015-03-27 10:58   ` Jeremy Herbert
@ 2015-03-27 11:16     ` Michal Simek
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2015-03-27 11:16 UTC (permalink / raw)
  To: u-boot

Hi,



On 03/27/2015 11:58 AM, Jeremy Herbert wrote:
> Hi Michal,
> 
> Yes, it's a shame that the software is lagging so far behind, as it is an
> interesting board for DSP experiments.

yes - it is quite interesting board.

> I will work on this next week. Could you please tell me what you mean by
> "revup"? Do you mean I should use vivado to generate an updated DTS for the
> board?

You have some options - update hw design to the latest vivado and use
the latest DTG. Or just use the latest zynq-7000,dtsi from the kernel
and add difference for this board.
My expectation is that we will switch u-boot to be fully dtb driven
till the end of this year.
Keep in your mind that it was agreed that only fixed part description
should be available in open source projects.

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/4b327420/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-27 11:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2015-03-27 10:58   ` Jeremy Herbert
2015-03-27 11:16     ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.