ts-7000
[Top] [All Lists]

Re: [ts-7000] Recovering a TS-7200 with a blanked flash

To: <>
Subject: Re: [ts-7000] Recovering a TS-7200 with a blanked flash
From: "Adam Kropelin" <>
Date: Sun, 10 Jan 2010 17:53:35 -0500
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU