Part of my trouble is that when I enable VGA I don't get a boot log, nothing happens, via serial or vga. Config.lb for MB is below, and config.lb for target follows.
------------------ MB config.lb --------------------------
## ## Compute the location and size of where this firmware image ## (linuxBIOS plus bootloader) will live in the boot rom chip. ## if USE_FALLBACK_IMAGE default ROM_SECTION_SIZE = FALLBACK_SIZE default ROM_SECTION_OFFSET = ( ROM_SIZE - FALLBACK_SIZE ) else default ROM_SECTION_SIZE = ( ROM_SIZE - FALLBACK_SIZE ) default ROM_SECTION_OFFSET = 0 end
## ## Compute the start location and size size of ## The linuxBIOS bootloader. ## default CONFIG_ROM_PAYLOAD_START = (0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1) default PAYLOAD_SIZE = ( ROM_SECTION_SIZE - ROM_IMAGE_SIZE )
## ## Compute where this copy of linuxBIOS will start in the boot rom ## default _ROMBASE = ( CONFIG_ROM_PAYLOAD_START + PAYLOAD_SIZE )
## ## Compute a range of ROM that can cached to speed up linuxBIOS, ## execution speed. ## ## XIP_ROM_SIZE must be a power of 2. ## XIP_ROM_BASE must be a multiple of XIP_ROM_SIZE ## default XIP_ROM_SIZE=65536 default XIP_ROM_BASE = ( _ROMBASE + ROM_IMAGE_SIZE - XIP_ROM_SIZE )
## ## Set all of the defaults for an x86 architecture ##
arch i386 end
## ## Build the objects we have code for in this directory. ##
driver mainboard.o
if HAVE_PIRQ_TABLE object irq_tables.o end #object reset.o
## ## Romcc output ## makerule ./failover.E depends "$(MAINBOARD)/failover.c ./romcc" action "./romcc -E -O --label-prefix=failover -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/failover.c -o $@" end
makerule ./failover.inc depends "$(MAINBOARD)/failover.c ./romcc" action "./romcc -O --label-prefix=failover -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/failover.c -o $@" end
makerule ./auto.E depends "$(MAINBOARD)/auto.c option_table.h ./romcc" action "./romcc -E -mcpu=i386 -O -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/auto.c -o $@" end makerule ./auto.inc depends "$(MAINBOARD)/auto.c option_table.h ./romcc" action "./romcc -mcpu=i386 -O -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/auto.c -o $@" end
## ## Build our 16 bit and 32 bit linuxBIOS entry code ## mainboardinit cpu/x86/16bit/entry16.inc mainboardinit cpu/x86/32bit/entry32.inc ldscript /cpu/x86/16bit/entry16.lds ldscript /cpu/x86/32bit/entry32.lds
## ## Build our reset vector (This is where linuxBIOS is entered) ## if USE_FALLBACK_IMAGE mainboardinit cpu/x86/16bit/reset16.inc ldscript /cpu/x86/16bit/reset16.lds else mainboardinit cpu/x86/32bit/reset32.inc ldscript /cpu/x86/32bit/reset32.lds end
### Should this be in the northbridge code? mainboardinit arch/i386/lib/cpu_reset.inc
## ## Include an id string (For safe flashing) ## mainboardinit arch/i386/lib/id.inc ldscript /arch/i386/lib/id.lds
### ### This is the early phase of linuxBIOS startup ### Things are delicate and we test to see if we should ### failover to another image. ### if USE_FALLBACK_IMAGE ldscript /arch/i386/lib/failover.lds mainboardinit ./failover.inc end
### ### O.k. We aren't just an intermediary anymore! ###
## ## Setup RAM ## mainboardinit cpu/x86/fpu/enable_fpu.inc mainboardinit cpu/x86/mmx/enable_mmx.inc mainboardinit ./auto.inc mainboardinit arch/i386/llshell/llshell.inc mainboardinit cpu/x86/mmx/disable_mmx.inc
## ## Include the secondary Configuration files ## dir /pc80 config chip.h
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
device pci f.0 on # VGA controller chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end end
device pci 7.0 on # ISA bridge end end
chip cpu/intel/socket_PGA370 end
end
--------------------------------------------------
----------------- config.lb target ---------------
# Config file for asus wkst55 board # This will make a target directory of ./wkst55
target wkst55 mainboard vmware/wkst55
option ROM_SIZE=(512*1024)-(32*1024)
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 /etc/hosts 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.ebia payload /etc/hosts end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
-----------------------------------------------------------------------
Regards,
Ceri
------------------------------
*From:* Lu, Yinghai [mailto:yinghai.lu@amd.com] *Sent:* 28 February 2007 17:27 *To:* Joe Pub; linuxbios@linuxbios.org *Subject:* RE: [LinuxBIOS] LinuxBIOS and VMWare
Boot log and your MB Config.lb?
YH
------------------------------
*From:* linuxbios-bounces@linuxbios.org [mailto: linuxbios-bounces@linuxbios.org] *On Behalf Of *Joe Pub *Sent:* Wednesday, February 28, 2007 9:07 AM *To:* linuxbios@linuxbios.org *Subject:* [LinuxBIOS] LinuxBIOS and VMWare
Hi There,
Has anyone had any success with VMWare. I have partially implemented the PC87360 SIO chip which has give me serial and I can boot LinuxBIOS up to the elf payload stage. I'm trying to get the VMWare VGA to work at no avail. Has anyone else has success with this.
I have added
default CONFIG_CONSOLE_VGA=1 default CONFIG_PCI_ROM_RUN=1
to the Optionslb file and adjusted the size of the ROM image by -32KB (sizeof VGA BIOS for VMWare) and also added
device pci f.0 on # VGA controller chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end end
to the Config.lb http://config.lb/.
When I start VMWare with this image though it does nothing but sit there with no VGA. I have even enabled serial logging back on using CONFIG_CONSOLE_SERIAL8250 but still continue to use CONFIG_PCI_ROM_RUN but nothing then even gets written to the serial port.
When does the VGA BIOS rom get called, at what stage?
Regards, Joe
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Then disable VGA to get boot log.
YH
Appologies, dind't think you meant without VGA. Here it is
LinuxBIOS-2.0.0.0Fallback Tue Feb 27 19:08:33 GMT 2007 starting... SMBus controller enabled
dimm: 00.0: 50 00: 00 00 04 0c 09 02 00 00 00 00 00 00 80 08 00 00 10: 00 04 06 00 00 15 00 a0 60 00 00 14 0f 14 00 00 20: 20 10 20 10 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dimm: 01.0: 51 00: 00 00 04 0c 09 02 00 00 00 00 00 00 80 08 00 00 10: 00 04 06 00 00 15 00 a0 60 00 00 14 0f 14 00 00 20: 20 10 20 10 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dimm: 02.0: 52 00: 00 00 04 0c 09 02 00 00 00 00 00 00 80 08 00 00 10: 00 04 06 00 00 15 00 a0 60 00 00 14 0f 14 00 00 20: 20 10 20 10 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dimm: 03.0: 53 00: 00 00 04 0c 09 02 00 00 00 00 00 00 80 08 00 00 10: 00 04 06 00 00 15 00 a0 60 00 00 14 0f 14 00 00 20: 20 10 20 10 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Copying LinuxBIOS to RAM. Jumping to LinuxBIOS. LinuxBIOS-2.0.0.0Fallback Tue Feb 27 19:08:33 GMT 2007 booting... end 5f6ec5af, start 0 32-bit delta 229 calibrate_tsc 32-bit result is 229 clocks_per_usec: 229 Enumerating buses... scan_static_bus for Root Device Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled PCI_DOMAIN: 0000 scanning... PCI: pci_scan_bus for bus 00 PCI: 00:00.0 [8086/7190] ops PCI: 00:00.0 [8086/7190] enabled PCI: 00:01.0 [8086/7191] enabled PCI: devfn 0x10, bad id 0xffffffff PCI: devfn 0x18, bad id 0xffffffff PCI: devfn 0x20, bad id 0xffffffff PCI: devfn 0x28, bad id 0xffffffff PCI: devfn 0x30, bad id 0xffffffff PCI: 00:07.0 [8086/7110] enabled malloc Enter, size 668, free_mem_ptr 00014000 malloc 0x00014000 PCI: 00:07.1 [8086/7111] enabled malloc Enter, size 668, free_mem_ptr 0001429c malloc 0x0001429c PCI: 00:07.2 [8086/7112] enabled malloc Enter, size 668, free_mem_ptr 00014538 malloc 0x00014538 PCI: 00:07.3 [8086/7113] enabled PCI: devfn 0x3c, bad id 0xffffffff PCI: devfn 0x3d, bad id 0xffffffff PCI: devfn 0x3e, bad id 0xffffffff PCI: devfn 0x3f, bad id 0xffffffff PCI: devfn 0x40, bad id 0xffffffff PCI: devfn 0x48, bad id 0xffffffff PCI: devfn 0x50, bad id 0xffffffff PCI: devfn 0x58, bad id 0xffffffff PCI: devfn 0x60, bad id 0xffffffff PCI: devfn 0x68, bad id 0xffffffff PCI: devfn 0x70, bad id 0xffffffff PCI: 00:0f.0 [15ad/0405] enabled PCI: 00:10.0 [104b/1040] enabled PCI: 00:11.0 [1022/2000] enabled PCI: 00:12.0 [1274/1371] enabled PCI: devfn 0x98, bad id 0xffffffff PCI: devfn 0xa0, bad id 0xffffffff PCI: devfn 0xa8, bad id 0xffffffff PCI: devfn 0xb0, bad id 0xffffffff PCI: devfn 0xb8, bad id 0xffffffff PCI: devfn 0xc0, bad id 0xffffffff PCI: devfn 0xc8, bad id 0xffffffff PCI: devfn 0xd0, bad id 0xffffffff PCI: devfn 0xd8, bad id 0xffffffff PCI: devfn 0xe0, bad id 0xffffffff PCI: devfn 0xe8, bad id 0xffffffff PCI: devfn 0xf0, bad id 0xffffffff PCI: devfn 0xf8, bad id 0xffffffff do_pci_scan_bridge for PCI: 00:01.0 PCI: pci_scan_bus for bus 01 PCI: devfn 0x0, bad id 0xffffffff PCI: devfn 0x8, bad id 0xffffffff PCI: devfn 0x10, bad id 0xffffffff PCI: devfn 0x18, bad id 0xffffffff PCI: devfn 0x20, bad id 0xffffffff PCI: devfn 0x28, bad id 0xffffffff PCI: devfn 0x30, bad id 0xffffffff PCI: devfn 0x38, bad id 0xffffffff PCI: devfn 0x40, bad id 0xffffffff PCI: devfn 0x48, bad id 0xffffffff PCI: devfn 0x50, bad id 0xffffffff PCI: devfn 0x58, bad id 0xffffffff PCI: devfn 0x60, bad id 0xffffffff PCI: devfn 0x68, bad id 0xffffffff PCI: devfn 0x70, bad id 0xffffffff PCI: devfn 0x78, bad id 0xffffffff PCI: devfn 0x80, bad id 0xffffffff PCI: devfn 0x88, bad id 0xffffffff PCI: devfn 0x90, bad id 0xffffffff PCI: devfn 0x98, bad id 0xffffffff PCI: devfn 0xa0, bad id 0xffffffff PCI: devfn 0xa8, bad id 0xffffffff PCI: devfn 0xb0, bad id 0xffffffff PCI: devfn 0xb8, bad id 0xffffffff PCI: devfn 0xc0, bad id 0xffffffff PCI: devfn 0xc8, bad id 0xffffffff PCI: devfn 0xd0, bad id 0xffffffff PCI: devfn 0xd8, bad id 0xffffffff PCI: devfn 0xe0, bad id 0xffffffff PCI: devfn 0xe8, bad id 0xffffffff PCI: devfn 0xf0, bad id 0xffffffff PCI: devfn 0xf8, bad id 0xffffffff PCI: pci_scan_bus returning with max=001 do_pci_scan_bridge returns max 1 PCI: pci_scan_bus returning with max=001 scan_static_bus for Root Device done done Allocating resources... Reading resources... Root Device compute_allocate_io: base: 00000400 size: 00000000 align: 0 gran: 0 Root Device read_resources bus 0 link: 0 PCI_DOMAIN: 0000 read_resources bus 0 link: 0 PCI: 00:01.0 compute_allocate_io: base: 00000000 size: 00000000 align: 12 gran: 12 PCI: 00:01.0 read_resources bus 1 link: 0 PCI: 00:01.0 read_resources bus 1 link: 0 done PCI: 00:01.0 compute_allocate_io: base: 00000000 size: 00000000 align: 12 gran: 12 done PCI: 00:01.0 compute_allocate_io: base: 0000f000 size: 00000000 align: 12 gran: 12 PCI: 00:01.0 read_resources bus 1 link: 0 PCI: 00:01.0 read_resources bus 1 link: 0 done PCI: 00:01.0 compute_allocate_io: base: 0000f000 size: 00000000 align: 12 gran: 12 done PCI: 00:01.0 1c <- [0x000000f000 - 0x000000efff] bus 01 io PCI: 00:01.0 compute_allocate_prefmem: base: 00000000 size: 00000000 align: 20 gran: 20 PCI: 00:01.0 read_resources bus 1 link: 0 PCI: 00:01.0 read_resources bus 1 link: 0 done PCI: 00:01.0 compute_allocate_prefmem: base: 00000000 size: 00000000 align: 20 gran: 20 done PCI: 00:01.0 compute_allocate_prefmem: base: fff00000 size: 00000000 align: 20 gran: 20 PCI: 00:01.0 read_resources bus 1 link: 0 PCI: 00:01.0 read_resources bus 1 link: 0 done PCI: 00:01.0 compute_allocate_prefmem: base: fff00000 size: 00000000 align: 20 gran: 20 done PCI: 00:01.0 24 <- [0x00fff00000 - 0x00ffefffff] bus 01 prefmem PCI: 00:01.0 compute_allocate_mem: base: 00000000 size: 00000000 align: 20 gran: 20 PCI: 00:01.0 read_resources bus 1 link: 0 PCI: 00:01.0 read_resources bus 1 link: 0 done PCI: 00:01.0 compute_allocate_mem: base: 00000000 size: 00000000 align: 20 gran: 20 done PCI: 00:01.0 compute_allocate_mem: base: fff00000 size: 00000000 align: 20 gran: 20 PCI: 00:01.0 read_resources bus 1 link: 0 PCI: 00:01.0 read_resources bus 1 link: 0 done PCI: 00:01.0 compute_allocate_mem: base: fff00000 size: 00000000 align: 20 gran: 20 done PCI: 00:01.0 20 <- [0x00fff00000 - 0x00ffefffff] bus 01 mem PCI_DOMAIN: 0000 read_resources bus 0 link: 0 done Root Device read_resources bus 0 link: 0 done PCI: 00:11.0 10 * [0x00000400 - 0x0000047f] io PCI: 00:12.0 10 * [0x00000480 - 0x000004bf] io PCI: 00:07.2 20 * [0x000004c0 - 0x000004df] io PCI: 00:10.0 10 * [0x000004e0 - 0x000004ff] io PCI: 00:07.1 20 * [0x00000800 - 0x0000080f] io PCI: 00:0f.0 10 * [0x00000810 - 0x0000081f] io Root Device compute_allocate_io: base: 00000820 size: 00000420 align: 7 gran: 0 done Root Device compute_allocate_mem: base: 00000000 size: 00000000 align: 0 gran: 0 Root Device read_resources bus 0 link: 0 Root Device read_resources bus 0 link: 0 done PCI: 00:00.0 10 * [0x00000000 - 0x0fffffff] mem PCI: 00:0f.0 14 * [0x10000000 - 0x17ffffff] mem PCI: 00:0f.0 18 * [0x18000000 - 0x187fffff] mem PCI: 00:10.0 14 * [0x18800000 - 0x1880001f] mem Root Device compute_allocate_mem: base: 18800020 size: 18800020 align: 28 gran: 0 done Done reading resources. Setting resources... Root Device compute_allocate_io: base: 00001000 size: 00000420 align: 7 gran: 0 Root Device read_resources bus 0 link: 0 Root Device read_resources bus 0 link: 0 done PCI: 00:11.0 10 * [0x00001000 - 0x0000107f] io PCI: 00:12.0 10 * [0x00001080 - 0x000010bf] io PCI: 00:07.2 20 * [0x000010c0 - 0x000010df] io PCI: 00:10.0 10 * [0x000010e0 - 0x000010ff] io PCI: 00:07.1 20 * [0x00001400 - 0x0000140f] io PCI: 00:0f.0 10 * [0x00001410 - 0x0000141f] io Root Device compute_allocate_io: base: 00001420 size: 00000420 align: 7 gran: 0 done Root Device compute_allocate_mem: base: e0000000 size: 18800020 align: 28 gran: 0 Root Device read_resources bus 0 link: 0 Root Device read_resources bus 0 link: 0 done PCI: 00:00.0 10 * [0xe0000000 - 0xefffffff] mem PCI: 00:0f.0 14 * [0xf0000000 - 0xf7ffffff] mem PCI: 00:0f.0 18 * [0xf8000000 - 0xf87fffff] mem PCI: 00:10.0 14 * [0xf8800000 - 0xf880001f] mem Root Device compute_allocate_mem: base: f8800020 size: 18800020 align: 28 gran: 0 done Root Device assign_resources, bus 0 link: 0 I would set ram size to 0x0 Kbytes PCI_DOMAIN: 0000 assign_resources, bus 0 link: 0 PCI: 00:00.0 10 <- [0x00e0000000 - 0x00efffffff] mem PCI: 00:07.1 20 <- [0x0000001400 - 0x000000140f] io PCI: 00:07.2 20 <- [0x00000010c0 - 0x00000010df] io PCI: 00:0f.0 10 <- [0x0000001410 - 0x000000141f] io PCI: 00:0f.0 14 <- [0x00f0000000 - 0x00f7ffffff] mem PCI: 00:0f.0 18 <- [0x00f8000000 - 0x00f87fffff] mem PCI: 00:10.0 10 <- [0x00000010e0 - 0x00000010ff] io PCI: 00:10.0 14 <- [0x00f8800000 - 0x00f880001f] mem PCI: 00:11.0 10 <- [0x0000001000 - 0x000000107f] io PCI: 00:12.0 10 <- [0x0000001080 - 0x00000010bf] io PCI_DOMAIN: 0000 assign_resources, bus 0 link: 0 Root Device assign_resources, bus 0 link: 0 Done setting resources. Done allocating resources. Enabling resources... PCI: 00:00.0 cmd <- 146 PCI: 00:01.0 bridge ctrl <- 0083 PCI: 00:01.0 cmd <- 140 PCI: 00:07.0 subsystem <- fffe/15ad PCI: 00:07.0 cmd <- 147 PCI: 00:07.1 cmd <- 141 PCI: 00:07.2 cmd <- 141 PCI: 00:07.3 cmd <- 141 PCI: 00:0f.0 subsystem <- fffe/15ad PCI: 00:0f.0 cmd <- 143 PCI: 00:10.0 subsystem <- fffe/15ad PCI: 00:10.0 cmd <- 143 PCI: 00:11.0 subsystem <- fffe/15ad PCI: 00:11.0 cmd <- 141 PCI: 00:12.0 subsystem <- fffe/15ad PCI: 00:12.0 cmd <- 141 done. Initializing devices... Root Device init PCI: 00:00.0 init Northbridge Init PCI: 00:10.0 init PCI: 00:11.0 init PCI: 00:12.0 init PCI: 00:0f.0 init PCI: 00:07.0 init PCI: 00:07.1 init PCI: 00:07.2 init PCI: 00:07.3 init Devices initialized Moving GDT to 0x500...ok Wrote linuxbios table at: 00000530 - 00000b48 checksum feeb
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfffe0000 - 0xfffeffff header_offset is -1 Cannot Load ELF Image
On 28/02/07, Lu, Yinghai yinghai.lu@amd.com wrote:
Then disable VGA to get boot log.
YH
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
device pci f.0 on # VGA controller chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end end
device pci 7.0 on # ISA bridge end end
===>
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge
device pci 7.0 on # ISA bridge end
chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end
device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
end
Hi Lu,
I have changed the config as suggested, didn't realise that the PCI id's had to be in numerical order. Different result with VMWare now, it reports a triple fault within the VMWare log, but that it as much as I can get from it, still no serial output when VGA is on
Regards, Joe
On 28/02/07, Lu, Yinghai yinghai.lu@amd.com wrote:
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
device pci f.0 on # VGA controller chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end end
device pci 7.0 on # ISA bridge end end
=è
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge
device pci 7.0 on # ISA bridge
end
chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end
device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
end
Is the VGA device treated as add on card or onboard device in your HW model?
In first case, the VGA BIOS is supposed to be loaded by HW model. Such as qemu-i386, or xen start ...
YH
________________________________
From: Joe Pub [mailto:joepubber@googlemail.com] Sent: Wednesday, February 28, 2007 10:52 AM To: Lu, Yinghai Cc: linuxbios@linuxbios.org Subject: Re: [LinuxBIOS] LinuxBIOS and VMWare
Hi Lu,
I have changed the config as suggested, didn't realise that the PCI id's had to be in numerical order. Different result with VMWare now, it reports a triple fault within the VMWare log, but that it as much as I can get from it, still no serial output when VGA is on
Regards, Joe
On 28/02/07, Lu, Yinghai yinghai.lu@amd.com wrote:
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
device pci f.0 on # VGA controller chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end end
device pci 7.0 on # ISA bridge end end
= ==>
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge
device pci 7.0 on # ISA bridge end
chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end
device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
end
I have taken the driver out for the onboard device at no avail - does that mean the VGA bios doesn't need to be in the image also if it's an add-on card?
On 28/02/07, Lu, Yinghai yinghai.lu@amd.com wrote:
Is the VGA device treated as add on card or onboard device in your HW model?
In first case, the VGA BIOS is supposed to be loaded by HW model. Such as qemu-i386, or xen start …
YH
*From:* Joe Pub [mailto:joepubber@googlemail.com] *Sent:* Wednesday, February 28, 2007 10:52 AM *To:* Lu, Yinghai *Cc:* linuxbios@linuxbios.org *Subject:* Re: [LinuxBIOS] LinuxBIOS and VMWare
Hi Lu,
I have changed the config as suggested, didn't realise that the PCI id's had to be in numerical order. Different result with VMWare now, it reports a triple fault within the VMWare log, but that it as much as I can get from it, still no serial output when VGA is on
Regards, Joe
On 28/02/07, *Lu, Yinghai* yinghai.lu@amd.com wrote:
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
device pci f.0 on # VGA controller chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end end
device pci 7.0 on # ISA bridge end end
= è
chip northbridge/intel/i440bx
device pci_domain 0 on device pci 0.0 on end # host bridge device pci 1.0 on end # PCI bridge
device pci 7.0 on # ISA bridge
end
chip drivers/pci/onboard device pci f.0 on end register "rom_address" = "0xfff80000" end
device pci 10.0 on end # SCSI storage controller device pci 11.0 on end # Ethernet controller device pci 12.0 on end # Audio controller
end
Not needed for add-on card.
YH
Well then I have no idea what the problem is. I have enabled the following and taken the VGA BIOS out of the linuxbios.rom and the onboard device out of the config.lb
default CONFIG_CONSOLE_VGA=1 default CONFIG_PCI_ROM_RUN=1
and the VM still halts with no output to screen, or serial (if I use CONFIG_CONSOLE_SERIAL8250). As soon as I disable CONFIG_PCI_ROM_RUN then it boots as normal.
I guess I need to get on the VMWare forum and see if there is a VMWare tech there that can help.
Thanks for you help
On 28/02/07, Lu, Yinghai yinghai.lu@amd.com wrote:
Not needed for add-on card.
YH