ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Wrong bootcode

To:
Subject: Re: [ts-7000] Re: Wrong bootcode
From: Curtis Monroe <>
Date: Mon, 5 Feb 2007 18:35:28 -0500
On February 5, 2007 04:04 pm, hamishavery wrote:
> Hi Wimpunk,
> 
> I wouldn't feel like an idiot, I spent all day on this, which is why i
> wrote it down!  I too got the same error you saw.  I know it sounds
> crazy but swapping the serial cable fixed it for me.  I suspect that
> the bytes are transferred with no sort of checksum or perhaps not even
> flow control (forgive me if I conjecture wrong, almighty creator of
> serial_blaster) and noise or loss of data caused it to fail.

There is no handshaking while loading the 2K boot image for serial. The code 
to boot from serial is in the controler's ROM. A commented disassembly of the 
code is included in the serialblaster project. There is no error checking or 
error correction either.

No handshaking is not a problem as the EP9302 controller can read from serial 
much faster than the bytes arrive (booting happens at 9600 baud). Handshaking 
only prevents overflowing the internal serial buffer. 

But since there is no error detection or correction, if there is any 
corruption the boot will fail, or will execute a corrupt 2k boot code, (which 
will probably also crash).

When SerialBlaster loads RedBoot over serial, it does not use error detection 
or correction. The next version of the SerialBlaster has a Zmodem CRC32 style 
of serial download. 

If you upload a RedBoot and use it to download a RedBoot image to burn to 
flash, that image will be downloaded with XModem, YModem, or ZModem, or TFTP 
and have error correction. So it should be valid.

My best advice is to get a good null modem cable and make sure it is fastened 
tight. I put a small stack of business cards under the null modem cable 
connector to prop it up, and make a better connection. (seems to work)



-Curtis.
almighty creator of serial_blaster  :-)

> 
> As far as compiling it went, I used the cross-compiler on the CD, I
> think from "crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2". 
> I didn't change any options or configurations in the makefile etc.  I
> simply used serial-blaster to get me to a redboot prompt, then
> downloaded the files I downloaded from the TS ftp server...
> 
> Hope this helps, I know the frustration this causes!
> 
> Cheers
> 
> /hamish
> 
>  
> 
> --- In  "wimpunk" <> wrote:
> >
> > Hamis,
> > 
> > I feel like an idiot, I don't get it working at my side...  So I hope
> > you could help me out.
> > 
> > --- In  "hamishavery" <hamishavery@> wrote:
> > >
> > > I managed to fix my TS7260 after vaguely following the instructions
> > > from Tom Hansen in message #3553.  Not sure if its be best or proper 
> > > way but it worked for me:
> > > 
> > >  1) download the eeprom file for the 7260 from
> > > 
> > >      ftp://ftp.embeddedarm.com/images/preboot/ts7260-default
> > > 
> > >  2) download the bootrom image from
> > > 
> > >      ftp://ftp.embeddedarm.com/images/tsbootrom/ts7260-32-default
> > > 
> > >  3) download the redboot image from
> > > 
> > >      ftp://ftp.embeddedarm.com/images/redboot/ts7260-32-kernel
> > > 
> > >  4) compile serial_blaster_1.0 as per instructions and run it
> > 
> > Did you used ecos to compile your redboot.bin or did you used the
> > redboot image you downloaded?
> > When running serial_blaster I get this after writing boot.bin:
> > 
> > 2048 Bytes in 17 seconds.
> > --------------------------------------------------
> > 
> > waiting for '>'
> > ERROR!!! Expected '>' but found '<'
> > 
> > Any suggestions?
> > 
> > wimpunk
> >
> 
> 


 
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