Hello,
I have followed the epia HOWTO (thanks to Mark Wilkinson) to create romimage with VGA.
But I haven't no VGA output in epia-m with current CVS version of linuxbios.
Can someone help me ??
This is my serial logfile :
(VGA seem to be active )
-------------------------------------------------------------------------------------------------------------------------------
LinuxBIOS-1.0.0 jeu fév 24 15:33:30 CET 2005 starting...
80 08 07 0d 0a 01 40 00 04 75 75 00 82 08 00 01
0e 04 0c 01 02 20 00 a0 75 00 00 50 3c 50 2d 40
90 90 50 50 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bf
7f 7f 7f 0b 00 00 00 00 01 4e 54 32 35 36 44 36
34 53 38 38 42 30 47 2d 37 35 42 00 00 03 1e 11
49 11 14 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.0.0 jeu fév 24 15:33:30 CET 2005 booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Scanning PCI bus...PCI: pci_scan_bus for bus 0
PCI: 00:00.0 [1106/3123]
PCI: 00:01.0 [1106/b091]
PCI: 00:0d.0 [1106/3044]
PCI: 00:10.0 [1106/3038]
PCI: 00:10.1 [1106/3038]
PCI: 00:10.2 [1106/3038]
PCI: 00:10.3 [1106/3104]
PCI: 00:11.0 [1106/3177]
PCI: 00:11.1 [1106/0571]
PCI: 00:11.5 [1106/3059]
PCI: 00:12.0 [1106/3065]
PCI: pci_scan_bus for bus 1
PCI: 01:00.0 [1106/3122]
PCI: pci_scan_bus returning with max=01
PCI: pci_scan_bus returning with max=01
done
Allocating PCI resources...
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
ASSIGN RESOURCES, bus 0
PCI: 00:01.0 1c <- [0x00001000 - 0x00000fff] bus 1 io
PCI: 00:01.0 24 <- [0xf8000000 - 0xfbffffff] bus 1 prefmem
PCI: 00:01.0 20 <- [0xfc000000 - 0xfcffffff] bus 1 mem
ASSIGN RESOURCES, bus 1
PCI: 01:00.0 10 <- [0xf8000000 - 0xfbffffff] prefmem
PCI: 01:00.0 14 <- [0xfc000000 - 0xfcffffff] mem
ASSIGNED RESOURCES, bus 1
PCI: 00:0d.0 10 <- [0xfd000000 - 0xfd0007ff] mem
PCI: 00:0d.0 14 <- [0x00001800 - 0x0000187f] io
PCI: 00:10.0 20 <- [0x00001880 - 0x0000189f] io
PCI: 00:10.1 20 <- [0x000018a0 - 0x000018bf] io
PCI: 00:10.2 20 <- [0x000018c0 - 0x000018df] io
PCI: 00:10.3 10 <- [0xfd001000 - 0xfd0010ff] mem
PCI: 00:11.1 20 <- [0x000018e0 - 0x000018ef] io
PCI: 00:11.5 10 <- [0x00001000 - 0x000010ff] io
PCI: 00:12.0 10 <- [0x00001400 - 0x000014ff] io
PCI: 00:12.0 14 <- [0xfd002000 - 0xfd0020ff] mem
ASSIGNED RESOURCES, bus 0
Allocating VGA resource
done.
Enabling PCI resourcess...PCI: 00:00.0 cmd <- 06
PCI: 00:01.0 cmd <- 07
PCI: 00:0d.0 cmd <- 83
PCI: 00:10.0 cmd <- 01
PCI: 00:10.1 cmd <- 01
PCI: 00:10.2 cmd <- 01
PCI: 00:10.3 cmd <- 02
PCI: 00:11.0 cmd <- 07
PCI: 00:11.1 cmd <- 07
PCI: 00:11.5 cmd <- 01
PCI: 00:12.0 cmd <- 83
PCI: 01:00.0 cmd <- 03
done.
Initializing PCI devices...
PCI devices initialized
totalram: 96M
Initializing CPU #0
Enabling cache...
Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base: 0MB, range: 64MB, type WB
Setting variable MTRR 1, base: 64MB, range: 32MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's
call intel_enable_fixed_mtrr()
call intel_enable_var_mtrr()
Leave setup_mtrrs
done.
Max cpuid index : 1
Vendor ID : CentaurHauls
Processor Type : 0x00
Processor Family : 0x06
Processor Model : 0x09
Processor Mask : 0x00
Processor Stepping : 0x05
Feature flags : 0x0380b13d
MTRR check
Fixed MTRRs : Enabled
Variable MTRRs: Enabled
Disabling local apic...done.
CPU #0 Initialized
Mainboard fixup
Final mainboard fixup
Southbridge fixup
setting firewire
Assigning IRQ 10 to 0:d.0
Readback = 10
setting usb
Assigning IRQ 11 to 0:10.0
Readback = 11
Assigning IRQ 10 to 0:10.1
Readback = 10
Assigning IRQ 12 to 0:10.2
Readback = 12
Assigning IRQ 5 to 0:10.3
Readback = 5
setting vt8235
Assigning IRQ 5 to 0:11.1
Readback = 5
Assigning IRQ 12 to 0:11.5
Readback = 12
setting ethernet
Assigning IRQ 11 to 0:12.0
Readback = 11
setting vga
Assigning IRQ 11 to 1:0.0
Readback = 11
setting pci slot
setting vt8235 slot
Assigning IRQ 5 to 0:11.1
Readback = 5
Assigning IRQ 12 to 0:11.5
Readback = 12
INSTALL REAL-MODE IDT
DO THE VGA BIOS
found VGA: vid=1106, did=3122
write_protect_vgabios
0x55 0xaa 0x7d 0xe9 0x26 0x7f 0x5e 0x1b 0xfa 0xf9 0xf4 0x82 0x0 0x0 0x0 0x0 bus/
devfn = 0x100
biosint: # 0x15, eax 0x5f00 ebx 0x100 ecx 0x100 edx 0xa053
biosint: ebp 0x12110 esp 0xff2 edi 0xfffc0000 esi 0x12a30
biosint: ip 0x637f cs 0xc000 flags 0x46
biosint: # 0x1a, eax 0xb108 ebx 0x0 ecx 0x0 edx 0x3d5
biosint: ebp 0x12110 esp 0xfcc edi 0xfffc00f6 esi 0x155eb
biosint: ip 0x40da cs 0xc000 flags 0x46
0xb108: bus 0 devfn 0x0 reg 0xf6 val 0x3
biosint: # 0x15, eax 0x5f02 ebx 0x100 ecx 0x101 edx 0x3d5
biosint: ebp 0x12110 esp 0xfb8 edi 0xfffc0044 esi 0x155eb
biosint: ip 0x63cb cs 0xc000 flags 0x46
biosint: # 0x15, eax 0x5f02 ebx 0x100 ecx 0x101 edx 0x3d5
biosint: ebp 0x12110 esp 0xfb8 edi 0xfffc0044 esi 0x155eb
biosint: ip 0x63cb cs 0xc000 flags 0x46
biosint: # 0x15, eax 0x5f02 ebx 0x100 ecx 0x101 edx 0x3d5
biosint: ebp 0x12110 esp 0xfb8 edi 0xfffc0044 esi 0x155eb
biosint: ip 0x63cb cs 0xc000 flags 0x46
biosint: # 0x15, eax 0x5f0f ebx 0x100 ecx 0x100 edx 0x3d5
biosint: ebp 0x12110 esp 0xfee edi 0xfffc0044 esi 0x12a30
biosint: ip 0x647e cs 0xc000 flags 0x2
biosint: # 0x15, eax 0x5f02 ebx 0x0 ecx 0x1 edx 0x0
biosint: ebp 0x12110 esp 0xfdc edi 0xfffc0044 esi 0x12a30
biosint: ip 0x63cb cs 0xc000 flags 0x46
biosint: # 0x15, eax 0x5f18 ebx 0x1 ecx 0x0 edx 0x0
biosint: ebp 0x12110 esp 0xfde edi 0xfffc0044 esi 0x12a30
biosint: ip 0x6496 cs 0xc000 flags 0x46
Checking IRQ routing tables...
/usr/src/linuxbios2/freebios/src/arch/i386/lib/pirq_routing.c: 29:check_pirq_
routing_table() - irq_routing_table located at: 0x0000a260
done.
Copying IRQ routing tables to 0xf0000...done.
Verifing priq routing tables copy at 0xf0000...failed
Wrote linuxbios table at: 00000500 - 00000634 checksum 7187
Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.2
34:init_bytes() - zkernel_start:0xfffd0000 zkernel_mask:0x0000ffff
Found ELF candiate at offset 0
New segment addr 0x94000 size 0x7528 offset 0x60 filesize 0x39e0
(cleaned up) New segment addr 0x94000 size 0x7528 offset 0x60 filesize 0x39e0
Loading Segment: addr: 0x0000000000094000 memsz: 0x0000000000007528 filesz: 0x00
000000000039e0
Clearing Segment: addr: 0x00000000000979e0 memsz: 0x0000000000003b48
Jumping to boot code at 0x94000
ROM segment 0xcccc length 0x9998 reloc 0x9400
Etherboot 5.0.8 (GPL) Tagged ELF for [VIA 86C100]
Boot from (N)etwork or from (L)ocal? clocks_per_tick = 630083
N
Probing...[VIA 86C100]Found VIA 6102 ROM address 0x0000
rhine.c v1.0.0 2000-01-07
IO address 1400 Ethernet Address: 00:40:63:D6:56:AE
Analyzing Media type,this will take several seconds........OK
Linespeed=10Mbs Halfduplex
The PCI BIOS has not enabled this device!
Updating PCI command 0083->0087. pci_bus 00 pci_device_fn 90
Searching for server (DHCP)...
........
---------------------------------------------------------------------------------------------------------------------
Sometimes, instead of :
-------------------------------------------------------------------------------------------------------------------
biosint: # 0x15, eax 0x5f00 ebx 0x100 ecx 0x100 edx 0xa053
biosint: ebp 0x12110 esp 0xff2 edi 0xfffc0000 esi 0x12a30
biosint: ip 0x637f cs 0xc000 flags 0x46
---------------------------------------------------------------------------------------------------------------
I have
--------------------------------------------------------------------------------------
biosint: # 0xed, eax 0x707 ebx 0x0 ecx 0x700 edx 0x0
biosint: ebp 0x10fca esp 0xfbe edi 0xfffcb9f0 esi 0x1010a
biosint: ip 0x3333 cs 0xc000 flags 0x246
biosint: Unsupport int #0xed
------------------------------------------------------------------------------------------------------------
But I havn't no VGA in these 2 cases.
My Config file :
------------------------------------------------------------------------------------------------
target /usr/src/linuxbios2/build
# via epia
mainboard via/epia-m
# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
option TTYS0_BAUD=57600
option DEFAULT_CONSOLE_LOGLEVEL=10
option DEBUG=1
# Use 256KB Standard Flash as Normal BIOS
option RAMTEST=1
option USE_GENERIC_ROM=1
option STD_FLASH=1
option VGABIOS_START=0xfffc0000
option ZKERNEL_START=0xfffd0000
option ROM_SIZE=262144
# payload size = 192KB
option PAYLOAD_SIZE=196608
# use ELF Loader to load Etherboot
option USE_ELF_BOOT=1
# Use Etherboot as our payload
payload /usr/src/linuxbios2/vga+eb.bin
option HAVE_FRAMEBUFFER=1
option SMA_SIZE=16
option CONFIG_VGABIOS=1
option CONFIG_REALMODE_IDT=1
option CONFIG_PCIBIOS=1
dir src/bioscall
----------------------------------------------------------------------------------------
I have also tried these optons buy it didn't change anything :
option CONFIG_UDELAY_TSC=1
option VIDEO_CONSOLE=1
option HAVE_PIRQ_TABLE=1
option INBUF_COPY=1
Thanks
Cococh
---------------------------------
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail