New IT forum Follow us on Twitter
22 May 2012, 09:35:17 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


« on: 06 December 2011, 10:03:32 am »

I tried updating the bootloader in an attempt to get my sheeva booting correctly, unfortunately it seems not to have worked and i now have a solid green light and no response on the serial console.

I tried following these instructions

but the link to the New IT image just gives 404 error.

i need to recover my bricked esata sheeva, can anyone advise?
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #1 on: 06 December 2011, 11:23:26 am »

i've downloaded the sheevaplug-v1.0-installer
following the readme instructions on win7 machine.

running the runme.exe just flashes a command window up briefly...nothing else happens...
Logged
Confusticated
New IT customer
Hero Member
*
Posts: 511


« Reply #2 on: 06 December 2011, 08:03:56 pm »

Open a command prompt window and run 'runme.exe' by hand.
The window should stay open allowing you time to read the error message.
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 #3 on: 07 December 2011, 08:01:07 am »

i followed some nice instructions i found on the plugcomputer forum.

Now have the runme running more successfully but it's stopping at this error:

Code:
Open On-Chip Debugger 0.2.0 (2009-07-27-16:41) Release
$URL: http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd.c $
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
2000 kHz
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Error: unable to open ftdi device: device not found
Runtime error, file "command.c", line 469:
     ****       openocd FAILED
 ****   Is the mini USB cable connected?
 ****   Try powering down, then replugging the Sheevaplug


I hear windows can be unreliable for this job so i'm trying to get this prepared in linux but i'm having trouble installing php5
Logged
guidol
Newbie
*
Posts: 19


He know where his Towel is :-)


« Reply #4 on: 07 December 2011, 08:12:38 am »

but i'm having trouble installing php5
whats the/your error-message?
PHP could be installed by
apt-get install php5
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #5 on: 07 December 2011, 08:20:15 am »

yeah i tried that, it says about not being able to find/install dependencies.

I'm going to give ubuntu a go this morning
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #6 on: 07 December 2011, 01:38:42 pm »

ok got ubuntu installed, got php installed got everything prepared for the installer, the result:


sh: openocd/openocd: Permission denied
 ****   openocd FAILED

in fact i can see Permission Denied for every sh command

Is my device truely ruined?  Sad
I've only had it a few days
Logged
PacoLM
Jr. Member
**
Posts: 98


« Reply #7 on: 07 December 2011, 02:32:56 pm »

Are you executing the opencd as root?. If not, add sudo before the ./runme.sh script
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #8 on: 07 December 2011, 02:42:30 pm »

yes i'm executing as root
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #9 on: 07 December 2011, 03:01:46 pm »

This is what i'm getting:

Code:
root@UbuntuVM:/home/tech/Sheevaplug/sheevaplug-installer-v1.0# php runme.php nand
PHP Notice:  Undefined index: OS in /home/tech/Sheevaplug/sheevaplug-installer-v1.0/runme.php on line 7

 **** exec(modprobe ftdi_sio vendor=0x9e88 product=0x9e8f)
 **** Preparing environment variables file ...
reading uboot/uboot-env/uboot-dflt.txt
uboot/uboot-env/fw_setenv baudrate 115200
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv loads_echo 0
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ipaddr 10.4.50.165
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv serverip 10.4.50.5
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv rootpath /mnt/ARM_FS/
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv netmask 255.255.255.0
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv stdin serial
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv stdout serial
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv stderr serial
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv console console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0\(uboot\)ro,0x1ff00000@0x100000\(root\)
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mainlineLinux no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv CASset min
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaMonExt no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaCpuStream no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaWrAllo no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv pexMode RC
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv disL2Cache no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv setL2CacheWT yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv disL2Prefetch yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaICPref yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaDCPref yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv sata_dma_mode yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv MALLOC_len 1
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethprime egiga0
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv netbsd_en no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv vxworks_en no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootargs_root root=/dev/nfs rw
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootargs_end :::DB88FXX81:eth0:none
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv image_name uImage
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootcmd tftpboot 0x2000000 \$\(image_name\)\;setenv bootargs \$\(console\) \$\(bootargs_root\) nfsroot=\$\(serverip\):\$\(rootpath\) ip=\$\(ipaddr\):\$\(serverip\)\$\(bootargs_end\) \$\(mvNetConfig\) \$\(mvPhoneConfig\)\;  bootm 0x2000000\;
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv standalone fsload 0x2000000 \$\(image_name\)\;setenv bootargs \$\(console\) root=/dev/mtdblock0 rw ip=\$\(ipaddr\):\$\(serverip\)\$\(bootargs_end\) \$\(mvPhoneConfig\)\; bootm 0x2000000\;
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootdelay 3
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv disaMvPnp no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethaddr f0:ad:4e:00:a7:93
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethmtu 1500
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mvPhoneConfig mv_phone_config=dev0:fxs,dev1:fxs
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mvNetConfig mv_net_config=\(00:11:88:0f:62:81,0:1:2:3\),mtu=1500
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv usb0Mode host
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv yuk_ethaddr 00:00:00:EE:51:81
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv nandEcc 1bit
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv netretry no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv rcvrip 169.254.100.100
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv loadaddr 0x02000000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv autoload no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaAutoRecovery yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethact egiga0
sh: uboot/uboot-env/fw_setenv: Permission denied
reading uboot/uboot-env/uboot-nand-custom.txt
uboot/uboot-env/fw_setenv bootargs_root ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mtdpartitions mtdparts=orion_nand:0x400000@0x100000\(uImage\),0x1fb00000@0x500000\(rootfs\)
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethaddr f0:ad:4e:00:a7:93
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv real_bootcmd setenv bootargs \$\(bootargs_console\) \$\(mtdpartitions\) \$\(bootargs_root\)\; nand read.e 0x00800000 0x00100000 0x00400000\; bootm 0x00800000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootargs_console console=ttyS0,115200
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootcmd run recover1
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover1 setenv mainlineLinux yes\; setenv arcNumber 2097\; setenv bootcmd run recover2\; saveenv\; reset
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover2 run recover3\; setenv bootcmd \$\(real_bootcmd\)\; saveenv\; setenv bootargs \$\(bootargs_console\) \$\(mtdpartitions\) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand\; bootm 0x00800000 0x01100000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover3 run recover4\; nand erase clean 0x00100000 0x00400000\; nand write.e 0x00800000 0x00100000 0x00400000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover4 usb start\; fatload usb 0 0x00800000 uImage\; fatload usb 0 0x01100000 initrd
sh: uboot/uboot-env/fw_setenv: Permission denied

 **** Burning uboot and environment variables ... This will take few minutes ...
sh: openocd/openocd: Permission denied
 **** openocd FAILED
 **** Is the mini USB cable connected?
 **** Try powering down, then replugging the Sheevaplugroot@UbuntuVM:/home/tech/Sheevaplug/sheevaplug-installer-v1.0# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@UbuntuVM:/home/tech/Sheevaplug/sheevaplug-installer-v1.0# php runme.php nand
PHP Notice:  Undefined index: OS in /home/tech/Sheevaplug/sheevaplug-installer-v1.0/runme.php on line 7

 **** exec(modprobe ftdi_sio vendor=0x9e88 product=0x9e8f)
 **** Preparing environment variables file ...
reading uboot/uboot-env/uboot-dflt.txt
uboot/uboot-env/fw_setenv baudrate 115200
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv loads_echo 0
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ipaddr 10.4.50.165
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv serverip 10.4.50.5
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv rootpath /mnt/ARM_FS/
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv netmask 255.255.255.0
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv stdin serial
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv stdout serial
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv stderr serial
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv console console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0\(uboot\)ro,0x1ff00000@0x100000\(root\)
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mainlineLinux no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv CASset min
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaMonExt no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaCpuStream no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaWrAllo no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv pexMode RC
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv disL2Cache no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv setL2CacheWT yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv disL2Prefetch yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaICPref yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaDCPref yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv sata_dma_mode yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv MALLOC_len 1
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethprime egiga0
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv netbsd_en no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv vxworks_en no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootargs_root root=/dev/nfs rw
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootargs_end :::DB88FXX81:eth0:none
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv image_name uImage
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootcmd tftpboot 0x2000000 \$\(image_name\)\;setenv bootargs \$\(console\) \$\(bootargs_root\) nfsroot=\$\(serverip\):\$\(rootpath\) ip=\$\(ipaddr\):\$\(serverip\)\$\(bootargs_end\) \$\(mvNetConfig\) \$\(mvPhoneConfig\)\;  bootm 0x2000000\;
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv standalone fsload 0x2000000 \$\(image_name\)\;setenv bootargs \$\(console\) root=/dev/mtdblock0 rw ip=\$\(ipaddr\):\$\(serverip\)\$\(bootargs_end\) \$\(mvPhoneConfig\)\; bootm 0x2000000\;
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootdelay 3
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv disaMvPnp no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethaddr f0:ad:4e:00:a7:93
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethmtu 1500
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mvPhoneConfig mv_phone_config=dev0:fxs,dev1:fxs
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mvNetConfig mv_net_config=\(00:11:88:0f:62:81,0:1:2:3\),mtu=1500
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv usb0Mode host
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv yuk_ethaddr 00:00:00:EE:51:81
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv nandEcc 1bit
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv netretry no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv rcvrip 169.254.100.100
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv loadaddr 0x02000000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv autoload no
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv enaAutoRecovery yes
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethact egiga0
sh: uboot/uboot-env/fw_setenv: Permission denied
reading uboot/uboot-env/uboot-nand-custom.txt
uboot/uboot-env/fw_setenv bootargs_root ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv mtdpartitions mtdparts=orion_nand:0x400000@0x100000\(uImage\),0x1fb00000@0x500000\(rootfs\)
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv ethaddr f0:ad:4e:00:a7:93
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv real_bootcmd setenv bootargs \$\(bootargs_console\) \$\(mtdpartitions\) \$\(bootargs_root\)\; nand read.e 0x00800000 0x00100000 0x00400000\; bootm 0x00800000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootargs_console console=ttyS0,115200
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv bootcmd run recover1
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover1 setenv mainlineLinux yes\; setenv arcNumber 2097\; setenv bootcmd run recover2\; saveenv\; reset
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover2 run recover3\; setenv bootcmd \$\(real_bootcmd\)\; saveenv\; setenv bootargs \$\(bootargs_console\) \$\(mtdpartitions\) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand\; bootm 0x00800000 0x01100000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover3 run recover4\; nand erase clean 0x00100000 0x00400000\; nand write.e 0x00800000 0x00100000 0x00400000
sh: uboot/uboot-env/fw_setenv: Permission denied
uboot/uboot-env/fw_setenv recover4 usb start\; fatload usb 0 0x00800000 uImage\; fatload usb 0 0x01100000 initrd
sh: uboot/uboot-env/fw_setenv: Permission denied

 **** Burning uboot and environment variables ... This will take few minutes ...
