Subject: Re:-pmap initlialization
To: None <tech-kern@netbsd.org, port-arm@netbsd.org>
From: Kamal R. Prasad <kamalpr@yahoo.com>
List: tech-kern
Date: 01/04/2005 00:21:16
Hello,
I found out that as soon as tlb is invalidated, the
system goes for a toss. Does the configuration below
look OK? The kernel is loaded at 0xa0200000 and the L1
page table is at 0xa01fc000.
Other than an incorrect base addr for the page table,
what else could cause the system to go for a toss? Why
wouldn't the system generate an exception in such an
event? Appreciate any answers.
thanks
-kamal
Subject: pmap initlialization
To: None <tech-kern@netbsd.org, port-arm@netbsd.org>
From: Kamal R. Prasad <kamalpr@yahoo.com>
List: tech-kern
Date: 01/01/2005 21:47:59
Hello,
I have managed to bootstrap netbsd on my Intel pxa255
board -with a machdep glue. But there is a problem
with pmap initialization. If someone can give me a
clue, it might help. Pasted below is the output on
bootup.
thanks
-kamal
---------------------------------------
NetBSD/evbarm (triton) booting ...
initarm: Configuring system ...
physmemory: 4096 pages at 0xa0000000 -> 0xa0ffffff
Allocating page tables
freestart = 0xa0009000, free_pages = 503 (0x000001f7)
IRQ stack: p0xa01f1000 v0xc01f1000
ABT stack: p0xa01f0000 v0xc01f0000
UND stack: p0xa01ef000 v0xc01ef000
SVC stack: p0xa01ed000 v0xc01ed000
Creating L1 page table at 0xa01fc000
Mapping kernel
pmap_map_chunk: pa=0xa0200000 va=0xc0200000
size=0x10d000 resid=0x10d000 prot=01
SPPPPPPPPPPPPP
pmap_map_chunk: pa=0xa030d000 va=0xc030d000
size=0x3d000 resid=0x3d000 prot=0x31
PPPLLLPPPPPPPPPP
Constructing L2 page tables
pmap_map_chunk: pa=0xa01f1000 va=0xc01f1000
size=0x1000 resid=0x1000 prot=0x3 c1
P
pmap_map_chunk: pa=0xa01f0000 va=0xc01f0000
size=0x1000 resid=0x1000 prot=0x3 c1
P
pmap_map_chunk: pa=0xa01ef000 va=0xc01ef000
size=0x1000 resid=0x1000 prot=0x3 c1
P
pmap_map_chunk: pa=0xa01ed000 va=0xc01ed000
size=0x2000 resid=0x2000 prot=0x3 c1
PP
pmap_map_chunk: pa=0xa01fc000 va=0xc01fc000
size=0x4000 resid=0x4000 prot=0x3 c2
PPPP
pmap_map_chunk: pa=0xa01fb000 va=0xc01fb000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01fa000 va=0xc01fa000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01f9000 va=0xc01f9000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01f8000 va=0xc01f8000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01f7000 va=0xc01f7000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01f6000 va=0xc01f6000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01f5000 va=0xc01f5000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01f4000 va=0xc01f4000
size=0x1000 resid=0x1000 prot=0x3 c2
P
pmap_map_chunk: pa=0xa01f3000 va=0xc01f3000
size=0x1000 resid=0x1000 prot=0x3 c2
P
freestart = 0xa034a000, free_pages = 3254 (0xcb6)
switching to new L1 page table @0xa01fc000...
-------------------------------------------
__________________________________
Do you Yahoo!?
Send a seasonal email greeting and help others. Do good.
http://celebrity.mail.yahoo.com