答复: A bug was found in freebios2/src/northbridge/via/vt8601/raminit.c

Hendricks David W. dwh at lanl.gov
Wed Jul 7 18:03:01 CEST 2004


Also, you might want to make PAYLOAD_SIZE = (ROM_SECTION_SIZE - 
ROM_IMAGE_SIZE)


On Wed, 7 Jul 2004, YhLu wrote:

> You may only disabe normal instead of fallback.
> 
> LB will execute failover at first.
> 
> -----ÓʼþÔ­¼þ-----
> ·¢¼þÈË: Simon Xin Cheng [mailto:scheng at msica.com] 
> ·¢ËÍʱ¼ä: 2004Äê7ÔÂ7ÈÕ 15:43
> ÊÕ¼þÈË: Takeshi Sone
> ³­ËÍ: Simon Xin Cheng; linuxbios at clustermatic.org
> Ö÷Ìâ: Re: A bug was found in freebios2/src/northbridge/via/vt8601/raminit.c
> 
> > Maybe the memory map information is wrong.
> > (FILO tries to relocate itself to non-existent RAM area and crashes?)
> > Are you sure you have 160MB RAM and none of it is allocated for
> > framebuffer?
> > You should run memtest86 as payload so you can see if memory
> > configuration is ok.
> >
> > --
> > Takeshi
> >
> 
> Takeshi,
> 
> Thank you for your suggestion. I tried memtest86-3.1.a. This guy creates a
> 69356Byte elf file. It exceeds 64KB. So, I disabled fallback. However, I
> can not boot from the romimage I created (i.e. cann't get any information
> from serial console). Following is the configure file. If you have time,
> would you please check it. Thanks again!
> ***************************************
> 
> loadoptions
> 
> target epia
> 
> uses ARCH
> uses CONFIG_COMPRESS
> uses CONFIG_IOAPIC
> uses CONFIG_ROM_STREAM
> uses CONFIG_ROM_STREAM_START
> uses CONFIG_UDELAY_TSC
> uses CPU_FIXUP
> uses FALLBACK_SIZE
> uses HAVE_FALLBACK_BOOT
> uses HAVE_MP_TABLE
> uses HAVE_PIRQ_TABLE
> uses HAVE_HARD_RESET
> uses i586
> uses i686
> uses INTEL_PPRO_MTRR
> uses HEAP_SIZE
> uses IRQ_SLOT_COUNT
> uses MAINBOARD_PART_NUMBER
> uses MAINBOARD_VENDOR
> uses CONFIG_SMP
> uses CONFIG_MAX_CPUS
> uses MEMORY_HOLE
> uses PAYLOAD_SIZE
> uses _RAMBASE
> uses _ROMBASE
> uses ROM_IMAGE_SIZE
> uses ROM_SECTION_OFFSET
> uses ROM_SECTION_SIZE
> uses ROM_SIZE
> uses STACK_SIZE
> uses USE_FALLBACK_IMAGE
> uses USE_OPTION_TABLE
> uses HAVE_OPTION_TABLE
> uses MAXIMUM_CONSOLE_LOGLEVEL
> uses  DEFAULT_CONSOLE_LOGLEVEL
> uses  CONFIG_CONSOLE_SERIAL8250
> uses MAINBOARD
> uses CONFIG_CHIP_CONFIGURE
> uses XIP_ROM_SIZE
> uses XIP_ROM_BASE
> uses LINUXBIOS_EXTRA_VERSION
> uses TTYS0_BAUD
> 
> option TTYS0_BAUD=115200
> 
> option CONFIG_CHIP_CONFIGURE=1
> 
> option  MAXIMUM_CONSOLE_LOGLEVEL=8
> option  DEFAULT_CONSOLE_LOGLEVEL=8
> option  CONFIG_CONSOLE_SERIAL8250=1
> 
> option CPU_FIXUP=1
> option CONFIG_UDELAY_TSC=0
> option i686=1
> option i586=1
> option INTEL_PPRO_MTRR=1
> option ROM_SIZE=256*1024
> 
> option HAVE_OPTION_TABLE=1
> option CONFIG_ROM_STREAM=1
> option HAVE_FALLBACK_BOOT=0
> 
> ###
> ### Compute the location and size of where this firmware image
> ### (linuxBIOS plus bootloader) will live in the boot rom chip.
> ###
> option FALLBACK_SIZE=0
> ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
> option ROM_IMAGE_SIZE=65536
> 
> ## LinuxBIOS C code runs at this location in RAM
> option _RAMBASE=0x00004000
> 
> romimage "normal"
>         option USE_FALLBACK_IMAGE=0
>         option PAYLOAD_SIZE=69356
>         option LINUXBIOS_EXTRA_VERSION=".0Normal"
>         mainboard via/epia
>         payload /usr/src/memtest
> end
> 
> buildrom ./linuxbios.rom ROM_SIZE "normal"
> 
> ****************************************************
> 
> 
> 
> 
> 
> 
> Simon Cheng
> www.msica.com
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios
> 




More information about the coreboot mailing list