Linux on LSI SC2005
Hi,
I'm trying to figure out how much effort would be involved in getting Linux running on the MIPS core found in the LSI Logic SC2005. According to the LSI documentation:
MIPS R3000 CPU, executing MIPS I & II and 16 instructions
BBCC with four write back buffers included
Two 32-bit timers
MMU 64-entry TLB RAM
1 to 32 Kbytes of direct mapped or 2 to 64 Kbytes of set associative I-cache 1 to 32 Kbytes of direct mapped D-cache
Any information is appreciated.
Bob Lund
Hi,
Quoted 4 lines · Bob Lund
I'm trying to figure out how much effort would be involved in getting Linux running on the MIPS core found in the LSI Logic SC2005. According to the LSI documentation:
Quoted 8 lines
MIPS R3000 CPU, executing MIPS I & II and 16 instructions
BBCC with four write back buffers included
Two 32-bit timers
MMU 64-entry TLB RAM
1 to 32 Kbytes of direct mapped or 2 to 64 Kbytes of set associative I-cache 1 to 32 Kbytes of direct mapped D-cacheAny information is appreciated.
I did some work on an SC2000 about 18 months ago but only for one or two weeks. The kernel and networking on the eval board was basically working then but, AFAIR, there were problems (as in total lock up) with enabled cache in user mode. Without cache it was veeeeery slow.
Ralph
From: "Ralph Metzler" <[email protected]>
Quoted 14 lines
Hi,
Quoted 11 lines · Bob Lund
I'm trying to figure out how much effort would be involved in getting Linux running on the MIPS core found in the LSI Logic SC2005. According to the LSI documentation:
MIPS R3000 CPU, executing MIPS I & II and 16 instructions
BBCC with four write back buffers included
Two 32-bit timers
MMU 64-entry TLB RAM
1 to 32 Kbytes of direct mapped or 2 to 64 Kbytes of set associative I-cache 1 to 32 Kbytes of direct mapped D-cache
Quoted 6 lines
Quoted 1 line
Any information is appreciated.
I did some work on an SC2000 about 18 months ago but only for one or two weeks. The kernel and networking on the eval board was basically working then but, AFAIR, there were problems (as in total lock up) with enabled cache in user mode. Without cache it was veeeeery slow.
I don't have documentation on the SC2000, so I had hesitated to respond to the question, but I can at least make the general comment that LSI put a lot of different cache and MMU designs around the basic R3000 execution pipe. Some of those were close enough to the original R3000 design to be easily supported by Linux, others less so. The MMU is the nastiest part of the problem, so if you managed to get Linux running uncached, I am more optimistic than I would otherwise be. The LSI cores for which I do have documantation use a non-standard mechanism
(an explicit cache control register in the System Coprocessor) for cache management. I would not be surprised if the SC2000 used much the same techniques, and if so, it would be necessary to either hack up arch/mips/mm/c-r3k.c or (better software engineering but more work) create arch/mips/mm/c-sc2k.c
with the SC2000 cache manipulation routines and add the necessary configuration hooks to use it for your build.
Kevin K.