From: "Nemanja Popov" <Nemanja.Popov@micronasnit.com>
To: <linux-mips@linux-mips.org>
Subject: linux port for Lexra 4280 based System On Chip (MDE9500)
Date: Wed, 25 Dec 2002 10:23:48 +0100 [thread overview]
Message-ID: <000b01c2abf7$5d705570$e000a8c0@micronasnit.com> (raw)
I'm trying to port linux on digital TV decoder chip MDE9500 which is based
on Lexra 4280. I've been studied linux port for Lexra processors and board
PB20K. I've found there configuration for MMU precisely TLB and its size.
There is function probe_tlb() in
cvs.sourceforge.net/cgi-bin/viewcvs.cgi/linux-mips/linux/arch/mips/mm/c-lexr
a.c which determines tlbsize.
static void __init probe_tlb(void)
{
int i;
unsigned long temp;
mips_cpu.tlbsize = 8; // <<<<<<<<<<<
temp = get_entryhi();
for (i=63; i>0; i=i-8) {
set_index(i<<8);
set_entryhi(0xaaaaaa80);
tlb_write_indexed();
tlb_read();
if (get_entryhi() == 0xaaaaaa80)
{
mips_cpu.tlbsize = (i + 1);
break;
}
};
set_entryhi(temp);
printk("%d entry TLB.\n", mips_cpu.tlbsize);
}
I've tried that function on my system and result was mips_cpu.tlbsize = 8,
BUT that value was set in the above marked line of code, not in the for
loop. Is that right value ???
My oppinion is that the tlbsize = 0. Correct me please :)
From documentation for Lexra 4280 I haven't found anything that points to
TLB and stuff about MMU. Has anyone tried probe_tlb() on LX4280, and if so
what is the result.
NOTE: MDE9500 is embeded system and Lexra LX4280 in it probably has less
features than as a single chip (processor). I don't have any documenatation
about that, so I don't know if my assumtion is true.
If tlbsize = 0 does that mean that there is no MMU and I'll be forced to
use uClinux and its support for processors whithout MMU :(
Thanks in advance.
Regards,
Nemanja Popov
WARNING: multiple messages have this Message-ID (diff)
From: "Nemanja Popov" <Nemanja.Popov@micronasnit.com>
To: linux-mips@linux-mips.org
Subject: linux port for Lexra 4280 based System On Chip (MDE9500)
Date: Wed, 25 Dec 2002 10:23:48 +0100 [thread overview]
Message-ID: <000b01c2abf7$5d705570$e000a8c0@micronasnit.com> (raw)
Message-ID: <20021225092348.6j8D7F_eVvNjAq8dLILAKztRoT56dF3W4Ob_nsQF_jE@z> (raw)
I'm trying to port linux on digital TV decoder chip MDE9500 which is based
on Lexra 4280. I've been studied linux port for Lexra processors and board
PB20K. I've found there configuration for MMU precisely TLB and its size.
There is function probe_tlb() in
cvs.sourceforge.net/cgi-bin/viewcvs.cgi/linux-mips/linux/arch/mips/mm/c-lexr
a.c which determines tlbsize.
static void __init probe_tlb(void)
{
int i;
unsigned long temp;
mips_cpu.tlbsize = 8; // <<<<<<<<<<<
temp = get_entryhi();
for (i=63; i>0; i=i-8) {
set_index(i<<8);
set_entryhi(0xaaaaaa80);
tlb_write_indexed();
tlb_read();
if (get_entryhi() == 0xaaaaaa80)
{
mips_cpu.tlbsize = (i + 1);
break;
}
};
set_entryhi(temp);
printk("%d entry TLB.\n", mips_cpu.tlbsize);
}
I've tried that function on my system and result was mips_cpu.tlbsize = 8,
BUT that value was set in the above marked line of code, not in the for
loop. Is that right value ???
My oppinion is that the tlbsize = 0. Correct me please :)
From documentation for Lexra 4280 I haven't found anything that points to
TLB and stuff about MMU. Has anyone tried probe_tlb() on LX4280, and if so
what is the result.
NOTE: MDE9500 is embeded system and Lexra LX4280 in it probably has less
features than as a single chip (processor). I don't have any documenatation
about that, so I don't know if my assumtion is true.
If tlbsize = 0 does that mean that there is no MMU and I'll be forced to
use uClinux and its support for processors whithout MMU :(
Thanks in advance.
Regards,
Nemanja Popov
next reply other threads:[~2002-12-25 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-25 9:23 Nemanja Popov [this message]
2002-12-25 9:23 ` linux port for Lexra 4280 based System On Chip (MDE9500) Nemanja Popov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000b01c2abf7$5d705570$e000a8c0@micronasnit.com' \
--to=nemanja.popov@micronasnit.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox