From: Dan Malek <dan@embeddedalley.com>
To: Maxim Moroz <maxim@kde.ru>
Cc: linux-mips@linux-mips.org
Subject: Re: framebuffer for au1000 based board.
Date: Sat, 3 Sep 2005 00:05:11 -0400 [thread overview]
Message-ID: <e603bacb50427983d7330a58abccb4fa@embeddedalley.com> (raw)
In-Reply-To: <43190B15.7080301@kde.ru>
On Sep 2, 2005, at 10:31 PM, Maxim Moroz wrote:
> Hello, I'm writing framebuffer (800x600@16bpp) for au1000 based board
> for latest linux-2.6.13 mips kernel.
> video memory is located at address 0xbe00_0000.
> The problem is that I cannot correctly mmap video memory to userspace.
What happens if you just use /dev/mem and that address?
> mmap was taken from au1500 lcd framebuffer driver(code follows)
Bad choice. Neither the Au1000 nor the Au1500 have internal frame
buffers, so in both cases these are going to be board specific devices.
Since the Au1500 has a PCI bridge, I suspect that driver is designed
to work with the 36-bit address from the Au1500 core. You are going
to have to write a custom mmap() function that does the proper mapping
for your board design. Also, the Au1000 had some challenging bus
interface issues to things like graphics controllers and you have to
choose the proper memory controller configuration and hardware
design to even have a chance at this working.
Good Luck, you may have lots of work ahead of you very specific
to your board design :-)
-- Dan
next prev parent reply other threads:[~2005-09-03 3:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-03 2:31 framebuffer for au1000 based board Maxim Moroz
2005-09-03 4:05 ` Dan Malek [this message]
2005-09-03 4:16 ` Maxim Moroz
2005-09-03 4:54 ` Pete Popov
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=e603bacb50427983d7330a58abccb4fa@embeddedalley.com \
--to=dan@embeddedalley.com \
--cc=linux-mips@linux-mips.org \
--cc=maxim@kde.ru \
/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