[LinuxBIOS] EPIA-M VGA

Jun OKAJIMA okajima at digitalinfra.co.jp
Tue Nov 8 04:03:06 CET 2005



progressed ---

the doc which Nick gave has a mistake.
use this to get VGA BIOS.
# dd if=/dev/mem of=video.bios.bin.4 bs=1 count=65536 skip=786432
786432 is 0xc0000, and 790528 which Nich told is 0xc1000.
My hash codes are:
okajima at Debian:~/lx2/LinuxBIOSv2-2084$ md5sum video.bios.bin.c*
26dcdde20308778d4a86628b82b215ba  video.bios.bin.c0000
d7980d838d24a12aec497d6fe19c1bf5  video.bios.bin.c1000


Then, VGA BIOS was recognized. But still no screen comes.
Probably, 
> biosint: Oops, exception 60x6a1f 0xc000 0x0046 0x7fa0 0x89b5 0xb6e1 0x0000
> biosint: Bailing out
here is the problem. Any idea?



                         --- Okajima, Jun. Tokyo, Japan.


VGA random fixup ...
INSTALL REAL-MODE IDT
DO THE VGA BIOS
found VGA: vid=1106, did=3122
rom bawrite_protect_vgabios
bus/devfn = 0x100
biosint: # 0x6, eax 0x5f00 ebx 0x187c8 ecx 0x17fa0 edx 0xa
biosint: ebp 0x17f70 esp 0xfec edi 0xe850 esi 0x187c8
biosint: ip 0xf859 cs 0xf000 flags 0x46
biosint: Oops, exception 60x6a1f 0xc000 0x0046 0x7fa0 0x89b5 0xb6e1 0x0000
biosint: Bailing out
sp 0xffa edi 0x0 esi 0x187c8ebx 0x18003 ecx 0x1 edx 0x0
biosint: ip 0xb565 cs 0x0 flags 0x46
BIOSINT: Unsupport int #0x10








------------

LinuxBIOS-1.1.llback Tue Nov  8 10:20:46 UTC 2tarting...
 Enabling mainboard device
                           Enabling shadow ram
vt8623 init starg
Detecting Memory
Numr of Banks 04
Number of Rows0d
Priamry DRAM width08
No Columns 0b
MA type e0
Bank 0 (*16 Mb) 20
No Physical Banks 01
Total Memory (*16 Mb) 20
CAS Supported 2.5 3
Cycle time at CL X     (nS)50
Cycle time at CL X-0.5 (nS)60
Cycle time at CL X-1   (nS)00
Starting at CAS
We can do CAS 2.5
tRP 3c
tRCD 3c
tRAS 28
Low Bond 00  High Bondc9  Setting DQS delay86vt8623 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 20 20 20 20 00 00
60:02 ff 00 30 62 32 01 20 42 2d 43 58 00 44 00 00
70:82 48 00 01 01 08 50 00 01 00 00 00 00 00 00 02
80:0f 6c 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 88 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 00 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 LinuxBIOJumping to LinuxBIOS.
LinuxBIOS-1.1.8.0Fallback Tue Nov  8 10:20:46 UTclocks_per_usec: 2572
Enumerating buses...
Finding PCIN: 0000 enabled
APIC_CLUSTER: 0 enabled
PCI: pci_scan_bus for bus 0
PCI: 00:00.0 [1106/3123]abling static device: PCI: 00:0a.0
Disabling static device: PCI: 00:0a.1
PCI: 00:0d.0 [1106/3044] enabled
In vt8235_enable 1106 1106 3038.
PCI: 00:10.1 [1106/3038] enabled
In vt8235_enable 1106 3038.
PCI: 00:10.2 [1106/3038] enabled
In vt8235_enable 1106 5_enable 1106 3177.
Initialising Devices
PCI: 00:11.0 [1106/3177] enabled
In vt8235_enable 1106  1106 3059.
PCI: 00:11.5 [1106/3059] enabled
In vt8235_enable ffff ffff.
In vt8235_enable 1106 3065.
PCI: 00:12.0 [1106/3065] enabled
PCI: pci_scan_bus for bus 1
PCI_bus returning with max=01
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
PCI: pci_scan_bus returning with max=01
done
Allocating resources...
Reading resources...
Done reading resources.
Setting resourc to 0x80000 Kbytes
PCI: 00:0d.0 10 <- [0x00febfe000 - 0x00febfe7ff] mem
PCI: 00:0d.0 14 <- [0x0000001800 - 0x000000187f] io
PCI: 00:10.0 20 <- [0x0000001880 - 0x000000189f] io
PCI: 00:10.1 20 <- [0x00000018a0 - 0x00000018bf] io
PCI: 00:10.2 20 <- [0x00000018c0 - 0x00000018df] io
PCI: 00:10.3 10 <- [0x00febff000 - 0x00febff0ff] mem
PNP: 002e.0 60 <- [0x00000003f0 00006 - 0x0000000006] irq
PNP: 002e.0 74 <- [0x0000000002 - 0x0000000002] drq
PNP: 002e.1 60 <- [0x0000000378 - 0x000000037f] io
PNP: 002e.1 70 <- [0x0000000007 - 0x0000000007] irq
PNP: 002e.1 74 <- [0x0000000003 - 0x0000000003] drq
PNP: 002e.2 60 <- [0x00000003f8 - 0x0000x0000000004] irq
PNP: 002e.3 60 <- [0x00000002f8 - 0x00000002ff] io
PNP: 002e.3 70 <- [0x0000000003 - 0x0000000003] irq
PNP: 002e.b 60 <- [0x000000ec00 - 0x000000ecff] io
PCI: 00:11.1 20 <- [0x00000018e0 - 0x00000018ef] io
PCI: 00:11.5 10 <- [0x0000001000 - 0x00000010ff] io
PCI: 00:12.0 10 <- [0x0000001400 - 0x00000014ff]000ff] mem
Done setting resources.
Done allocating resources.
Enabling resourcess...
PCI: 00:00.0 cmd <- 146
PCI: 00:01.0 bridge ctrl <- 000f
PCI: 00:01.0 cmd <- 147
PCI: 01:00.0 cmd <- 140
PCI: 00:0d.0 cmd <- 1c3
PCI: 00:10.0 subsystem <- 00/00
PCI: 00:10.0 cmd <-00:10.1 cmd <- 141
PCI: 00:10.2 subsystem <- 00/00
PCI: 00:10.2 cmd <- 141
PCI: 00:10.3 subsystem <- 00/00
PCI: 00:10.3 cmd <- 142
PCI: 00:11.0 cmd <- 147
PNP: 002e.0 - enabling
PNP: 002e.1 - enabling
PNP: 002e.2 - enabling
PNP: 002e.3 - enabling
PNP: 002e.b - enabling
PCI: 00:11.system <- 00/00
PCI: 00:11.md <- 141
PCI: 00:12.0 cmd <- 1c3
done.
Initializing devices...
Root Device init
PCI: 00:10.0 init
PCI: 00:10.1 init
PCI: 00:10.2 init
PCI: 00:10.3 init
PCI: 00:11.0 init
vt8235 init
RTC Init
Invalid CMOS LB checksum
pci_routing_fixup: dev is 00010ac0
setting firewire
Assigning IRQ 9 to 0:d.0
  Readback = 9
setting usb
Assigning IRQ 5 to 0:10.0
  Readback = 5
 wrong: want 0x0, got 0x20
Assigning IRQ 9 to 0:10.1
  Readback = 9
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
Assigning IRQ 9 to 0:10.2
  Readback = 9
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
Assigning IRQ 5 to 0:10.3
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting vt8235
Assigning IRQ 5 to 0:11.1
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, go 0:11.5
  Readback = 9
pci_level_irq: lower order bits are wrong: want 0x0, ting ethernet
Assigning IRQ 5 to 0:12.0
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting vga
Assigning IRQ 5 to 1:0.0
  Readback = 5
