mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Fixups for primary and fallback configs.
This commit is contained in:
parent
dcf2475079
commit
dd0b77e946
5 changed files with 166 additions and 6 deletions
|
@ -90,8 +90,8 @@ mainboardinit mainboard/tyan/TigerMPX/mainboard_raminit.inc
|
|||
|
||||
|
||||
# debugging SMJ
|
||||
mainboardinit mainboard/tyan/TigerMPX/dumpdev.inc
|
||||
mainboardinit mainboard/tyan/TigerMPX/preram.inc
|
||||
#mainboardinit mainboard/tyan/TigerMPX/dumpdev.inc
|
||||
#mainboardinit mainboard/tyan/TigerMPX/preram.inc
|
||||
|
||||
|
||||
##
|
||||
|
|
|
@ -8,7 +8,7 @@ owner: Steven James
|
|||
email: pyro@linuxlabs.com
|
||||
#status: One of unsupported, unstable, stable
|
||||
status: unstable
|
||||
explanation: just entering alpha primary/fallback config not tested
|
||||
explanation: appears functional now.
|
||||
flash-types:
|
||||
payload-types: ELF, etherboot, bootselect
|
||||
# e.g. linux, plan 9, wince, etc.
|
||||
|
@ -19,7 +19,7 @@ console-types: serial
|
|||
# vga is unsupported, unstable, or stable
|
||||
vga: unsupported
|
||||
# Last-known-good follows the internationl date standard: day/month/year
|
||||
last-known-good: 10/01/2003
|
||||
last-known-good: 13/01/2003
|
||||
Comments:
|
||||
Links:
|
||||
Mainboard-revision:
|
||||
|
|
|
@ -27,8 +27,8 @@ entries
|
|||
384 1 e 4 boot_option
|
||||
385 1 e 4 last_boot
|
||||
392 3 e 5 baud_rate
|
||||
392 4 e 6 debug_level
|
||||
396 1 e 1 power_on_after_fail
|
||||
400 4 e 6 debug_level
|
||||
408 1 e 1 power_on_after_fail
|
||||
#401 1 e 1 ECC_memory
|
||||
#402 1 e 2 hda_disk
|
||||
#403 1 e 2 hdb_disk
|
||||
|
|
82
src/mainboard/tyan/TigerMPX/example-fallback.config
Normal file
82
src/mainboard/tyan/TigerMPX/example-fallback.config
Normal file
|
@ -0,0 +1,82 @@
|
|||
# This will make a target directory of ./normal
|
||||
## This is relative to where the configuration file resides in the filesystem
|
||||
target TigerMPX
|
||||
|
||||
mainboard tyan/TigerMPX
|
||||
|
||||
## Build a normal not a fallback image.
|
||||
option USE_FALLBACK_IMAGE=1
|
||||
|
||||
## Build an image for a 512KB rom
|
||||
## ./normal/romimage is the entire rom image except for the last 64KB
|
||||
## which are reserved for the fallback image.
|
||||
#option ROM_SIZE=524288
|
||||
option ROM_SIZE=262144
|
||||
|
||||
## Select the maximum size the linuxBIOS code can compile to.
|
||||
## Allow linuxBIOS to be up to 48KB in size
|
||||
#option ROM_IMAGE_SIZE=49152
|
||||
option ROM_IMAGE_SIZE=65536
|
||||
#option PAYLOAD_SIZE=131072
|
||||
#option _ROMBASE=0xFFFE0000
|
||||
#option ZKERNEL_START=0xFFFC0000
|
||||
|
||||
|
||||
##
|
||||
### The Serial Console
|
||||
##
|
||||
## Hardware flow control is currently ignored.
|
||||
|
||||
## Enable the Serial Console
|
||||
option SERIAL_CONSOLE=1
|
||||
|
||||
## Select the serial console baud rate.
|
||||
option TTYS0_BAUD=115200
|
||||
#option TTYS0_BAUD=57600
|
||||
#option TTYS0_BAUD=38400
|
||||
#option TTYS0_BAUD=19200
|
||||
#option TTYS0_BAUD=9600
|
||||
#option TTYS0_BAUD=4800
|
||||
#option TTYS0_BAUD=2400
|
||||
#option TTYS0_BAUD=1200
|
||||
|
||||
# Select the serial console base port
|
||||
option TTYS0_BASE=0x3f8
|
||||
|
||||
# Select the serial protocol
|
||||
# This defaults to 8 data bits, 1 stop bit, and no parity
|
||||
option TTYS0_LCS=0x3
|
||||
|
||||
option PYRO_SERIAL=1
|
||||
##
|
||||
### Select the linuxBIOS loglevel
|
||||
##
|
||||
## EMERG 1 system is unusable
|
||||
## ALERT 2 action must be taken immediately
|
||||
## CRIT 3 critical conditions
|
||||
## ERR 4 error conditions
|
||||
## WARNING 5 warning conditions
|
||||
## NOTICE 6 normal but significant condition
|
||||
## INFO 7 informational
|
||||
## DEBUG 8 debug-level messages
|
||||
## SPEW 9 Way too many details
|
||||
|
||||
## Request this level of debugging output
|
||||
option DEFAULT_CONSOLE_LOGLEVEL=8
|
||||
## At a maximum only compile in this level of debugging
|
||||
option MAXIMUM_CONSOLE_LOGLEVEL=9
|
||||
|
||||
## Use the elf bootloader
|
||||
option USE_ELF_BOOT=1
|
||||
|
||||
## Select the boot device
|
||||
option USE_GENERIC_ROM=1
|
||||
#option BOOT_FLOPPY=1
|
||||
#option USE_SERIAL_FILL_INBUF=1
|
||||
#option BOOT_IDE=1
|
||||
|
||||
# Load etherboot with the elf bootloader
|
||||
# The payload command is relative the build directory
|
||||
# So .. is the directory this config file resides in
|
||||
payload /usr/local/src/LinuxBIOS/etherboot-5.0.6/src/bin32/3c90x.elf
|
||||
|
78
src/mainboard/tyan/TigerMPX/example-normal.config
Normal file
78
src/mainboard/tyan/TigerMPX/example-normal.config
Normal file
|
@ -0,0 +1,78 @@
|
|||
## This is relative to where the configuration file resides in the filesystem
|
||||
target TigerMPX-primary
|
||||
|
||||
mainboard tyan/TigerMPX
|
||||
|
||||
## Build a normal not a fallback image.
|
||||
option USE_NORMAL_IMAGE
|
||||
|
||||
## Build an image for a 512KB rom
|
||||
## ./normal/romimage is the entire rom image except for the last 64KB
|
||||
## which are reserved for the fallback image.
|
||||
option ROM_SIZE=524288
|
||||
|
||||
## Select the maximum size the linuxBIOS code can compile to.
|
||||
## Allow linuxBIOS to be up to 48KB in size
|
||||
#option ROM_IMAGE_SIZE=49152
|
||||
option ROM_IMAGE_SIZE=65536
|
||||
|
||||
##
|
||||
### The Serial Console
|
||||
##
|
||||
## Hardware flow control is currently ignored.
|
||||
|
||||
## Enable the Serial Console
|
||||
option SERIAL_CONSOLE=1
|
||||
|
||||
## Select the serial console baud rate.
|
||||
option TTYS0_BAUD=115200
|
||||
#option TTYS0_BAUD=57600
|
||||
#option TTYS0_BAUD=38400
|
||||
#option TTYS0_BAUD=19200
|
||||
#option TTYS0_BAUD=9600
|
||||
#option TTYS0_BAUD=4800
|
||||
#option TTYS0_BAUD=2400
|
||||
#option TTYS0_BAUD=1200
|
||||
|
||||
# Select the serial console base port
|
||||
option TTYS0_BASE=0x3f8
|
||||
|
||||
# Select the serial protocol
|
||||
# This defaults to 8 data bits, 1 stop bit, and no parity
|
||||
option TTYS0_LCS=0x3
|
||||
|
||||
#this configures serial to accept input (needed for some payloads)
|
||||
option PYRO_SERIAL=1
|
||||
|
||||
##
|
||||
### Select the linuxBIOS loglevel
|
||||
##
|
||||
## EMERG 1 system is unusable
|
||||
## ALERT 2 action must be taken immediately
|
||||
## CRIT 3 critical conditions
|
||||
## ERR 4 error conditions
|
||||
## WARNING 5 warning conditions
|
||||
## NOTICE 6 normal but significant condition
|
||||
## INFO 7 informational
|
||||
## DEBUG 8 debug-level messages
|
||||
## SPEW 9 Way too many details
|
||||
|
||||
## Request this level of debugging output
|
||||
option DEFAULT_CONSOLE_LOGLEVEL=8
|
||||
## At a maximum only compile in this level of debugging
|
||||
option MAXIMUM_CONSOLE_LOGLEVEL=9
|
||||
|
||||
## Use the elf bootloader
|
||||
option USE_ELF_BOOT=1
|
||||
|
||||
## Select the boot device
|
||||
option USE_GENERIC_ROM=1
|
||||
#option BOOT_FLOPPY=1
|
||||
#option USE_SERIAL_FILL_INBUF=1
|
||||
#option BOOT_IDE=1
|
||||
|
||||
# Load etherboot with the elf bootloader
|
||||
# The payload command is relative the build directory
|
||||
# So .. is the directory this config file resides in
|
||||
payload /usr/local/src/LinuxBIOS/etherboot-5.0.6/src/bin32/3c90x.elf
|
||||
|
Loading…
Add table
Reference in a new issue