tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fw: stuck in bringing the userland shell on a latest ARM core



Hi All,

I am trying to bring up NetBSD-5 on a latest ARM Core (which is not yet 
natively supported by NetBSD/arm port) as part of learning NetBSD. 

I do not have any previous practical exposure on NetBSD or for that matter on 
any other Unix-like OSes.

I am able to bring up the kernel in a couple of weeks (although not in a clean 
way), but I am stuck in brining up the userland.

First I ran into nbmakefs toolset problem in building the ramdisk under cygwin 
development environment. Then I bumped into version mismatch between the 
userland and kernel.

With the right ramdisk matching kernel version(got from Mr.Ken Hornstein), My 
serial console output is as below:


-------------------------------Console Output Begin--------------
NetBSD/evbarm (xxxxxemul) booting ...

initarm: Configuring system ...

physmemory: 16384 pages at 0x00000000 -> 0x03ffffff

Allocating page tables

freestart = 0x00000000, free_pages = 512 (0x00000200)

IRQ stack: p0x001f1000 v0x801f1000

ABT stack: p0x001f0000 v0x801f0000

UND stack: p0x001ef000 v0x801ef000

SVC stack: p0x001ed000 v0x801ed000

Creating L1 page table at p0x001fc000 v0x801fc000

Mapping kernel

initarm: etext 8039946b, _end 808fe44c

initarm: textsize 0x1a0000, totalsize 0x700000

pmap_map_chunk: pa=0x200000 va=0x80200000 size=0x1a0000 resid=0x1a0000 prot=0x3 
cache=1

SLLLLLLLLLL

pmap_map_chunk: pa=0x3a0000 va=0x803a0000 size=0x560000 resid=0x560000 prot=0x3 
cache=1

LLLLLLSSSSS

Constructing L2 page tables

pmap_map_chunk: pa=0x1f1000 va=0x801f1000 size=0x1000 resid=0x1000 prot=0x3 
cache=1

P

pmap_map_chunk: pa=0x1f0000 va=0x801f0000 size=0x1000 resid=0x1000 prot=0x3 
cache=1

P

pmap_map_chunk: pa=0x1ef000 va=0x801ef000 size=0x1000 resid=0x1000 prot=0x3 
cache=1

P

pmap_map_chunk: pa=0x1ed000 va=0x801ed000 size=0x2000 resid=0x2000 prot=0x3 
cache=1

PP

pmap_map_chunk: pa=0x1fc000 va=0x801fc000 size=0x4000 resid=0x4000 prot=0x3 
cache=2

PPPP

pmap_map_chunk: pa=0x1fb000 va=0x801fb000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1fa000 va=0x801fa000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1f9000 va=0x801f9000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1f8000 va=0x801f8000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1f7000 va=0x801f7000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1f6000 va=0x801f6000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1f5000 va=0x801f5000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1f4000 va=0x801f4000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_chunk: pa=0x1f3000 va=0x801f3000 size=0x1000 resid=0x1000 prot=0x3 
cache=2

P

pmap_map_entry called with args- l1pt=001fc000    va=ffff0000    
prot=00000003    cache=00000001

devmap: a0300000 -> a04fffff @ fd000000

pmap_map_chunk: pa=0xa0300000 va=0xfd000000 size=0x200000 resid=0x200000 
prot=0x3 cache=0

SS

devmap: 80000000 -> 801fffff @ fd200000

pmap_map_chunk: pa=0x80000000 va=0xfd200000 size=0x200000 resid=0x200000 
prot=0x3 cache=0

SS

freestart = 0x008ff000, free_pages = 14081 (0x3701)

switching to new L1 page table  @0x1fc000...bootstrap done.

init subsystems: stacks vectors undefined page pmap done.

initarm done.

pmap_postinit: Allocated 35 static L1 descriptor tables

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,

    2006, 2007, 2008

    The NetBSD Foundation, Inc.  All rights reserved.

Copyright (c) 1982, 1986, 1989, 1991, 1993

    The Regents of the University of California.  All rights reserved


Home | Main Index | Thread Index | Old Index