Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: mmap problems ? in 2.4.5
  2001-06-26 17:53 mmap problems ? in 2.4.5 Scott A McConnell
@ 2001-06-26 16:43 ` Pete Popov
  2001-06-26 19:18   ` Geert Uytterhoeven
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Pete Popov @ 2001-06-26 16:43 UTC (permalink / raw)
  To: Scott A McConnell; +Cc: linux-mips

Scott A McConnell wrote:

>I have a simple program that maps a frame buffer into user space and
>draws an image
>onto the fb.
>
>This program worked fine under 2.4.3 however under 2.4.5 the program
>runs but nothing appears on the FB. The memory I am writing to does not
>appear to be the frame buffer.
>
>Nothing has changed in my fb driver so I am wondering if anything has
>changed in how memory is mapped via the kernel?
>
>Thanks for your consideration
>
I believe the frame buffer driver interface changed in 2.4.5. It 
supposed to be much cleaner now and the fb driver has to do less than 
before.  You'll probably need to port your driver to 2.4.5.  If you have 
any problems, I think the fb maintainers can help you out.

Pete

^ permalink raw reply	[flat|nested] 6+ messages in thread

* mmap problems ? in 2.4.5
@ 2001-06-26 17:53 Scott A McConnell
  2001-06-26 16:43 ` Pete Popov
  0 siblings, 1 reply; 6+ messages in thread
From: Scott A McConnell @ 2001-06-26 17:53 UTC (permalink / raw)
  To: linux-mips

I have a simple program that maps a frame buffer into user space and
draws an image
onto the fb.

This program worked fine under 2.4.3 however under 2.4.5 the program
runs but nothing appears on the FB. The memory I am writing to does not
appear to be the frame buffer.

Nothing has changed in my fb driver so I am wondering if anything has
changed in how memory is mapped via the kernel?

Thanks for your consideration

-- 
Scott A. McConnell

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmap problems ? in 2.4.5
  2001-06-26 16:43 ` Pete Popov
@ 2001-06-26 19:18   ` Geert Uytterhoeven
  2001-06-26 19:20   ` James Simmons
  2001-06-26 22:09   ` Scott A McConnell
  2 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2001-06-26 19:18 UTC (permalink / raw)
  To: Pete Popov; +Cc: Scott A McConnell, linux-mips

On Tue, 26 Jun 2001, Pete Popov wrote:
> Scott A McConnell wrote:
> >I have a simple program that maps a frame buffer into user space and
> >draws an image
> >onto the fb.
> >
> >This program worked fine under 2.4.3 however under 2.4.5 the program
> >runs but nothing appears on the FB. The memory I am writing to does not
> >appear to be the frame buffer.
> >
> >Nothing has changed in my fb driver so I am wondering if anything has
> >changed in how memory is mapped via the kernel?
> >
> I believe the frame buffer driver interface changed in 2.4.5. It 
> supposed to be much cleaner now and the fb driver has to do less than 
> before.  You'll probably need to port your driver to 2.4.5.  If you have 
> any problems, I think the fb maintainers can help you out.

No, those fundamental changes are scheduled for 2.5.x.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven ------------- Sony Software Development Center Europe (SDCE)
Geert.Uytterhoeven@sonycom.com ------------------- Sint-Stevens-Woluwestraat 55
Voice +32-2-7248626 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmap problems ? in 2.4.5
  2001-06-26 16:43 ` Pete Popov
  2001-06-26 19:18   ` Geert Uytterhoeven
@ 2001-06-26 19:20   ` James Simmons
  2001-06-26 22:09   ` Scott A McConnell
  2 siblings, 0 replies; 6+ messages in thread
From: James Simmons @ 2001-06-26 19:20 UTC (permalink / raw)
  To: Pete Popov; +Cc: Scott A McConnell, linux-mips


> I believe the frame buffer driver interface changed in 2.4.5. It 
> supposed to be much cleaner now and the fb driver has to do less than 
> before.  You'll probably need to port your driver to 2.4.5.  If you have 
> any problems, I think the fb maintainers can help you out.

Thats the wrapper I wrote so drivers could be written with the new api
while using 2.4.X. It hasn't gone in. Plus when/if it does it should have
a effect on any core code in fbcon. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmap problems ? in 2.4.5
       [not found] <3B39009F.13E0C40E@cotw.com>
@ 2001-06-26 19:51 ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2001-06-26 19:51 UTC (permalink / raw)
  To: Scott A McConnell; +Cc: Geert Uytterhoeven

	Hi Scott,

> I can cat data to /dev/fb and the console appears.
> 
> So it is mmap that is having trouble.
> 
> Has anyone else been having problems?

Not that I'm aware of.

Perhaps it's a MIPS specific problem?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmap problems ? in 2.4.5
  2001-06-26 16:43 ` Pete Popov
  2001-06-26 19:18   ` Geert Uytterhoeven
  2001-06-26 19:20   ` James Simmons
@ 2001-06-26 22:09   ` Scott A McConnell
  2 siblings, 0 replies; 6+ messages in thread
From: Scott A McConnell @ 2001-06-26 22:09 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips

I can cat data to /dev/fb and the console works just fine on the fb.

This looks like a mmap problem. Anyone else have problems?

Scott

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-06-26 20:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-26 17:53 mmap problems ? in 2.4.5 Scott A McConnell
2001-06-26 16:43 ` Pete Popov
2001-06-26 19:18   ` Geert Uytterhoeven
2001-06-26 19:20   ` James Simmons
2001-06-26 22:09   ` Scott A McConnell
     [not found] <3B39009F.13E0C40E@cotw.com>
2001-06-26 19:51 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox