Skip to contentSkip to conversation

linux_2_4 on RM7000

DISCUSSION Guo Michael 2 participants 2 messages May 4, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

I've found the problem, I should define CONFIG_BOARD_SCACHE and CONFIG_RM7000_CPU_SCACHE first, right? But it still said scache_way_size is undefined in sc-rm7k.c and the printk on line 143 in rm7k_sc_probe need a little fix. After I fixed these it works.

Thanks.

Quoted 9 lines

From: Ralf Baechle <[email protected]>
To: Guo Michael <[email protected]>
CC: [email protected]
Subject: Re: linux_2_4 on RM7000
Date: Sun, 4 May 2003 15:16:22 +0200

Quoted 1 line · Guo Michael

I've been using the kernel from linux-mips.org on my board with

RM7000

Quoted 7 lines
Quoted 7 lines

CPU for several month with no problem. I checked out a new copy from linux-mips.org recently and found the cache code had been rewritten all over the place, and the new file sc-rm7k.c cannot even compile. After a quick check on that file according to the error messages it seems that nobody has even tried to compile this file.

My question is: does the new cache code work with rm7k cpu now? or in

the

Quoted 6 lines
Quoted 1 line

future? anybody tried that on rm7k with success?

Somehow you're the only one to complain. Details?

Ralf

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn

#1 lore raw
Quoted 4 lines · Guo Michael

I've found the problem, I should define CONFIG_BOARD_SCACHE and CONFIG_RM7000_CPU_SCACHE first, right? But it still said scache_way_size is undefined in sc-rm7k.c and the printk on line 143 in rm7k_sc_probe need a little fix. After I fixed these it works.

Oh - seems like I fixed that little problem without noticing in this source tree. Actually I tried to fix some R10000 silliness :-)

Ralf