RE: [uClinux-dev] Writing to flash with Coldfire uCDimm from Arcturus

From: Iain Galloway (igalloway@spo2.com)
Date: Tue May 21 2002 - 14:32:28 EDT


Hello,

If the Coldfire uCDimm is like the dragonball uCdimm, then there is
a (bootloader) command that allows you to re-flash the entire device with
your recompiled image...including whatever files/parameters you want.
I don't think this is what you are asking though...

The serial bootloader will also allow you to set environment variables
with the setenv command.

There are a few special predefined environment variables
(REVISION, AUTOKEY, AUTOBOOT) that are used for controlling
how the bootloader/uCDIMM boots, but otherwise you can use the
command set your own environment variables.

Your own environment variable could be used for custom boot settings.
These are just memory locations that are initialsed by the bootloader.
The example I've seen is to use this facility to initialize the
LCD controller registers during the bootup sequence, instead of through
initialization code running in Linux.

Disclaimer: I'm a Linux newbie - So this might not be the way to do things.

ALSO: I WAS under the impression that uCDimm/Arcturus provided commands to
write to
flash, (as in individual locations) and that you could call this from within
Linux, and that this code resided in the bootloader. My reading seems to
suggest that what is meant by this is only the ability to re-flash an entire
image.

Regards,
Iain Galloway


> -----Original Message-----
> From: owner-uclinux-dev@uclinux.org
> [mailto:owner-uclinux-dev@uclinux.org]On Behalf Of Ron Fial
> Sent: May 21, 2002 1:30 PM
> To: uclinux-dev@uclinux.org
> Subject: [uClinux-dev] Writing to flash with Coldfire uCDimm from
> Arcturus
>
>
> We have just started using the Coldfire uCDimm (Tarifa) from
> Arcturus.  It is quite a tiny piece of hardware considering it
> has two  Ethernet ports.  We got boa and the UCSD snmp agent running.
>
> We are  having trouble finding out how you can stash any user
> supplied settings in the flash ROM (2Megs( on this unit, in order
> to supply info to boot-time scripts for ip addresses, etc.  Is
> there a 'generic' flash ROM read/write routine for uClinux?  Or
> must you study the flash chip specs, write a driver, etc. and
> roll your own?
>    Tnx,  Ron Fial
> This message resent by the uclinux-dev@uclinux.org list server
> http://www.uClinux.org/
>
>

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:17 EDT