mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* guruplug/dreamplug porting
@ 2011-05-30  8:31 Carlo Caione
  2011-05-30  9:51 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: Carlo Caione @ 2011-05-30  8:31 UTC (permalink / raw)
  To: barebox

Hi,
I was wondering how feasible it is to port barebox on guruplug/dreamplug 
marvell-based boards.
The most noticeable problem for me is the initialization part in asm 
(I'm not an asm junkie). Is it possible to reuse the arm code (asm) in 
the current version of barebox or at least to take it from u-boot 
sources (according to uboot conf files, uboot uses the arm926ejs as CPU 
for the guruplug)?

Regards,

--
Carlo Caione

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

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

* Re: guruplug/dreamplug porting
  2011-05-30  8:31 guruplug/dreamplug porting Carlo Caione
@ 2011-05-30  9:51 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-06-06  8:16   ` Carlo Caione
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-05-30  9:51 UTC (permalink / raw)
  To: Carlo Caione; +Cc: barebox

On 10:31 Mon 30 May     , Carlo Caione wrote:
> Hi,
> I was wondering how feasible it is to port barebox on
> guruplug/dreamplug marvell-based boards.
> The most noticeable problem for me is the initialization part in asm
> (I'm not an asm junkie).
so write it in c

a lots of us do so, Sascha or I mostly write the lowlevel init in C now
as example the generic lowlevel arm init is done in C now

I did it recently on at91rm9200
and will update the at91sam9 to c also
> Is it possible to reuse the arm code (asm)
mostly you can copy it but you will have to put it in the right section
> in the current version of barebox or at least to take it from u-boot
> sources (according to uboot conf files, uboot uses the arm926ejs as
> CPU for the guruplug)?
First do more simple, use barebox as a second stage start by u-boot and then
write the lowloevel init

in barebox we do not have one lowlevel init per armvx but one generic one
so normally the only assembly you could have to write is the
board_lowlevel_init which can be written in C anynway

Best Regards,
J.

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

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

* Re: guruplug/dreamplug porting
  2011-05-30  9:51 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2011-06-06  8:16   ` Carlo Caione
  2011-06-06  9:19     ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: Carlo Caione @ 2011-06-06  8:16 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

On 30/05/2011 11:51, Jean-Christophe PLAGNIOL-VILLARD wrote:
> so write it in c
>
> a lots of us do so, Sascha or I mostly write the lowlevel init in C now
> as example the generic lowlevel arm init is done in C now
>
> I did it recently on at91rm9200

Is it available in git repository?

> and will update the at91sam9 to c also

[cut]

> First do more simple, use barebox as a second stage start by u-boot and then
> write the lowloevel init
>
> in barebox we do not have one lowlevel init per armvx but one generic one
> so normally the only assembly you could have to write is the
> board_lowlevel_init which can be written in C anynway

Great. Thank you.

Regards,

--
Carlo Caione

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

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

* Re: guruplug/dreamplug porting
  2011-06-06  8:16   ` Carlo Caione
@ 2011-06-06  9:19     ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-06-06  9:19 UTC (permalink / raw)
  To: Carlo Caione; +Cc: barebox

On 10:16 Mon 06 Jun     , Carlo Caione wrote:
> On 30/05/2011 11:51, Jean-Christophe PLAGNIOL-VILLARD wrote:
> >so write it in c
> >
> >a lots of us do so, Sascha or I mostly write the lowlevel init in C now
> >as example the generic lowlevel arm init is done in C now
> >
> >I did it recently on at91rm9200
> 
> Is it available in git repository?
in the next branch

Best Regards,
J.

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

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

end of thread, other threads:[~2011-06-06  9:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-30  8:31 guruplug/dreamplug porting Carlo Caione
2011-05-30  9:51 ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-06  8:16   ` Carlo Caione
2011-06-06  9:19     ` Jean-Christophe PLAGNIOL-VILLARD

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