* [U-Boot] New to U-boot development, adding Octeon support
@ 2010-11-12 21:45 Aaron Williams
2010-11-12 23:10 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Aaron Williams @ 2010-11-12 21:45 UTC (permalink / raw)
To: u-boot
Hi,
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.
My goal is to be able to hopefully submit the changes back into the main U-
boot tree and do this as cleanly as possible.
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?
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.
Also, what would be a good stable starting version to work from?
-Thanks.
-Aaron Williams
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] New to U-boot development, adding Octeon support
2010-11-12 21:45 [U-Boot] New to U-boot development, adding Octeon support Aaron Williams
@ 2010-11-12 23:10 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2010-11-12 23:10 UTC (permalink / raw)
To: u-boot
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??)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-12 23:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox