Freebsd - PC Engines WRAP User Manual

Router platform
Table of Contents

Advertisement

FreeBSD

A ready-to-boot firewall configuration is available at http://www.m0n0.ch/wall/
The default FreeBSD boot sector expects a keyboard controller to be present. This will hang on the
WRAP board.
Modify src/sys/boot/i386/boot2/boot1.s to skip this routine (e.g. patch in a ret instruction).
//
// Enable A20 so we can access memory above 1 meg.
//
seta20:
cli
seta20.1: inb $0x64,%al
testb $0x2,%al
jnz seta20.1
movb $0xd1,%al
outb %al,$0x64
seta20.2: inb $0x64,%al
testb $0x2,%al
jnz seta20.2
movb $0xdf,%al
outb %al,$0x60
sti
retw
(courtesy
of
Larry
sys/i386/i386/vm_machdep.c will allow a WRAP board to reboot when running freeBSD:
outl( 0xCF8, 0x80009044UL );
outb( 0xCFC, 0x0F );
WRAP support is included in FreeBSD release 5.3 – disable KBD and VGA and recompile the
kernel.
WRAP router platform
// Disable interrupts
// Get status
// Busy?
// Yes
// Command: Write
//
// Get status
// Busy?
// Yes
// Enable
//
// Enable interrupts
// To caller
Baird)
The
following
// reset control (SC1100 data
// sheet, page 170
// system wide reset
13
output port
A20
lines
added
to
cpu_reset_real()
2/13/2007
in

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wrap.1cWrap.1dWrap.1eWrap.2bWrap.2cWrap.2d ... Show all

Table of Contents