NetBSD-5.0.2/distrib/notes/evbarm/install

.\"	$NetBSD: install,v 1.9 2008/09/06 21:46:14 tsutsui Exp $
.\"
.\" Copyright (c) 2001-2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Ss2 Installation for the Technologic Systems TS-7200
The following steps describe how to set up a CompactFlash card for
the TS-7200.  The TS-7200 can use the interactive
installation program
.Ic sysinst 
to perform an internet installation from ftp.netbsd.org on the CompactFlash.  
.Pp
.(enum
Place the netbsd-TS7200_INSTALL.bin kernel into the TFTP server's download
area.  It must be decompressed from the gzipped image in the release directory
evbarm/installation/instkernel/netbsd-TS7200_INSTALL.srec.gz
.Pp
.Dl server# Ic gunzip netbsd-TS7200_INSTALL.srec.gz
.Dl server# Ic cp netbsd-TS7200_INSTALL.srec /tftpboot/netbsd-TS7200_INSTALL
.It
Load the kernel from the TFTP server.
.Pp
.Bd -literal
RedBoot\*[Gt] load netbsd-TS7200_INSTALL
.Ed
.It
Start the kernel running.
.Pp
.Bd -literal
RedBoot\*[Gt] go
.Ed
.Pp
The kernel will display boot messages, probe for devices, and invoke the
interactive sysinst installation tool.  Once sysinst has completed installation, the
system will reboot back into RedBoot.  If the preparation instructions above have
been followed, the post-installation NetBSD kernel will be in the FIS ready to be 
jumped into.  You can have RedBoot automatically start NetBSD by putting the
command
.Ic go 0x60660000
into the RedBoot bootscript using the
.Ic fconfig
command.
.enum)
.
.Ss2 Installation for the Intel IQ80310
The following steps describe how to set up an NFS root environment
for the IQ80310 and how to boot the IQ80310.
.Pp
.(enum
Place the kernel into the TFTP server's download area.
.Pp
RedBoot only loads S-Records, so select a kernel with the
.Dq .srec
filename suffix.
In this example, we will boot the kernel
hard-wired to use the on-board Ethernet as the root device.
.Pp
.Dl server# Ic cp netbsd-fxp0.srec /tftpboot/netbsd-iq80310-fxp0
.It
Unpack the distribution sets into the target's root directory.
.Pp
.Dl server# Ic cd /export/client/iq80310
.Dl server# Ic gzcat .../base.tgz | tar xvpf -
.Dl server# Ic gzcat .../etc.tgz | tar xvpf -
.Dl [ repeat for all sets you wish to unpack ]
.It
Load the kernel from the TFTP server.
.Pp
.Bd -literal
RedBoot\*[Gt] load netbsd-iq80310-fxp0
Entry point: 0xa0200000, address range: 0xa0200000-0xa035e07c
RedBoot\*[Gt]
.Ed
.It
Start the kernel running.
The kernel will display boot message,
probe for devices, and mount the root file system.
If you used a kernel hard-wired to use the on-board Ethernet, it will attempt
to mount the root file system automatically.
Otherwise, it will prompt for the root device to use.
.Pp
Since the system's run-time environment has not yet been configured,
the system should boot into single-user mode.
.Pp
.Bd -literal
RedBoot\*[Gt] go

NetBSD/evbarm (IQ80310) booting ...
Resetting secondary PCI bus...
initarm: Configuring system ...
physmemory: 65536 pages at 0xa0000000 -\*[Gt] 0xafffffff
init subsystems: stacks vectors undefined pmap irq done.
[ using 155084 bytes of netbsd ELF symbol table ]
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.5ZC (IQ80310) #20: Fri Mar 29 10:25:53 PST 2002
    root@tgm:/u1/netbsd/src/sys/arch/evbarm/compile/IQ80310
total memory = 256 MB
avail memory = 232 MB
using 1228 buffers containing 13208 KB of memory
mainbus0 (root)
cpu0 at mainbus0: i80200 step A-0 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: 32KB/32B 32-way Instruction cache
cpu0: 32KB/32B 32-way write-back-locking Data cache
obio0 at mainbus0: board rev. F, CPLD rev. D, backplane present
com0 at obio0 addr 0xfe810000: ns16550a, working fifo
com0: console
com1 at obio0 addr 0xfe800000: ns16550a, working fifo
iopxs0 at mainbus0: i80312 Companion I/O, acting as PCI host
iopxs0: configuring Secondary PCI bus
pci0 at iopxs0 bus 1
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 7 function 0: Digital Equipment DECchip 21154 PCI-PCI Bridge (rev. 0x05)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled
fxp0 at pci1 dev 0 function 0: i82559S Ethernet, rev 9
fxp0: interrupting at iq80310 irq 1
fxp0: Ethernet address 00:80:4d:46:0b:b9
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
clock: hz=100 stathz=0 profhz=0
boot device: \*[Lt]unknown\*[Gt]
root on fxp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_name=iq80310.lab.wasabisystems.com
nfs_boot: my_domain=wasabisystems.com
nfs_boot: my_addr=192.168.0.10
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.254
root on 192.168.0.1:/export/client/iq80310
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for sh:
.Ed
.enum)
.Ss2 Installation for the Intel IQ80321
The following steps describe how to set up an NFS root environment
for the IQ80321 and how to boot the IQ80321.
.Pp
.(enum
Place the kernel into the TFTP server's download area.
.Pp
RedBoot only loads S-Records, so select a kernel with the
.Dq .srec
filename suffix.
In this example, we will boot the kernel
hard-wired to use the on-board Ethernet as the root device.
.Pp
.Dl server# Ic cp netbsd-wm0.srec /tftpboot/netbsd-iq80321-wm0
.It
Unpack the distribution sets into the target's root directory.
.Pp
.Dl server# Ic cd /export/client/iq80321
.Dl server# Ic gzcat .../base.tgz | tar xvpf -
.Dl server# Ic gzcat .../etc.tgz | tar xvpf -
.Dl [ repeat for all sets you wish to unpack ]
.It
Load the kernel from the TFTP server.
.Pp
.Bd -literal
RedBoot\*[Gt] load netbsd-iq80321-wm0
Entry point: 0x00200000, address range: 0x00200000-0x00396a40
RedBoot\*[Gt]
.Ed
.It
Start the kernel running.
The kernel will display boot message,
probe for devices, and mount the root file system.
If you used a kernel hard-wired to use the on-board Ethernet, it will attempt
to mount the root file system automatically.
Otherwise, it will prompt for the root device to use.
.Pp
Since the system's run-time environment has not yet been configured,
the system should boot into single-user mode.
.Pp
.Bd -literal
RedBoot\*[Gt] go

NetBSD/evbarm (IQ80321) booting ...
initarm: Configuring system ...
physmemory: 32768 pages at 0xa0000000 -\*[Gt] 0xa7ffffff
init subsystems: stacks vectors undefined pmap irq done.
[ using 156468 bytes of netbsd ELF symbol table ]
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.5ZC (IQ80321) #1: Thu Mar 28 18:20:34 PST 2002
    root@tgm:/u1/netbsd/src/sys/arch/evbarm/compile/IQ80321
total memory = 128 MB
avail memory = 113 MB
using 1228 buffers containing 6656 KB of memory
mainbus0 (root)
cpu0 at mainbus0: i80321 step A-0 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: 32KB/32B 32-way Instruction cache
cpu0: 32KB/32B 32-way write-back-locking Data cache
obio0 at mainbus0
com0 at obio0 addr 0xfe800000: ns16550a, working fifo
com0: console
iopxs0 at mainbus0: i80321 I/O Processor, acting as PCI host
iopxs0: configuring PCI bus
pci0 at iopxs0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
wm0 at pci0 dev 4 function 0: Intel i82544 1000BASE-T Ethernet, rev. 2
wm0: interrupting at iop321 irq 27
wm0: Ethernet address 00:07:e9:03:38:40
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
clock: hz=100 stathz=0 profhz=0
boot device: \*[Lt]unknown\*[Gt]
root on wm0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_name=iq80321.lab.wasabisystems.com
nfs_boot: my_domain=wasabisystems.com
nfs_boot: my_addr=192.168.0.11
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.254
root on 192.168.0.1:/export/client/iq80321
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for sh:
.Ed
.enum)