[U-Boot] Adding support for red pitaya zynq board; is zynq working?
Michal Simek
monstr at monstr.eu
Fri Mar 27 09:15:23 CET 2015
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>
More information about the U-Boot
mailing list