sh: openocd/openocd: Permission denied
 **** openocd FAILED
 **** Is the mini USB cable connected?
 **** Try powering down, then replugging the Sheevaplug
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #10 on: 07 December 2011, 03:36:23 pm »

getting further

got all the way to loading uboot.bin, which it's failed at, so i need to have a play with that
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #11 on: 08 December 2011, 07:38:17 am »

i've got to this now:

Code:
Open On-Chip Debugger 0.5.0 (2011-08-26-10:27)
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
Error: No valid NAND flash driver found (0)
Available NAND flash controller drivers:
  nonce
  davinci
  lpc3180
  lpc32xx
  orion
  s3c2410
  s3c2412
  s3c2440
  s3c2443
  s3c6400
  imx27
  imx31
  at91sam9
  nuc910
sheevaplug_reflash_uboot_env
Error: unable to open ftdi device: unable to fetch product description
in procedure 'init'
 **** openocd FAILED
 **** Is the mini USB cable connected?
 **** Try powering down, then replugging the Sheevaplug
Logged
greenbeast
Newbie
*
Posts: 40


« Reply #12 on: 08 December 2011, 08:02:29 am »

The above happens if i try to early after resetting,
this happens when the device is connected properly:

Code:
Error: No valid NAND flash driver found (0)
Available NAND flash controller drivers:
  nonce
  davinci
  lpc3180
  lpc32xx
  orion
  s3c2410
  s3c2412
  s3c2440
  s3c2443
  s3c6400
  imx27
  imx31
  at91sam9
  nuc910
sheevaplug_reflash_uboot_env
Info : clock speed 250 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
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x000000d3 pc: 0xffff0000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Runtime Error: openocd/config/board/sheevaplug.cfg:23: arm926ejs cp15 0 0 1 0 0x00052078: command requires more arguments
in procedure 'sheevaplug_reflash_uboot_env'
in procedure 'sheevaplug_init' called at file "openocd/config/board/sheevaplug.cfg", line 117
in procedure 'arm926ejs' called at file "openocd/config/board/sheevaplug.cfg", line 23
 **** openocd FAILED
 **** Is the mini USB cable connected?
 **** Try powering down, then replugging the Sheevaplug
Logged
Confusticated
New IT customer
Hero Member
*
Posts: 511


« Reply #13 on: 08 December 2011, 07:49:30 pm »

The version of OpenOCD you are using (0.5.0) does not match the sheevaplug.cfg configuration file.

The old configuration file has
Code:
arm926ejs cp15 0 0 1 0 0x00052078
in the the 'sheevaplug_init' section, the newer configuration uses
Code:
arm mcr 15 0 0 1 0 0x00052078

I suggest you get the Debian source tarball....
http://www.newit.co.uk/forum/index.php/topic,2619.msg7368.html#msg7368

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 #14 on: 08 December 2011, 07:52:18 pm »

yes i found a reference to that change of config file. i made that change and haven't got any further yet.

I will have a look at your link and have another play tomorrow when i'm back at work with the device  Wink
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!