• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: How reflash sheevaplug?  (Read 942 times)
hachreak
Newbie
*

Karma: 0
Posts: 3


View Profile
« on: November 07, 2010, 06:36:59 AM »

Hi,
I have some problem with sheevaplug. I try to re-flash kernel and rootfs but when restart sheeva it doesn't correctly boot!

To re-flash sheeva, I used sheevaplug-installer-v1.0 in console:
Code:
root@mylinux:/tmp/sheevaplug-installer/-v1.0# php runme.php nand

I wait 1h30/2h and it return a message that I understand that it correctly flash.
But, when restart sheeva, it boot, try to load kernel and it returns in serial console some random characters and stop load!
Please, someone can help me? Smiley

        thanks a lot for your responses
                 .hachreak.
Logged

hachreak
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #1 on: November 07, 2010, 07:35:14 AM »

This is the output of runme.php:

Code:
root@slackfight:/home/hachreak/sheevaplug-installer-v1.0# php runme.php nand             
PHP Notice:  Undefined index:  OS in /mnt/cdrom/hachreak/sheevaplug-installer-v1.0/runme.php on line 7                                                                             

Notice: Undefined index:  OS in /mnt/cdrom/hachreak/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                   
CRC read error on uboot-env.bin: Success                   
uboot/uboot-env/fw_setenv loads_echo 0                     
uboot/uboot-env/fw_setenv ipaddr 10.4.50.165               
uboot/uboot-env/fw_setenv serverip 10.4.50.5               
uboot/uboot-env/fw_setenv rootpath /mnt/ARM_FS/             
uboot/uboot-env/fw_setenv netmask 255.255.255.0             
uboot/uboot-env/fw_setenv stdin serial                     
uboot/uboot-env/fw_setenv stdout serial                     
uboot/uboot-env/fw_setenv stderr serial                     
uboot/uboot-env/fw_setenv console console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0\(uboot\)ro,0x1ff00000@0x100000\(root\)                                                           
uboot/uboot-env/fw_setenv mainlineLinux no                                               
uboot/uboot-env/fw_setenv CASset min                                                     
uboot/uboot-env/fw_setenv enaMonExt no                                                   
uboot/uboot-env/fw_setenv enaCpuStream no                                                 
uboot/uboot-env/fw_setenv enaWrAllo no                                                   
uboot/uboot-env/fw_setenv pexMode RC                                                     
uboot/uboot-env/fw_setenv disL2Cache no                                                   
uboot/uboot-env/fw_setenv setL2CacheWT yes                                               
uboot/uboot-env/fw_setenv disL2Prefetch yes                                               
uboot/uboot-env/fw_setenv enaICPref yes                                                   
uboot/uboot-env/fw_setenv enaDCPref yes                                                   
uboot/uboot-env/fw_setenv sata_dma_mode yes                                               
uboot/uboot-env/fw_setenv MALLOC_len 1                                                   
uboot/uboot-env/fw_setenv ethprime egiga0                                                 
uboot/uboot-env/fw_setenv netbsd_en no                                                   
uboot/uboot-env/fw_setenv vxworks_en no                                                   
uboot/uboot-env/fw_setenv bootargs_root root=/dev/nfs rw                                 
uboot/uboot-env/fw_setenv bootargs_end :::DB88FXX81:eth0:none                             
uboot/uboot-env/fw_setenv image_name uImage                                               
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\;   
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\;                                                         
uboot/uboot-env/fw_setenv bootdelay 3                                                     
uboot/uboot-env/fw_setenv disaMvPnp no                                                   
uboot/uboot-env/fw_setenv ethaddr 00:50:43:4e:2a:14                                       
uboot/uboot-env/fw_setenv ethmtu 1500                                                     
uboot/uboot-env/fw_setenv mvPhoneConfig mv_phone_config=dev0:fxs,dev1:fxs                 
uboot/uboot-env/fw_setenv mvNetConfig mv_net_config=\(00:11:88:0f:62:81,0:1:2:3\),mtu=1500
uboot/uboot-env/fw_setenv usb0Mode host                                                   
uboot/uboot-env/fw_setenv yuk_ethaddr 00:00:00:EE:51:81                                   
uboot/uboot-env/fw_setenv nandEcc 1bit                                                   
uboot/uboot-env/fw_setenv netretry no                                                     
uboot/uboot-env/fw_setenv rcvrip 169.254.100.100                                         
uboot/uboot-env/fw_setenv loadaddr 0x02000000                                             
uboot/uboot-env/fw_setenv autoload no                                                     
uboot/uboot-env/fw_setenv enaAutoRecovery yes                                             
uboot/uboot-env/fw_setenv ethact egiga0                                                   
reading uboot/uboot-env/uboot-nand-custom.txt                                             
uboot/uboot-env/fw_setenv bootargs_root ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs       
uboot/uboot-env/fw_setenv mtdpartitions mtdparts=orion_nand:0x400000@0x100000\(uImage\),0x1fb00000@0x500000\(rootfs\)                                                               
uboot/uboot-env/fw_setenv ethaddr 00:50:43:01:c1:e6                                       
uboot/uboot-env/fw_setenv real_bootcmd setenv bootargs \$\(bootargs_console\) \$\(mtdpartitions\) \$\(bootargs_root\)\; nand read.e 0x00800000 0x00100000 0x00400000\; bootm 0x00800000                                                                                       
uboot/uboot-env/fw_setenv bootargs_console console=ttyS0,115200                           
uboot/uboot-env/fw_setenv bootcmd run recover1                                           
uboot/uboot-env/fw_setenv recover1 setenv mainlineLinux yes\; setenv arcNumber 2097\; setenv bootcmd run recover2\; saveenv\; reset                                                 
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                           
uboot/uboot-env/fw_setenv recover3 run recover4\; nand erase clean 0x00100000 0x00400000\; nand write.e 0x00800000 0x00100000 0x00400000                                           
uboot/uboot-env/fw_setenv recover4 usb start\; fatload usb 0 0x00800000 uImage\; fatload usb 0 0x01100000 initrd                                                                   

 ****   Burning uboot and environment variables ... This will take few minutes ...
