« Return to Thread: M5282 Coldfire Flash Module access from Linux

Re: M5282 Coldfire Flash Module access from Linux

by Allon Stern :: Rate this Message:

Reply to Author | View in Thread



On Jan 7, 2009, at 6:41 PM, Zachary P. Landau wrote:

> On Wed, Jan 7, 2009 at 9:35 AM, Allon Stern  
> <allon.stern@...> 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  
>> reflash
>> the CFM?
>> It would be handy not to have to use the BDM interface to reflash  
>> 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  
material, which is REALLY what I want.
" * Heavily based on uClinux-2.4.x/drivers/mtd/devices/cfm.c by  
Mathias K¸ster"

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

-
allon---
coldfire@...              Send a post to the list.
coldfire-join@...        Join the list.
coldfire-digest@...    Join the list in digest mode.
coldfire-leave@...     Leave the list.

 « Return to Thread: M5282 Coldfire Flash Module access from Linux