New IT forum Follow us on Twitter
21 May 2012, 04:32:18 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Sheevaplug Model: 003-SP1001 hangs at done booting kernel  (Read 1479 times)
tmfizzle
Newbie
*
Posts: 2


« on: 13 May 2011, 12:53:14 am »

Hello,
   I recently purchased a sheevaplug from globalscale technologies and have had the hardest time getting it to boot from the SD card, it hangs once it tries to boot the kernel.  Here are my printenv variables.  I have not used saveenv and I am just using run real_bootcmd until I know it works.  I am trying to run Plugbox linux 2011.02 rootfs  all is extracted and I have a /boot partition setup and partition 2 is the rootfs.

Code:
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethaddr=00:50:43:XX:XX:XX
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0x00000(u-boot),0x300000@0x100000(uImage)ro,0x1fc00000@0x400000(rootfs)rw root=/dev/mtdblock2
bootcmd=nand read.e 0x800000 0x100000 0x300000; bootm 0x800000
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
bootargs_root=root=/dev/mmcblk0p2 rootdelay=5
mainlineLinux=yes; setenv arcNumber 2097
real_bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000

And here is where it hangs.
Code:
Marvell>> run real_bootcmd
SDHC found. Card desciption is:
Manufacturer:       0x74, OEM "JE"
Product name:       "SDC  ", revision 1.0
Serial number:      2694
Manufacturing date: 3/2011
CRC:                0x00, b0 = 0

3111196 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.37
   Created:      2011-02-23   0:30:40 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3111132 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #1 on: 13 May 2011, 07:20:09 am »

Are you certain that you haven't just lost the console? Can you look on your DHCP server, determine the IP address of the Sheevaplug, and ssh in to it?
Logged
tmfizzle
Newbie
*
Posts: 2


« Reply #2 on: 16 May 2011, 02:17:47 am »

Nothing on the dhcp server
Logged
SLUGex
Newbie
*
Posts: 3


« Reply #3 on: 29 June 2011, 08:35:52 pm »

Hi Marcus,

Are you certain that you haven't just lost the console? Can you look on your DHCP server, determine the IP address of the Sheevaplug, and ssh in to it?

may be I have the same problem here. With my brand new eSATA (purchased last week from you), I only get
Code:
SDHC found. Card desciption is:
...
2822228 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.7
   Created:      2010-02-10  21:21:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
...
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
After that, it's dead. (note, there are much more dots in the listing, but the web page application does not print all of them)

But when I remove the SDCard, it is booting the NAND FS, all well:
Code:
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36 (newit@gemini) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-68) ) #3 PREEMPT Sun Dec 5 16:26:45 GMT 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell eSATA SheevaPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
.......
and so on
.......


(full listing of bad boot:)
Code:
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Jul 14 2009 - 06:46:57) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CF120

Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
SDHC found. Card desciption is:
Manufacturer:       0x1b, OEM "SM"
Product name:       "00000", revision 1.0
Serial number:      1951175429
Manufacturing date: 4/2010
CRC:                0x00, b0 = 0

2822228 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.7
   Created:      2010-02-10  21:21:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2822164 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

full listing of u-boot variable dump:
Code:
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end)
$(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
bootargs_root=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
mtdpartitions=mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)
ethaddr=F0:AD:4E:00:6A:31
bootargs_console=console=ttyS0,115200
recover1=setenv mainlineLinux yes; setenv arcNumber 2678; setenv bootcmd run recover2; saveenv; reset
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
recover3=run recover4; nand erase clean 0x00100000 0x00400000; nand write.e 0x00800000 0x00100000 0x00400000
recover4=usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 initrd
bootargs_root_nand=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
bootcmd_nand=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root_nand); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
bootargs_root_mmc=root=/dev/mmcblk0p2 rootdelay=5
bootcmd_mmc=setenv bootargs $(bootargs_console) $(bootargs_root_mmc); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000
real_bootcmd=run bootcmd_mmc; run bootcmd_nand
arcNumber=2678
filesize=37B8DF
bootcmd=run bootcmd_mmc; run bootcmd_nand
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes

Environment size: 2230/131068 bytes
Marvell>> 

You should note, the above used Lenny SDCard is from my other (now broken) eSATA Plug. It contains my valuable life system. The new Squeeze SDCard I also purchased, working fine. So the hardware is okay. But I'm afraid the older SDCard does not fit any longer with U-Boot settings of the new Plug. Right?

I have a full dd image of the older card, as well as mmcblk0p1.tar and mmcblk0p2.tar with "numeric user id". So, if you could lead me to "how do I migrate my no longer bootable Lenny setup to the new bootable Squeeze SDCard", this would be really great! I'm not the 100% linux guru (but also no idiot), so please understand my cry for help.

