SheevaPlug > Booting

Unbricking - Sheevaplug / Dreamplug / Guruplug / OpenRD

(1/2) > >>

NewITMalcolm:
These instructions should get you from a Bricked Sheeva/Dream/Guru/OpenRD to getting uboot running in Ram ready to restore your system from USB/TFTP.

I am assuming you are using a Linux PC to run Openocd.

Firstly install the packages required.

--- Code: ---sudo apt-get install openocd telnet screen
--- End code ---

Connect & Power up your device with the mini usb cable and jtag(Dreamplug & Guruplug).

Open a terminal session and connect to the plug console.

--- Code: ---screen /dev/ttyUSB0 115200
--- End code ---

Open a 2nd terminal session.

Select one of these for your device.

--- Code: ---Marvell u-boot
wget http://www.downloadsnewit.co.uk/u-boot/recovery/sheevaplug/u-boot.elf
wget http://www.downloadsnewit.co.uk/u-boot/recovery/dreamplug/u-boot.elf

DENX u-boot
wget http://www.downloadsnewit.co.uk/u-boot/recovery/sheevaplug/denx/u-boot.elf
wget http://www.downloadsnewit.co.uk/u-boot/recovery/dreamplug/denx/u-boot.elf
wget http://www.downloadsnewit.co.uk/u-boot/recovery/guruplug/denx/u-boot.elf
wget http://www.downloadsnewit.co.uk/u-boot/recovery/openrd/denx/u-boot.elf

--- End code ---

For Sheevaplug/ Dreamplug / Guruplug

--- Code: ---sudo openocd -f /usr/share/openocd/scripts/board/sheevaplug.cfg -s /usr/share/openocd/scripts
--- End code ---

For OpenRD

--- Code: ---sudo openocd -f /usr/share/openocd/scripts/board/openrd.cfg -s /usr/share/openocd/scripts
--- End code ---

You should see output similar to this.

--- Quote ---Open On-Chip Debugger 0.4.0 (2010-10-08-15:52)
Licensed under GNU GPL v2
For bug reports, read
   http://openocd.berlios.de/doc/doxygen/bugs.html
2000 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Warn : use 'feroceon.cpu' as target identifier, not '0'
Info : clock speed 2000 kHz
Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part: 0x0a02, ver: 0x2)
Info : Embedded ICE version 0
Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit

--- End quote ---

If you are using a jtag and getting errors at this point replug or even swap jtag cables and retry.

Next open a 3rd terminal session.


--- Code: ---telnet localhost 4444
--- End code ---

Output should look like this.

--- Quote ---$ telnet localhost 4444
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
>
--- End quote ---

For the Sheevaplug / Dreamplug / Guruplug

--- Code: ---reset;sheevaplug_init;load_image u-boot.elf;resume 0x00600000
--- End code ---

For the OpenRD

--- Code: ---reset;openrd_init;load_image u-boot.elf;resume 0x00600000
--- End code ---

Now you should see Uboot starting to run in the 1st terminal session and you are ready to start restoring your plug.

PacoLM:
Just fantastic, good job! I would like to see the same level of support for each device I own...

Splatter:
Sorry to revive a post over a year old but I just made an account to post this.

First off thanks for this, I was able to get my plug back working temporarily using this guide it was great.

Only problem is is doesn't persist after a reboot. Blue light goes back off and the sheevaplug goes back to brick.  Is there another command I need to give the onchip debugger after the "reset;sheevaplug_init;load_image u-boot.elf;resume 0x00600000" command to make this persist?

I was using a Debian livecd so I only hade a command line & didn't use the screen command. Just hit the OpenOcd line with a & sign and then used telnet to reset the box to the new elf file.

Thanks!!

zurctrebla:
Sorry to revive a post over a year old but I just made an account to post this.

I make all, but I don`t see nothing in 1st terminal, where is a error?

I was using a Ubuntu install on my notebook.

after the last step, how make?

Thanks!!

ps: sorry my poor English

jmeeks4u:
Hello I'm new to the plug computing, but have I had a crash course over the last two weeks! Literally. My dreamplug is bricked. I've seem to have successfully dd images to my micro sd card,. but it won't boot. I can get all the way through the above mentioned process, but where do we go from there? I've tried to fatload, without success.

Navigation

[0] Message Index

[#] Next page

Go to full version