Rename almost all occurences of LinuxBIOS to coreboot.

Due to the automatic nature of this update, I am self-acking. It worked in
abuild.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2008-01-18 15:08:58 +00:00
committed by Stefan Reinauer
parent 7e61e45402
commit f8ee1806ac
388 changed files with 1718 additions and 1718 deletions

View File

@@ -6,4 +6,4 @@ I also received help from Christophe Bothamy, Bochs' developer, on all
Boch's bios related issues. Thanks!
I also got tips from Eric W. Biederman, as well as other members of the
LinuxBIOS mailing list.
coreboot mailing list.

View File

@@ -6,7 +6,7 @@ DEVELOPER/HACKING/DESIGN
the bochs mainline.
thus when designing an patch for rombios.c both needs of
linuxbios as well as bochs needed to be taken into
coreboot as well as bochs needed to be taken into
consideration.
- there are motherboard specific code in loader.s. until this issue

View File

@@ -1,4 +1,4 @@
1) Are you familar with LinuxBIOS?
1) Are you familar with coreboot?
no : abort
yes: go to next step.
@@ -41,7 +41,7 @@
make
9) use the resulting elf "payload" file with LinuxBIOS as you would
9) use the resulting elf "payload" file with coreboot as you would
have used any other elf file. For example put it on the same
EERPOM as LinuxBIOS is, or use EtherBOOT to load the payload
EERPOM as coreboot is, or use EtherBOOT to load the payload
file from hdd or network.

View File

@@ -4,7 +4,7 @@ $Id: README,v 1.1 2002/11/25 02:07:53 rminnich Exp $
ADLO
A project to combine LinuxBIOS and BOCHS BIOS to add support
A project to combine coreboot and BOCHS BIOS to add support
for booting legacy applications, such as Microsoft Windows.
==========================================
@@ -12,13 +12,13 @@ ADLO
Boot Overvew:
ADLO requires an boot loader with ELF support.
In our case it is either LinuxBIOS or EtherBOOT.
In our case it is either coreboot or EtherBOOT.
Sample execution paths:
LinuxBIOS -> ADLO -> LILO -> LINUX
coreboot -> ADLO -> LILO -> LINUX
LinuxBIOS -> EtherBOOT -> ADLO -> LILO -> LINUX
coreboot -> EtherBOOT -> ADLO -> LILO -> LINUX
Then it can start any real mode application.
In our case it could be LILO or GRUB, but
@@ -56,7 +56,7 @@ mainteance routines
select device to boot
set memory for Int15/EAX=E820
enable LBA
copy LinuxBIOS table [TODO]
copy coreboot table [TODO]
-shadow :
enable/write/read
-copy:
@@ -177,11 +177,11 @@ Program Headers:
Environment overview
ADLO is an ELF file and thus can be loaded either directly from 1)
LinuxBIOS, or 2) via EtherBOOT, or 3) via EtherBOOT+ AA patch for FS
coreboot, or 2) via EtherBOOT, or 3) via EtherBOOT+ AA patch for FS
support.
1)
Both LinuxBIOS and ADLO are on the same EEPROM chip. From end-user
Both coreboot and ADLO are on the same EEPROM chip. From end-user
viewpoint it is probably the most similar to the bios classic.
(computer boots up and just loads whatever is in MBR).
@@ -201,15 +201,15 @@ Before ADLO starts.
ADLO requires an boot loader with ELF support.
In our case it is:
-LinuxBIOS
-LinuxBIOS and EtherBOOT
-LinuxBIOS and EtherBOOT + AA polled I/O patch (w/ FS support).
-coreboot
-coreboot and EtherBOOT
-coreboot and EtherBOOT + AA polled I/O patch (w/ FS support).
As little as LinuxBIOS only is required to get ADLO
As little as coreboot only is required to get ADLO
up and running.
For development purposes it is recommended full set of
LinuxBIOS + EtherBOOT and boot via DHCP/TFTP.
coreboot + EtherBOOT and boot via DHCP/TFTP.
------------------------------------------

