From: jean-francois simon <jfaslist@yahoo.fr>
To: linuxppc-dev@ozlabs.org
Subject: Graphic issues (emulating VGA bios on IBM Maple)
Date: Tue, 10 Oct 2006 22:36:19 +0200 (CEST) [thread overview]
Message-ID: <20061010203620.771.qmail@web27502.mail.ukl.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3762 bytes --]
Hi,
I have ported the x86emu x86 emulator to IBM PIBS firmware on a Maple
platform. I am now trying to emulate a PCI ATI RADEON RV100 VGA BIOS.
It goes all the way and seems OK. When I boot Linux , the card is
recognized (it wasn't before), but the screen just flickers a couple of
time. I worry about the message:
"radeonfb: Retrieved PLL infos from BIOS" since I don't have a BIOS.
And the radeon_base.c driver seems to be doing a bunch of them:
/*
* Check out if we have an X86 which gave us some PLL
informations
* and if yes, retrieve them
*/
if (!force_measure_pll && rinfo->bios_seg) {
u16 pll_info_block = BIOS_IN16(rinfo->fp_bios_start +
0x30);
rinfo->pll.sclk = BIOS_IN16(pll_info_block +
0x08);
rinfo->pll.mclk = BIOS_IN16(pll_info_block +
0x0a);
rinfo->pll.ref_clk = BIOS_IN16(pll_info_block +
0x0e);
rinfo->pll.ref_div = BIOS_IN16(pll_info_block +
0x10);
rinfo->pll.ppll_min = BIOS_IN32(pll_info_block +
0x12);
rinfo->pll.ppll_max = BIOS_IN32(pll_info_block +
0x16);
printk(KERN_INFO "radeonfb: Retrieved PLL infos from
BIOS\n");
goto found;
The PLL values may be bogus..
Thanks for any help.
-jf simon
radeonfb_pci_register BEGIN
aper_base: 80000000 MC_FB_LOC to: 83ff8000, MC_AGP_LOC to: ffff9000
radeonfb (0000:02:01.0): Found 32768k of DDR 64 bits wide videoram
radeonfb (0000:02:01.0): mapped 16384k videoram
radeonfb: Found Intel x86 BIOS ROM Image
radeonfb: No ATY,RefCLK property !
radeonfb: Retrieved PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=60) Memory=150.00 Mhz,
System=150.00 MHz
radeonfb: PLL min 12000 max 35000
1 chips in connector info
- chip 1 has 2 connectors
* connector 0 of type 2 (CRT) : 2300
* connector 1 of type 3 (DVI-I) : 3201
Starting monitor auto detection...
radeonfb: I2C (port 1) ... not found
radeonfb: I2C (port 2) ... not found
radeonfb: I2C (port 3) ... found CRT display
radeonfb: I2C (port 4) ... not found
radeon_probe_OF_head
radeonfb: I2C (port 2) ... not found
radeonfb: I2C (port 4) ... not found
radeon_probe_OF_head
radeonfb: I2C (port 3) ... found CRT display
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
hStart = 1328, hEnd = 1440, hTotal = 1688
vStart = 1025, vEnd = 1028, vTotal = 1066
h_total_disp = 0x9f00d2 hsync_strt_wid = 0xe053a
v_total_disp = 0x3ff0429 vsync_strt_wid = 0x30400
pixclock = 9259
freq = 10800
freq = 10800, PLL min = 12000, PLL max = 35000
ref_div = 60, ref_clk = 2700, output_freq = 21600
ref_div = 60, ref_clk = 2700, output_freq = 21600
post div = 0x1
fb_div = 0x1e0
ppll_div_3 = 0x101e0
Console: switching to colour frame buffer device 160x64
radeonfb (0000:02:01.0): ATI Radeon QY
radeonfb_pci_register END
kobject_register failed for radeonfb (-17)
Call Trace:
[C000000000BFFB60] [C00000000000E97C] .show_stack+0x68/0x1b4
(unreliable)
[C000000000BFFC10] [C00000000017EC54] .kobject_register+0x5c/0x8c
[C000000000BFFCA0] [C0000000001FAAF0] .bus_add_driver+0x7c/0x1b4
[C000000000BFFD50] [C0000000001FBDC8] .driver_register+0xac/0xc8
[C000000000BFFDD0] [C00000000018D084] .__pci_register_driver+0x8c/0xdc
[C000000000BFFE60] [C0000000003CCC9C] .radeonfb_old_init+0x164/0x188
[C000000000BFFF00] [C00000000000929C] .init+0x258/0x3d0
[C000000000BFFF90] [C00000000001E848] .kernel_thread+0x4c/0x68
vga16fb: unable to map device
vga16fb: probe of vga16fb.0 failed with error -12
---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Demandez à ceux qui savent sur Yahoo! Questions/Réponses.
[-- Attachment #2: Type: text/html, Size: 4176 bytes --]
next reply other threads:[~2006-10-10 20:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-10 20:36 jean-francois simon [this message]
2006-10-11 13:49 ` Graphic issues (emulating VGA bios on IBM Maple) Michel Dänzer
2006-10-11 15:06 ` jf simon
2006-10-11 22:16 ` Benjamin Herrenschmidt
2006-10-13 17:36 ` jf simon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061010203620.771.qmail@web27502.mail.ukl.yahoo.com \
--to=jfaslist@yahoo.fr \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).