2006-09-25 01:02:26 +02:00
|
|
|
# abuild config file for EPIA-M
|
2004-04-17 04:36:47 +02:00
|
|
|
|
2006-09-25 01:02:26 +02:00
|
|
|
target via_epia-m
|
2005-08-08 09:52:20 +02:00
|
|
|
mainboard via/epia-m
|
2004-04-17 04:36:47 +02:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8
|
|
|
|
option CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8
|
2004-04-17 04:36:47 +02:00
|
|
|
option CONFIG_CONSOLE_SERIAL8250=1
|
2005-08-08 09:52:20 +02:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_ROM_SIZE=256*1024
|
2006-09-25 01:02:26 +02:00
|
|
|
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_HAVE_OPTION_TABLE=1
|
2006-12-15 13:56:28 +01:00
|
|
|
option CONFIG_ROM_PAYLOAD=1
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_HAVE_FALLBACK_BOOT=1
|
2006-12-15 12:42:16 +01:00
|
|
|
#option CONFIG_COMPRESSED_PAYLOAD_NRV2B=1
|
|
|
|
option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
|
2006-09-25 01:02:26 +02:00
|
|
|
|
2004-04-17 04:36:47 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
### Compute the location and size of where this firmware image
|
2008-01-18 16:08:58 +01:00
|
|
|
### (coreboot plus bootloader) will live in the boot rom chip.
|
2004-04-17 04:36:47 +02:00
|
|
|
###
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_FALLBACK_SIZE=131072
|
2004-04-17 04:36:47 +02:00
|
|
|
|
2008-01-18 16:08:58 +01:00
|
|
|
## Coreboot C code runs at this location in RAM
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_RAMBASE=0x00004000
|
2004-04-17 04:36:47 +02:00
|
|
|
|
|
|
|
#
|
2006-09-25 01:02:26 +02:00
|
|
|
# Via EPIA M
|
2004-04-17 04:36:47 +02:00
|
|
|
#
|
2006-09-25 01:02:26 +02:00
|
|
|
romimage "normal"
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_USE_FALLBACK_IMAGE=0
|
|
|
|
#option CONFIG_ROM_IMAGE_SIZE=128*1024
|
|
|
|
option CONFIG_ROM_IMAGE_SIZE=64*1024
|
2008-01-18 16:08:58 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION=".0-Normal"
|
2006-09-25 01:02:26 +02:00
|
|
|
payload $(HOME)/svn/payload.elf
|
|
|
|
end
|
2004-04-17 04:36:47 +02:00
|
|
|
|
|
|
|
romimage "fallback"
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_USE_FALLBACK_IMAGE=1
|
|
|
|
#option CONFIG_ROM_IMAGE_SIZE=128*1024
|
|
|
|
option CONFIG_ROM_IMAGE_SIZE=60*1024
|
2008-01-18 16:08:58 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION=".0-Fallback"
|
2006-09-25 01:02:26 +02:00
|
|
|
payload $(HOME)/svn/payload.elf
|
2004-04-17 04:36:47 +02:00
|
|
|
end
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback"
|