View File

@@ -128,7 +128,7 @@ fix int15 memory functions. (E820, etc)
fix bios to properly handle reboot
setup PIRQ table for P6STMT mbo.
have it extract from linuxbios somehow..
have it extract from coreboot somehow..
find it in ram and copy...
hack gcc to support 16 bit real mode.

View File

@@ -144,7 +144,7 @@
//#define BX_PCIBIOS 1
#define BX_APM 0
#define LINUXBIOS 1
#define COREBOOT 1
#define BX_USE_ATADRV 1
//#define BX_ELTORITO_BOOT 1
@@ -1633,12 +1633,12 @@ ASM_END
//--------------------------------------------------------------------------
// keyboard_init
//--------------------------------------------------------------------------
// this file is based on LinuxBIOS implementation of keyboard.c
// this file is based on coreboot implementation of keyboard.c
// could convert to #asm to gain space
void
keyboard_init()
{
#ifndef LINUXBIOS
#ifndef COREBOOT
Bit16u max;
/* ------------------- Flush buffers ------------------------*/

View File

@@ -9,7 +9,7 @@ nop
;*****************************************************
; A) setup GDT, so that we do not depend on program
; that loaded us for GDT.
; Ex: LinuxBIOS and EtherBOOT use different GDT's.
; Ex: coreboot and EtherBOOT use different GDT's.
;-----------------------------------------------------
; 0)
@@ -90,7 +90,7 @@ rep
nop
nop
;*****************************************************
; X) copy -- LinuxBIOS table into safe place.
; X) copy -- coreboot table into safe place.
;; TODO.
;; Q1 : what is the size of table.
@@ -188,7 +188,7 @@ out 0x71, al
; 119mb = 0x77 00 00 00
; (this is for 128mb of ram)
; (FIXME: this value is currently hard coded)
; (it should be being passed from LinuxBIOS )
; (it should be being passed from coreboot )
; for WinFast 6300
; 07 70 = 0770

View File