with best regards,
exSlug
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #4 on: 30 June 2011, 07:37:09 am »

may be I have the same problem here. With my brand new eSATA (purchased last week from you), ...

Code:
arcNumber=2678

But I'm afraid the older SDCard does not fit any longer with U-Boot settings of the new Plug. Right?


The older SD card probably has a kernel that requires arcNumber 2097. Try changing arcNumber; if everything works, but you lose eSATA functionality when booting from NAND or old SD card, that confirms it. You should upgrade the old SD card kernel to a non-newit one (and NAND if necessary), then you can use 2678 for all.

http://sheeva.with-linux.com/sheeva/
Logged
SLUGex
Newbie
*
Posts: 3


« Reply #5 on: 30 June 2011, 08:47:22 pm »

Hi Marcus,

The older SD card probably has a kernel that requires arcNumber 2097. Try changing arcNumber; if everything works, but you lose eSATA functionality when booting from NAND or old SD card, that confirms it. You should upgrade the old SD card kernel to a non-newit one (and NAND if necessary), then you can use 2678 for all.

Was the below command what you want me to do?

Code:
Marvell>> setenv arcNumber 2097
Marvell>> run bootcmd_mmc

if this was right, it did not help here:

Code:
SDHC found. Card desciption is:
Manufacturer:       0x1b, OEM "SM"
Product name:       "00000", revision 1.0
Serial number:      1951175429
Manufacturing date: 4/2010
CRC:                0x00, b0 = 0

2822228 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.7
   Created:      2010-02-10  21:21:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2822164 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux...
done, booting the kernel.
still dead :-(


To upgrade to the newer Kernel - is it right to only update uImage on mmcblk0p1 and tar -x /lib/modules on mmcblk0p2?
nothing else? (would be cool!)
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #6 on: 30 June 2011, 09:21:29 pm »

Hi Marcus,

The older SD card probably has a kernel that requires arcNumber 2097. Try changing arcNumber; if everything works, but you lose eSATA functionality when booting from NAND or old SD card, that confirms it. You should upgrade the old SD card kernel to a non-newit one (and NAND if necessary), then you can use 2678 for all.

Was the below command what you want me to do?

Code:
Marvell>> setenv arcNumber 2097
Marvell>> run bootcmd_mmc

Yes.

Quote
if this was right, it did not help here:

Code:
SDHC found. Card desciption is:
Manufacturer:       0x1b, OEM "SM"
Product name:       "00000", revision 1.0
Serial number:      1951175429
Manufacturing date: 4/2010
CRC:                0x00, b0 = 0

2822228 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.7
   Created:      2010-02-10  21:21:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2822164 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux...
done, booting the kernel.
still dead :-(


To upgrade to the newer Kernel - is it right to only update uImage on mmcblk0p1 and tar -x /lib/modules on mmcblk0p2?
nothing else? (would be cool!)


Yes.

Maybe there is a different kind of problem with your SD card. Try putting on a newer kernel and modules from http://sheeva.with-linux.com/sheeva/
Logged
SLUGex
Newbie
*
Posts: 3


« Reply #7 on: 01 July 2011, 05:14:08 pm »

Hi Marcus,

The older SD card probably has a kernel that requires arcNumber 2097. Try changing arcNumber; if everything works, but you lose eSATA functionality when booting from NAND or old SD card, that confirms it. You should upgrade the old SD card kernel to a non-newit one (and NAND if necessary), then you can use 2678 for all.

Was the below command what you want me to do?

Code:
Marvell>> setenv arcNumber 2097
Marvell>> run bootcmd_mmc

Yes.

Quote
if this was right, it did not help here...
still dead :-(

To upgrade to the newer Kernel - is it right to only update uImage on mmcblk0p1 and tar -x /lib/modules on mmcblk0p2?
nothing else? (would be cool!)

Yes.

Maybe there is a different kind of problem with your SD card. Try putting on a newer kernel and modules from http://sheeva.with-linux.com/sheeva/

Hey, this worked! I was a little bit afraid to do it, but it was unbelievable easy!
For all others beginners, here is what I did:

In my special case, I did all but the download from SheevaPlug's internal NAND Debian. This is my "2nd chance Linux", I never use it otherwise. Only for repairs. Everyday Linux is from SDCard (mmc). But the above would also work in your Laptop or Desktop Linux, if you have a SDCard reader built in or USB attached.

Regarding the downloads, need to say I did it from my Windoze box to a built in SD reader. But I also could have it done by typing:

HTH,
SLUGEx
Logged
Pages: [1]
  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!