Andrew Gaylard wrote:
> Hi,
>
> My TS-7200 (8MB flash, 32 MB RAM, rev C PLD) died on me
> yesterday. It appears that the flash has been erased. So I'm
> trying to get it back together.
>
> On power-up, I see this sequence:
> - both LEDs light up for approximately one second,
> - then they both go off,
> - then the green LED flashes rapidly, approximately twice per second.
>
> With JP1 open, nothing written to the COM1 port, either at 9600 or
> at 115200. With JP1 closed (serial boot), I get a single '<' at 9600.
>
> With the help of serialblaster, I have successfully got it to load
> the ts7260-32-kernel file, which despite the name is redboot.
> Having got that far, I can tell redboot to load a Linux kernel via
> the serial port, and boot it successfully, so it looks like the board
> is in good shape.
>
> However, the ts7260-32-kernel version of redboot doesn't "see"
> my flash, so I can't initialise it and reload it. I guess that's
> because the TS-7200 has a different flash-chip (NOR, not NAND).
>
> Why am I using ts7260-32-kernel? Because the redboot.bin file
> supplied with serialblaster doesn't work at all, and redboot doesn't
> build using the ecos-src.tar.gz from ftp://ftp.embeddedarm.com,
> either for the 7200 or the 7250.
>
> I see from
> http://bioacoustics.cse.unsw.edu.au/archives/html/ts-7000/2006-06/msg00107.html
> that it *is* possible to recover a TS-7200 from this state:
> Matthieu Crapet modified Curtis Monroe's boot.S to rewrite
> the NOR-flash on his TS-7200.
I did the same thing a couple weeks ago after I toasted my NOR flash image.
I hacked up serial_blaster to rewrite the NOR.
I started to make my hacked-up serial_blaster code into an easy-to-use
ts7200 recovery tool but got distracted with other things. I've zipped up
the package where I left off along with a few notes in the readme and
uploaded it to the group's files section (ts7200-recover.zip) At the very
least I think you'll find some useful things in there...or even maybe you'll
have time to finish it up...
One of the most interesting files is "ts7200_nor_image.bin" which is a full
ts7200 NOR flash image for the 8 MB boards. I created it by concatenating
the tsbootrom, tslinux image, and redboot from TS's FTP site. Took quite a
while to find the right versions of all those, but I believe they match the
factory originals my relatively recent board came with, based on saved boot
logs I had from before my little accident. I would have included the
separate image files as well but they make the zip exceed the group's max
file size limit. Let me if you need them and I'll upload them separately.
There is also a modified boot.S which will download the file and program it
into NOR at 0x60000000. That file still needs some cleanup but I
successfully rewrote my NOR with it several times.
There are a couple bugs/issues in serial_blaster.c that I had to change as
well. The new file is recover.c and is also in need of cleanup and probably
some more fixes before it will work.
Anyway, this is probably not ready to use out-of-the-box, but it should get
you 90% of the way there. Feel free to email me questions, etc. I can help
you get it running. Maybe one of us will even find the time to clean it up a
bit so it's easy to use...
--Adam
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|