hi,all. My mb is EPIA M800, and I got some 1Mb flash chips. I can compile LinuxBIOS+VGABIOS+FILO, got a 256kbytes rom. but when I change config file , to make it fit in 1Mb flash, I got a 196kbytes rom. I think the size of linuxbios, filo, and vgabios(which is 48kbyte) can fit into 128kbyte flash rom. so how can I make it?
here is my wrong config:
========================================================= # # LinuxBIOS config file for: VIA epia mini-itx #
target build
# via epia mainboard via/epia
# Enable Serial Console for debugging option SERIAL_CONSOLE=1 option TTYS0_BAUD=115200 option DEFAULT_CONSOLE_LOGLEVEL=9 option DEBUG=1
# Use 256KB Standard Flash as Normal BIOS option RAMTEST=1 option USE_GENERIC_ROM=1 option STD_FLASH=1 #option ZKERNEL_START=0xfffc0000 option ROM_SIZE=131072
# payload size = 192KB option PAYLOAD_SIZE=98304
# use ELF Loader to load Etherboot option USE_ELF_BOOT=1
option VGABIOS_START=0xfffc0000 option ZKERNEL_START=0xfffcc000
option HAVE_FRAMEBUFFER=1 option SMA_SIZE=8 option CONFIG_VGABIOS=1 option CONFIG_REALMODE_IDT=1 option CONFIG_PCIBIOS=1 dir src/bioscall
# Use FILO,VGABIOS as payload payload ../payload.bin addaction romimage /bin/cp -f romimage $(HOME)/linuxbios_epia.bin ========================================================
Best Reguards.
Ben.
On Thu, Oct 16, 2003 at 10:28:58AM +0800, bendany wrote:
My mb is EPIA M800, and I got some 1Mb flash chips.
I can compile LinuxBIOS+VGABIOS+FILO, got a 256kbytes rom. but when I change config file , to make it fit in 1Mb flash, I got a 196kbytes rom. I think the size of linuxbios, filo, and vgabios(which is 48kbyte) can fit into 128kbyte flash rom. so how can I make it?
I guess you have to specify the size of LinuxBIOS itself. (maybe ROM_IMAGE_SIZE?) By default it is 64KB.
-- Takeshi