Hi,
I ran into problems to enable VGA in coreboot on the ME6000.
The log:
coreboot-2.0.0.0Fallback So 4. Mai 10:09:40 CEST 2008 starting... Enabling mainboard devices Enabling shadow ram vt8623 init starting Detecting Memory Number of Banks 04 Number of Rows 0d Priamry DRAM width08 No Columns 0a MA type e0 Bank 0 (*16 Mb) 10 No Physical Banks 02 Total Memory (*16 Mb) 20 CAS Supported 2 2.5 Cycle time at CL X (nS)60 Cycle time at CL X-0.5 (nS)75 Cycle time at CL X-1 (nS)00 Starting at CAS 2.5 We can do CAS 2 tRP 48 tRCD 48 tRAS 2a Low Bond 00 High Bondcd Setting DQS delay88vt8623 done 00:06 11 23 31 06 00 30 22 00 00 00 06 00 00 00 00 10:08 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00 20:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30:00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00 40:00 18 88 80 82 44 00 00 18 99 88 80 82 44 00 00 50:c8 de cf 88 e0 07 00 00 e0 00 10 20 20 20 00 00 60:02 ff 00 30 d6 32 01 20 42 2d 43 58 84 55 00 00 70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 02 12 80:0f 61 00 00 80 00 00 00 02 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:02 c0 20 00 07 02 00 1f 04 00 00 00 2f 02 04 00 b0:00 00 00 00 80 00 00 00 68 00 00 00 00 00 00 00 c0:01 00 02 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 dd 00 01 00 00 01 00 40 00 00 00 00 00 00 00 f0:00 00 00 00 00 00 12 13 00 00 00 00 00 00 00 00 AGP Doing MTRR init. Copying coreboot to RAM. Jumping to coreboot. coreboot-2.0.0.0Fallback So 4. Mai 10:09:40 CEST 2008 booting... clocks_per_usec: 877 Enumerating buses... APIC_CLUSTER: 0 enabled Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0001 enabled PCI: pci_scan_bus for bus 00 PCI: 00:00.0 [1106/3123] enabled PCI: 00:01.0 [1106/b091] enabled PCI: 00:0d.0 [1106/3044] enabled In vt8235_enable 1106 3038. PCI: 00:10.0 [1106/3038] enabled In vt8235_enable 1106 3038. PCI: 00:10.1 [1106/3038] enabled In vt8235_enable 1106 3038. PCI: 00:10.2 [1106/3038] enabled In vt8235_enable ffff ffff. Disabling static device: PCI: 00:10.3 In vt8235_enable 1106 3177. Initialising Devices Keyboard init... PCI: 00:11.0 [1106/3177] enabled In vt8235_enable 1106 0571. PCI: 00:11.1 [1106/0571] enabled In vt8235_enable 1106 3059. PCI: 00:11.5 [1106/3059] enabled In vt8235_enable 1106 3068. PCI: 00:11.6 [1106/3068] disabled In vt8235_enable 1106 3065. PCI: 00:12.0 [1106/3065] enabled PCI: 00:14.0 [1131/7146] enabled PCI: pci_scan_bus for bus 01 PCI: 01:00.0 [1106/3122] enabled PCI: pci_scan_bus returning with max=001 vt1211 enabling PNP devices. PNP: 002e.0 enabled vt1211 enabling PNP devices. PNP: 002e.1 enabled vt1211 enabling PNP devices. PNP: 002e.2 enabled vt1211 enabling PNP devices. PNP: 002e.3 enabled vt1211 enabling PNP devices. PNP: 002e.b enabled PCI: pci_scan_bus returning with max=001 PCI: pci_scan_bus for bus 00 PCI: 00:00.0 [1106/3123] enabled PCI: 00:01.0 [1106/b091] enabled PCI: 00:0d.0 [1106/3044] enabled PCI: 00:10.0 [1106/3038] enabled PCI: 00:10.1 [1106/3038] enabled PCI: 00:10.2 [1106/3038] enabled PCI: 00:10.3 [1106/3104] enabled PCI: 00:11.0 [1106/3177] enabled PCI: 00:11.1 [1106/0571] enabled PCI: 00:11.5 [1106/3059] enabled Error! malloc: free_mem_ptr >= free_mem_end_ptr
The whole thing is stored in a 39SF040 (512 KB), so I've set the rom_address to 0xfff8000:
device pci 0.0 on # PCI chip drivers/pci/onboard device pci 0.0 on end register "rom_address" = "0xfff80000" #512k image end end
(I've also tried to create a 256 KB image (prepended with 256 KB of 0s) with fffc0000 - same effect).
The following options are used:
option CONFIG_CONSOLE_VGA=1 option CONFIG_PCI_ROM_RUN=0 option ROM_SIZE=458752
The fallback size is set to the same value as the ROM_SIZE (458752) as I use a fallback-only image.
The interesting things are:
1. It doesn't matter if I use OptionsRom or the legacy VGA-BIOS 2. Without VGA BIOS (configuration adapted) it works.
Any suggestions?
Thanks in advance
Michael
Hi Michael,
On Wed, May 07, 2008 at 08:51:29PM +0000, Michael Rauscher wrote:
I ran into problems to enable VGA in coreboot on the ME6000.
The log:
coreboot-2.0.0.0Fallback So 4. Mai 10:09:40 CEST 2008 starting... Enabling mainboard devices Enabling shadow ram
[...]
PCI: 00:11.5 [1106/3059] enabled Error! malloc: free_mem_ptr >= free_mem_end_ptr
I ran into this problem also. I was able to get around it by modifying src/mainboard/via/epia-m/Options.lb and increasing HEAP_SIZE:
default HEAP_SIZE=0x5000
Unfortunately, I still can not get vga output on my epia-m9000.
device pci 0.0 on # PCI chip drivers/pci/onboard device pci 0.0 on end register "rom_address" = "0xfff80000" #512k image end end
I don't think adding this is right. Looking at the logs, this seems to cause vga to get initialized twice. (Unfortunately, I can't get vga output regardless of how many times it gets initialized.)
-Kevin