This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Restoring boot on eb55


On Tue, 2004-03-16 at 10:44, Alan Bowman wrote:
> I don't know about using the JTAG interface that you have linked to, but I managed to make much the same mistake as you did and erased the boot flash on our EB55 - easily done :-)  Here's how we recovered from it - I hope you can adapt the settings to your interface.
> 
> We have a JTAG WIGGLER that we used for resurrecting our board.  The steps required are:

I almost got it to work using the method described in
http://sources.redhat.com/ml/ecos-discuss/2003-08/msg00567.html however
your method works well out of the box. Thanks a lot.
For people who will be stuck with this problem in the future and read
this ML archive it works using the JTAG interface linked to in my
previous email and the jtag loader both version 0.2 (the "old" one) and
0.5. Once this stuff is set up what you have to do is (using 0.2):

./jtag lwrite 0xffff4020 0x002f0002 
./jtag lwrite 0xffff4020 0x002f4002 
./jtag lwrite 0xffff4020 0x032f4102 
./jtag lwrite 0xffff4020 0x032f8102 
./jtag lwrite 0xffe00000 0x01002529 
./jtag lwrite 0xffe00004 0x02002121 
./jtag lwrite 0xffe00024 0x00000006 
./jtag lwrite 0xffe00020 0x00000001 
./jtag boot /path/to/redboot.img 0x02000000 0x02008040

Then you should see redboot coming up on your serial link.

-- 
Irvin Probst
ENSIETA
Tel: 02.98.34.88.39



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]