EPIA going immediately to fallback image?

Al Hooton al at hootons.org
Wed Jan 19 14:44:00 CET 2005


	Mainboard: EPIA 800.

	Building LB appears to go well, using these steps (my Options.lb and
Config.lb are listed at the end of this note):

- cd <stuff>/targets
- ./buildtarget via/epia
- cd via/epia/epia
- make

	The build appears to go without a hitch.  At that point I write
targets/via/epia/epia/linuxbios.rom to my flash part, and boot the
board, only to be greeted with this:

LinuxBIOS-1.1.7.0Fallback Wed Jan 19 16:11:07 PST 2005 starting...
vt8601 init starting
Slot 00 is SDRAM 04000000 bytes x2
Slot 01 is empty
Slot 02 is empty
Slot 03 is empty
vt8601 done

	Can somebody let me know what might cause it to immediately go to the
fallback image, instead of the normal image that has my filo payload in
it?

	My Options.lb and Config.lb are below -- I didn't include the build
output because it's so big, but if it would help anyone I can send it
along.

	Thanks for any and all help!

-Al

------<Options.lb>--------
uses HAVE_MP_TABLE
uses HAVE_PIRQ_TABLE
uses USE_FALLBACK_IMAGE
uses HAVE_FALLBACK_BOOT
uses HAVE_HARD_RESET
uses HAVE_OPTION_TABLE
uses USE_OPTION_TABLE
uses CONFIG_ROM_STREAM
uses IRQ_SLOT_COUNT
uses MAINBOARD
uses MAINBOARD_VENDOR
uses MAINBOARD_PART_NUMBER
uses LINUXBIOS_EXTRA_VERSION
uses ARCH
uses FALLBACK_SIZE
uses STACK_SIZE
uses HEAP_SIZE
uses ROM_SIZE
uses ROM_SECTION_SIZE
uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
uses XIP_ROM_SIZE
uses XIP_ROM_BASE
uses HAVE_MP_TABLE
uses CROSS_COMPILE
uses CC
uses HOSTCC
uses OBJCOPY


## ARH -- added to get the EPIA 800 board to use the serial console
uses CONFIG_CONSOLE_SERIAL8250
default CONFIG_CONSOLE_SERIAL8250=1


## ROM_SIZE is the size of boot ROM that this board will use.
default ROM_SIZE  = 256*1024

###
### Build options
###

##
## Build code for the fallback boot
##
default HAVE_FALLBACK_BOOT=1

##
## no MP table
##
default HAVE_MP_TABLE=0

##
## Build code to reset the motherboard from linuxBIOS
##
default HAVE_HARD_RESET=1

##
## Build code to export a programmable irq routing table
##
default HAVE_PIRQ_TABLE=1
default IRQ_SLOT_COUNT=5
#object irq_tables.o

##
## Build code to export a CMOS option table
##
default HAVE_OPTION_TABLE=1

###
### LinuxBIOS layout values
###

## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
default ROM_IMAGE_SIZE = 65536
default FALLBACK_SIZE = 131072

##
## Use a small 8K stack
##
default STACK_SIZE=0x2000

##
## Use a small 16K heap
##
default HEAP_SIZE=0x4000

##
## Only use the option table in a normal image
##
#default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
default USE_OPTION_TABLE = 0

default _RAMBASE = 0x00004000

default CONFIG_ROM_STREAM     = 1

##
## The default compiler
##
default CROSS_COMPILE=""
default CC="$(CROSS_COMPILE)gcc -m32"
default HOSTCC="gcc"


end



------<Config.lb>-------
# Sample config file for EPIA
# This will make a target directory of ./epia

target epia
mainboard via/epia

#
# Via Epia
romimage "normal"
	option USE_FALLBACK_IMAGE=0
	option ROM_IMAGE_SIZE=0x10000
	option LINUXBIOS_EXTRA_VERSION=".0Normal"
#	payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
#	payload ../../../../tg3--ide_disk.zelf	
#	payload ../../../../../lnxieepro100.ebi
#	payload ../../../../../../filo.elf
	payload ../../../../../../filo-0.4.2/filo.elf
end

romimage "fallback" 
	option USE_FALLBACK_IMAGE=1
	option ROM_IMAGE_SIZE=0x10000
	option LINUXBIOS_EXTRA_VERSION=".0Fallback"
#	payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
#	payload ../../../../tg3--ide_disk.zelf	
#	payload ../../../../../lnxieepro100.ebi
#	payload ../../../../../../filo.elf
	payload ../../../../../../filo-0.4.2/filo.elf
end

buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"




-- 


Al Hooton
al-at-hootons-dot-org

========
Maintainer of the linux-based open-source project Parapin.
http://www.sf.net/projects/parapin/
========





More information about the coreboot mailing list