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.
So my questions are:
0.
Given that nothing is written to COM1 with JP1 removed,
does this mean my EEPROM is also toast? (i.e., should the
TS-PREBOOT, which is loaded from it, produce any output?)
1.
Does anyone have redboot.bin for a TS-7200, especially
one with the eeprom_write code as used in serialblaster?
2.
Does anyone have patches to get redboot to build for the
TS-7200? I get this error:
.../ecos/packages/hal/arm/arch/current/src/redboot_linux_exec.c: 328:
error: `NO_MEMORY' undeclared (first use in this function)
3.
Given that I can get Linux to work, how do I flash redboot
from Linux? With the 2.4.26-ts9 and -ts11 kernels,
there are no entries under /dev/mtd/ and /dev/mtdblock/.
With 2.6.32.2, there is a /dev/mtd0 and /dev/mtdblock0.
But alas, no luck:
./flash_eraseall /dev/mtd0
-bash: ./flash_eraseall: No such file or directory
(I suspect this is due to the file being built OABI. Anyone
have an EABI version?)
dd if=tsbootrom.bin of=/dev/mtdblock0
dd: writing to `/dev/mtdblock0': Operation not permitted
4.
Does anyone have Matthieu Crapet's boot.S code?
If so, then I could simply reflash the whole partition from
the boot code, as Matthieu did. (But this would still not
fix the EEPROM, right?)
I'd be grateful for any help; TS is happy to reflash the board
for me, but the cost of shipping makes it uneconomical. And
I feel like I'm getting close to the answer...
Thanks a lot,
- Andrew Gaylard
------------------------------------
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/
|