• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Hardware and U-Boot firmware / Hardware / How can I fix Device 0 bad blocks / bad magic number error on: August 08, 2009, 11:42:53 AM
Hi, everyone. I recently got my sheevaplug (yesterday) and immediately set to SSH'ing in (which was very easy) and then I wanted to change the U-BOOT to boot from an SD card.

I go through this tutorial: http://plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_System

Along the way I notice that the mini USB plug is very easy to knock out and accidentally interrupt the serial connection.

Everything is working, I'm booting from the SD card but my NAND isn't showing in the df test and I can't mount it. This is kind of concerning but I go ahead and commit the changes to uboot because everything else seems to be working.

After I saveenv and reset, I get the NAND: ECC error. I go to the forums and try a number of things. Now I'm here and nothing I do seems to change this:

Code:
Marvell>> boot

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2009-03-19   9:18:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2106696 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
Marvell>> nand bad

Device 0 bad blocks:
  07980000
  119a0000
  124c0000
  124e0000
  12500000
  12520000
  12540000
  12560000
  12580000
  125a0000
  15020000
  16e00000
  17fe0000
  19920000
  1b6a0000
  1d220000
  1ff40000
Marvell>>

Here is my printenv:
Code:
Marvell>> printenv
loads_echo=0
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
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
ethmtu=1500
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
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
ethaddr=00:50:43:4c:02:26
run_diag=no
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
baudrate=115200=loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 console=console=ttyS0,115200 CASset=min
MALLOC_len=1=ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 serverip=10.10.0.2
ipaddr=10.10.0.1=cesvcid=ULULULULULULPPULULULULULDA bootargs_end=:::DB88FXX81:eth0:none image_name=uImage
standalone=fsload=0x2000000 uImage
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs=mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 yuk_ethaddr=00:00:00:EE:51:81
netretry=no=rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethaddr=00:50:43:01:D1:CA run_diag=no
bootargs=console=ttyS0,115200=mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw
ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none=bootcmd=nand read.e 0x800000 0x100000 0x400000
stdin=serial=stdout=serial stderr=serial mainlineLinux=no 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: 1989/131068 bytes
Marvell>>

I expect I have to factory restore or something and I started to look into that but the CD that came with my Sheeva doesn't work in my Macbook for some reason and the only PC I have around is a Asus EEE. :\

Are there any quick fixes to this? (maybe some hardcore soldering or wire shorting I could do... j/k)
2  General Category / General Discussion / Re: Plug Pictures on: June 25, 2009, 11:11:23 AM
These are awesome photos. I can't wait to get mine and set it up. Hopefully it will be tucked back into a corner of my closet.
3  General Category / General Discussion / Re: Received yours yet? on: June 25, 2009, 11:03:20 AM
Ordered mine 17 May, not yet shipped.  I sent an email today, and got a generic sounding response about 4 weeks delivery (uhh..). Apparently the next batch is expected 10 July.

Dang that is a bummer. I ordered mine a couple days ago. Looking forward to the usual- BitTorrent, Samba, LAMP. I also want to do some auto transfer stuff. I think it would be nice if when my Dad puts photos on his HDD at his place they automatically get sent to mine too.
4  General Category / General Discussion / Re: Articles about Apache/PHP and Samba on the Plug Computer on: June 25, 2009, 10:30:57 AM
Nice article.


I did it a little bit differently.

I share the /share directory from Samba and use the udevd and couple of shell scripts to mount and umount usb and sdcard in a sub directory under /share.

This way, when I plug and unplug the device, the usb partitions and the SDCard partition will magically shows up in the /share.

I will post those scripts when I find it.




That is awesome. Can we see these scripts?
5  General Category / Application ideas and development Q/A / Re: Mobil Syncing server such as Funambol on: June 24, 2009, 03:56:28 PM
What is funambol? Is it just push email?
6  General Category / Application ideas and development Q/A / I'm making a plug computer app for media sharing on: June 24, 2009, 03:02:30 PM
Hi everybody- I'm a product designer and I'm creating an application for plug computers. I'm working on an easy-to-install-and-use application that will let users access, share and talk about their data (kind of like pogoplug but way better). I think cloud hosting is cool but there are things I will only store on hard drives that I physically own, plus there's some really cool things you can do with an always-on computer that consumers have never had access to until plug computers.

I think that plug computers are going to be very popular in the future and widespread. They fit a lot of major trends and if more easy-to-use applications are created (easy to use like pogoplug- but net sharing a hard drive is boring and obvious to me) then it could really spark interest in the physical device.

My expertise is 9 years visual and interaction design and 3 years as a product designer working on product/design strategy at a major design consultancy in san francisco. I think I can provide design and project management. I'd like to meet some programmers who are as psyched about this device as I am.

Things I like about a plug computer:
-inexpensive
-low profile
-always on
-extensible, standardized and open
-at my home and NOT a 3rd party service

Hurdles I see in consumer plugcomp applications:
-technically difficult to install and maintain
-value is unclear to consumers but definitely there

So anyway I'd love to hear your suggestions and thoughts and I'll post documentation/wireframes as soon as I can.
Pages: [1]