9front - general discussion about 9front
 help / color / mirror / Atom feed
From: kokamoto@hera.eonet.ne.jp
To: 9front@9front.org
Subject: Re: [9front] strange behaviour of igfx and vesa
Date: Mon, 20 Jun 2016 11:48:41 +0900	[thread overview]
Message-ID: <7452dfebe364b0c0cdd604a69562c254@mars.jitaku.localdomain> (raw)
In-Reply-To: <644ef2b1069fabf217cddbfd75b14cae@felloff.net>

> http://felloff.net/usr/cinap_lenrek/igdump.tar

I started this today.

> you certanly have to change the port offsets for the banked
> address/data register in mmio.awk (check the io bar of
> the graphics card of your system)

Does this mean to use the data from pci command output result?
0.2.0:	vid  03.00.00 8086/29a2  10 0:fde00000 1048576 2:d000000c 268435456 4:0000ff01 16

In my case, use ff01 and ff05 instead of 1804 and 1805 in mmio.awk?
I used those value, and got all ffffffff value like:
rmmio 00041000 ffffffff 	#
rmmio 00044008 ffffffff 	#
rmmio 0004f000 ffffffff 	#
rmmio 0004f040 ffffffff 	#
rmmio 0004f044 ffffffff 	#
rmmio 0004f048 ffffffff 	#
rmmio 0004f04c ffffffff 	#
rmmio 00060000 ffffffff 	# HTOTAL_A
rmmio 00060004 ffffffff 	# HBLANK_A
rmmio 00060008 ffffffff 	# HSYNC_A
rmmio 0006000c ffffffff 	# VTOTAL_A
rmmio 00060010 ffffffff 	# VBLANK_A
rmmio 00060014 ffffffff 	# VSYNC_A
rmmio 0006001c ffffffff 	# PIPEASRC

I suppose we should compare the two dumps, one from vesa
using aux/realemu, which I got success like:
rport 03d4 0f 	# VGA_CRX
rport 03d6 ff 	#
rport 03d0 ff 	#
rport 03ce 06 	# VGA_GRX
rport 03d2 ff 	#
rport 03c4 01 	# VGA_SRX
rport 03c7 00 	# VGA_DACSTATE/DACRX
rport 03c8 40 	# VGA_DACWX
wport ff00 00002020 	#
rport ff04 cff80001 	#
wport ff00 00071414 	#
<snip>

Kenji



  parent reply	other threads:[~2016-06-20  2:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17  6:48 kokamoto
2016-06-17 12:46 ` [9front] " cinap_lenrek
2016-06-17 23:40   ` kokamoto
2016-06-18  1:29   ` kokamoto
2016-06-18  7:45   ` kokamoto
2016-06-18 23:38   ` kokamoto
2016-06-19  5:58   ` kokamoto
2016-06-20  2:48   ` kokamoto [this message]
2016-06-20  4:14     ` kokamoto
2016-06-22  0:25   ` kokamoto
2016-06-22  7:26     ` cinap_lenrek
2016-06-23  6:43       ` kokamoto
2016-06-23 10:55         ` cinap_lenrek
2016-06-23 11:24           ` kokamoto
2016-06-25  1:50             ` kokamoto
2016-06-30  2:06               ` kokamoto

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=7452dfebe364b0c0cdd604a69562c254@mars.jitaku.localdomain \
    --to=kokamoto@hera.eonet.ne.jp \
    --cc=9front@9front.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).