public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* How to write ports to new CPU and architecture?
@ 2008-09-17 12:35 Meng Sun
  2008-09-17 13:41 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Meng Sun @ 2008-09-17 12:35 UTC (permalink / raw)
  To: linux-arch

Hi all,

What should I do for implement Linux kernel on a new CPU and target
board? I just read FAQ but it's just general information. Could you
please tell me which documents(except CPU datasheets and target board
documents) I should read?

Cheers,

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

* Re: How to write ports to new CPU and architecture?
  2008-09-17 12:35 How to write ports to new CPU and architecture? Meng Sun
@ 2008-09-17 13:41 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2008-09-17 13:41 UTC (permalink / raw)
  To: Meng Sun; +Cc: linux-arch

On Wed, Sep 17, 2008 at 03:35:46PM +0300, Meng Sun wrote:
> What should I do for implement Linux kernel on a new CPU and target
> board? I just read FAQ but it's just general information. Could you
> please tell me which documents(except CPU datasheets and target board
> documents) I should read?

Is it an existing processor such as PowerPC or MIPS?  If so, you should
approach that port directly and ask for advice (since it will differ
greatly from one architecture to another).

Is it a new processor that we don't currently have support for in the
kernel tree?  That's a much larger undertaking, normally a multi-year
project First, you're going to need a toolchain that targets your CPU --
GCC, binutils and so on.  Then you can start porting Linux.  It's
probably best to start by copying an existing architecture and modify it
piecemeal.

I can't really be more specific since your question is so vague.

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

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

end of thread, other threads:[~2008-09-17 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 12:35 How to write ports to new CPU and architecture? Meng Sun
2008-09-17 13:41 ` Matthew Wilcox

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