Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 10:36:13 -0700 (PDT)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        freebsd-hackers@freebsd.org
Subject:   Netboot FreeBSD on Apple Airport (port format)
Message-ID:  <200104231736.f3NHaDS15276@ambrisko.com>

next in thread | raw e-mail | index | archive | help
I put together a port version of the code to boot FreeBSD on an Airport
base station.  I haven't polished it but it produces a functional
image.  Some code should be converted from nasm to gas but I just
haven't had time to mess with that hopefully some else might.

There is code to netboot over a Wavelan card but I haven't integrated that
or included it in the port.  Instead it is in raw.tgz.

Till Straumann (Till.Straumann@TU-Berlin.de) did most of the work and I 
made is support FreeBSD.

The code is at:
	http://www.ambrisko.com/doug/airport/

Please grab it and polish it.

Thanks,

Doug A.

Hello, this is TillLoad, Copyright <Till.Straumann@TU-Berlin.de>, 2001 (GPL) (Basemem: 0x027F00)
run <E>therboot or <A>irport? >E
================================================================================
ROM segment 0x8000 length 0x40EA reloc 0x9800
Boot from (N)etwork or from (L)ocal? N
Etherboot/32 version 4.6.12 (GPL) for [NE2100]
Probing...[NE2100]
PCnet/ISA+ 79C961A base 0x0300, DMA 5, addr 00:30:65:3A:59:5F
Searching for server (DHCP)...
Me: 192.168.2.194, Server: 192.168.2.254, Gateway 192.168.2.254
Loading /tftpboot/kernel.bsd (ELF/FreeBSD)0680-
================================================================================
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.3-BETA #9: Wed Mar 21 15:41:11 PST 2001
root@770z.whistle.com:/usr/src/sys/compile/AIRPORT
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Unknown (486-class CPU)
Origin = "AuthenticAMD"  Id = 0x4a4  Stepping = 4
Features=0x0
real memory  = 4194304 (4096K bytes)
avail memory = 1998848 (1952K bytes)
Preloaded elf kernel "kernel" at 0xc025bb00.
npx0: <math processor> on motherboard
npx0: 387 emulator
isa0: <ISA bus> on motherboard
pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0
sio0: type 16550A, console
lnc0 at port 0x300-0x317 iomem 0xd0000-0xdffff irq 10 on isa0
lnc0: PCnet-ISA II address 00:30:65:3a:59:5f
lnc0: driver is using old-style compatability shims
RTC BIOS diagnostic error e4<clock_battery,ROM_cksum,config_unit,invalid_time>
pccard: card inserted, slot 0
Sending DHCP Discover packet from interface lnc0 (00:30:65:3a:59:5f)
Received DHCP Offer packet on lnc0 from 192.168.2.254 (accepted) (no root path)
Sending DHCP Request packet from interface lnc0 (00:30:65:3a:59:5f)
Received DHCP Ack packet on lnc0 from 192.168.2.254 (accepted) (got root path)
lnc0 at 192.168.2.194 server 192.168.2.254 boot file /tftpboot/kernel.bsd
router 192.168.2.254 rootfs 192.168.2.254:/usr/home/ambrisko/netboot swapfs 192.168.2.254:/usr/work/netboot 
Adjusted interface lnc0
md_lookup_swap: Swap size is 262144 KB
Mounting root from nfs:
NFS ROOT: 192.168.2.254:/usr/home/ambrisko/netboot
NFS SWAP: 192.168.2.254:/usr/work/ij3/netboot
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 5 slot 0 on pccard0
wi0: Ethernet address: 00:02:2d:09:4b:f2
pccardd[40]: Assigning I/O window 0, start 0x240, size 0x40 flags 0x5 
pccardd[40]: Assign wi0, io 0x240-0x27f, mem 0x0, 0 bytes, irq 5, flags 0 
pccardd[40]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted.
dhclient: New IP Address(wi0): 207.76.207.134
dhclient: New Subnet Mask (wi0): 255.255.255.0
dhclient: New Broadcast Address(wi0): 207.76.207.255
dhclient: New Routers: 207.76.207.254
pccardd[40]: pccardd started
login: ROOT LOGIN (root) ON ttyp0 FROM crab
login: ROOT LOGIN (root) ON ttyp1 FROM 207.76.207.135

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104231736.f3NHaDS15276>