Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 Configure uC5282 NVRAM

Overview of Steps

  • Create a 'cramfs' file system image of the netboot binary image. This is a compressed version of the netboot binary image.

          Note: Alternately, with more recent versions of rtems (Example: 4.9.x) , you can directly flash the netboot.flashimg.bin file.

  • Store this on a machine with a tftp server that can access your target

...

  • Connect the target (Example: a BPM chassis that has the Coldfire module in it) to your desktop or laptop.
  • Set the IP address environment variable and run the tftp server.
  • Transmit the file system image to the target.
  • Program it into flash memory

...

  • Using the uC5282 uCbootloader, set the environment variables

...

  • Boot the image.

(Much of this document is from an email from Till, 13 March 2008)

...

To show a list of all variables:
B$ printenv
To show the value of a single variable:
B$ printenv ENVVAR

...

B$ printenv
FACTORY=Arcturus Networks Inc.
REVISION=uC5282 Rev 1.1 16MB External Flash
SERIAL=X4747745D-01DC9
CONSOLE=ttyS0
KERNEL=0:netboot.flashimg.bin
KERNEL_ARGS=root=/dev/mtdblock0 quiet
HWADDR0=<macaddress>
FW_VERSION=010808004
_0=10000000:1000000:RW
CACHE=on
IPADDR0=<ipaddress>
DNS_SERVER=134.79.151.11
NTP_SERVER=134.79.151.11
NETMASK=255.255.252.0
GATEWAY=134.79.219.1
HOSTNAME=<hostname>
BP_PARM=INIT=/boot/g/lcls/epics/iocTop/<appname>/<tagname>/iocBoot/<eiocname>/st.cmd
LOGHOST=syslog-host
DNS_DOMAIN=slac.stanford.edu
BP_FILE=afsnfs2:/afs/slac:package/rtems/4.9.1/target/ssrlApps/m68k-rtems/uC5282/bin/rtems.ralf
BP_SRVR=134.79.19.29
DO_BOOTP=N

Appendix (Keep it alive!)

Here are some useful links that discuss flashing 16M Coldfire and 80 MHz Coldfire:


Share your Coldfire experiences, troubles, gotchas here:

...