Re: fLASHING PROBLEM

Brian Wilson <[email protected]> Wed, 18 Feb 2004 21:08:50 -0800 (PST)
Newsgroups gmane.linux.drivers.wireless.access-point
Message-ID <[email protected]>
Welcome. I have had my first pair of USR2450's running reliably for a
week or so now. I am now a know-it-all. HA. The road was bumpy to get
my first unit flashed. Second one took about 20 minutes.  :-) The bits
for this message flew between the two units. Persevere! It's fun once
you get them running.

First make sure that your image downloaded from the Web okay -- some
that I downloaded did not match the md5 from the site. Make sure the
image is written correctly into the SRAM card -- write the image to
the card, read it back, and compare the one you read back with the
original. (Use 'cmp' command.)

If you are using a 4 MB card, write the image to the
card twice by copying the file twice like for instance

	cat sram.img sram.img > sram4mb.img

Then burn sram4mb.img to your card.  The reason (as I understand it)
is that the bootloader is at one end of the card and the image at the
other so a 4MB flashed as described looks like this:

 addr		    content

 low address        boot loader		        first sram.img
 end of first 2MB   image (ignored)
 2MB                boot loader (ignored)	second sram.img copy
 end of 4MB memory  image to be put in flash

When you boot off the 4MB card in the Eumitcomm, it will load the
loader from low memory (addr 0) and execute it, and the loader will
then copy the 1MB image ending at the high memory position into the
board's internal 1MB flash. If you burn a single 2MB image into a 4MB
board then there will only be blank memory at the end-of-memory
locations so your attempt will fail. (If you use an 8 MB you need
to copy the 2MB 4 times. etc to end up with the flash image at
the top end, not to 'fill up the card' as is written elsewhere.)

Depending on what you are doing with the units you might also need to
reflash the pc cards. I wanted mine to be able function as normal
access points and they were both early, rev 1A units. (Brand new --
they must have been on a warehouse shelf for a long time.) so I
needed to update them.  I suggest you worry about getting Linux
running first though.

Did I explain this correctly and understandably??  Maybe you know all
this already but it might help someone else...

-- 
Brian Wilson
Corvallis, Oregon
541-757-2045