linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Jander <david.jander@protonic.nl>
To: "Linuxppc-dev" <Linuxppc-dev@ozlabs.org>
Cc: John Rigby <jrigby@freescale.com>
Subject: MPC5121e, MBX driver, pvr.ko ...
Date: Fri, 6 Feb 2009 08:24:06 +0100	[thread overview]
Message-ID: <200902060824.06851.david.jander@protonic.nl> (raw)


Hi all,

I have a custom board with a MPC5121e (rev 1.5) on it. It is the latest git 
kernel from denx ads5121 head with our BSP mixed in.

I decided to try out Application Note AN3793 from Freescale (3D Graphics on 
the ADS512101 Board Using OpenGL ES).

I started trying to load the provided (binary!) kernel modules into our 
kernel, but I am geeting errors inserting the modules using 
insmod: 'clcdc.ko' complains about not being able to register de device major 
number, and 'dbgdrv.ko' oopses with a BUG() in percpu_modfree()! This 
function should never be called in a non-SMP kernel, so I suspect there are 
some important differences between the kernel I have and the one the 
binary-only drivers where built against :-(

In another approach I managed to load the provided kernel binary (which is 
built for the ADS512101 evaluation board) on our platform, by tweaking our 
device-tree until it booted without crashing. In the end I was able to load 
all the modules and run the OpenGL-ES demo programs.
I can't believe this is the intended way of doing this, so I'd like to know if 
there is someone else who has managed to get the MBX running OpenGL-ES on a 
custom board with a custom build of the kernel.

Note: the kernel version number is still the same: 2.6.24.6, only difference 
AFAIK is some minor unrelated patches to drivers for other MPC5121 SoC 
devices, and probably some different configuration options. Apparently this 
is enough to break binary compatibility for the drivers :-(

Any hint is appreciated...

Best regards,

-- 
David Jander
Protonic Holland.

             reply	other threads:[~2009-02-06  7:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06  7:24 David Jander [this message]
2009-02-06  9:03 ` MPC5121e, MBX driver, pvr.ko Klaus Pedersen
2009-02-16  7:27   ` David Jander
2009-02-06 19:17 ` Wolfgang Denk
2009-02-16  8:40   ` David Jander

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=200902060824.06851.david.jander@protonic.nl \
    --to=david.jander@protonic.nl \
    --cc=Linuxppc-dev@ozlabs.org \
    --cc=jrigby@freescale.com \
    /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).