Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Building the kernel for a Broadcom SB1
@ 2005-09-21 17:24 Jonathan Day
  2005-09-21 17:24 ` Jonathan Day
  2005-09-22  7:22 ` Andy Isaacson
  0 siblings, 2 replies; 11+ messages in thread
From: Jonathan Day @ 2005-09-21 17:24 UTC (permalink / raw)
  To: linux-mips

Hi,

Things've been interesting here, of late. I've got the
toolchain to compile natively 64-bit code (with
considerable effort and the instructions from Linux
From Scratch) and I have a working Linux 2.6.12-rc2
kernel with the SB1 patches from the linux-mips
mailing lists.

So far, so good. Tried compiling the 2.6.14-rc1
kernel, forward-porting all the changes that hadn't
been merged in. the kernel locks in the initial boot
sequence, after a couple of printf's.

Are there any kernel patches for the Broadcom/SiByte
processors that are specific to the 2.6.13-* or
2.6.14-*, or any options that are definitely producing
Bad Code on these kernels but not earlier?



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Building the kernel for a Broadcom SB1
@ 2006-01-23 20:53 Mark E Mason
  0 siblings, 0 replies; 11+ messages in thread
From: Mark E Mason @ 2006-01-23 20:53 UTC (permalink / raw)
  To: Martin Michlmayr; +Cc: linux-mips

Hello,

Yes....

The original email from me with the patch was posted on 9/15, the patch
was applied to git (by way of Andy) around early October.

HTH,
Mark

-----Original Message-----
From: Martin Michlmayr [mailto:tbm@cyrius.com] 
Sent: Monday, January 23, 2006 4:58 AM
To: Mark E Mason
Cc: linux-mips@linux-mips.org
Subject: Re: Building the kernel for a Broadcom SB1

* Martin Michlmayr <tbm@cyrius.com> [2006-01-16 16:05]:
> > >Anyway, there are a few symbols undefined, which is >causing
> > problems. First off the bat is TO_PHYS_MASK.  >There is no set of 
> > definitions in >include/asm-mips/addrspace.h for the SB1 processor.
> Can this patch be applied?

Actually, no, SB1 is defined in addrspace.h already and this leads to a
redefinition.  The values that would've been used with your patch and
the current values are slightly different though; maybe you can check
that.  Current git works though.
--
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Building the kernel for a Broadcom SB1
@ 2005-09-15 20:59 Jonathan Day
  2005-09-15 21:52 ` Mark Mason
  0 siblings, 1 reply; 11+ messages in thread
From: Jonathan Day @ 2005-09-15 20:59 UTC (permalink / raw)
  To: linux-mips

Hi,

I'm having a few issues building the current
2.6.14-rc1 for a Broadcom SB1 MIPS64 processor. (No
huge surprise there, building anything for that
processor is a pain.)

Anyway, there are a few symbols undefined, which is
causing problems. First off the bat is TO_PHYS_MASK.
There is no set of definitions in
include/asm-mips/addrspace.h for the SB1 processor.
(For that matter, there's no set of definitions for
the MIPS64_R2, so I'm guessing those using _R2 chips
probably have the same problem.)

For the time-being, I've simply grouped the SB1 with
the MIPS64_R1 as the SiByte documentation is rather
limited on what the SB1 actually is.

Next off, if you enable processor threading, it looks
for IRQ_PER_CPU. A grep reveals that this needs
ARCH_HAS_IRQ_PER_CPU defined in the architecture's
irq.h file, but that no such definition exists for any
MIPS processor.

A Google shows that the processor threading was
recently added in (or back in, or something). Is the
change to irq.h not present for a reason (eg:
something is broken, so the code shouldn't be used
anyway), something that should have been checked out
but wasn't (ie: my computer has turned traitor) or got
forgotten somewhere else in the chain?

For the time-being, I've simply added a #define for it
in the include/asm-mips/irq.h file, but it would be
good to know what the "correct" solution was.

Any help would be much appreciated.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2006-01-23 20:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-21 17:24 Building the kernel for a Broadcom SB1 Jonathan Day
2005-09-21 17:24 ` Jonathan Day
2005-09-22  7:22 ` Andy Isaacson
2005-09-22 17:22   ` Jonathan Day
2005-09-22 21:32     ` Daniel Jacobowitz
2005-09-23  0:19       ` Jonathan Day
  -- strict thread matches above, loose matches on Subject: below --
2006-01-23 20:53 Mark E Mason
2005-09-15 20:59 Jonathan Day
2005-09-15 21:52 ` Mark Mason
2006-01-16 16:05   ` Martin Michlmayr
2006-01-23 12:58     ` Martin Michlmayr

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