1. I have written a rather small python script to convert the Options.lb to a XML file which is much more useable for the web in most cases.
2. I have written a XSLT to convert the XML file to (X)HTML to be able to present it as a table.
3. I have attached this plus an already converted version to this mail. It could (your decision of course) be used as the "Configuration Options" page in the wiki or be a placeholder for the upcoming work so people have at least something to look at for now.
------------------------------
Florob
<?xml version="1.0"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:choose>
<xsl:when test="system-property('xsl:vendor')='Transformiix'">
<xsl:output method="html"
doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
encoding="utf-8"
indent="yes" />
</xsl:when>
<xsl:otherwise>
<xsl:output method="xhtml"
doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
encoding="utf-8"
indent="yes" />
</xsl:otherwise>
</xsl:choose>
<xsl:template match="/">
<html>
<head>
<title>LinuxBIOS Options</title>
</head>
<body>
<h2>LinuxBIOS Options</h2>
<table border="1">
<tr bgcolor="#0975a7">
<th align="left">Option</th>
<th align="left">Comment</th>
<th align="left">Default</th>
<th align="left">Export</th>
<th align="left">Format</th>
</tr>
<xsl:for-each select="options/option">
<tr>
<td><xsl:value-of select="@name"/></td>
<td><xsl:value-of select="comment"/></td>
<td><xsl:value-of select="default"/></td>
<td><xsl:value-of select="export"/></td>
<td><xsl:value-of select="format"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
def xmlString(string):
for i in range(len(string)-1):
if string[i] == "&":
string = string[:i] + "&" + string[i+1:]
if string[i] == "<":
string = string[:i] + "<" + string[i+1:]
if string[i] == ">":
string = string[:i] + ">" + string[i+1:]
return string
def openInfile(filename):
"getting the input from the inputfile (e.g. Options.lb)"
infile = open(filename, "r")
infile.seek(0)
input = infile.readlines()
infile.close()
return input
def prepInput(input):
"preparing the input for parsing (not really neccessary, but makes
things simpler and doesnt take too long)"
i = -1
while True:
i += 1
if i >= len(input): break
if input[i] == ("" or "\n"):
input.pop(i)
if input[i][0:1] == "\t":
input[i] = input[i][1:]
i = -1
return input
def parseInput(input):
"parse the output"
output = ""
for line in input:
line = xmlString(line)
if line[:6] == "define":
output = output + '<option name="' + line[7:-1] + '">'
+ "\n"
elif line[:3] == "end":
output = output + '</option>' + "\n\n"
elif line[:7] == "default":
output = output + '<default>' + line[8:-1] +
'</default>' + "\n"
elif line[:6] == "format":
output = output + '<format>' + line[7:-1] + '</format>'
+ "\n"
elif line[:6] == "export":
output = output + '<export>' + line[7:-1] + '</export>'
+ "\n"
elif line[:7] == "comment":
output = output + '<comment>' + line[8:-1] +
'</comment>' + "\n"
return output
def parseArgv():
"parse the given arguments"
import sys
In = Out = False
if len(sys.argv) >= 2:
if sys.argv[1] == ("-h" or "--help"):
print "Syntax: mkOptionList.py [infile] [outfile]"
else:
In = True
inFilename = sys.argv[1]
if len(sys.argv) >= 3:
if sys.argv[2] == ("-h" or "--help"):
print "Syntax: mkOptionList.py [infile] [outfile]"
else:
Out = True
outFilename = sys.argv[2]
if In and not Out:
return inFilename
elif In and Out:
return inFilename, outFilename
def main():
if not parseArgv():
inFilename = "Options.lb"
outFilename = "Options.xml"
else:
inFilename, outFilename = parseArgv()
input = openInfile(inFilename)
input = prepInput(input)
output = parseInput(input)
#opening the output file
outfile = open(outFilename, "w", 0)
#write the beginning of the XML to the output file
outfile.write('<?xml version="1.0"?>')
outfile.write("\n")
outfile.write('<?xml-stylesheet type="text/xsl" href="Options.xsl"?>')
outfile.write("\n")
outfile.write('<options>')
outfile.write("\n")
#write the parsed file to the output file
outfile.write(output)
#write closing tags to the output file and close it
outfile.write('</options>')
outfile.write("\n")
outfile.flush()
outfile.close()
print "Done!"
if __name__ == "__main__":
main()
Title: LinuxBIOS Options
LinuxBIOS Options
| Option | Comment | Default | Export | Format |
|---|---|---|---|---|
| ARCH | "Default architecture is i386, options are alpha and ppc" | "i386" | always | |
| HAVE_MOVNTI | "This cpu supports the MOVNTI directive" | 0 | always | |
| CROSS_COMPILE | "Cross compiler prefix" | "" | always | |
| CC | "Target C Compiler" | "$(CROSS_COMPILE)gcc" | always | |
| HOSTCC | "Host C Compiler" | "gcc" | always | |
| CPU_OPT | "Additional per-cpu CFLAGS" | none | used | |
| OBJCOPY | "Objcopy command" | "$(CROSS_COMPILE)objcopy" | always | |
| LINUXBIOS_VERSION | "LinuxBIOS version" | "1.1.7" | always | "\"%s\"" |
| LINUXBIOS_EXTRA_VERSION | "\"%s\"" | |||
| LINUXBIOS_BUILD | "Build date" | "$(shell date)" | always | "\"%s\"" |
| LINUXBIOS_COMPILE_TIME | "Build time" | "$(shell date +%T)" | always | "\"%s\"" |
| LINUXBIOS_COMPILE_BY | "Who build this image" | "$(shell whoami)" | always | "\"%s\"" |
| LINUXBIOS_COMPILE_HOST | "Build host" | "$(shell hostname)" | always | "\"%s\"" |
| LINUXBIOS_COMPILE_DOMAIN | "Build domain name" | "$(shell dnsdomainname)" | always | "\"%s\"" |
| LINUXBIOS_COMPILER | "Build compiler" | "$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n 1)" | always | "\"%s\"" |
| LINUXBIOS_LINKER | "Build linker" | "$(shell $(CC) -Wl,-v 2>&1 | grep version | tail -n 1)" | always | "\"%s\"" |
| LINUXBIOS_ASSEMBLER | "Build assembler" | "$(shell touch dummy.s ; $(CC) -c -Wa,-v dummy.s 2>&1; rm -f dummy.s dummy.o )" | always | "\"%s\"" |
| CONFIG_CHIP_CONFIGURE | "Use new chip_configure method for configuring (non-pci) devices" | 0 | used | |
| CONFIG_USE_INIT | "Use stage 1 initialization code" | 0 | used | |
| HAVE_FALLBACK_BOOT | "Set if fallback booting required" | 0 | always | "%d" |
| USE_FALLBACK_IMAGE | "Set to build a fallback image" | 0 | used | "%d" |
| FALLBACK_SIZE | "Default fallback image size" | 65536 | used | "0x%x" |
| ROM_SIZE | "Size of your ROM" | none | used | "0x%x" |
| ROM_IMAGE_SIZE | "Default image size" | 65535 | always | "0x%x" |
| ROM_SECTION_SIZE | "Default rom section size" | {FALLBACK_SIZE} | used | "0x%x" |
| ROM_SECTION_OFFSET | "Default rom section offset" | {ROM_SIZE - FALLBACK_SIZE} | used | "0x%x" |
| PAYLOAD_SIZE | "Default payload size" | {ROM_SECTION_SIZE - ROM_IMAGE_SIZE} | always | "0x%x" |
| _ROMBASE | "Base address of LinuxBIOS in ROM" | {PAYLOAD_SIZE} | always | "0x%x" |
| _ROMSTART | "Start address of LinuxBIOS in ROM" | none | used | "0x%x" |
| _RESET | "Hardware reset vector address" | {_ROMBASE} | always | "0x%x" |
| _EXCEPTION_VECTORS | "Address of exception vector table" | {_ROMBASE+0x100} | always | "0x%x" |
| STACK_SIZE | "Default stack size" | 0x2000 | always | "0x%x" |
| HEAP_SIZE | "Default heap size" | 0x2000 | always | "0x%x" |
| _RAMBASE | "Base address of LinuxBIOS in RAM" | none | always | "0x%x" |
| _RAMSTART | "Start address of LinuxBIOS in RAM" | none | used | "0x%x" |
| USE_DCACHE_RAM | "Use data cache as temporary RAM if possible" | 0 | used | |
| DCACHE_RAM_BASE | "Base address of data cache when using it for temporary RAM" | none | used | "0x%x" |
| DCACHE_RAM_SIZE | "Size of data cache when using it for temporary RAM" | none | used | "0x%x" |
| XIP_ROM_BASE | "Start address of area to cache during LinuxBIOS execution directly from ROM" | 0 | used | "0x%x" |
| XIP_ROM_SIZE | "Size of area to cache during LinuxBIOS execution directly from ROM" | 0 | used | "0x%x" |
| CONFIG_COMPRESS | "Set for compressed image" | 1 | always | |
| CONFIG_UNCOMPRESSED | "Set for uncompressed image" | {!CONFIG_COMPRESS} | always | "%d" |
| CONFIG_LB_MEM_TOPK | "Kilobytes of memory to initialized before executing code from RAM" | 1024 | always | "%d" |
| HAVE_OPTION_TABLE | "Export CMOS option table" | 0 | always | |
| USE_OPTION_TABLE | "Use option table" | {HAVE_OPTION_TABLE && !USE_FALLBACK_IMAGE} | always | "%d" |
| LB_CKS_RANGE_START | "First CMOS byte to use for LinuxBIOS options" | 49 | always | "%d" |
| LB_CKS_RANGE_END | "Last CMOS byte to use for LinuxBIOS options" | 125 | always | "%d" |
| LB_CKS_LOC | "Pair of bytes to use for CMOS checksum" | 126 | always | "%d" |
| CRT0 | "Main initialization target" | "$(TOP)/src/arch/$(ARCH)/init/crt0.S.lb" | always | |
| DEBUG | "Enable debugging code" | 1 | always | |
| CONFIG_CONSOLE_VGA | "Log messages to VGA" | 0 | always | |
| CONFIG_CONSOLE_BTEXT | ||||
| CONFIG_CONSOLE_LOGBUF | "Log messages to buffer" | 0 | always | |
| CONFIG_CONSOLE_SROM | "Log messages to SROM console" | 0 | always | |
| CONFIG_CONSOLE_SERIAL8250 | "Log messages to 8250 uart based serial console" | 0 | always | |
| DEFAULT_CONSOLE_LOGLEVEL | "Console will log at this level unless changed" | 7 | always | |
| MAXIMUM_CONSOLE_LOGLEVEL | 8 | always | ||
| CONFIG_SERIAL_POST | "Enable SERIAL POST codes" | 0 | always | |
| NO_POST | "Disable POST codes" | none | used | |
| TTYS0_BASE | "Base address for 8250 uart for the serial console" | 0x3f8 | always | "0x%x" |
| TTYS0_BAUD | "Default baud rate for serial console" | 115200 | always | |
| TTYS0_DIV | "Allow UART divisor to be set explicitly" | none | used | "%d" |
| TTYS0_LCS | "Default flow control settings for the 8250 serial console uart" | 0x3 | always | "0x%x" |
| MAINBOARD | "Mainboard name" | "Mainboard_not_set" | always | |
| MAINBOARD_PART_NUMBER | "Part number of mainboard" | "Part_number_not_set" | always | "\"%s\"" |
| MAINBOARD_VENDOR | "Vendor of mainboard" | "Vendor_not_set" | always | "\"%s\"" |
| MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID | "PCI Vendor ID of mainboard manufacturer" | 0 | always | |
| MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID | "PCI susbsystem device id assigned my mainboard manufacturer" | 0 | always | "0x%x" |
| MAINBOARD_POWER_ON_AFTER_POWER_FAIL | "Default power on after power fail setting" | none | used | |
| CONFIG_SYS_CLK_FREQ | "System clock frequency in MHz" | none | used | |
| CONFIG_LEGACY_VGABIOS | "Support for legacy VGA BIOS" | 0 | used | |
| VGABIOS_START | "Base of Legacy VGA in Rom" | 0 | used | |
| CONFIG_SMP | "Define if we support SMP" | 0 | always | |
| CONFIG_MAX_CPUS | ||||
| CONFIG_LOGICAL_CPUS | "Should multiple cpus per die be enabled?" | 0 | always | |
| HAVE_MP_TABLE | "Define to build an MP table" | none | used | |
| CONFIG_IDE_STREAM | "Boot from IDE device" | 0 | always | |
| CONFIG_ROM_STREAM | "Boot image is located in ROM" | 0 | always | |
| CONFIG_ROM_STREAM_START | "ROM stream start location" | {0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1} | always | "0x%x" |
| CONFIG_FS_STREAM | "Boot from a filesystem" | 0 | always | |
| CONFIG_FS_EXT2 | "Enable ext2 filesystem support" | 0 | always | |
| CONFIG_FS_ISO9660 | "Enable ISO9660 filesystem support" | 0 | always | |
| CONFIG_FS_FAT | "Enable FAT filesystem support" | 0 | always | |
| AUTOBOOT_DELAY | "Delay (in seconds) before autobooting" | 2 | always | |
| AUTOBOOT_CMDLINE | "Default command line when autobooting" | "hdc1:/vmlinuz root=/dev/hdc3 console=tty0 console=ttyS0,115200" | always | "\"%s\"" |
| HAVE_PIRQ_TABLE | "Define if we have a PIRQ table" | none | used | |
| IRQ_SLOT_COUNT | "Number of IRQ slots" | none | used | |
| CONFIG_PCIBIOS_IRQ | "PCIBIOS IRQ support" | none | used | |
| CONFIG_IOAPIC | "IOAPIC support" | none | used | |
| CONFIG_IDE | "Define to include IDE support" | 0 | always | |
| IDE_BOOT_DRIVE | "Disk number of boot drive" | 0 | always | |
| IDE_SWAB | "Swap bytes when reading from IDE device" | none | used | |
| IDE_OFFSET | "Sector at which to start searching for boot image" | 0 | always | |
| PCIC0_CFGADDR | "Address of PCI Configuration Address Register" | none | used | "0x%x" |
| PCIC0_CFGDATA | "Address of PCI Configuration Data Register" | none | used | "0x%x" |
| ISA_IO_BASE | "Base address of PCI/ISA I/O address range" | none | used | "0x%x" |
| ISA_MEM_BASE | "Base address of PCI/ISA memory address range" | none | used | "0x%x" |
| PNP_CFGADDR | "PNP Configuration Address Register offset" | none | used | "0x%x" |
| PNP_CFGDATA | "PNP Configuration Data Register offset" | none | used | "0x%x" |
| _IO_BASE | "Base address of memory mapped I/O operations" | none | used | "0x%x" |
| EMBEDDED_RAM_SIZE | "Embedded boards generally have fixed RAM size" | none | used | |
| CONFIG_CHIP_NAME | "Compile in the chip name" | 0 | always | |
| CONFIG_GDB_STUB | "Compile in gdb stub support?" | 0 | used | |
| HAVE_INIT_TIMER | "Have a init_timer function" | 0 | always | |
| HAVE_HARD_RESET | "Have hard reset" | none | used | |
| HARD_RESET_BUS | "Bus number of southbridge device doing reset" | 1 | always | |
| HARD_RESET_DEVICE | "Device number of southbridge device doing reset" | 5 | always | |
| HARD_RESET_FUNCTION | "Function number of southbridge device doing reset" | 0 | always | |
| MEMORY_HOLE | "Set to deal with memory hole" | none | used | |
| MAX_REBOOT_CNT | "Set maximum reboots" | 3 | always | |
| CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 | "Use timer2 to callibrate the x86 time stamp counter" | 0 | used | |
| INTEL_PPRO_MTRR | "" | none | used | |
| CONFIG_UDELAY_TSC | "Implement udelay with the x86 time stamp counter" | 0 | used | |
| FAKE_SPDROM | "Use this to fake spd rom values" | 0 | always | |
| HAVE_ACPI_TABLES | "Define to build ACPI tables" | 0 | always | |
| AGP_APERTURE_SIZE | "AGP graphics virtual memory aperture size" | none | used | "0x%x" |
| CONFIG_PCI_ROM_RUN | ||||
| CONFIG_SANDPOINT_ALTIMUS | "Configure Sandpoint with Altimus PMC" | 0 | never | |
| CONFIG_SANDPOINT_TALUS | "Configure Sandpoint with Talus PMC" | 0 | never | |
| CONFIG_SANDPOINT_UNITY | "Configure Sandpoint with Unity PMC" | 0 | never | |
| CONFIG_SANDPOINT_VALIS | "Configure Sandpoint with Valis PMC" | 0 | never | |
| CONFIG_SANDPOINT_GYRUS | "Configure Sandpoint with Gyrus PMC" | 0 | never | |
| CONFIG_BRIQ_750FX | "Configure briQ with PowerPC 750FX" | 0 | never | |
| CONFIG_BRIQ_7400 | "Configure briQ with PowerPC G4" | 0 | never |
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="Options.xsl"?>
<options>
<option name="ARCH">
<default>"i386"</default>
<export>always</export>
<comment>"Default architecture is i386, options are alpha and ppc"</comment>
</option>
<option name="HAVE_MOVNTI">
<default>0</default>
<export>always</export>
<comment>"This cpu supports the MOVNTI directive"</comment>
</option>
<option name="CROSS_COMPILE">
<default>""</default>
<export>always</export>
<comment>"Cross compiler prefix"</comment>
</option>
<option name="CC">
<default>"$(CROSS_COMPILE)gcc"</default>
<export>always</export>
<comment>"Target C Compiler"</comment>
</option>
<option name="HOSTCC">
<default>"gcc"</default>
<export>always</export>
<comment>"Host C Compiler"</comment>
</option>
<option name="CPU_OPT">
<default>none</default>
<export>used</export>
<comment>"Additional per-cpu CFLAGS"</comment>
</option>
<option name="OBJCOPY">
<default>"$(CROSS_COMPILE)objcopy"</default>
<export>always</export>
<comment>"Objcopy command"</comment>
</option>
<option name="LINUXBIOS_VERSION">
<default>"1.1.7"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"LinuxBIOS version"</comment>
</option>
<option name="LINUXBIOS_EXTRA_VERSION">
<format>"\"%s\""</format>
</option>
<option name="LINUXBIOS_BUILD">
<default>"$(shell date)"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Build date"</comment>
</option>
<option name="LINUXBIOS_COMPILE_TIME">
<default>"$(shell date +%T)"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Build time"</comment>
</option>
<option name="LINUXBIOS_COMPILE_BY">
<default>"$(shell whoami)"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Who build this image"</comment>
</option>
<option name="LINUXBIOS_COMPILE_HOST">
<default>"$(shell hostname)"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Build host"</comment>
</option>
<option name="LINUXBIOS_COMPILE_DOMAIN">
<default>"$(shell dnsdomainname)"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Build domain name"</comment>
</option>
<option name="LINUXBIOS_COMPILER">
<default>"$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n 1)"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Build compiler"</comment>
</option>
<option name="LINUXBIOS_LINKER">
<default>"$(shell $(CC) -Wl,-v 2>&1 | grep version | tail -n 1)"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Build linker"</comment>
</option>
<option name="LINUXBIOS_ASSEMBLER">
<default>"$(shell touch dummy.s ; $(CC) -c -Wa,-v dummy.s 2>&1; rm -f dummy.s dummy.o )"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Build assembler"</comment>
</option>
<option name="CONFIG_CHIP_CONFIGURE">
<default>0</default>
<export>used</export>
<comment>"Use new chip_configure method for configuring (non-pci) devices"</comment>
</option>
<option name="CONFIG_USE_INIT">
<default>0</default>
<export>used</export>
<comment>"Use stage 1 initialization code"</comment>
</option>
<option name="HAVE_FALLBACK_BOOT">
<format>"%d"</format>
<default>0</default>
<export>always</export>
<comment>"Set if fallback booting required"</comment>
</option>
<option name="USE_FALLBACK_IMAGE">
<format>"%d"</format>
<default>0</default>
<export>used</export>
<comment>"Set to build a fallback image"</comment>
</option>
<option name="FALLBACK_SIZE">
<default>65536</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Default fallback image size"</comment>
</option>
<option name="ROM_SIZE">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Size of your ROM"</comment>
</option>
<option name="ROM_IMAGE_SIZE">
<default>65535</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Default image size"</comment>
</option>
<option name="ROM_SECTION_SIZE">
<default>{FALLBACK_SIZE}</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Default rom section size"</comment>
</option>
<option name="ROM_SECTION_OFFSET">
<default>{ROM_SIZE - FALLBACK_SIZE}</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Default rom section offset"</comment>
</option>
<option name="PAYLOAD_SIZE">
<default>{ROM_SECTION_SIZE - ROM_IMAGE_SIZE}</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Default payload size"</comment>
</option>
<option name="_ROMBASE">
<default>{PAYLOAD_SIZE}</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Base address of LinuxBIOS in ROM"</comment>
</option>
<option name="_ROMSTART">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Start address of LinuxBIOS in ROM"</comment>
</option>
<option name="_RESET">
<default>{_ROMBASE}</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Hardware reset vector address"</comment>
</option>
<option name="_EXCEPTION_VECTORS">
<default>{_ROMBASE+0x100}</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Address of exception vector table"</comment>
</option>
<option name="STACK_SIZE">
<default>0x2000</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Default stack size"</comment>
</option>
<option name="HEAP_SIZE">
<default>0x2000</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Default heap size"</comment>
</option>
<option name="_RAMBASE">
<default>none</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Base address of LinuxBIOS in RAM"</comment>
</option>
<option name="_RAMSTART">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Start address of LinuxBIOS in RAM"</comment>
</option>
<option name="USE_DCACHE_RAM">
<default>0</default>
<export>used</export>
<comment>"Use data cache as temporary RAM if possible"</comment>
</option>
<option name="DCACHE_RAM_BASE">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Base address of data cache when using it for temporary RAM"</comment>
</option>
<option name="DCACHE_RAM_SIZE">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Size of data cache when using it for temporary RAM"</comment>
</option>
<option name="XIP_ROM_BASE">
<default>0</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Start address of area to cache during LinuxBIOS execution directly from ROM"</comment>
</option>
<option name="XIP_ROM_SIZE">
<default>0</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Size of area to cache during LinuxBIOS execution directly from ROM"</comment>
</option>
<option name="CONFIG_COMPRESS">
<default>1</default>
<export>always</export>
<comment>"Set for compressed image"</comment>
</option>
<option name="CONFIG_UNCOMPRESSED">
<format>"%d"</format>
<default>{!CONFIG_COMPRESS}</default>
<export>always</export>
<comment>"Set for uncompressed image"</comment>
</option>
<option name="CONFIG_LB_MEM_TOPK">
<format>"%d"</format>
<default>1024</default>
<export>always</export>
<comment>"Kilobytes of memory to initialized before executing code from RAM"</comment>
</option>
<option name="HAVE_OPTION_TABLE">
<default>0</default>
<export>always</export>
<comment>"Export CMOS option table"</comment>
</option>
<option name="USE_OPTION_TABLE">
<format>"%d"</format>
<default>{HAVE_OPTION_TABLE && !USE_FALLBACK_IMAGE}</default>
<export>always</export>
<comment>"Use option table"</comment>
</option>
<option name="LB_CKS_RANGE_START">
<default>49</default>
<format>"%d"</format>
<export>always</export>
<comment>"First CMOS byte to use for LinuxBIOS options"</comment>
</option>
<option name="LB_CKS_RANGE_END">
<default>125</default>
<format>"%d"</format>
<export>always</export>
<comment>"Last CMOS byte to use for LinuxBIOS options"</comment>
</option>
<option name="LB_CKS_LOC">
<default>126</default>
<format>"%d"</format>
<export>always</export>
<comment>"Pair of bytes to use for CMOS checksum"</comment>
</option>
<option name="CRT0">
<default>"$(TOP)/src/arch/$(ARCH)/init/crt0.S.lb"</default>
<export>always</export>
<comment>"Main initialization target"</comment>
</option>
<option name="DEBUG">
<default>1</default>
<export>always</export>
<comment>"Enable debugging code"</comment>
</option>
<option name="CONFIG_CONSOLE_VGA">
<default>0</default>
<export>always</export>
<comment>"Log messages to VGA"</comment>
</option>
<option name="CONFIG_CONSOLE_BTEXT">
</option>
<option name="CONFIG_CONSOLE_LOGBUF">
<default>0</default>
<export>always</export>
<comment>"Log messages to buffer"</comment>
</option>
<option name="CONFIG_CONSOLE_SROM">
<default>0</default>
<export>always</export>
<comment>"Log messages to SROM console"</comment>
</option>
<option name="CONFIG_CONSOLE_SERIAL8250">
<default>0</default>
<export>always</export>
<comment>"Log messages to 8250 uart based serial console"</comment>
</option>
<option name="DEFAULT_CONSOLE_LOGLEVEL">
<default>7</default>
<export>always</export>
<comment>"Console will log at this level unless changed"</comment>
</option>
<option name="MAXIMUM_CONSOLE_LOGLEVEL">
<default>8</default>
<export>always</export>
</option>
<option name="CONFIG_SERIAL_POST">
<default>0</default>
<export>always</export>
<comment>"Enable SERIAL POST codes"</comment>
</option>
<option name="NO_POST">
<default>none</default>
<export>used</export>
<comment>"Disable POST codes"</comment>
</option>
<option name="TTYS0_BASE">
<default>0x3f8</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Base address for 8250 uart for the serial console"</comment>
</option>
<option name="TTYS0_BAUD">
<default>115200</default>
<export>always</export>
<comment>"Default baud rate for serial console"</comment>
</option>
<option name="TTYS0_DIV">
<default>none</default>
<format>"%d"</format>
<export>used</export>
<comment>"Allow UART divisor to be set explicitly"</comment>
</option>
<option name="TTYS0_LCS">
<default>0x3</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"Default flow control settings for the 8250 serial console uart"</comment>
</option>
<option name="MAINBOARD">
<default>"Mainboard_not_set"</default>
<export>always</export>
<comment>"Mainboard name"</comment>
</option>
<option name="MAINBOARD_PART_NUMBER">
<default>"Part_number_not_set"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Part number of mainboard"</comment>
</option>
<option name="MAINBOARD_VENDOR">
<default>"Vendor_not_set"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Vendor of mainboard"</comment>
</option>
<option name="MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID">
<default>0</default>
<export>always</export>
<comment>"PCI Vendor ID of mainboard manufacturer"</comment>
</option>
<option name="MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID">
<default>0</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"PCI susbsystem device id assigned my mainboard manufacturer"</comment>
</option>
<option name="MAINBOARD_POWER_ON_AFTER_POWER_FAIL">
<default>none</default>
<export>used</export>
<comment>"Default power on after power fail setting"</comment>
</option>
<option name="CONFIG_SYS_CLK_FREQ">
<default>none</default>
<export>used</export>
<comment>"System clock frequency in MHz"</comment>
</option>
<option name="CONFIG_LEGACY_VGABIOS">
<default>0</default>
<export>used</export>
<comment>"Support for legacy VGA BIOS"</comment>
</option>
<option name="VGABIOS_START">
<default>0</default>
<export>used</export>
<comment>"Base of Legacy VGA in Rom"</comment>
</option>
<option name="CONFIG_SMP">
<default>0</default>
<export>always</export>
<comment>"Define if we support SMP"</comment>
</option>
<option name="CONFIG_MAX_CPUS">
</option>
<option name="CONFIG_LOGICAL_CPUS">
<default>0</default>
<export>always</export>
<comment>"Should multiple cpus per die be enabled?"</comment>
</option>
<option name="HAVE_MP_TABLE">
<default>none</default>
<export>used</export>
<comment>"Define to build an MP table"</comment>
</option>
<option name="CONFIG_IDE_STREAM">
<default>0</default>
<export>always</export>
<comment>"Boot from IDE device"</comment>
</option>
<option name="CONFIG_ROM_STREAM">
<default>0</default>
<export>always</export>
<comment>"Boot image is located in ROM" </comment>
</option>
<option name="CONFIG_ROM_STREAM_START">
<default>{0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1}</default>
<format>"0x%x"</format>
<export>always</export>
<comment>"ROM stream start location"</comment>
</option>
<option name="CONFIG_FS_STREAM">
<default>0</default>
<export>always</export>
<comment>"Boot from a filesystem"</comment>
</option>
<option name="CONFIG_FS_EXT2">
<default>0</default>
<export>always</export>
<comment>"Enable ext2 filesystem support"</comment>
</option>
<option name="CONFIG_FS_ISO9660">
<default>0</default>
<export>always</export>
<comment>"Enable ISO9660 filesystem support"</comment>
</option>
<option name="CONFIG_FS_FAT">
<default>0</default>
<export>always</export>
<comment>"Enable FAT filesystem support"</comment>
</option>
<option name="AUTOBOOT_DELAY">
<default>2</default>
<export>always</export>
<comment>"Delay (in seconds) before autobooting"</comment>
</option>
<option name="AUTOBOOT_CMDLINE">
<default>"hdc1:/vmlinuz root=/dev/hdc3 console=tty0 console=ttyS0,115200"</default>
<export>always</export>
<format>"\"%s\""</format>
<comment>"Default command line when autobooting"</comment>
</option>
<option name="HAVE_PIRQ_TABLE">
<default>none</default>
<export>used</export>
<comment>"Define if we have a PIRQ table"</comment>
</option>
<option name="IRQ_SLOT_COUNT">
<default>none</default>
<export>used</export>
<comment>"Number of IRQ slots"</comment>
</option>
<option name="CONFIG_PCIBIOS_IRQ">
<default>none</default>
<export>used</export>
<comment>"PCIBIOS IRQ support"</comment>
</option>
<option name="CONFIG_IOAPIC">
<default>none</default>
<export>used</export>
<comment>"IOAPIC support"</comment>
</option>
<option name="CONFIG_IDE">
<default>0</default>
<export>always</export>
<comment>"Define to include IDE support"</comment>
</option>
<option name="IDE_BOOT_DRIVE">
<default>0</default>
<export>always</export>
<comment>"Disk number of boot drive"</comment>
</option>
<option name="IDE_SWAB">
<default>none</default>
<export>used</export>
<comment>"Swap bytes when reading from IDE device"</comment>
</option>
<option name="IDE_OFFSET">
<default>0</default>
<export>always</export>
<comment>"Sector at which to start searching for boot image"</comment>
</option>
<option name="PCIC0_CFGADDR">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Address of PCI Configuration Address Register"</comment>
</option>
<option name="PCIC0_CFGDATA">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Address of PCI Configuration Data Register"</comment>
</option>
<option name="ISA_IO_BASE">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Base address of PCI/ISA I/O address range"</comment>
</option>
<option name="ISA_MEM_BASE">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Base address of PCI/ISA memory address range"</comment>
</option>
<option name="PNP_CFGADDR">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"PNP Configuration Address Register offset"</comment>
</option>
<option name="PNP_CFGDATA">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"PNP Configuration Data Register offset"</comment>
</option>
<option name="_IO_BASE">
<default>none</default>
<format>"0x%x"</format>
<export>used</export>
<comment>"Base address of memory mapped I/O operations"</comment>
</option>
<option name="EMBEDDED_RAM_SIZE">
<default>none</default>
<export>used</export>
<comment>"Embedded boards generally have fixed RAM size"</comment>
</option>
<option name="CONFIG_CHIP_NAME">
<default>0</default>
<export>always</export>
<comment>"Compile in the chip name"</comment>
</option>
<option name="CONFIG_GDB_STUB">
<default>0</default>
<export>used</export>
<comment>"Compile in gdb stub support?"</comment>
</option>
<option name="HAVE_INIT_TIMER">
<default>0</default>
<export>always</export>
<comment>"Have a init_timer function"</comment>
</option>
<option name="HAVE_HARD_RESET">
<default>none</default>
<export>used</export>
<comment>"Have hard reset"</comment>
</option>
<option name="HARD_RESET_BUS">
<default>1</default>
<export>always</export>
<comment>"Bus number of southbridge device doing reset"</comment>
</option>
<option name="HARD_RESET_DEVICE">
<default>5</default>
<export>always</export>
<comment>"Device number of southbridge device doing reset"</comment>
</option>
<option name="HARD_RESET_FUNCTION">
<default>0</default>
<export>always</export>
<comment>"Function number of southbridge device doing reset"</comment>
</option>
<option name="MEMORY_HOLE">
<default>none</default>
<export>used</export>
<comment>"Set to deal with memory hole"</comment>
</option>
<option name="MAX_REBOOT_CNT">
<default>3</default>
<export>always</export>
<comment>"Set maximum reboots"</comment>
</option>
<option name="CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2">
<default>0</default>
<export>used</export>
<comment>"Use timer2 to callibrate the x86 time stamp counter"</comment>
</option>
<option name="INTEL_PPRO_MTRR">
<default>none</default>
<export>used</export>
<comment>""</comment>
</option>
<option name="CONFIG_UDELAY_TSC">
<default>0</default>
<export>used</export>
<comment>"Implement udelay with the x86 time stamp counter"</comment>
</option>
<option name="FAKE_SPDROM">
<default>0</default>
<export>always</export>
<comment>"Use this to fake spd rom values"</comment>
</option>
<option name="HAVE_ACPI_TABLES">
<default>0</default>
<export>always</export>
<comment>"Define to build ACPI tables"</comment>
</option>
<option name="AGP_APERTURE_SIZE">
<default>none</default>
<export>used</export>
<format>"0x%x"</format>
<comment>"AGP graphics virtual memory aperture size"</comment>
</option>
<option name="CONFIG_PCI_ROM_RUN">
</option>
<option name="CONFIG_SANDPOINT_ALTIMUS">
<default>0</default>
<export>never</export>
<comment>"Configure Sandpoint with Altimus PMC"</comment>
</option>
<option name="CONFIG_SANDPOINT_TALUS">
<default>0</default>
<export>never</export>
<comment>"Configure Sandpoint with Talus PMC"</comment>
</option>
<option name="CONFIG_SANDPOINT_UNITY">
<default>0</default>
<export>never</export>
<comment>"Configure Sandpoint with Unity PMC"</comment>
</option>
<option name="CONFIG_SANDPOINT_VALIS">
<default>0</default>
<export>never</export>
<comment>"Configure Sandpoint with Valis PMC"</comment>
</option>
<option name="CONFIG_SANDPOINT_GYRUS">
<default>0</default>
<export>never</export>
<comment>"Configure Sandpoint with Gyrus PMC"</comment>
</option>
<option name="CONFIG_BRIQ_750FX">
<default>0</default>
<export>never</export>
<comment>"Configure briQ with PowerPC 750FX"</comment>
</option>
<option name="CONFIG_BRIQ_7400">
<default>0</default>
<export>never</export>
<comment>"Configure briQ with PowerPC G4"</comment>
</option>
</options>