@@ -1,8 +1,8 @@
#!/bin/bash
#
# LinuxBIOS autobuild
# coreboot autobuild
#
# This script builds LinuxBIOS images for all available targets.
# This script builds coreboot images for all available targets.
#
# (C) 2004 by Stefan Reinauer <stepan@openbios.org>
# (C) 2006 by coresystems GmbH <info@coresystems.de>
@@ -18,7 +18,7 @@ ABUILD_DATE="October 24, 2006"
ABUILD_VERSION="0.4"
# Where shall we place all the build trees?
TARGET=$( pwd )/linuxbios-builds
TARGET=$( pwd )/coreboot-builds
XMLFILE=$( pwd )/abuild.xml
# path to payload. Should be more generic
@@ -27,7 +27,7 @@ PAYLOAD=/dev/null
# Lines of error context to be printed in FAILURE case
CONTEXT=5
TESTSUBMISSION="http://qa.linuxbios.org/deployment/send.php"
TESTSUBMISSION="http://qa.coreboot.org/deployment/send.php"
# One might want to adjust these in case of cross compiling
MAKE="make"
@@ -143,25 +143,25 @@ EOF
romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
option COREBOOT_EXTRA_VERSION=".0-normal"
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
option COREBOOT_EXTRA_VERSION=".0-fallback"
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"
EOF
else
cat <<EOF
romimage "only"
option LINUXBIOS_EXTRA_VERSION=".0"
option COREBOOT_EXTRA_VERSION=".0"
payload __PAYLOAD__
end
buildrom ./linuxbios.rom ROM_SIZE "only"
buildrom ./coreboot.rom ROM_SIZE "only"
EOF
fi
) > $TARGET/Config-${VENDOR}_${MAINBOARD}.lb
@@ -403,7 +403,7 @@ function test_target
fi
# image does not exist. we silently skip the patch.
if [ ! -r "$TARGET/${VENDOR}_${MAINBOARD}/linuxbios.rom" ]; then
if [ ! -r "$TARGET/${VENDOR}_${MAINBOARD}/coreboot.rom" ]; then
return 0
fi
@@ -422,9 +422,9 @@ function test_target
printf "Submitting image for board $VENDOR $MAINBOARD to test system...\n"
curl -f -F "romfile=@$TARGET/${VENDOR}_${MAINBOARD}/linuxbios.rom" \
curl -f -F "romfile=@$TARGET/${VENDOR}_${MAINBOARD}/coreboot.rom" \
-F "mode=abuild" -F "mainboard=${VENDOR}_${MAINBOARD}" -F "submit=Upload" \
"http://qa.linuxbios.org/deployment/send.php"
"http://qa.coreboot.org/deployment/send.php"
printf "\n"
return 0
@@ -447,7 +447,7 @@ function myhelp
printf " [-x|--xml] write xml log file \n"
printf " (defaults to $XMLFILE)\n"
printf " [-T|--test] submit image(s) to automated test system\n"
printf " [lbroot] absolute path to LinuxBIOS sources\n"
printf " [lbroot] absolute path to coreboot sources\n"
printf " (defaults to $LBROOT)\n\n"
}
@@ -455,10 +455,10 @@ function myversion
{
cat << EOF
LinuxBIOS autobuild v$ABUILD_VERSION ($ABUILD_DATE)
coreboot autobuild v$ABUILD_VERSION ($ABUILD_DATE)
Copyright (C) 2004 by Stefan Reinauer <stepan@openbios.org>
Copyright (C) 2006 by coresystems GmbH <info@coresystems.de>
Copyright (C) 2006-2008 by coresystems GmbH <info@coresystems.de>
This program is free software; you may redistribute it under the terms
of the GNU General Public License. This program has absolutely no

View File

@@ -1,25 +1,25 @@
.TH ABUILD 1 "October 24, 2006"
.SH NAME
abuild \- build LinuxBIOS images for all available targets
abuild \- build coreboot images for all available targets
.SH SYNOPSIS
.B abuild
\fR[\fB\-abxVh\fR] [\fB\-t\fR vendor/board] [\fB\-p\fR dir]
[LBROOT]
.SH DESCRIPTION
.B abuild
is a utility used to easily build LinuxBIOS images for all available targets.
is a utility used to easily build coreboot images for all available targets.
.SH OPTIONS
The
.B "[LBROOT]"
parameter tells
.B abuild
where the root directory of the LinuxBIOS build tree resides. Per default
where the root directory of the coreboot build tree resides. Per default
this is
.B "../.."
as the
.B abuild
script resides in
.BR "[LBROOT]/utils/abuild" .
.BR "[CBROOT]/utils/abuild" .
.TP
.B "\-a, \-\-all"
Build previously succeeded ports as well.
@@ -45,7 +45,7 @@ and will be created in the current directory.
.B "\-T, \-\-test"
Submit generated image(s) to the automated test system.
The results of the tests will be made available at
.B http://qa.linuxbios.org/log_manual.php
.B http://qa.coreboot.org/log_manual.php
.TP
.B "\-v, \-\-verbose"
More verbose output.
@@ -56,7 +56,7 @@ Show a help text and exit.
.B "\-V, \-\-version"
Show version information and exit.
.SH BUGS
Please report any bugs at http://tracker.linuxbios.org/.
Please report any bugs at http://tracker.coreboot.org/.
.SH LICENCE
.B abuild
is covered by the GNU General Public License (GPL), version 2 or later.

View File

@@ -1,4 +1,4 @@
# LinuxBIOS codebase analysis tool
# Coreboot codebase analysis tool
#
# This makefile collects source usage information for all working targets.
#
@@ -38,7 +38,7 @@ analysis: analysis.dat
analysis.dat: analysis.txt
@ echo Writing gnuplot data file \($@\).
@ echo -e > $@ "# gnuplot dataset auto-generated $(shell date)" \
"\nset title \"LinuxBIOS Codebase Analysis\"" \
"\nset title \"Coreboot Codebase Analysis\"" \
"\nset style data boxes" \
"\nset style fill solid .5" \
$(foreach target, $(TARGETS), "\n"set label \"$(target)\" at $(words $(labels))$(eval labels += $(target)),-145 rotate front) \

View File

@@ -20,7 +20,7 @@
void usage()
{
fprintf(stderr, "Usage: buildrom <input> <output> <payload> ");
fprintf(stderr, " <linuxbios-size> <total-size>\n");
fprintf(stderr, " <coreboot-size> <total-size>\n");
exit(1);
}
@@ -57,22 +57,22 @@ int main(int argc, char *argv[])
if (fstat(infd, &inbuf) < 0)
fatal("stat of infile");
if (inbuf.st_size > size) {
fprintf(stderr, "linuxbios image is %d bytes; only %d allowed\n",
fprintf(stderr, "coreboot image is %d bytes; only %d allowed\n",
(int)inbuf.st_size, size);
fatal("Linuxbios input file larger than allowed size!\n");
fatal("Coreboot input file larger than allowed size!\n");
}
if (fstat(payloadfd, &payloadbuf) < 0)
fatal("stat of infile");
if (payloadbuf.st_size > (romsize - size)){
fprintf(stderr, "ERROR: payload (%d) + linuxbios (%d) - Size is %d bytes larger than ROM size (%d).\n",
fprintf(stderr, "ERROR: payload (%d) + coreboot (%d) - Size is %d bytes larger than ROM size (%d).\n",
payloadbuf.st_size, size,
payloadbuf.st_size+size-romsize,
romsize);
exit(1);
}
printf("Payload: %d LinuxBIOS: %d ROM size: %d Left space: %d\n",
printf("Payload: %d coreboot: %d ROM size: %d Left space: %d\n",
payloadbuf.st_size, size, romsize,
romsize-payloadbuf.st_size-size);

View File

@@ -1,7 +1,7 @@
lbtdump is a utility to dump the LinuxBIOS table
lbtdump is a utility to dump the coreboot table
to a human readable form.
This needs to be run as root (or setuid) on a system
running LinuxBIOS.
running coreboot.

View File

@@ -94,7 +94,7 @@ struct lb_header *find_lb_table(void *base, unsigned long start, unsigned long e
head->table_checksum);
continue;
}
fprintf(stdout, "Found LinuxBIOS table at: %08lx\n", addr);
fprintf(stdout, "Found coreboot table at: %08lx\n", addr);
return head;
};
@@ -303,7 +303,7 @@ void print_lb_table(struct lb_header *head, unsigned long addr)
rec = (struct lb_record *)(((char *)head) + head->header_bytes);
last = (struct lb_record *)(((char *)rec) + head->table_bytes);
printf("LinuxBIOS header(%d) checksum: %04x table(%d) checksum: %04x entries: %d\n",
printf("Coreboot header(%d) checksum: %04x table(%d) checksum: %04x entries: %d\n",
head->header_bytes, head->header_checksum,
head->table_bytes, head->table_checksum, head->table_entries);
print_lb_records(rec, last, addr + head->header_bytes);

View File

@@ -200,7 +200,7 @@ def safe_open(file, mode):
# -----------------------------------------------------------------------------
class romimage:
"""A rom image is the ultimate goal of linuxbios"""
"""A rom image is the ultimate goal of coreboot"""
def __init__ (self, name):
# name of this rom image
self.name = name
@@ -1995,7 +1995,7 @@ def writeimagemakefile(image):
writemakefileheader(file, makefilepath)
# main rule
file.write("\nall: linuxbios.rom\n\n")
file.write("\nall: coreboot.rom\n\n")
file.write(".PHONY: all\n\n")
#file.write("include cpuflags\n")
# Putting "include cpuflags" in the Makefile has the problem that the
@@ -2122,7 +2122,7 @@ def writeimagemakefile(image):
for genfile in ['Makefile',
'nsuperio.c',
'static.c',
'LinuxBIOSDoc.config' ]:
'corebootDoc.config' ]:
file.write("GENERATED += %s\n" % genfile)
file.write("GENERATED += %s\n" % image.getincludefilename())
@@ -2156,9 +2156,9 @@ def writemakefile(path):
file.write("\n\n")
file.write("include Makefile.settings\n\n")
for i, o in romimages.items():
file.write("%s/linuxbios.rom:\n" % o.getname())
file.write("%s/coreboot.rom:\n" % o.getname())
file.write("\tif (cd %s; \\\n" % o.getname())
file.write("\t\tmake linuxbios.rom)\\\n")
file.write("\t\tmake coreboot.rom)\\\n")
file.write("\tthen true; else exit 1; fi;\n\n")
file.write("clean: ")
for i in romimages.keys():
@@ -2171,11 +2171,11 @@ def writemakefile(path):
for i in buildroms:
file.write("%s:" % i.name)
for j in i.roms:
file.write(" %s/linuxbios.rom " % j)
file.write(" %s/coreboot.rom " % j)
file.write("\n")
file.write("\t cat ")
for j in i.roms:
file.write(" %s/linuxbios.rom " % j)
file.write(" %s/coreboot.rom " % j)
file.write("> %s\n\n" %i.name)
@@ -2183,7 +2183,7 @@ def writemakefile(path):
for i in romimages.keys():
file.write(" %s-clean" % i)
for i, o in romimages.items():
file.write(" %s/linuxbios.rom" % o.getname())
file.write(" %s/coreboot.rom" % o.getname())
file.write("\n\n")
writemakefilefooter(file, makefilepath)
@@ -2304,7 +2304,7 @@ def verifyparse():
if __name__=='__main__':
from sys import argv
if (len(argv) < 3):
fatal("Args: <file> <path to linuxbios>")
fatal("Args: <file> <path to coreboot>")
top_config_file = os.path.abspath(sys.argv[1])

View File

@@ -25,7 +25,7 @@
indent="yes" />
<xsl:template match="/">
This is an automatically generated list of '''LinuxBIOS compile-time options'''.
This is an automatically generated list of '''coreboot compile-time options'''.
Last update: <xsl:value-of select="//creationdate"/>.

View File

@@ -43,11 +43,11 @@
<xsl:template match="/">
<html>
<head>
<title>LinuxBIOS Options</title>
<title>Coreboot Options</title>
</head>
<body>
<h2>LinuxBIOS Options</h2>
<p>This is an automatically generated list of LinuxBIOS compile time
<h2>Coreboot Options</h2>
<p>This is an automatically generated list of coreboot compile time
options. Created at <xsl:value-of select="//creationdate"/>.</p>
<table border="1">
<tr bgcolor="#0975a7">

View File

@@ -1,4 +1,4 @@
I would like to contribute the following to the LinuxBIOS wiki in case
I would like to contribute the following to the coreboot wiki in case
it's useable:
1. I have written a rather small Python script to convert the Options.lb

View File

@@ -106,7 +106,7 @@ def main():
input = prepInput(input)
output = parseInput(input)
print "mkOptionList.py: LinuxBIOS option list generator"
print "mkOptionList.py: coreboot option list generator"
print " input file : ", inFilename
print " output file: ", outFilename

View File

@@ -10,8 +10,8 @@ romcc \- compile C programs into binaries that don't use any RAM
is a C compiler which produces binaries which do not rely on RAM, but
instead only use CPU registers.
.PP
It is prominently used in the LinuxBIOS project to compile C code which
needs to run before the (Linux)BIOS has initialized the RAM, but can be
It is prominently used in the coreboot project to compile C code which
needs to run before the firmware has initialized the RAM, but can be
used for other purposes, too.
.SH OPTIONS
.TP