mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [Question] How was zedboard lowlevel written?
@ 2015-01-08 10:47 Masahiro Yamada
  2015-01-09  9:07 ` Steffen Trumtrar
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2015-01-08 10:47 UTC (permalink / raw)
  To: Steffen Trumtrar; +Cc: barebox

Hello Steffen Trumtrar,

I am seeing arch/arm/boards/avnet-zedboard/board.c
written by you.

Is this file equivalent to ps7_init.c spit by Xilinx tool?
Or did you write it by hand from scratch ? (I doubt it.)


I have ZC706, another Zynq board.
If I could port barebox to this board, that would be great!
But I am just worndering whether I could get your advice about
how to create the lowlevel file.


Best Regards
Masahiro Yamada


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

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

* Re: [Question] How was zedboard lowlevel written?
  2015-01-08 10:47 [Question] How was zedboard lowlevel written? Masahiro Yamada
@ 2015-01-09  9:07 ` Steffen Trumtrar
  2015-01-13  5:17   ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Trumtrar @ 2015-01-09  9:07 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: barebox


Hi!

Masahiro Yamada writes:
> Hello Steffen Trumtrar,
>
> I am seeing arch/arm/boards/avnet-zedboard/board.c
> written by you.
>

Sadly it's been a while since I touched this :(

> Is this file equivalent to ps7_init.c spit by Xilinx tool?
> Or did you write it by hand from scratch ? (I doubt it.)
>
>
> I have ZC706, another Zynq board.
> If I could port barebox to this board, that would be great!
> But I am just worndering whether I could get your advice about
> how to create the lowlevel file.
>

The lowlevel.c/flash_header.c are adapted from the ps7_init code IIRC.
Xilinx uses a prebootloader and a bootloader for the Zynq, barebox does
not. So you would have to put all values into the respective two files.
And you need to run scripts/zynq_mkimage for the checksum (but I think
the Makefile already does that).

I wish I could be of more help here, but I can't really remember the
actual steps necessary and I don't have a ps7_init handy at the moment.

Regards,
Steffen

-- 
Pengutronix e.K.                           | Steffen Trumtrar            |
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

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

* Re: [Question] How was zedboard lowlevel written?
  2015-01-09  9:07 ` Steffen Trumtrar
@ 2015-01-13  5:17   ` Masahiro Yamada
  0 siblings, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-01-13  5:17 UTC (permalink / raw)
  To: Steffen Trumtrar; +Cc: barebox

Hi Steffen,


On Fri, 09 Jan 2015 10:07:54 +0100
Steffen Trumtrar <s.trumtrar@pengutronix.de> wrote:

> 
> Hi!
> 
> Masahiro Yamada writes:
> > Hello Steffen Trumtrar,
> >
> > I am seeing arch/arm/boards/avnet-zedboard/board.c
> > written by you.
> >
> 
> Sadly it's been a while since I touched this :(
> 
> > Is this file equivalent to ps7_init.c spit by Xilinx tool?
> > Or did you write it by hand from scratch ? (I doubt it.)
> >
> >
> > I have ZC706, another Zynq board.
> > If I could port barebox to this board, that would be great!
> > But I am just worndering whether I could get your advice about
> > how to create the lowlevel file.
> >
> 
> The lowlevel.c/flash_header.c are adapted from the ps7_init code IIRC.
> Xilinx uses a prebootloader and a bootloader for the Zynq, barebox does
> not. So you would have to put all values into the respective two files.
> And you need to run scripts/zynq_mkimage for the checksum (but I think
> the Makefile already does that).
> 
> I wish I could be of more help here, but I can't really remember the
> actual steps necessary and I don't have a ps7_init handy at the moment.
> 

OK, thanks.

I just wanted to be sure in case there were some tools or tips etc.
that would save my time.

Anyway, I will give it a try.



Best Regards
Masahiro Yamada


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

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

end of thread, other threads:[~2015-01-13  5:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 10:47 [Question] How was zedboard lowlevel written? Masahiro Yamada
2015-01-09  9:07 ` Steffen Trumtrar
2015-01-13  5:17   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox