ts-7000
[Top] [All Lists]

[ts-7000] Recovery with SerialBlaster (was Re: NetBSD on a TS-7260)

To:
Subject: [ts-7000] Recovery with SerialBlaster (was Re: NetBSD on a TS-7260)
From: "Tom Hansen" <>
Date: Sat, 02 Sep 2006 17:20:38 -0000
I was able to get the board booting into Redboot from flash again by
doing the following:

("Host" refers to the PC being used to rescue the board, "Board"
refers to the board)

1.  Host: Downloaded SerialBlaster from the Files section of this
Yahoo group.
2.  Host: Built it according to the included directions.
3.  Board: Installed a jumper on JP1.
4.  Host/Board: Booted the board using the newly-build SerialBlaster.
5.  Host: Went into boot.S and changed it to boot in FLASH mode.
        and got rid of .org 4096 thing (yes it works anyway)
6.  Host: make clean; make in serialblaster directory.
7.  Host/Board: booted with SerialBlaster.
8.  Above boot only loads boot.bin, then proceeds directly to the
redboot loaded at the previous boot, since it is now in FLASH mode.
9.  Board: Used the following commands on board:

    load -v -r -b 0x00200000 -m xmodem

10. Host: transmitted boot.bin to board with xmodem.
11. Board: burned boot to EEPROM with the following command:

    eeprom_write -b 0x00200000 -o 0 -l 2048

12. Board: Now system boots completely from flash.


Some particular notes:

a) Regarding step 5, I tried to retain the boot.bin as originally
compiled, but it would never proceed to Redboot by itself, apparently
staying in serial mode and trying to load Redboot from serial rather
than from flash, thus requiring a rebuild after changing the
definitions in boot.S to indicate FLASH mode.  However it then
complained about going backwards  (or some such) with the .org 4096
thing.  I did see a post by Curtis in which he said the org 4096 thing
was required.  I tried very hard to retain it, but in the end I left
it off and it just worked.

b) All attempts to reflash original TS components (EEPROM and Redboot)
have failed.  This is a slight problem because the SerialBlaster
version of Redboot doesn't appear to initialize USB correctly, and
that's where my root NetBSD filesystem is.  The failure to reflash the
original components probably has to do with differences between the
7250 for which SerialBlaster was written, and the 7260 which I have.

c) Apparently the SerialBlaster versions of EEPROM/Redboot do not make
such extensive use of the "(reserved)" area of flash, because I was
able to write (but not successfully boot from) a NetBSD kernel into
the reserved space without crashing the board.  The board still booted
into RedBoot after I did that.


I'll post further developments as they occur.


--- In  Curtis Monroe <> wrote:
>
> You might try my SerialBlaster utility (search old posts).
> 
> I built it for a TS-7250 but it might still work for the TS-7260.
> 
> Or you can send it back to TS for a reflash.
> 
> -Curtis.
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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