linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kristoffer Ericson <kristoffer.ericson@gmail.com>
To: jkimble@one.net
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Seg fault on any FB write (Epson S1D13A04onColdfire running 2.6.25)
Date: Tue, 11 Nov 2008 20:29:44 +0100	[thread overview]
Message-ID: <20081111202944.e6b137b0.kristoffer.ericson@gmail.com> (raw)
In-Reply-To: <40797.137.237.242.138.1226427622.squirrel@webmail.nuvox.net>


[-- Attachment #1.1: Type: text/plain, Size: 4186 bytes --]

On Tue, 11 Nov 2008 13:20:22 -0500 (EST)
jkimble@one.net wrote:

> The 2.6.10 driver is considerably different. There's no platform device
> structure. I tried taking the 2.6.10 forward to the 2.6.25 kernel but
> found so many differences I thought getting the 2.6.25 driver working
> would be easier.

I havent seen the 2.6.10 driver so you might be
right. Ive only recently taken over maintainership
so still working out the quirks.

> 
> Again, I've never made a patch for it. I've attached the actual driver
> code here.
> 

Roger, I'll take a look at it.

> Not to make excuses (but here I go) this is the first foray I've made into
> the kernel in any real way so I'm still figuring out the right way to do
> things (after I get them to work at all).
> 

No worries. The best/easiest approach is to clone a copy
of linux-2.6.git (google for it). You then edit the file
in that directory and can generate diffs with 'git diff <filename>'.

> Thanks again.
> 
> 
> > On Tue, 11 Nov 2008 13:02:11 -0500 (EST)
> > jkimble@one.net wrote:
> >
> >>
> >> Sorry, I was hacking around just to get something to work. If you look
> >> at
> >> the two side by side you'll see that I've not changed that much. The
> >> changes are mostly just plugging in my specific info for the panel I'm
> >> using.
> >>
> >> I've not worked with patches much so I'll have to figure out how to do
> >> that.
> >
> > Perhaps you should include the old patch to 2.6.10 since
> > we know that worked and take it from there? In theory
> > all you should need are the basic mappings and
> > perhaps and reg init structure.
> >
> >>
> >>
> >> > On Tue, 11 Nov 2008 16:04:03 +0100
> >> > Hinko Kocevar <hinko.kocevar@cetrtapot.si> wrote:
> >> >
> >> >> jkimble@one.net wrote:
> >> >> >> James Kimble wrote:
> >> >> >
> >> >> > /proc/iomem shows:
> >> >> >
> >> >> > 74000000-74009000 : s1d13a04fb.0
> >> >> > 74000000-74009000 : s1d13xxxfb regs
> >> >> > 74040000-74068000 : s1d13a04fb.0
> >> >> > 74040000-74068000 : s1d13xxxfb mem
> >> >>
> >> >> I'm not sure if this is correct - two drivers mapped the same region
> >> >> twice !?
> >> >> Maybe the experts will shed some light on this..
> >> >>
> >> >> > f000070c-f000070c : spi-int-mask
> >> >> > f0000740-f000075f : spi-int-level
> >> >> > f0000a50-f0000a50 : spi-par
> >> >> > f0008a00-f0008ab8 : spi-module
> >> >> > f0008f00-f0008f20 : MCF548X-i2c
> >> >> > f000a000-f000a7ff : mcf548x-flexcan.0
> >> >> > f000a000-f000a7ff : mcf548x-flexcan
> >> >> > f000a800-f000afff : mcf548x-flexcan.1
> >> >> > f000a800-f000afff : mcf548x-flexcan
> >> >> > f0020000-f0033000 : fsl-sec1
> >> >> > fc000000-ffffffff : physmap-flash.0
> >> >> >
> >> >>
> >> >> I haven't took a long look at your driver, but here is our driver for
> >> >> S13706FB that
> >> >> we use on our embedded platform. Hope it helps.
> >> >
> >> > Any chance of getting a patch against s1d13xxxfb?
> >> >
> >> >>
> >> >> Regards,
> >> >> Hinko
> >> >> --
> >> >> Hinko Kočevar, OSS developer
> >> >> ÄŒETRTA POT, d.o.o.
> >> >> Planina 3, 4000 Kranj, SI EU
> >> >> tel     ++386 (0) 4 280 66 03
> >> >> e-mail  hinko.kocevar@cetrtapot.si
> >> >> http    www.cetrtapot.si
> >> >>
> >> >>
> >> >> -------------------------------------------------------------------------
> >> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> >> challenge
> >> >> Build the coolest Linux based applications with Moblin SDK & win
> >> great
> >> >> prizes
> >> >> Grand prize is a trip for two to an Open Source event anywhere in the
> >> >> world
> >> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> >> _______________________________________________
> >> >> Linux-fbdev-devel mailing list
> >> >> Linux-fbdev-devel@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
> >> >
> >> >
> >> > --
> >> > Kristoffer Ericson <kristoffer.ericson@gmail.com>
> >> >
> >>
> >>
> >
> >
> > --
> > Kristoffer Ericson <kristoffer.ericson@gmail.com>
> >
> 


-- 
Kristoffer Ericson <kristoffer.ericson@gmail.com>

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #3: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

  reply	other threads:[~2008-11-11 18:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11  1:54 Seg fault on any FB write (Epson S1D13A04 on Coldfire running 2.6.25) James Kimble
2008-11-11  9:57 ` Hinko Kocevar
2008-11-11 14:50   ` Seg fault on any FB write (Epson S1D13A04on " jkimble
2008-11-11 15:04     ` Hinko Kocevar
2008-11-11 16:10       ` Seg fault on any FB write (Epson S1D13A04onColdfire " jkimble
2008-11-12  8:25         ` Hinko Kocevar
2008-11-12 15:52           ` jkimble
2008-11-13  4:47           ` James Kimble
2008-11-13  8:50             ` Hinko Kocevar
2008-11-13 11:55               ` Kristoffer Ericson
2008-11-11 18:52       ` Seg fault on any FB write (Epson S1D13A04on Coldfire " Kristoffer Ericson
2008-11-11 18:02         ` Seg fault on any FB write (Epson S1D13A04onColdfire " jkimble
2008-11-11 19:14           ` Kristoffer Ericson
2008-11-11 18:20             ` jkimble
2008-11-11 19:29               ` Kristoffer Ericson [this message]
2008-11-12  8:34         ` Seg fault on any FB write (Epson S1D13A04on Coldfire " Hinko Kocevar
2008-11-11 15:06     ` jkimble
2008-11-11 18:50 ` Seg fault on any FB write (Epson S1D13A04 on " Kristoffer Ericson

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=20081111202944.e6b137b0.kristoffer.ericson@gmail.com \
    --to=kristoffer.ericson@gmail.com \
    --cc=jkimble@one.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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).