Re: M5282 Coldfire Flash Module access from Linux

Allon Stern <[email protected]> Thu, 8 Jan 2009 09:58:57 -0500
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
On Jan 7, 2009, at 6:41 PM, Zachary P. Landau wrote:

> On Wed, Jan 7, 2009 at 9:35 AM, Allon Stern =20
> <[email protected]> wrote:
>> Anyone have an MTD driver to talk to the Coldfire Flash Module?
>> Or at the least a userland program which can be run from Linux to =20
>> reflash
>> the CFM?
>> It would be handy not to have to use the BDM interface to reflash =20
>> my boot
>> loader...
>
> Allon,
>
> It's been a long, long time since I wrote and used this, but you can
> try http://jellofund.net/~kapheine/tmp/cfmflash-0.1.tar.bz2.  It's a
> standalone Linux utility that should let you read and write CFM using
> BDM.

Well, this was instructive, if only that it points to it's source =20
material, which is REALLY what I want.
" * Heavily based on uClinux-2.4.x/drivers/mtd/devices/cfm.c by =20
Mathias K=B8ster"

I'm using 2.6; the module isn't in 2.6, so I didn't find it; looking =20
at the 2.4 uClinux distro, golly, there it is.
Now to port it to 2.6 :)

-
allon=
---
[email protected]              Send a post to the list.
[email protected]        Join the list.
[email protected]    Join the list in digest mode.
[email protected]     Leave the list.