Subject: Re: Porting CerfCube to NetBSD?
To: None <>
From: Robert Swindells <>
List: port-arm
Date: 02/28/2002 00:22:30
Jason R. Thorpe wrote:
>On Wed, Feb 27, 2002 at 08:33:57AM -0800, Barry Ferg wrote:


>If someone were to send me one, I could probably have it running
>in a week or less :-)

I don't think it would take you a week.

I have made a bit of progress this evening in getting a port to run out
of flash on our SA-1110 based webpad.

The only real difference between it and the CerfCube is the bootloader.

NetBSD/gds2200 booting ...
bootfile: netbsd
bootargs: -s
initarm: Configuring system ...
physmemory: 4096 pages at 0xc0000000 -> 0xc0ffffff
Allocating page tables
physical_freestart c015a000
IRQ stack: p0xc0177000 v0xf0177000
ABT stack: p0xc0178000 v0xf0178000
UND stack: p0xc0179000 v0xf0179000
SVC stack: p0xc017a000 v0xf017a000
Creating L1 page table
Mapping kernel
Constructing L2 page tables
80000000 -> 800fffff @ ff400000
e0000000 -> e00fffff @ ff500000
00000000 -> 01ffffff @ fd000000
switching to new L1 page table at c015c000
after changing page tables
bootstrap done.
init subsystems: stacks vectors undefined pmap irq done.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5ZA (GDS2200) #18: Thu Feb 28 00:07:34 UTC 2002
total memory = 16384 KB
avail memory = 11476 KB
using 230 buffers containing 920 KB of memory
mainbus0 (root)
cpu0 at mainbus0: SA-1110 step B-2 (SA-1 core) DC enabled IC enabled WB enabled LABT
saip0 at mainbus0
sm0 at saip0 addr 0x1a000300-0x1a00030f gpio 6
sm0: SMC91C111FD, revision 0, buffer size: 128 KB
sm0: MAC address 06:05:04:03:02:01, default media MII
cs0 at saip0 addr 0x18000300-0x1800030f gpio 5
cs0: cs_get_default_media: EEPROM missing or bad
cs0: WARNING: default media setting may be inaccurate
cs0: CS8900 rev. J, address 0c:0a:08:06:04:02, media UTP
mqvideo0 at saip0 addr 0x4b800000-0x4bffffff: MQ200 Rev.52 video controller
saost0 at saip0 addr 0x90000000-0x9000001f
saost0: SA-11x0 OS Timer
sacom0 at saip0 addr 0x80050000-0x80050023 intr 17
sacom0: SA11x0 UART3
sacom0: console
sacom1 at saip0 addr 0x80010000-0x80010023 intr 15
sacom1: SA11x0 UART1
sacom2 at saip0 addr 0x80030000-0x80030023 intr 16
sacom2: SA11x0 UART2 (IRDA)
samcp0 at saip0 addr 0x80060000-0x8006001f intr 18
samcp0: SA-11x0 MCP
sacc0 at saip0 addr 0x40000000-0x40001fff gpio 25
sacc0: SA1111 rev 2.1
ohci0 at sacc0
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
sacpcic0 at sacc0
pcmcia0 at sacpcic0
pcmcia1 at sacpcic0
ipl_softclock=00078060 ipl_softnet=00078060 ipl_softserial=00078000
ipl_bio=00078060 ipl_net=00078060 ipl_tty=00078000 ipl_imp=00078000
ipl_audio=00078000 ipl_clock=00078000 ipl_high=00038000 ipl_serial=00038000
clock: hz=100 stathz = 64
md0: buffer at fd200000
md0: allocated 2880K (5760 blocks)
root on md0a dumps on md0b
root file system type: ffs
erase ^?, werase ^W, kill ^U, intr ^C

# ls
.profile  dev       etc       mnt       sbin      tmp
bin       dist      kern      mnt2      sysinst   usr