pci_level_irq: lower order bits are wrong: want 0x0, got 0x20
setting pci slot
setting cardbus slot
setting riser slot
PNP: 002e.0 init
PNP: 002e.1 init
PNP: 002e.2 init
PNP: 002e.3 init
PNP: 002e.b init
PCI: 00:11.1 init
Enabling VIA IDE.
ide_init: enabling compatibility IDE addresses
enables in reg 0x42 0x0
enables in reg 0x42 read back as 0x0
enables in reg 0x40 0x13
enables in reg 0x40 read back as 0x13
enables in reg 0x9 0x8a
enables in reg 0x9 read back as 0x8a
command in reg 0x4 0x7
command in reg 0x4 reads back as 0x7
PCI: 00:11.5 inionfiguring VIA Rhine LAN
APIC_CLUSTER: 0 init
IniCPU: vendor Centaur devi
Enabling cache

Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) Type: WB
Setting fixed MTRRs(24-88) Type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base:    0MB, range:  256MB, type WB
Setting variable MTRR 1, base:  256MB, range:  128MB, type WB
Setting variable MTRR 2, base:  384MB, range:   64MB, type WB
Setting variable MTRR 3, base:  448MB, range:   32MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's

MTRR check
Fixed MTRRs   : Enabled
Variable MTRRs: Enabled

Disabling local apic...done.
CPU #0 Initialized
PCI: 00:00.0 init
VT8623 random fixup ...
Frame buffer at d0000000dom fixup ...
PCI: 00:0d.0 init
PCI: 01:00.0 init
VGA random fixup ...
INSTALL REAL-MODE IDT
DO THE VGA BIOS
found VGA: vid=1106, did=3122
rom bawrite_protect_vgabios
bus/devfn = 0x100
biosint: # 0x6, eax 0x5f00 ebx 0x187c8 ecx 0x17fa0 edx 0xa
biosint: ebp 0x17f70 esp 0xfec edi 0xe850 esi 0x187c8
biosint: ip 0xf859 cs 0xf000 flags 0x46
biosint: Oops, exception 60x6a1f 0xc000 0x0046 0x7fa0 0x89b5 0xb6e1 0x0000
biosint: Bailing out
sp 0xffa edi 0x0 esi 0x187c8ebx 0x18003 ecx 0x1 edx 0x0
biosint: ip 0xb565 cs 0x0 flags 0x46
BIOSINT: Unsupport int #0x10
Devices initialized
Copying IRQ routing tables to 0xf0000...done.
Verifing copy of IRQ routing tables at 0xf0000...done
Checking IRQ routing table consistency...
check_pirq_routing_table() - irq_routing_table located at: 0x000f0000
done.
ACPI: Writing ACPI tables at f0400...
ACPI:     * FACS
ACPI:     * DSDT @ 000f04aa Length 3f0
ACPI:     * FADT
ACPI: added table 1/8 Length now 40
ACPI: done.
Moving GDT to 0x500...ok
Wrote linuxbios table at: 00000530 - 00000b60  checksum 1e60

Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.3

    33:stream_init() - rom_stream: 0xfffd0000 - 0xfffeffff
Found ELF candiate at offset 0
New segment addr 0x100000 size 0x25390 offset 0xa0 filesize 0xb2e0
(cleaned up) New segment addr 0x100000 size 0x25390 offset 0xa0 filesize 0xb2e0
New segment addr 0x1253a0 size 0x60egment addr 0x1253a0 size 0x60 offset 0xb380 filesize 0x60
Dropping non PT_LOAD segment
Loading Segment: addr: 0x0000000000100000 memsz: 0x0000000000025390 filesz: 0x000000000000b2e0
Clearing Segment00000010b2e0 memsz: 0x000000000001a0b0
Loading Segment: addr: 0x00000000001253a0 memsz: 0x0000000000000060 filesz: 0x0000000000000060
Jumping to boot code at 0x108b4c
FILO version 0.4.2 (okajima at Debian) Sun Nov  6 04:49:41 UTC 2005
Press <Enter> for default boot, or <Esc> for boot prompt... timed out
boot: hda1:/vmlinuz root=/dev/hIDE time out
No drive detected on IDE channel 0
boot: hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200




More information about the coreboot mailing list