mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Josh Cartwright <joshc@eso.teric.us>
Cc: barebox@lists.infradead.org, Michal Simek <monstr@monstr.eu>
Subject: Re: [PATCH 0/5] Zynq support for barebox
Date: Wed, 6 Mar 2013 18:28:50 +0100	[thread overview]
Message-ID: <20130306172850.GA30452@pengutronix.de> (raw)
In-Reply-To: <20130305170929.GD16050@kryptos>

On Tue, Mar 05, 2013 at 11:09:29AM -0600, Josh Cartwright wrote:
> On Sun, Mar 03, 2013 at 03:58:10PM +0100, Steffen Trumtrar wrote:
> > Hi!
> > 
> > On Sat, Mar 02, 2013 at 07:20:12PM -0600, Josh Cartwright wrote:
> > > In San Francisco a couple weeks ago (ELC2013), Thomas Petazzoni
> > > informally mentioned barebox in passing, so I decided to toy with it a
> > > bit...
> > > 
> > > This patchset adds basic support for the Zynq SoC to barebox.  So far,
> > > it's only been tested as a 'secondary' bootloader (after u-boot).  Also
> > > added is support for the zc702 development board.
> > > 
> > 
> > I have some patches laying around, that have support for booting first stage
> > from a SD-Card on a ZedBoard. I didn't send them as of yet, because I'm not
> > completely satisfied with them in one or two places. (The clocksource seems to
> > be inverse to what barebox expects, which would be a quick fix, and barebox boots
> > uuultra slow, if I do everything according to the TRM)
> > At the moment, I do not have access to the board though. But I hope I can get a
> > hand on it in the next days.
> 
> If you have a chance to send out what you have, I'd be curious to see
> it.  Fortunately I have several Zynq boards to play with.
> 

Hi!

Have a look at
http://git.pengutronix.de/?p=str/barebox.git;a=summary

I "stole" your clk driver and added it to my patch stack :-)
Current state for ZedBoard:
	- boot first stage from SD-Card
		- barebox.bin needs to be processed with
		./scripts/zynq_checksum barebox.bin BOOT.bin
		to have the checksum in the BootROM header
	- clocksource is arm_smp_tmd at seems accurate
	- the BootROM needs about 4-5 seconds to copy barebox from
	  SD to the OCM. I guess, I need to mess with the SD setup
	  in the BootROM somehow
	- just enough clkdev to use the timer
	- all pinctrl, clk setup etc happens in the lowlevel init

Regards,
Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-03-06 17:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03  1:20 Josh Cartwright
2013-03-03  0:48 ` [PATCH 1/5] trivial: doc: fix typos in mach-arm.dox Josh Cartwright
2013-03-03  0:48 ` [PATCH 2/5] defaultenv: fixed mismatched braces in bin/boot Josh Cartwright
2013-03-03  0:48 ` [PATCH 3/5] ARM: zynq: add driver for Zynq uarts Josh Cartwright
2013-03-03  7:16   ` Antony Pavlov
2013-03-03 14:55     ` Josh Cartwright
2013-03-03 10:37   ` Jean-Christophe PLAGNIOL-VILLARD
2013-03-03 10:37   ` Jean-Christophe PLAGNIOL-VILLARD
2013-03-03  0:48 ` [PATCH 4/5] ARM: zynq: add support for Zynq 7000 SoC Josh Cartwright
2013-03-03  7:24   ` Antony Pavlov
2013-03-05 17:22     ` Josh Cartwright
2013-03-05 19:08       ` Sascha Hauer
2013-03-03  0:48 ` [PATCH 5/5] ARM: zynq: add support for zc702 development board Josh Cartwright
2013-03-03 10:39   ` Jean-Christophe PLAGNIOL-VILLARD
2013-03-05 17:16     ` Josh Cartwright
2013-03-05 18:02       ` Jean-Christophe PLAGNIOL-VILLARD
2013-03-03 14:58 ` [PATCH 0/5] Zynq support for barebox Steffen Trumtrar
2013-03-05 17:09   ` Josh Cartwright
2013-03-06 17:28     ` Steffen Trumtrar [this message]
2013-03-07 22:46       ` Josh Cartwright
2013-03-08  6:39         ` Steffen Trumtrar
2013-03-08 12:20           ` Michal Simek
2013-03-08 19:31             ` Steffen Trumtrar
2013-03-08 16:10           ` Josh Cartwright
2013-03-08 16:11             ` Steffen Trumtrar
2013-03-08 16:10           ` Jean-Christophe PLAGNIOL-VILLARD

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=20130306172850.GA30452@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=joshc@eso.teric.us \
    --cc=monstr@monstr.eu \
    /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