I finally got it.
In case anyone's interested, here's a simple script to automate extracting
the kernel from the TS-7200 flash. It's a bit cleaner than the script I
posted earlier:
-----------------------
start=4 # 0x0040000
len=12 # 0x00C0000
f=/dev/mtd/2 # Redboot partition
dd bs=65536 if=$f of=$1 skip=$start count=$len
-----------------------
I called it getk.sh. Invoke with the output file as the only argument.
The reason nothing was working is that I have been trying to use a PC
running cygwin as a development box. I couldn't get the cygwin tftpd to
work. I found a windows tftpd in the windows resource kit.
DO NOT USE THE TFTPD FROM THE WINDOWS RESOURCE KIT. IT DOES NOT WORK.
I switched to TFTPD32 from Philippe Jounin and life is good. Not only did
the kernel extracted from the flash work when loaded via redboot's tftp, the
kernel I built from source worked.
Bob Bond
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/
|