public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] New to U-boot development, adding Octeon support
Date: Sat, 13 Nov 2010 00:10:33 +0100	[thread overview]
Message-ID: <20101112231033.2ABACCEA55B@gemini.denx.de> (raw)
In-Reply-To: <201011121345.22528.Aaron.Williams@caviumnetworks.com>

Dear Aaron,

In message <201011121345.22528.Aaron.Williams@caviumnetworks.com> you wrote:
> 
> I am rather new to U-boot development and will be working on migrating the 
> current Cavium Octeon U-boot code to a much more up to date version but I 
> first have some questions.

Welcome!  I really appreciate that step.

> One of the first things I came across is that we need some significant 
> changes to some of the MIPS specific libraries and start-up code. Should I 
> just create separate files under arch/mips/xxx or should I create 
> subdirectories for the Octeon platform like how it's done for the PowerPC? 

We should in a first step split the current arch/mips/cpu/ into
arch/mips/cpu/au1x00/ and  arch/mips/cpu/incaip/; common stuff should
go to arch/mips/lib/.

In the second step, you could add a arch/mips/cpu/octeon/ directory.

> These changes would be global across the Octeon and not board specific. A 
> number of the changes are required for handling multiple cores.
> 
> Down the road we would also like to add our own replacements to some of the 
> functions provided by U-boot to speed it up on our platform, for example 
> taking advantage of the hardware CRC and decompression features.

Fine.

> Also, what would be a good stable starting version to work from?

Top of tree.  Your code will be picked up by Shinya Kuribayashi and
then pulled from his u-boot-mips repository into mainline.  If it
should turn out that you generate a lot of commits for a longer time
(i. e. more than just an initial pile) we can as well give you a
separate u-boot-octeon repository. Just let me know when you feel that
would help you.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Life is a process, not a principle, a mystery  to  be  lived,  not  a
problem to be solved. - Gerard Straub, television producer and author
(stolen from Frank Herbert??)

      reply	other threads:[~2010-11-12 23:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12 21:45 [U-Boot] New to U-boot development, adding Octeon support Aaron Williams
2010-11-12 23:10 ` Wolfgang Denk [this message]

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=20101112231033.2ABACCEA55B@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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