New IT forum Follow us on Twitter
22 May 2012, 09:35:41 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: TonidoPlug2 - Now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Bricked sheeva  (Read 1392 times)
greenbeast
Newbie
*
Posts: 40


« Reply #15 on: 09 December 2011, 07:49:21 am »



e.g. get the Debian source tarball from http://ftp.de.debian.org/debian/pool/main/o/openocd/openocd_0.5.0.orig.tar.bz2, build it (./configure --enable-ft2232_libftdi && make && make install) and then all you should need to do is


when i run this i get:

Code:
checking Build & Link with libftdi...... configure: error: Cannot build & run test program using libftdi
Logged
Confusticated
New IT customer
Hero Member
*
Posts: 511


« Reply #16 on: 09 December 2011, 05:01:00 pm »

apt-get install libftdi-dev
Logged

Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!
greenbeast
Newbie
*
Posts: 40


« Reply #17 on: 09 December 2011, 08:05:52 pm »

thanks
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #18 on: 09 December 2011, 08:13:28 pm »

ok got openocd built but when i run
Code:
openocd -f /usr/share/openocd/scripts/board/sheevaplug.cfg

i get

Code:
root@computer:~# openocd -f /usr/share/openocd/scripts/board/sheevaplug.cfg
Open On-Chip Debugger 0.5.0 (2011-12-09-20:05)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Can't find /usr/share/openocd/scripts/board/sheevaplug.cfg
in procedure 'script'

Logged
Confusticated
New IT customer
Hero Member
*
Posts: 511


« Reply #19 on: 09 December 2011, 08:56:22 pm »

Did you compile it (and install it) using '/usr/local' as the prefix ?
Code:
openocd -f /usr/local/share/openocd/scripts/board/sheevaplug.cfg
Logged

Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!
greenbeast
Newbie
*
Posts: 40


« Reply #20 on: 09 December 2011, 09:09:14 pm »

are you asking if did or suggesting that i should?

i ran the code from the other thread

Code:
openocd -f /usr/share/openocd/scripts/board/sheevaplug.cfg

i'm a bit of a linux newbie

edit: i guess 'suggesting' as i tried it and it does something more... just connecting the device and testing now
« Last Edit: 09 December 2011, 09:23:21 pm by greenbeast » Logged
greenbeast
Newbie
*
Posts: 40


« Reply #21 on: 09 December 2011, 09:52:43 pm »

it seems to run and connect, it's been sitting at this for 20mins:

Code:
pen On-Chip Debugger 0.5.0 (2011-12-09-20:05)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
2000 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Warn : use 'feroceon.cpu' as target identifier, not '0'
sheevaplug_load_uboot
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

The virtual machine's usb activity light is flashing away
Logged
Confusticated
New IT customer
Hero Member
*
Posts: 511


« Reply #22 on: 09 December 2011, 11:40:37 pm »

Looks OK, it is sitting there waiting for you to tell it what to do Smiley
Search this forum for 'OpenOCD' for guidance on how to use it, you should also find links to a tutorial or two if my memory is correct.
Also 'Google is your fiend', searching for 'OpenOCD sheevaplug tutorial' or something like should get you results.
« Last Edit: 09 December 2011, 11:46:09 pm by Confusticated » Logged

Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!
greenbeast
Newbie
*
Posts: 40


« Reply #23 on: 10 December 2011, 09:45:58 am »

ah ok, i suspected that might be the case.

i did spend a while googling but it was getting late and i'd had half a bottle of wine....

thanks again
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #24 on: 10 December 2011, 10:24:12 am »

woohoo! back in business

thankyou very much!

now just gotta start again to get debian running on the sd card
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!