Open On-Chip Debugger 0.2.0 (2009-07-26-14:56) 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                                                           
Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part: 0x0a02, ver: 0x2)                                                                                     
Info : JTAG Tap/device matched
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
0 0 1 0: 00052078
NAND flash device 'NAND 512MiB 3,3V 8-bit' found
successfully erased blocks 5 to 6 on NAND flash device 'NAND 512MiB 3,3V 8-bit'
wrote file uboot-env.bin to NAND flash 0 up to offset 0x000c0000 in 2032.700562s
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
0 0 1 0: 00052078
NAND flash device 'NAND 512MiB 3,3V 8-bit' found
successfully erased blocks 0 to 4 on NAND flash device 'NAND 512MiB 3,3V 8-bit'
wrote file uboot.bin to NAND flash 0 up to offset 0x00074000 in 7340.702148s

 ****   U-boot should be up and running now. Open your console ...
PHP Notice:  Undefined variable: string_beeps in /mnt/cdrom/hachreak/sheevaplug-installer-v1.0/runme.php on line 86

Notice: Undefined variable: string_beeps in /mnt/cdrom/hachreak/sheevaplug-installer-v1.0/runme.php on line 86

And this is the output of sheeva when start the boot:

Code:
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
¨rPËB å#^[£)uP«µi©As¬W¥JÕv+i3½ÕeAs¬WF¬W]1.Ðez-G+º*¥Ah«kA*­*
I6w¬W23K5§q¬GQq®UG©UEv-ÊH1­)Asª
                               Þd5­JEw£0¨
I(ëA{T6iT¦Z(!\(Y2­uMPTK(©du(    B(ÉTjE%.ÐqV¨G];-
                                                ´]t-We(  P¤6) B{-F4­+eQv
                                                                        Ò4¼*Q7+ÊP(ãùYAo£ð*PJAz­w7­ÇWYP­k]8¨]1*]V (ùBcèÇOÕRãùY-£ü*gM+e (   þOB#è
O×Io¨69â*P*i5+iuw;+
]BP(    þOBcèÅ×IùYAm£ð9¡A:½7A1¬AqVa8b{U]V (ùBcè
×I½69Eñ*PJAz­7:mQv®wA3¼K]©U«e+ (ùOBcèÇO×Rã/¨69â*PI3gMPªY1¨Vex-·]+        èO@#è2V»AÅFV-¥^:&¬WJX¬SU"ÿÅ×Rã/¨69GñPÙùi6½5At7Av(ªY1Vex-·]+       èBcè
×RN/¨tAm£ðPi5½]s¨ÖA8¹A;+
]V@(    þO@#èÅ×Rã/¨tA-£ð9ù]2®je5«
                                 tIxëe7¨
Iz*Ese: (       BBN8-i=6D£ð9¸Ë¥i«wQvù
O×RcéY-â*PJAz­w'¼Ê%`¨;i:-bÁI4+PKe:­µe4) BP(ðM
Logged

hachreak
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #2 on: November 07, 2010, 08:58:33 AM »

I have solved problem using kernel 2.6.34.2:

http://sheeva.with-linux.com/sheeva/2.6.34.2/

Download uImage and modules in my USB flash disk together with:

Code:
README.txt  initrd  modules.tar.gz  rootfs.tar.gz  uImage  ubuntu-sheevaplug.sh

Then restart my sheeva and stop boot. Then:

Code:
Marvel>> run recover1

Logged

robert26baldwin
Guest
« Reply #3 on: November 07, 2010, 11:26:12 PM »

thanks for sharing great post thanks a lot..
Logged

Pages: [1]
Print
Jump to: