fallbackimage, question

Felix Kloeckner root at hamburg.de
Tue Jul 22 13:47:00 CEST 2003


hello,
i successfully ported the fallbackimage-principle for the
elitegroup p6stp-fl (sis630)but the problem is that it only
works with 64KB fallback-image (i took the calculations
from "supermicro/p4dpeg2/Config")

because i need more space for the payload i need a bigger
fallbackimage, but if i change the size of "FALLBACK_IMAGE_SIZE"
only the fallbackimage will boot, not the normalimage (each
time the normalimage should be jumped to the watchdogtimer
expires and resets the board, after that the fallbackimage
will boot again)


does anybody see what i made wrong? (below is a part of my config

- felix




size related stuff from my config
----------------------------------------------

option USE_FALLBACK_IMAGE=0
expr USE_NORMAL_IMAGE=!USE_FALLBACK_IMAGE

option ROM_SIZE=0x80000

#works only with exactly 0x10000, need more!   <---------
option FALLBACK_IMAGE_SIZE=0x10000
option ROM_IMAGE_SIZE=43520

expr ROM_SECTION_SIZE=(USE_FALLBACK_IMAGE * FALLBACK_IMAGE_SIZE) + (USE_NORMAL_IMAGE * (ROM_SIZE - FALLBACK_IMAGE_SIZE) )
expr ROM_SECTION_OFFSET=(USE_FALLBACK_IMAGE * (ROM_SIZE - FALLBACK_IMAGE_SIZE)) + (USE_NORMAL_IMAGE * 0)
expr ZKERNEL_START=(0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
expr PAYLOAD_SIZE=ROM_SECTION_SIZE - ROM_IMAGE_SIZE
expr _ROMBASE=ZKERNEL_START + PAYLOAD_SIZE

#cache the upper 16M of the 4G address space
#or else the decompression would be so slow that
#the watchdogtimer resets the board even before
#decompression is done
option XIP_ROM_SIZE= 0x01000000
option XIP_ROM_BASE= 0xfe000000



More information about the coreboot mailing list