summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-09-10 22:35:23 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-09-10 22:35:23 +0200
commitbe7f3fb5e44b3f282a26fa7c6dd50a08677ae069 (patch)
tree4b5a60eccf40827d6a615abdae1178efe7efb944
parent9af11534511370520f3fa03224ac5d367a97908d (diff)
downloadplan9front-be7f3fb5e44b3f282a26fa7c6dd50a08677ae069.tar.xz
rename pcf kernel to pc, remove pcf, pccpuf, pccpu64 kernels, update documentation
there isnt much of a point in keep maintaining separate kernel configurations for terminal and cpu kernels as the role can be switched with service=cpu boot parameter. to make stuff cosistent, we will just have one "pc" kernel and one "pc64" kernel configuration now.
-rwxr-xr-xrc/bin/inst/bootsetup6
-rw-r--r--sys/lib/dist/cfg/plan9.ini2
-rw-r--r--sys/lib/dist/ndb/local.complicated4
-rw-r--r--sys/man/4/tftpfs2
-rw-r--r--sys/man/8/booting8
-rw-r--r--sys/man/8/plan9.ini2
-rw-r--r--sys/man/8/prep2
-rw-r--r--sys/src/9/pc/mkfile5
-rw-r--r--sys/src/9/pc/pc (renamed from sys/src/9/pc/pcf)0
-rw-r--r--sys/src/9/pc/pccpuf152
-rw-r--r--sys/src/9/pc64/pccpu64148
-rw-r--r--sys/src/boot/efi/mkfile8
-rw-r--r--sys/src/boot/pc/mkfile6
13 files changed, 23 insertions, 322 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup
index e3f2a7cca..c08adc346 100755
--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -31,7 +31,7 @@ case go
export 9fat
if(! test -f /tmp/plan9.ini) {
- bootfile=9pcf
+ bootfile=9pc
@{
echo 'bootfile='^$bootfile
echo 'bootargs=local!'^$fs' '$"fsflags
@@ -82,7 +82,7 @@ case go
logprog mount -c /srv/dos /n/9fat $9fat
- logprog rm -f /n/9fat/^(9bootfat plan9.ini 9pcf)
+ logprog rm -f /n/9fat/^(9bootfat plan9.ini 9pc)
logprog cp /n/newfs/386/9bootfat /n/9fat/9bootfat
# make file continous on disk
@@ -92,7 +92,7 @@ case go
logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
# copy kernel
- logprog cp /n/newfs/386/9pcf /n/9fat/9pcf
+ logprog cp /n/newfs/386/9pc /n/9fat/9pc
# copy efi bootloader
logprog mkdir -p /n/9fat/efi/boot
diff --git a/sys/lib/dist/cfg/plan9.ini b/sys/lib/dist/cfg/plan9.ini
index bd7784262..00a68948c 100644
--- a/sys/lib/dist/cfg/plan9.ini
+++ b/sys/lib/dist/cfg/plan9.ini
@@ -3,4 +3,4 @@ cdboot=yes
mouseport=ask
monitor=ask
vgasize=ask
-bootfile=/386/9pcf
+bootfile=/386/9pc
diff --git a/sys/lib/dist/ndb/local.complicated b/sys/lib/dist/ndb/local.complicated
index a85255873..b5a4fa6a1 100644
--- a/sys/lib/dist/ndb/local.complicated
+++ b/sys/lib/dist/ndb/local.complicated
@@ -100,11 +100,11 @@ ipnet=mysubnetwork ip=10.0.1.0 ipmask=255.255.255.0
#
ip=10.0.1.10 ether=0010dc724074 sys=fs
dom=myfileserver.myuniversity.edu
- bootf=/386/9pcfs
+ bootf=/386/9pc
ip=10.0.1.11 ether=0010dc724075 sys=auth
dom=myauthserver.myuniversity.edu
- bootf=/386/9pccpu
+ bootf=/386/9pc
ip=10.0.1.12 ether=0010dc724076 sys=term
dom=myterminal.myuniversity.edu
diff --git a/sys/man/4/tftpfs b/sys/man/4/tftpfs
index 7189f7f95..71cfb1ed6 100644
--- a/sys/man/4/tftpfs
+++ b/sys/man/4/tftpfs
@@ -66,7 +66,7 @@ dot in the kernel path).
.IP
.EX
ip/tftpfs 10.192.254.53
-echo reboot /n/tftp/386/9pcf. >/dev/reboot
+echo reboot /n/tftp/386/9pc. >/dev/reboot
.EE
.SH SOURCE
.B /sys/src/cmd/ip/tftpfs.c
diff --git a/sys/man/8/booting b/sys/man/8/booting
index 34a121b12..ea5a181c8 100644
--- a/sys/man/8/booting
+++ b/sys/man/8/booting
@@ -21,7 +21,7 @@ To bootstrap a diskless terminal or a CPU server, a file server must be running.
On a PC, the
.IR 9boot (8)
program is used to load the kernel
-.B /386/9pcf
+.B /386/9pc
into memory.
.PP
Once the kernel is booted, it behaves like the others.
@@ -32,8 +32,10 @@ for details.
The Plan 9 CPU servers are multi-user, so they do not request a user name
when booting.
.SS PC CPU Server
-Proceed as for the PC terminal, but load
-.B /386/9pccpuf .
+Proceed as for the PC terminal, but have
+.B service=cpu
+set in
+.IR plan9.ini (8).
.SS SGI Challenge multiprocessor CPU Server
The Challenge ROM monitor can boot from the Ethernet.
To boot from the Ethernet, type
diff --git a/sys/man/8/plan9.ini b/sys/man/8/plan9.ini
index deda8a7c0..c0ec52413 100644
--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -949,7 +949,7 @@ modemport=1
serial0=type=generic port=0x3E8 irq=5
monitor=445x
vgasize=1600x1200x8
-bootfile=/386/9pcf
+bootfile=/386/9pc
%
.EE
.SH "SEE ALSO"
diff --git a/sys/man/8/prep b/sys/man/8/prep
index 0042451ed..6059c089a 100644
--- a/sys/man/8/prep
+++ b/sys/man/8/prep
@@ -737,7 +737,7 @@ disk/mbr -m /386/mbr /dev/sdC0/data
disk/fdisk -baw /dev/sdC0/data
disk/prep -bw -a^(9fat nvram fscache fsworm other swap) /dev/sdC0/plan9
disk/format -b /386/pbs -d -r 2 /dev/sdC0/9fat \e
- /386/9bootfat /386/9pcf /tmp/plan9.ini
+ /386/9bootfat /386/9pc /tmp/plan9.ini
.EE
.SH FILES
.TP
diff --git a/sys/src/9/pc/mkfile b/sys/src/9/pc/mkfile
index 51e5d7e4a..7aac934cc 100644
--- a/sys/src/9/pc/mkfile
+++ b/sys/src/9/pc/mkfile
@@ -1,6 +1,5 @@
-CONF=pcf
-CONFLIST=pcf pccpuf
-CRAPLIST=pc pccpu pccd pcflop
+CONF=pc
+CONFLIST=pc pcf pccpuf
EXTRACOPIES=
#EXTRACOPIES=lookout boundary # copy to these servers on install
diff --git a/sys/src/9/pc/pcf b/sys/src/9/pc/pc
index 665b6dd81..665b6dd81 100644
--- a/sys/src/9/pc/pcf
+++ b/sys/src/9/pc/pc
diff --git a/sys/src/9/pc/pccpuf b/sys/src/9/pc/pccpuf
deleted file mode 100644
index 1f1011942..000000000
--- a/sys/src/9/pc/pccpuf
+++ /dev/null
@@ -1,152 +0,0 @@
-# pccpuf - pc cpu server with local disk
-dev
- root
- cons
- arch
- pnp pci
- env
- pipe
- proc
- mnt
- srv
- shr
- dup
- rtc
- ssl
- tls
- bridge log
- sdp thwack unthwack
- cap
- kprof
- fs
-
- ether netif
- ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium ptclbsum386 inferno
-
- draw screen vga vgax swcursor
- mouse mouse
- kbd
- vga
-
- sd
- audio dma
- floppy dma
- aoe
-
- uart
- usb
-
-link
- segdesc
- devpccard
- devi82365
- cputemp
- apm apmjump
- ether2000 ether8390
- ether2114x pci
- ether589 etherelnk3
- ether79c970 pci
- ether8003 ether8390
- ether8139 pci
- ether8169 pci ethermii
- ether82543gc pci
- ether82563 pci
- ether82557 pci
- ether82598 pci
- ether83815 pci
- etherdp83820 pci
- etherbcm pci
- etherec2t ether8390
- etherelnk3 pci
- etherga620 pci
- etherigbe pci ethermii
- ethervgbe pci ethermii
- ethervt6102 pci ethermii
- ethervt6105m pci ethermii
-# etherm10g pci
- ethersink
- ethersmc devi82365 cis
- etheryuk pci
- etherwavelan wavelan devi82365 cis pci
- etheriwl pci wifi
- etherwpi pci wifi
- etherrt2860 pci wifi
- ethervirtio pci
- ethermedium
- netdevmedium
- loopbackmedium
- usbuhci
- usbohci
- usbehci usbehcipc
-
- audiosb16 dma
- audioac97 audioac97mix
- audiohda
-
-misc
- archacpi mp apic squidboy
- archmp mp apic squidboy
- mtrr
- ec
-
- uarti8250
- uartisa
- uartpci pci
-
- sdaoe
- sdide pci sdscsi
- sd53c8xx pci sdscsi
- sdmylex pci sdscsi
- sdiahci pci sdscsi led
- sdodin pci sdscsi led
- sdvirtio pci sdscsi
- sdmmc pci pmmc
- sdnvme pci
- sdloop
-
- vga3dfx +cur
- vgaark2000pv +cur
- vgabt485 =cur
- vgaclgd542x +cur
- vgaclgd546x +cur
- vgact65545 +cur
- vgacyber938x +cur
- vgaet4000 +cur
- vgageode +cur
- vgahiqvideo +cur
- vgai81x +cur
- vgaigfx +cur
- vgamach64xx +cur
- vgamga2164w +cur
- vgamga4xx +cur
- vganeomagic +cur
- vganvidia +cur
- vgaradeon +cur
- vgargb524 =cur
- vgas3 +cur vgasavage
- vgat2r4 +cur
- vgatvp3020 =cur
- vgatvp3026 =cur
- vgavesa
- vgavmware +cur
-
-ip
- tcp
- udp
- ipifc
- icmp
- icmp6
- gre
- ipmux
- esp
- rudp
- il
-
-port
- int cpuserver = 1;
-
-bootdir
- /$objtype/bin/paqfs
- /$objtype/bin/auth/factotum
- bootfs.paq
- boot
diff --git a/sys/src/9/pc64/pccpu64 b/sys/src/9/pc64/pccpu64
deleted file mode 100644
index d9f556499..000000000
--- a/sys/src/9/pc64/pccpu64
+++ /dev/null
@@ -1,148 +0,0 @@
-# pcf - pc terminal with local disk
-dev
- root
- cons
- arch
- pnp pci
- env
- pipe
- proc
- mnt
- srv
- shr
- dup
- rtc
- ssl
- tls
- cap
- kprof
- fs
-
- ether netif
- ip arp chandial ip ipv6 ipaux iproute netlog ethermedium nullmedium pktmedium inferno
-
- draw screen vga vgax swcursor
- mouse mouse
- kbd
- vga
-
- sd
-# floppy dma
- aoe
-# lpt
-
- audio dma
-# pccard
-# i82365 cis
- uart
- usb
-
-link
-# devpccard
-# devi82365
-# cputemp
-# ether2000 ether8390
-# ether2114x pci
-# ether589 etherelnk3
- ether79c970 pci
-# ether8003 ether8390
- ether8139 pci
-# ether8169 pci ethermii
-# should be obsoleted by igbe
-# ether82543gc pci
-# ether82557 pci
- ether82563 pci
-# ether82598 pci
-# ether83815 pci
- etherbcm pci
-# etherdp83820 pci
-# etherec2t ether8390
-# etherelnk3 pci
-# etherga620 pci
- etherigbe pci ethermii
-# ethervgbe pci ethermii
-# ethervt6102 pci ethermii
-# ethervt6105m pci ethermii
-# ethersink
-# ethersmc devi82365 cis
-# etheryuk pci
-# etherwavelan wavelan devi82365 cis pci
- etheriwl pci wifi
-# etherrt2860 pci wifi
- ethervirtio pci
- ethermedium
-# pcmciamodem
- netdevmedium
- loopbackmedium
- usbuhci
-# usbohci
- usbehci usbehcipc
-
-# audiosb16 dma
-# audioac97 audioac97mix
- audiohda
-
-misc
- archacpi mp apic squidboy ec
- archmp mp apic squidboy
- mtrr
-
- sdaoe
- sdide pci sdscsi
-# sd53c8xx pci sdscsi
-# sdmylex pci sdscsi
- sdiahci pci sdscsi led
-# sdodin pci sdscsi led
- sdvirtio pci sdscsi
- sdmmc pci pmmc
- sdloop
-
- uarti8250
-# uartisa
-# uartpci pci
-
-# vga3dfx +cur
-# vgaark2000pv +cur
-# vgabt485 =cur
-# vgaclgd542x +cur
-# vgaclgd546x +cur
-# vgact65545 +cur
-# vgacyber938x +cur
-# vgaet4000 +cur
-# vgageode +cur
-# vgahiqvideo +cur
-# vgai81x +cur
-# vgamach64xx +cur
-# vgamga2164w +cur
-# vgamga4xx +cur
-# vganeomagic +cur
-# vganvidia +cur
-# vgaradeon +cur
-# vgargb524 =cur
-# vgas3 +cur vgasavage
-# vgat2r4 +cur
-# vgatvp3020 =cur
-# vgatvp3026 =cur
- vgavesa
-# vgavmware +cur
-
-ip
- tcp
- udp
- rudp
- ipifc
- icmp
- icmp6
- gre
- ipmux
- esp
- il
-
-port
- int cpuserver = 1;
-
-bootdir
- /$objtype/bin/paqfs
- /$objtype/bin/auth/factotum
- bootfs.paq
- boot
diff --git a/sys/src/boot/efi/mkfile b/sys/src/boot/efi/mkfile
index 89ad24318..b19754d76 100644
--- a/sys/src/boot/efi/mkfile
+++ b/sys/src/boot/efi/mkfile
@@ -79,8 +79,8 @@ test.iso:D: efiboot.fat
mkdir tmp/386
cp efiboot.fat tmp/386
cp /386/9bootiso tmp/386
- cp /386/9pcf tmp/386
- echo 'bootfile=/386/9pcf' >tmp/cfg/plan9.ini
+ cp /386/9pc tmp/386
+ echo 'bootfile=/386/9pc' >tmp/cfg/plan9.ini
disk/mk9660 -B 386/9bootiso -E 386/efiboot.fat -p <{echo +} -s tmp $target
rm -r tmp
@@ -95,8 +95,8 @@ test.fat:D: bootia32.efi bootx64.efi
mkdir /n/esp/efi/boot
cp bootia32.efi /n/esp/efi/boot
cp bootx64.efi /n/esp/efi/boot
- cp /386/9pcf /n/esp
- echo 'bootfile=9pcf' >/n/esp/plan9.ini
+ cp /386/9pc /n/esp
+ echo 'bootfile=9pc' >/n/esp/plan9.ini
unmount /n/esp
rm /srv/$s
diff --git a/sys/src/boot/pc/mkfile b/sys/src/boot/pc/mkfile
index c5b00d246..ae9e90735 100644
--- a/sys/src/boot/pc/mkfile
+++ b/sys/src/boot/pc/mkfile
@@ -62,7 +62,7 @@ test.iso: 9bootiso 9boothyb 9bootfat mbr pbs
mkdir tmp/386
mkdir tmp/cfg
cp 9bootiso tmp/386
- cp /386/9pcf tmp/386
+ cp /386/9pc tmp/386
cp /sys/lib/dist/cfg/plan9.ini tmp/cfg/plan9.ini
echo wait >>tmp/cfg/plan9.ini
disk/mk9660 -B 386/9bootiso -p <{echo +} -s tmp $target
@@ -86,8 +86,8 @@ test.dsk: 9bootfat mbr pbs test.iso
mkdir tmp
cp test.iso 9bootfat tmp
mkdir tmp/386
- cp /386/9pcf tmp/386
- echo 'bootfile=/386/9pcf' >tmp/plan9.ini
+ cp /386/9pc tmp/386
+ echo 'bootfile=/386/9pc' >tmp/plan9.ini
dd -if /dev/zero -of $target -bs 512 -count 32768
disk/partfs -m /n/$target $target
disk=/n/$target/sdXX